Class: Google::Cloud::CapacityPlanner::V1beta::ResourceContainer

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

Overview

The resource container of Google Cloud Platform hierarchy such as a project.

Defined Under Namespace

Modules: Type

Instance Attribute Summary collapse

Instance Attribute Details

#id::String

Returns Required. Identifier of the resource container. For example, project number for project type.

Returns:

  • (::String)

    Required. Identifier of the resource container. For example, project number for project type.



31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'proto_docs/google/cloud/capacityplanner/v1beta/resource.rb', line 31

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

  module Type
    TYPE_UNSPECIFIED = 0

    PROJECT = 1

    FOLDER = 2

    ORG = 3
  end
end

#type::Google::Cloud::CapacityPlanner::V1beta::ResourceContainer::Type



31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'proto_docs/google/cloud/capacityplanner/v1beta/resource.rb', line 31

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

  module Type
    TYPE_UNSPECIFIED = 0

    PROJECT = 1

    FOLDER = 2

    ORG = 3
  end
end