Struct google_container1::SetMonitoringServiceRequest [−][src]
pub struct SetMonitoringServiceRequest {
pub project_id: Option<String>,
pub monitoring_service: Option<String>,
pub cluster_id: Option<String>,
pub name: Option<String>,
pub zone: Option<String>,
}SetMonitoringServiceRequest sets the monitoring service of 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).
- zones clusters monitoring projects (request)
- locations clusters set monitoring projects (request)
Fields
project_id: Option<String>
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
monitoring_service: Option<String>
The monitoring service the cluster should use to write metrics. Currently available options:
- "monitoring.googleapis.com" - the Google Cloud Monitoring service
- "none" - no metrics will be exported from the cluster
cluster_id: Option<String>
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
name: Option<String>
The name (project, location, cluster) of the cluster to set monitoring. Specified in the format 'projects//locations//clusters/*'.
zone: Option<String>
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.
Trait Implementations
impl Default for SetMonitoringServiceRequest[src]
impl Default for SetMonitoringServiceRequestfn default() -> SetMonitoringServiceRequest[src]
fn default() -> SetMonitoringServiceRequestReturns the "default value" for a type. Read more
impl Clone for SetMonitoringServiceRequest[src]
impl Clone for SetMonitoringServiceRequestfn clone(&self) -> SetMonitoringServiceRequest[src]
fn clone(&self) -> SetMonitoringServiceRequestReturns 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 SetMonitoringServiceRequest[src]
impl Debug for SetMonitoringServiceRequestfn 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 SetMonitoringServiceRequest[src]
impl RequestValue for SetMonitoringServiceRequestAuto Trait Implementations
impl Send for SetMonitoringServiceRequest
impl Send for SetMonitoringServiceRequestimpl Sync for SetMonitoringServiceRequest
impl Sync for SetMonitoringServiceRequest