Class: Google::Cloud::Container::V1beta1::MaintenancePolicy
- Inherits:
-
Object
- Object
- Google::Cloud::Container::V1beta1::MaintenancePolicy
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/container/v1beta1/cluster_service.rb
Overview
MaintenancePolicy defines the maintenance policy to be used for the cluster.
Instance Attribute Summary collapse
-
#resource_version ⇒ ::String
A hash identifying the version of this policy, so that updates to fields of the policy won't accidentally undo intermediate changes (and so that users of the API unaware of some fields won't accidentally remove other fields).
-
#window ⇒ ::Google::Cloud::Container::V1beta1::MaintenanceWindow
Specifies the maintenance window in which maintenance may be performed.
Instance Attribute Details
#resource_version ⇒ ::String
Returns A hash identifying the version of this policy, so that updates to fields of
the policy won't accidentally undo intermediate changes (and so that users
of the API unaware of some fields won't accidentally remove other fields).
Make a get()
request to the cluster to get the current
resource version and include it with requests to set the policy.
4253 4254 4255 4256 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 4253 class MaintenancePolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#window ⇒ ::Google::Cloud::Container::V1beta1::MaintenanceWindow
Returns Specifies the maintenance window in which maintenance may be performed.
4253 4254 4255 4256 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 4253 class MaintenancePolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |