#include <set_monitoring_service_request.h>
SetMonitoringServiceRequest sets the monitoring service of a cluster.
◆ SetMonitoringServiceRequest() [1/2]
google_container_api::SetMonitoringServiceRequest::SetMonitoringServiceRequest |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ SetMonitoringServiceRequest() [2/2]
google_container_api::SetMonitoringServiceRequest::SetMonitoringServiceRequest |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~SetMonitoringServiceRequest()
google_container_api::SetMonitoringServiceRequest::~SetMonitoringServiceRequest |
( |
| ) |
|
|
virtual |
◆ clear_cluster_id()
void google_container_api::SetMonitoringServiceRequest::clear_cluster_id |
( |
| ) |
|
|
inline |
Clears the 'clusterId
' attribute.
◆ clear_monitoring_service()
void google_container_api::SetMonitoringServiceRequest::clear_monitoring_service |
( |
| ) |
|
|
inline |
Clears the 'monitoringService
' attribute.
◆ clear_name()
void google_container_api::SetMonitoringServiceRequest::clear_name |
( |
| ) |
|
|
inline |
Clears the 'name
' attribute.
◆ clear_project_id()
void google_container_api::SetMonitoringServiceRequest::clear_project_id |
( |
| ) |
|
|
inline |
Clears the 'projectId
' attribute.
◆ clear_zone()
void google_container_api::SetMonitoringServiceRequest::clear_zone |
( |
| ) |
|
|
inline |
Clears the 'zone
' attribute.
◆ get_cluster_id()
const StringPiece google_container_api::SetMonitoringServiceRequest::get_cluster_id |
( |
| ) |
const |
|
inline |
Get the value of the 'clusterId
' attribute.
◆ get_monitoring_service()
const StringPiece google_container_api::SetMonitoringServiceRequest::get_monitoring_service |
( |
| ) |
const |
|
inline |
Get the value of the 'monitoringService
' attribute.
◆ get_name()
const StringPiece google_container_api::SetMonitoringServiceRequest::get_name |
( |
| ) |
const |
|
inline |
Get the value of the 'name
' attribute.
◆ get_project_id()
const StringPiece google_container_api::SetMonitoringServiceRequest::get_project_id |
( |
| ) |
const |
|
inline |
Get the value of the 'projectId
' attribute.
◆ get_zone()
const StringPiece google_container_api::SetMonitoringServiceRequest::get_zone |
( |
| ) |
const |
|
inline |
Get the value of the 'zone
' attribute.
◆ GetTypeName()
const StringPiece google_container_api::SetMonitoringServiceRequest::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_cluster_id()
bool google_container_api::SetMonitoringServiceRequest::has_cluster_id |
( |
| ) |
const |
|
inline |
Determine if the 'clusterId
' attribute was set.
- Returns
- true if the '
clusterId
' attribute was set.
◆ has_monitoring_service()
bool google_container_api::SetMonitoringServiceRequest::has_monitoring_service |
( |
| ) |
const |
|
inline |
Determine if the 'monitoringService
' attribute was set.
- Returns
- true if the '
monitoringService
' attribute was set.
◆ has_name()
bool google_container_api::SetMonitoringServiceRequest::has_name |
( |
| ) |
const |
|
inline |
Determine if the 'name
' attribute was set.
- Returns
- true if the '
name
' attribute was set.
◆ has_project_id()
bool google_container_api::SetMonitoringServiceRequest::has_project_id |
( |
| ) |
const |
|
inline |
Determine if the 'projectId
' attribute was set.
- Returns
- true if the '
projectId
' attribute was set.
◆ has_zone()
bool google_container_api::SetMonitoringServiceRequest::has_zone |
( |
| ) |
const |
|
inline |
Determine if the 'zone
' attribute was set.
- Returns
- true if the '
zone
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_cluster_id()
void google_container_api::SetMonitoringServiceRequest::set_cluster_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'clusterId
' attribute.
- Deprecated:
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
- Parameters
-
◆ set_monitoring_service()
void google_container_api::SetMonitoringServiceRequest::set_monitoring_service |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'monitoringService
' attribute.
Required. The monitoring service the cluster should use to write metrics. Currently available options:
- "monitoring.googleapis.com/kubernetes" - the Google Cloud Monitoring service with Kubernetes-native resource model
- "monitoring.googleapis.com" - the Google Cloud Monitoring service
- "none" - no metrics will be exported from the cluster.
- Parameters
-
◆ set_name()
void google_container_api::SetMonitoringServiceRequest::set_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'name
' attribute.
The name (project, location, cluster) of the cluster to set monitoring. Specified in the format 'projects/locations/clusters'.
- Parameters
-
◆ set_project_id()
void google_container_api::SetMonitoringServiceRequest::set_project_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
◆ set_zone()
void google_container_api::SetMonitoringServiceRequest::set_zone |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'zone
' attribute.
- Deprecated:
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.
- Parameters
-
The documentation for this class was generated from the following files: