class Google::Apis::StoragetransferV1::Schedule
Transfers can be scheduled to recur or to run just once.
Attributes
Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. Corresponds to the JSON property `endTimeOfDay` @return [Google::Apis::StoragetransferV1::TimeOfDay]
Interval between the start of each scheduled TransferOperation
. If unspecified, the default value is 24 hours. This value may not be less than 1 hour. Corresponds to the JSON property `repeatInterval` @return [String]
Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and ` google.protobuf.Timestamp`. Corresponds to the JSON property `scheduleEndDate` @return [Google::Apis::StoragetransferV1::Date]
Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and ` google.protobuf.Timestamp`. Corresponds to the JSON property `scheduleStartDate` @return [Google::Apis::StoragetransferV1::Date]
Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. Corresponds to the JSON property `startTimeOfDay` @return [Google::Apis::StoragetransferV1::TimeOfDay]
Public Class Methods
# File lib/google/apis/storagetransfer_v1/classes.rb, line 788 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/storagetransfer_v1/classes.rb, line 793 def update!(**args) @end_time_of_day = args[:end_time_of_day] if args.key?(:end_time_of_day) @repeat_interval = args[:repeat_interval] if args.key?(:repeat_interval) @schedule_end_date = args[:schedule_end_date] if args.key?(:schedule_end_date) @schedule_start_date = args[:schedule_start_date] if args.key?(:schedule_start_date) @start_time_of_day = args[:start_time_of_day] if args.key?(:start_time_of_day) end