Class: Google::Cloud::CapacityPlanner::V1beta::ResourceIdKey
- Inherits:
-
Object
- Object
- Google::Cloud::CapacityPlanner::V1beta::ResourceIdKey
- 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
-
#resource_code ⇒ ::String
Required.
-
#resource_id ⇒ ::Google::Cloud::CapacityPlanner::V1beta::ResourceIdentifier
Required.
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.
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.
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 |