public sealed class SetLabelsRequest : IMessage<SetLabelsRequest>, IEquatable<SetLabelsRequest>, IDeepCloneable<SetLabelsRequest>, IBufferMessage, IMessage
SetLabelsRequest sets the Google Cloud Platform labels on a Google Container Engine cluster, which will in turn set them for Google Compute Engine resources used by that cluster
Implements
IMessage<SetLabelsRequest>, IEquatable<SetLabelsRequest>, IDeepCloneable<SetLabelsRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Container.V1Assembly
Google.Cloud.Container.V1.dll
Constructors
SetLabelsRequest()
public SetLabelsRequest()
SetLabelsRequest(SetLabelsRequest)
public SetLabelsRequest(SetLabelsRequest other)
Parameter | |
---|---|
Name | Description |
other | SetLabelsRequest |
Properties
ClusterId
[Obsolete]
public string ClusterId { get; set; }
Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
Property Value | |
---|---|
Type | Description |
String |
LabelFingerprint
public string LabelFingerprint { get; set; }
Required. The fingerprint of the previous set of labels for this resource,
used to detect conflicts. The fingerprint is initially generated by
Kubernetes Engine and changes after every request to modify or update
labels. You must always provide an up-to-date fingerprint hash when
updating or changing labels. Make a get()
request to the
resource to get the latest fingerprint.
Property Value | |
---|---|
Type | Description |
String |
Name
public string Name { get; set; }
The name (project, location, cluster name) of the cluster to set labels.
Specified in the format projects/*/locations/*/clusters/*
.
Property Value | |
---|---|
Type | Description |
String |
ProjectId
[Obsolete]
public string ProjectId { get; set; }
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
Property Value | |
---|---|
Type | Description |
String |
ResourceLabels
public MapField<string, string> ResourceLabels { get; }
Required. The labels to set for that cluster.
Property Value | |
---|---|
Type | Description |
MapField<String, String> |
Zone
[Obsolete]
public string Zone { get; set; }
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
Property Value | |
---|---|
Type | Description |
String |