Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::GetHostRequest.
A request message for Hosts.Get. See the method description for details.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#association
def association() -> ::String
Returns
- (::String) — The parent resource association for the Host. This field specifies the hierarchical context (e.g., reservation, block, sub-block) when accessing the host. For example, reservations/reservation_name, reservations/reservation_name/reservationBlocks/reservation_block_name or reservations/reservation_name/reservationBlocks/reservation_block_name/reservationSubBlocks/reservation_sub_block_name.
#association=
def association=(value) -> ::String
Parameter
- value (::String) — The parent resource association for the Host. This field specifies the hierarchical context (e.g., reservation, block, sub-block) when accessing the host. For example, reservations/reservation_name, reservations/reservation_name/reservationBlocks/reservation_block_name or reservations/reservation_name/reservationBlocks/reservation_block_name/reservationSubBlocks/reservation_sub_block_name.
Returns
- (::String) — The parent resource association for the Host. This field specifies the hierarchical context (e.g., reservation, block, sub-block) when accessing the host. For example, reservations/reservation_name, reservations/reservation_name/reservationBlocks/reservation_block_name or reservations/reservation_name/reservationBlocks/reservation_block_name/reservationSubBlocks/reservation_sub_block_name.
#host
def host() -> ::String
Returns
- (::String) — The name of the host, formatted as RFC1035 or a resource ID number.
#host=
def host=(value) -> ::String
Parameter
- value (::String) — The name of the host, formatted as RFC1035 or a resource ID number.
Returns
- (::String) — The name of the host, formatted as RFC1035 or a resource ID number.
#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.
#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.