generated/google/apis/testing_v1/classes.rb in google-api-client-0.24.0 vs generated/google/apis/testing_v1/classes.rb in google-api-client-0.24.1
- old
+ new
@@ -298,11 +298,11 @@
# @OutputOnly
# Corresponds to the JSON property `form`
# @return [String]
attr_accessor :form
- # Whther this device is a phone, tablet, wearable, etc.
+ # Whether this device is a phone, tablet, wearable, etc.
# @OutputOnly
# Corresponds to the JSON property `formFactor`
# @return [String]
attr_accessor :form_factor
@@ -579,17 +579,18 @@
# @OutputOnly
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
- # 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 `releaseDate`
# @return [Google::Apis::TestingV1::Date]
attr_accessor :release_date
# Tags for this dimension.
@@ -786,28 +787,30 @@
@key = args[:key] if args.key?(:key)
@value = args[:value] if args.key?(:value)
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
@@ -1182,10 +1185,16 @@
# DeviceCompatibilityMatrix.html
# Corresponds to the JSON property `deviceCapabilities`
# @return [Array<String>]
attr_accessor :device_capabilities
+ # Whether this device is a phone, tablet, wearable, etc.
+ # @OutputOnly
+ # Corresponds to the JSON property `formFactor`
+ # @return [String]
+ attr_accessor :form_factor
+
# Output only. The unique opaque id for this model.
# Use this for invoking the TestExecutionService.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
@@ -1212,9 +1221,10 @@
end
# Update properties of this object
def update!(**args)
@device_capabilities = args[:device_capabilities] if args.key?(:device_capabilities)
+ @form_factor = args[:form_factor] if args.key?(:form_factor)
@id = args[:id] if args.key?(:id)
@name = args[:name] if args.key?(:name)
@supported_version_ids = args[:supported_version_ids] if args.key?(:supported_version_ids)
@tags = args[:tags] if args.key?(:tags)
end