Class: Google::Cloud::Compute::V1::XpnResourceId

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Overview

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

Defined Under Namespace

Modules: Type

Instance Attribute Summary collapse

Instance Attribute Details

#id::String

Returns 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).



36664
36665
36666
36667
36668
36669
36670
36671
36672
36673
36674
36675
36676
36677
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 36664

class XpnResourceId
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the service resource.
  module Type
    # A value indicating that the enum field is not set.
    UNDEFINED_TYPE = 0

    PROJECT = 408_671_993

    XPN_RESOURCE_TYPE_UNSPECIFIED = 151_607_034
  end
end

#type::String

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



36664
36665
36666
36667
36668
36669
36670
36671
36672
36673
36674
36675
36676
36677
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 36664

class XpnResourceId
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the service resource.
  module Type
    # A value indicating that the enum field is not set.
    UNDEFINED_TYPE = 0

    PROJECT = 408_671_993

    XPN_RESOURCE_TYPE_UNSPECIFIED = 151_607_034
  end
end