Capacity Planner V1BETA API - Class Google::Cloud::CapacityPlanner::V1beta::ResourceIdKey (v0.2.0)

Reference documentation and code samples for the Capacity Planner V1BETA API class Google::Cloud::CapacityPlanner::V1beta::ResourceIdKey.

The id for a Google Cloud Platform resource key.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#resource_code

def resource_code() -> ::String
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.

#resource_code=

def resource_code=(value) -> ::String
Parameter
  • value (::String) — 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.

#resource_id

def resource_id() -> ::Google::Cloud::CapacityPlanner::V1beta::ResourceIdentifier
Returns

#resource_id=

def resource_id=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::ResourceIdentifier
Parameter
Returns