Class: Google::Apis::ComputeAlpha::ResourcePolicyInstanceSchedulePolicySchedule

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb

Overview

Schedule for an instance operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ResourcePolicyInstanceSchedulePolicySchedule

Returns a new instance of ResourcePolicyInstanceSchedulePolicySchedule.



30473
30474
30475
# File 'generated/google/apis/compute_alpha/classes.rb', line 30473

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

Instance Attribute Details

#scheduleString

Specifies the frequency for the operation, using the unix-cron format. Corresponds to the JSON property schedule

Returns:

  • (String)


30471
30472
30473
# File 'generated/google/apis/compute_alpha/classes.rb', line 30471

def schedule
  @schedule
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



30478
30479
30480
# File 'generated/google/apis/compute_alpha/classes.rb', line 30478

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