Struct gapi_grpc::google::container::v1alpha1::SetLabelsRequest[][src]

pub struct SetLabelsRequest {
    pub project_id: String,
    pub zone: String,
    pub cluster_id: String,
    pub resource_labels: HashMap<String, String>,
    pub label_fingerprint: String,
    pub name: String,
}
[]

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][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

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][+]

impl<T> IntoRequest<T> for T[src][+]

impl<T> ToOwned for T where
    T: Clone
[src][+]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src][+]

impl<T> WithSubscriber for T[src][+]