Class: Google::Apis::PlayablelocationsV3::GoogleMapsUnityClientInfo
- Inherits:
-
Object
- Object
- Google::Apis::PlayablelocationsV3::GoogleMapsUnityClientInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/playablelocations_v3/classes.rb,
generated/google/apis/playablelocations_v3/representations.rb,
generated/google/apis/playablelocations_v3/representations.rb
Overview
Client information.
Instance Attribute Summary collapse
-
#api_client ⇒ String
API client name and version.
-
#application_id ⇒ String
Application ID, such as the package name on Android and the bundle identifier on iOS platforms.
-
#application_version ⇒ String
Application version number, such as "1.2.3".
-
#device_model ⇒ String
Device model as reported by the device.
-
#language_code ⇒ String
Language code (in BCP-47 format) indicating the UI language of the client.
-
#operating_system ⇒ String
Operating system name and version as reported by the OS.
-
#operating_system_build ⇒ String
Build number/version of the operating system.
-
#platform ⇒ String
Platform where the application is running.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleMapsUnityClientInfo
constructor
A new instance of GoogleMapsUnityClientInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleMapsUnityClientInfo
Returns a new instance of GoogleMapsUnityClientInfo.
540 541 542 |
# File 'generated/google/apis/playablelocations_v3/classes.rb', line 540 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_client ⇒ String
API client name and version. For example, the SDK calling the API. The exact
format is up to the client.
Corresponds to the JSON property apiClient
497 498 499 |
# File 'generated/google/apis/playablelocations_v3/classes.rb', line 497 def api_client @api_client end |
#application_id ⇒ String
Application ID, such as the package name on Android and the bundle identifier
on iOS platforms.
Corresponds to the JSON property applicationId
503 504 505 |
# File 'generated/google/apis/playablelocations_v3/classes.rb', line 503 def application_id @application_id end |
#application_version ⇒ String
Application version number, such as "1.2.3". The exact format is application-
dependent.
Corresponds to the JSON property applicationVersion
509 510 511 |
# File 'generated/google/apis/playablelocations_v3/classes.rb', line 509 def application_version @application_version end |
#device_model ⇒ String
Device model as reported by the device. The exact format is platform-dependent.
Corresponds to the JSON property deviceModel
514 515 516 |
# File 'generated/google/apis/playablelocations_v3/classes.rb', line 514 def device_model @device_model end |
#language_code ⇒ String
Language code (in BCP-47 format) indicating the UI language of the client.
Examples are "en", "en-US" or "ja-Latn". For more information, see http://www.
unicode.org/reports/tr35/#Unicode_locale_identifier.
Corresponds to the JSON property languageCode
521 522 523 |
# File 'generated/google/apis/playablelocations_v3/classes.rb', line 521 def language_code @language_code end |
#operating_system ⇒ String
Operating system name and version as reported by the OS. For example, "Mac OS
X 10.10.4". The exact format is platform-dependent.
Corresponds to the JSON property operatingSystem
527 528 529 |
# File 'generated/google/apis/playablelocations_v3/classes.rb', line 527 def @operating_system end |
#operating_system_build ⇒ String
Build number/version of the operating system. e.g., the contents of android.os.
Build.ID in Android, or the contents of sysctl "kern.osversion" in iOS.
Corresponds to the JSON property operatingSystemBuild
533 534 535 |
# File 'generated/google/apis/playablelocations_v3/classes.rb', line 533 def @operating_system_build end |
#platform ⇒ String
Platform where the application is running.
Corresponds to the JSON property platform
538 539 540 |
# File 'generated/google/apis/playablelocations_v3/classes.rb', line 538 def platform @platform end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
545 546 547 548 549 550 551 552 553 554 |
# File 'generated/google/apis/playablelocations_v3/classes.rb', line 545 def update!(**args) @api_client = args[:api_client] if args.key?(:api_client) @application_id = args[:application_id] if args.key?(:application_id) @application_version = args[:application_version] if args.key?(:application_version) @device_model = args[:device_model] if args.key?(:device_model) @language_code = args[:language_code] if args.key?(:language_code) @operating_system = args[:operating_system] if args.key?(:operating_system) @operating_system_build = args[:operating_system_build] if args.key?(:operating_system_build) @platform = args[:platform] if args.key?(:platform) end |