Class: Google::Container::V1beta1::SetMaintenancePolicyRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb

Overview

SetMaintenancePolicyRequest sets the maintenance policy for a cluster.

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_idString

Returns Required. The name of the cluster to update.

Returns:

  • (String)

    Required. The name of the cluster to update.



2264
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 2264

class SetMaintenancePolicyRequest; end

#maintenance_policyGoogle::Container::V1beta1::MaintenancePolicy

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

Returns:



2264
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 2264

class SetMaintenancePolicyRequest; end

#nameString

Returns The name (project, location, cluster id) of the cluster to set maintenance policy. Specified in the format 'projects//locations//clusters/*'.

Returns:

  • (String)

    The name (project, location, cluster id) of the cluster to set maintenance policy. Specified in the format 'projects//locations//clusters/*'.



2264
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 2264

class SetMaintenancePolicyRequest; end

#project_idString

Returns Required. The Google Developers Console project ID or project number.

Returns:



2264
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 2264

class SetMaintenancePolicyRequest; end

#zoneString

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

Returns:

  • (String)

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



2264
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 2264

class SetMaintenancePolicyRequest; end