Struct gapi_grpc::google::container::v1alpha1::SetLabelsRequest [−][src]
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
Fields
project_id: String
The Google Developers Console project ID or project number. This field is deprecated, use name instead.
zone: String
The name of the Google Compute Engine zone in which the cluster resides. This field is deprecated, use name instead.
cluster_id: String
The name of the cluster. This field is deprecated, use name instead.
resource_labels: HashMap<String, String>
The labels to set for that cluster.
label_fingerprint: String
The fingerprint of the previous set of labels for this resource,
used to detect conflicts. The fingerprint is initially generated by
Container 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.
name: String
The name (project, location, cluster id) of the cluster to set labels. Specified in the format ‘projects//locations//clusters/*’.
Trait Implementations
impl Clone for SetLabelsRequest
[src][+]
impl Debug for SetLabelsRequest
[src][+]
impl Default for SetLabelsRequest
[src][+]
impl Message for SetLabelsRequest
[src][+]
impl PartialEq<SetLabelsRequest> for SetLabelsRequest
[src][+]
impl StructuralPartialEq for SetLabelsRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for SetLabelsRequest
impl Send for SetLabelsRequest
impl Sync for SetLabelsRequest
impl Unpin for SetLabelsRequest
impl UnwindSafe for SetLabelsRequest
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,