Class: Google::Apis::GkehubV1beta::ResumeRolloutRequest
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1beta::ResumeRolloutRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1beta/classes.rb,
lib/google/apis/gkehub_v1beta/representations.rb,
lib/google/apis/gkehub_v1beta/representations.rb
Overview
Request message for resuming a rollout.
Instance Attribute Summary collapse
-
#schedule_offset ⇒ String
Optional.
-
#validate_only ⇒ Boolean
(also: #validate_only?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResumeRolloutRequest
constructor
A new instance of ResumeRolloutRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResumeRolloutRequest
Returns a new instance of ResumeRolloutRequest.
5856 5857 5858 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 5856 def initialize(**args) update!(**args) end |
Instance Attribute Details
#schedule_offset ⇒ String
Optional. The duration to offset the Rollout schedule by.
Corresponds to the JSON property scheduleOffset
5848 5849 5850 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 5848 def schedule_offset @schedule_offset end |
#validate_only ⇒ Boolean Also known as: validate_only?
Optional. If set, resume rollout will be executed in dry-run mode.
Corresponds to the JSON property validateOnly
5853 5854 5855 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 5853 def validate_only @validate_only end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5861 5862 5863 5864 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 5861 def update!(**args) @schedule_offset = args[:schedule_offset] if args.key?(:schedule_offset) @validate_only = args[:validate_only] if args.key?(:validate_only) end |