Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::XpnResourceId (v2.3.0)

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

Service resource (a.k.a service project) ID.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#id

def id() -> ::String
Returns
  • (::String) — The ID of the service resource. In the case of projects, this field supports project id (e.g., my-project-123) and project number (e.g. 12345678).

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — The ID of the service resource. In the case of projects, this field supports project id (e.g., my-project-123) and project number (e.g. 12345678).
Returns
  • (::String) — The ID of the service resource. In the case of projects, this field supports project id (e.g., my-project-123) and project number (e.g. 12345678).

#type

def type() -> ::String
Returns
  • (::String) — The type of the service resource. Check the Type enum for the list of possible values.

#type=

def type=(value) -> ::String
Parameter
  • value (::String) — The type of the service resource. Check the Type enum for the list of possible values.
Returns
  • (::String) — The type of the service resource. Check the Type enum for the list of possible values.