Class: Google::Cloud::Container::V1beta1::SetMaintenancePolicyRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Container::V1beta1::SetMaintenancePolicyRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/container/v1beta1/cluster_service.rb
Overview
SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
Instance Attribute Summary collapse
-
#cluster_id ⇒ ::String
Required.
-
#maintenance_policy ⇒ ::Google::Cloud::Container::V1beta1::MaintenancePolicy
Required.
-
#name ⇒ ::String
The name (project, location, cluster name) 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.
3936 3937 3938 3939 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3936 class SetMaintenancePolicyRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#maintenance_policy ⇒ ::Google::Cloud::Container::V1beta1::MaintenancePolicy
Returns Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.
3936 3937 3938 3939 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3936 class SetMaintenancePolicyRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns The name (project, location, cluster name) of the cluster to set
maintenance policy.
Specified in the format projects/*/locations/*/clusters/*
.
3936 3937 3938 3939 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3936 class SetMaintenancePolicyRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#project_id ⇒ ::String
Returns Required. The Google Developers Console project ID or project number.
3936 3937 3938 3939 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3936 class SetMaintenancePolicyRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#zone ⇒ ::String
Returns Required. The name of the Google Compute Engine zone in which the cluster resides.
3936 3937 3938 3939 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3936 class SetMaintenancePolicyRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |