Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::GetReservationSlotRequest (v3.5.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::GetReservationSlotRequest.

A request message for ReservationSlots.Get. See the method description for details.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#parent_name

def parent_name() -> ::String
Returns
  • (::String) — The name of the parent reservation and parent block, formatted as reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}

#parent_name=

def parent_name=(value) -> ::String
Parameter
  • value (::String) — The name of the parent reservation and parent block, formatted as reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
Returns
  • (::String) — The name of the parent reservation and parent block, formatted as reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}

#project

def project() -> ::String
Returns
  • (::String) — The project ID for this request.

#project=

def project=(value) -> ::String
Parameter
  • value (::String) — The project ID for this request.
Returns
  • (::String) — The project ID for this request.

#reservation_slot

def reservation_slot() -> ::String
Returns
  • (::String) — The name of the reservation slot, formatted as RFC1035 or a resource ID number.

#reservation_slot=

def reservation_slot=(value) -> ::String
Parameter
  • value (::String) — The name of the reservation slot, formatted as RFC1035 or a resource ID number.
Returns
  • (::String) — The name of the reservation slot, formatted as RFC1035 or a resource ID number.

#zone

def zone() -> ::String
Returns
  • (::String) — The name of the zone for this request, formatted as RFC1035.

#zone=

def zone=(value) -> ::String
Parameter
  • value (::String) — The name of the zone for this request, formatted as RFC1035.
Returns
  • (::String) — The name of the zone for this request, formatted as RFC1035.