Class: Google::Cloud::Gaming::V1::Schedule

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/gaming/v1/common.rb

Overview

The schedule of a recurring or one time event. The event's time span is specified by start_time and end_time. If the scheduled event's timespan is larger than the cron_spec + cron_job_duration, the event will be recurring. If only cron_spec + cron_job_duration are specified, the event is effective starting at the local time specified by cron_spec, and is recurring.

start_time|-------[cron job]-------[cron job]-------[cron job]---|end_time
cron job: cron spec start time + duration

Instance Attribute Summary collapse

Instance Attribute Details

#cron_job_duration::Google::Protobuf::Duration

Returns The duration for the cron job event. The duration of the event is effective after the cron job's start time.

Returns:

  • (::Google::Protobuf::Duration)

    The duration for the cron job event. The duration of the event is effective after the cron job's start time.



148
149
150
151
# File 'proto_docs/google/cloud/gaming/v1/common.rb', line 148

class Schedule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#cron_spec::String

Returns The cron definition of the scheduled event. See https://en.wikipedia.org/wiki/Cron. Cron spec specifies the local time as defined by the realm.

Returns:



148
149
150
151
# File 'proto_docs/google/cloud/gaming/v1/common.rb', line 148

class Schedule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#end_time::Google::Protobuf::Timestamp

Returns The end time of the event.

Returns:



148
149
150
151
# File 'proto_docs/google/cloud/gaming/v1/common.rb', line 148

class Schedule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#start_time::Google::Protobuf::Timestamp

Returns The start time of the event.

Returns:



148
149
150
151
# File 'proto_docs/google/cloud/gaming/v1/common.rb', line 148

class Schedule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end