Class: Google::Container::V1::SetMaintenancePolicyRequest

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#cluster_id ⇒ String

Returns The name of the cluster to update.

Returns:

  • (String) —

    The name of the cluster to update.



1501
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 1501

class SetMaintenancePolicyRequest; end

#maintenance_policy ⇒ Google::Container::V1::MaintenancePolicy

Returns The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.

Returns:



1501
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 1501

class SetMaintenancePolicyRequest; end

#project_id ⇒ String

Returns The Google Developers Console project ID or project number.

Returns:



1501
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 1501

class SetMaintenancePolicyRequest; end

#zone ⇒ String

Returns The name of the Google Compute Engine zone in which the cluster resides.

Returns:

  • (String) —

    The name of the Google Compute Engine zone in which the cluster resides.



1501
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 1501

class SetMaintenancePolicyRequest; end