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_idString

Returns The name of the cluster to update.

Returns:

  • (String)

    The name of the cluster to update.



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

class SetMaintenancePolicyRequest; end

#maintenance_policyGoogle::Container::V1::MaintenancePolicy

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

Returns:



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

class SetMaintenancePolicyRequest; end

#project_idString

Returns The Google Developers Console project ID or project number.

Returns:



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

class SetMaintenancePolicyRequest; end

#zoneString

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.



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

class SetMaintenancePolicyRequest; end