class Google::Apis::StoragetransferV1::Schedule
Transfers can be scheduled to recur or to run just once.
Attributes
Represents a whole calendar date, e.g. date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The day may be 0 to represent a year and month where the day is not significant, e.g. credit card expiration date. The year may be 0 to represent a month and day independent of year, e.g. anniversary date. Related types are [google.type.TimeOfDay][google.type. TimeOfDay] and `google.protobuf.Timestamp`. Corresponds to the JSON property `scheduleEndDate` @return [Google::Apis::StoragetransferV1::Date]
Represents a whole calendar date, e.g. date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The day may be 0 to represent a year and month where the day is not significant, e.g. credit card expiration date. The year may be 0 to represent a month and day independent of year, e.g. anniversary date. Related types are [google.type.TimeOfDay][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 chose 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 generated/google/apis/storagetransfer_v1/classes.rb, line 433 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/storagetransfer_v1/classes.rb, line 438 def update!(**args) @schedule_start_date = args[:schedule_start_date] if args.key?(:schedule_start_date) @schedule_end_date = args[:schedule_end_date] if args.key?(:schedule_end_date) @start_time_of_day = args[:start_time_of_day] if args.key?(:start_time_of_day) end