Class: Google::Cloud::Container::V1::MaintenancePolicy
- Inherits:
-
Object
- Object
- Google::Cloud::Container::V1::MaintenancePolicy
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/container/v1/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::V1::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.
3269 3270 3271 3272 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 3269 class MaintenancePolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#window ⇒ ::Google::Cloud::Container::V1::MaintenanceWindow
Returns Specifies the maintenance window in which maintenance may be performed.
3269 3270 3271 3272 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 3269 class MaintenancePolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |