Reference documentation and code samples for the Compute V1 Client class RegionSetLabelsRequest.
Generated from protobuf message google.cloud.compute.v1.RegionSetLabelsRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ label_fingerprint |
string
The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. Make a get() request to the resource to get the latest fingerprint. |
↳ labels |
array|Google\Protobuf\Internal\MapField
The labels to set for this resource. |
getLabelFingerprint
The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. Make a get() request to the resource to get the latest fingerprint.
Generated from protobuf field optional string label_fingerprint = 178124825;
Returns | |
---|---|
Type | Description |
string |
hasLabelFingerprint
clearLabelFingerprint
setLabelFingerprint
The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. Make a get() request to the resource to get the latest fingerprint.
Generated from protobuf field optional string label_fingerprint = 178124825;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getLabels
The labels to set for this resource.
Generated from protobuf field map<string, string> labels = 500195327;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setLabels
The labels to set for this resource.
Generated from protobuf field map<string, string> labels = 500195327;
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |