Class: Google::Container::V1::SetMaintenancePolicyRequest
- Inherits:
-
Object
- Object
- Google::Container::V1::SetMaintenancePolicyRequest
- Defined in:
- lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb
Overview
SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
Instance Attribute Summary collapse
-
#cluster_id ⇒ String
Required.
-
#maintenance_policy ⇒ Google::Container::V1::MaintenancePolicy
Required.
-
#name ⇒ String
The name (project, location, cluster id) of the cluster to set maintenance policy.
-
#project_id ⇒ String
Required.
-
#zone ⇒ String
Required.
Instance Attribute Details
#cluster_id ⇒ String
Returns Required. The name of the cluster to update.
2136 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 2136 class SetMaintenancePolicyRequest; end |
#maintenance_policy ⇒ Google::Container::V1::MaintenancePolicy
Returns Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.
2136 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 2136 class SetMaintenancePolicyRequest; end |
#name ⇒ String
Returns The name (project, location, cluster id) of the cluster to set maintenance
policy.
Specified in the format projects/*/locations/*/clusters/*
.
2136 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 2136 class SetMaintenancePolicyRequest; end |
#project_id ⇒ String
Returns Required. The Google Developers Console project ID or project number.
2136 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 2136 class SetMaintenancePolicyRequest; end |
#zone ⇒ String
Returns Required. The name of the Google Compute Engine zone in which the cluster resides.
2136 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 2136 class SetMaintenancePolicyRequest; end |