Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::GetTargetInstanceRequest (v1.6.0)

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

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

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

#target_instance

def target_instance() -> ::String
Returns
  • (::String) — Name of the TargetInstance resource to return.

#target_instance=

def target_instance=(value) -> ::String
Parameter
  • value (::String) — Name of the TargetInstance resource to return.
Returns
  • (::String) — Name of the TargetInstance resource to return.

#zone

def zone() -> ::String
Returns
  • (::String) — Name of the zone scoping this request.

#zone=

def zone=(value) -> ::String
Parameter
  • value (::String) — Name of the zone scoping this request.
Returns
  • (::String) — Name of the zone scoping this request.