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

pub struct SetMasterAuthRequest {
    pub project_id: String,
    pub zone: String,
    pub cluster_id: String,
    pub action: i32,
    pub update: Option<MasterAuth>,
    pub name: String,
}

SetMasterAuthRequest updates the admin password of a 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 to upgrade. This field is deprecated, use name instead.

action: i32

The exact form of action to be taken on the master auth.

update: Option<MasterAuth>

A description of the update.

name: String

The name (project, location, cluster) of the cluster to set auth. Specified in the format ‘projects//locations//clusters/*’.

Implementations

impl SetMasterAuthRequest[src]

pub fn action(&self) -> Action[src]

Returns the enum value of action, or the default if the field is set to an invalid enum value.

pub fn set_action(&mut self, value: Action)[src]

Sets action to the provided enum value.

Trait Implementations

impl Clone for SetMasterAuthRequest[src]

impl Debug for SetMasterAuthRequest[src]

impl Default for SetMasterAuthRequest[src]

impl Message for SetMasterAuthRequest[src]

impl PartialEq<SetMasterAuthRequest> for SetMasterAuthRequest[src]

impl StructuralPartialEq for SetMasterAuthRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for SetMasterAuthRequest

impl Send for SetMasterAuthRequest

impl Sync for SetMasterAuthRequest

impl Unpin for SetMasterAuthRequest

impl UnwindSafe for SetMasterAuthRequest

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]