Google Cloud Capacity Planner V1beta Client - Class ResourceAttribute (0.1.2)

Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class ResourceAttribute.

An attribute of a Google Cloud Platform resource.

Generated from protobuf message google.cloud.capacityplanner.v1beta.ResourceAttribute

Namespace

Google \ Cloud \ CapacityPlanner \ V1beta

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ key
string
↳ value

getKey

Generated from protobuf field string key = 1;

Returns
Type
Description
string

setKey

Generated from protobuf field string key = 1;

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getValue

Generated from protobuf field .google.cloud.capacityplanner.v1beta.ResourceValue value = 2;

Returns
Type
Description

hasValue

clearValue

setValue

Generated from protobuf field .google.cloud.capacityplanner.v1beta.ResourceValue value = 2;

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: