Reference documentation and code samples for the Compute V1 Client class InstanceParams.
Additional instance params.
Generated from protobuf message google.cloud.compute.v1.InstanceParams
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ resource_manager_tags |
array|Google\Protobuf\Internal\MapField
Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format |
getResourceManagerTags
Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}
, and values are in the format tagValues/456
. The field is ignored (both PUT & PATCH) when empty.
Generated from protobuf field map<string, string> resource_manager_tags = 377671164;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setResourceManagerTags
Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}
, and values are in the format tagValues/456
. The field is ignored (both PUT & PATCH) when empty.
Generated from protobuf field map<string, string> resource_manager_tags = 377671164;
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |