Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::GetVersionHostRequest (v4.0.0)

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

A request message for Hosts.GetVersion. 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.

#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.
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.

#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.

#hosts_get_version_request_resource

def hosts_get_version_request_resource() -> ::Google::Cloud::Compute::V1::HostsGetVersionRequest
Returns

#hosts_get_version_request_resource=

def hosts_get_version_request_resource=(value) -> ::Google::Cloud::Compute::V1::HostsGetVersionRequest
Parameter
Returns

#project

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

#project=

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

#request_id

def request_id() -> ::String
Returns
  • (::String) — An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.

#request_id=

def request_id=(value) -> ::String
Parameter
  • value (::String) — An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
Returns
  • (::String) — An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.

#zone

def zone() -> ::String
Returns
  • (::String) — Name of the zone for this request. Zone name should conform to RFC1035.

#zone=

def zone=(value) -> ::String
Parameter
  • value (::String) — Name of the zone for this request. Zone name should conform to RFC1035.
Returns
  • (::String) — Name of the zone for this request. Zone name should conform to RFC1035.