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 SetMonitoringServiceRequest
fn default() -> SetMonitoringServiceRequest
[src]
fn default() -> SetMonitoringServiceRequest
Returns the "default value" for a type. Read more
impl Clone for SetMonitoringServiceRequest
[src]
impl Clone for SetMonitoringServiceRequest
fn clone(&self) -> SetMonitoringServiceRequest
[src]
fn clone(&self) -> SetMonitoringServiceRequest
Returns 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 SetMonitoringServiceRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl RequestValue for SetMonitoringServiceRequest
[src]
impl RequestValue for SetMonitoringServiceRequest
Auto Trait Implementations
impl Send for SetMonitoringServiceRequest
impl Send for SetMonitoringServiceRequest
impl Sync for SetMonitoringServiceRequest
impl Sync for SetMonitoringServiceRequest