Class: Google::Apis::ComputeV1::ResourcePolicyInstanceSchedulePolicySchedule
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::ResourcePolicyInstanceSchedulePolicySchedule
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Overview
Schedule for an instance operation.
Instance Attribute Summary collapse
-
#schedule ⇒ String
Specifies the frequency for the operation, using the unix-cron format.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourcePolicyInstanceSchedulePolicySchedule
constructor
A new instance of ResourcePolicyInstanceSchedulePolicySchedule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResourcePolicyInstanceSchedulePolicySchedule
Returns a new instance of ResourcePolicyInstanceSchedulePolicySchedule.
33676 33677 33678 |
# File 'lib/google/apis/compute_v1/classes.rb', line 33676 def initialize(**args) update!(**args) end |
Instance Attribute Details
#schedule ⇒ String
Specifies the frequency for the operation, using the unix-cron format.
Corresponds to the JSON property schedule
33674 33675 33676 |
# File 'lib/google/apis/compute_v1/classes.rb', line 33674 def schedule @schedule end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
33681 33682 33683 |
# File 'lib/google/apis/compute_v1/classes.rb', line 33681 def update!(**args) @schedule = args[:schedule] if args.key?(:schedule) end |