Class: Google::Cloud::CapacityPlanner::V1beta::ResourceIdKey

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 id for a Google Cloud Platform resource key.

Instance Attribute Summary collapse

Instance Attribute Details

#resource_code::String

Returns Required. resource_code for the resource. eg: gce-ram, gce-vcpus, gce-gpu, gce-tpu, gce-vm, gce-persistent-disk, gce-local-ssd.

Returns:

  • (::String)

    Required. resource_code for the resource. eg: gce-ram, gce-vcpus, gce-gpu, gce-tpu, gce-vm, gce-persistent-disk, gce-local-ssd.



54
55
56
57
# File 'proto_docs/google/cloud/capacityplanner/v1beta/resource.rb', line 54

class ResourceIdKey
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#resource_id::Google::Cloud::CapacityPlanner::V1beta::ResourceIdentifier

Returns Required. Id of the resource.

Returns:



54
55
56
57
# File 'proto_docs/google/cloud/capacityplanner/v1beta/resource.rb', line 54

class ResourceIdKey
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end