SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cluster_id
def cluster_id() -> ::String
Returns
- (::String) — Required. The name of the cluster to update.
#cluster_id=
def cluster_id=(value) -> ::String
Parameter
- value (::String) — Required. The name of the cluster to update.
Returns
- (::String) — Required. The name of the cluster to update.
#maintenance_policy
def maintenance_policy() -> ::Google::Cloud::Container::V1beta1::MaintenancePolicy
Returns
- (::Google::Cloud::Container::V1beta1::MaintenancePolicy) — Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.
#maintenance_policy=
def maintenance_policy=(value) -> ::Google::Cloud::Container::V1beta1::MaintenancePolicy
Parameter
- value (::Google::Cloud::Container::V1beta1::MaintenancePolicy) — Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.
Returns
- (::Google::Cloud::Container::V1beta1::MaintenancePolicy) — Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.
#name
def name() -> ::String
Returns
-
(::String) — The name (project, location, cluster id) of the cluster to set maintenance
policy.
Specified in the format
projects/*/locations/*/clusters/*
.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — 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/*
.
#project_id
def project_id() -> ::String
Returns
- (::String) — Required. The Google Developers Console project ID or project number.
#project_id=
def project_id=(value) -> ::String
Parameter
- value (::String) — Required. The Google Developers Console project ID or project number.
Returns
- (::String) — Required. The Google Developers Console project ID or project number.
#zone
def zone() -> ::String
Returns
- (::String) — Required. The name of the Google Compute Engine zone in which the cluster resides.
#zone=
def zone=(value) -> ::String
Parameter
- value (::String) — 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.