Compute V1 Client - Class InstancesSetLabelsRequest (1.17.0)

Reference documentation and code samples for the Compute V1 Client class InstancesSetLabelsRequest.

Generated from protobuf message google.cloud.compute.v1.InstancesSetLabelsRequest

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ label_fingerprint
string

Fingerprint of the previous set of labels for this resource, used to prevent conflicts. Provide the latest fingerprint value when making a request to add or change labels.

getLabelFingerprint

Fingerprint of the previous set of labels for this resource, used to prevent conflicts. Provide the latest fingerprint value when making a request to add or change labels.

Returns
Type
Description
string

hasLabelFingerprint

clearLabelFingerprint

setLabelFingerprint

Fingerprint of the previous set of labels for this resource, used to prevent conflicts. Provide the latest fingerprint value when making a request to add or change labels.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getLabels

Generated from protobuf field map<string, string> labels = 500195327;

Returns
Type
Description

setLabels

Generated from protobuf field map<string, string> labels = 500195327;

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