Struct google_container1::SetMaintenancePolicyRequest [−][src]
pub struct SetMaintenancePolicyRequest {
pub project_id: Option<String>,
pub maintenance_policy: Option<MaintenancePolicy>,
pub cluster_id: Option<String>,
pub name: Option<String>,
pub zone: Option<String>,
}SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields
project_id: Option<String>
The Google Developers Console project ID or project number.
maintenance_policy: Option<MaintenancePolicy>
The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.
cluster_id: Option<String>
The name of the cluster to update.
name: Option<String>
The name (project, location, cluster id) of the cluster to set maintenance policy. Specified in the format 'projects//locations//clusters/*'.
zone: Option<String>
The name of the Google Compute Engine zone in which the cluster resides.
Trait Implementations
impl Default for SetMaintenancePolicyRequest[src]
impl Default for SetMaintenancePolicyRequestfn default() -> SetMaintenancePolicyRequest[src]
fn default() -> SetMaintenancePolicyRequestReturns the "default value" for a type. Read more
impl Clone for SetMaintenancePolicyRequest[src]
impl Clone for SetMaintenancePolicyRequestfn clone(&self) -> SetMaintenancePolicyRequest[src]
fn clone(&self) -> SetMaintenancePolicyRequestReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Debug for SetMaintenancePolicyRequest[src]
impl Debug for SetMaintenancePolicyRequestfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl RequestValue for SetMaintenancePolicyRequest[src]
impl RequestValue for SetMaintenancePolicyRequestAuto Trait Implementations
impl Send for SetMaintenancePolicyRequest
impl Send for SetMaintenancePolicyRequestimpl Sync for SetMaintenancePolicyRequest
impl Sync for SetMaintenancePolicyRequest