class Google::Apis::ComputeV1::ScalingScheduleStatus

Attributes

last_start_time[RW]
Output Only

The last time the scaling schedule became active. Note: this is

a timestamp when a schedule actually became active, not when it was planned to do so. The timestamp is in RFC3339 text format. Corresponds to the JSON property `lastStartTime` @return [String]

next_start_time[RW]
Output Only

The next time the scaling schedule is to become active. Note:

this is a timestamp when a schedule is planned to run, but the actual time might be slightly different. The timestamp is in RFC3339 text format. Corresponds to the JSON property `nextStartTime` @return [String]

state[RW]
Output Only

The current state of a scaling schedule.

Corresponds to the JSON property `state` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 28824
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 28829
def update!(**args)
  @last_start_time = args[:last_start_time] if args.key?(:last_start_time)
  @next_start_time = args[:next_start_time] if args.key?(:next_start_time)
  @state = args[:state] if args.key?(:state)
end