Autogenerated update (2017-11-10)
Update: - adexchangebuyer2_v2beta1 - analyticsreporting_v4 - cloudtrace_v1 - cloudtrace_v2 - container_v1 - container_v1beta1 - deploymentmanager_alpha - deploymentmanager_v2beta - firebasedynamiclinks_v1 - oslogin_v1alpha - oslogin_v1beta - people_v1 - servicemanagement_v1 - serviceuser_v1 - youtube_partner_v1
This commit is contained in:
1 parent
c387e3f320
commit
b3f83d598e
40 files changed
+1187
-282
No files matched your search
@@ -186,6 +186,14 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :language_code
|
||||
|
||||
# Device language code raw setting.
|
||||
# iOS does returns language code in different format than iOS WebView.
|
||||
# For example WebView returns en_US, but iOS returns en-US.
|
||||
# Field below will return raw value returned by iOS.
|
||||
# Corresponds to the JSON property `languageCodeRaw`
|
||||
# @return [String]
|
||||
attr_accessor :language_code_raw
|
||||
|
||||
# Device display resolution height.
|
||||
# Corresponds to the JSON property `screenResolutionHeight`
|
||||
# @return [Fixnum]
|
||||
@@ -209,6 +217,7 @@ module Google
|
||||
def update!(**args)
|
||||
@device_model_name = args[:device_model_name] if args.key?(:device_model_name)
|
||||
@language_code = args[:language_code] if args.key?(:language_code)
|
||||
@language_code_raw = args[:language_code_raw] if args.key?(:language_code_raw)
|
||||
@screen_resolution_height = args[:screen_resolution_height] if args.key?(:screen_resolution_height)
|
||||
@screen_resolution_width = args[:screen_resolution_width] if args.key?(:screen_resolution_width)
|
||||
@timezone = args[:timezone] if args.key?(:timezone)
|
||||
|
||||
@@ -183,6 +183,7 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :device_model_name, as: 'deviceModelName'
|
||||
property :language_code, as: 'languageCode'
|
||||
property :language_code_raw, as: 'languageCodeRaw'
|
||||
property :screen_resolution_height, :numeric_string => true, as: 'screenResolutionHeight'
|
||||
property :screen_resolution_width, :numeric_string => true, as: 'screenResolutionWidth'
|
||||
property :timezone, as: 'timezone'
|
||||
|
||||
Reference in new issue
Block a user