generated/google/apis/storagetransfer_v1/classes.rb in google-api-client-0.24.0 vs generated/google/apis/storagetransfer_v1/classes.rb in google-api-client-0.24.1
- old
+ new
@@ -80,28 +80,30 @@
@aws_access_key = args[:aws_access_key] if args.key?(:aws_access_key)
@bucket_name = args[:bucket_name] if args.key?(:bucket_name)
end
end
- # Represents a whole calendar date, for example date of birth. The time of day
+ # Represents a whole or partial calendar date, e.g. a birthday. 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 can be 0 to
- # represent a year and month where the day is not significant, for example
- # credit card expiration date. The year can be 0 to represent a month and day
- # independent of year, for example anniversary date. Related types are
- # google.type.TimeOfDay and `google.protobuf.Timestamp`.
+ # is relative to the Proleptic Gregorian Calendar. This can represent:
+ # * A full date, with non-zero year, month and day values
+ # * A month and day value, with a zero year, e.g. an anniversary
+ # * A year on its own, with zero month and day values
+ # * A year and month value, with a zero day, e.g. a credit card expiration date
+ # Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
class Date
include Google::Apis::Core::Hashable
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
- # if specifying a year/month where the day is not significant.
+ # if specifying a year by itself or a year and month where the day is not
+ # significant.
# Corresponds to the JSON property `day`
# @return [Fixnum]
attr_accessor :day
- # Month of year. Must be from 1 to 12, or 0 if specifying a date without a
- # month.
+ # Month of year. Must be from 1 to 12, or 0 if specifying a year without a
+ # month and day.
# Corresponds to the JSON property `month`
# @return [Fixnum]
attr_accessor :month
# Year of date. Must be from 1 to 9999, or 0 if specifying a date without
@@ -538,27 +540,29 @@
# Transfers can be scheduled to recur or to run just once.
class Schedule
include Google::Apis::Core::Hashable
- # Represents a whole calendar date, for example date of birth. The time of day
+ # Represents a whole or partial calendar date, e.g. a birthday. 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 can be 0 to
- # represent a year and month where the day is not significant, for example
- # credit card expiration date. The year can be 0 to represent a month and day
- # independent of year, for example anniversary date. Related types are
- # google.type.TimeOfDay and `google.protobuf.Timestamp`.
+ # is relative to the Proleptic Gregorian Calendar. This can represent:
+ # * A full date, with non-zero year, month and day values
+ # * A month and day value, with a zero year, e.g. an anniversary
+ # * A year on its own, with zero month and day values
+ # * A year and month value, with a zero day, e.g. 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]
attr_accessor :schedule_end_date
- # Represents a whole calendar date, for example date of birth. The time of day
+ # Represents a whole or partial calendar date, e.g. a birthday. 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 can be 0 to
- # represent a year and month where the day is not significant, for example
- # credit card expiration date. The year can be 0 to represent a month and day
- # independent of year, for example anniversary date. Related types are
- # google.type.TimeOfDay and `google.protobuf.Timestamp`.
+ # is relative to the Proleptic Gregorian Calendar. This can represent:
+ # * A full date, with non-zero year, month and day values
+ # * A month and day value, with a zero year, e.g. an anniversary
+ # * A year on its own, with zero month and day values
+ # * A year and month value, with a zero day, e.g. 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]
attr_accessor :schedule_start_date
# Represents a time of day. The date and time zone are either not significant