Class: Google::Apis::GkehubV1::ResumeRolloutRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1/classes.rb,
lib/google/apis/gkehub_v1/representations.rb,
lib/google/apis/gkehub_v1/representations.rb

Overview

Request message for resuming a rollout.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ResumeRolloutRequest

Returns a new instance of ResumeRolloutRequest.



5717
5718
5719
# File 'lib/google/apis/gkehub_v1/classes.rb', line 5717

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#schedule_offsetString

Optional. The duration to offset the Rollout schedule by. Corresponds to the JSON property scheduleOffset

Returns:

  • (String)


5709
5710
5711
# File 'lib/google/apis/gkehub_v1/classes.rb', line 5709

def schedule_offset
  @schedule_offset
end

#validate_onlyBoolean Also known as: validate_only?

Optional. If set, resume rollout will be executed in dry-run mode. Corresponds to the JSON property validateOnly

Returns:

  • (Boolean)


5714
5715
5716
# File 'lib/google/apis/gkehub_v1/classes.rb', line 5714

def validate_only
  @validate_only
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5722
5723
5724
5725
# File 'lib/google/apis/gkehub_v1/classes.rb', line 5722

def update!(**args)
  @schedule_offset = args[:schedule_offset] if args.key?(:schedule_offset)
  @validate_only = args[:validate_only] if args.key?(:validate_only)
end