Class: Google::Apis::PlayablelocationsV3::GoogleMapsUnityClientInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_clientString

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

Returns:

  • (String)


497
498
499
# File 'generated/google/apis/playablelocations_v3/classes.rb', line 497

def api_client
  @api_client
end

#application_idString

Application ID, such as the package name on Android and the bundle identifier on iOS platforms. Corresponds to the JSON property applicationId

Returns:

  • (String)


503
504
505
# File 'generated/google/apis/playablelocations_v3/classes.rb', line 503

def application_id
  @application_id
end

#application_versionString

Application version number, such as "1.2.3". The exact format is application- dependent. Corresponds to the JSON property applicationVersion

Returns:

  • (String)


509
510
511
# File 'generated/google/apis/playablelocations_v3/classes.rb', line 509

def application_version
  @application_version
end

#device_modelString

Device model as reported by the device. The exact format is platform-dependent. Corresponds to the JSON property deviceModel

Returns:

  • (String)


514
515
516
# File 'generated/google/apis/playablelocations_v3/classes.rb', line 514

def device_model
  @device_model
end

#language_codeString

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

Returns:

  • (String)


521
522
523
# File 'generated/google/apis/playablelocations_v3/classes.rb', line 521

def language_code
  @language_code
end

#operating_systemString

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

Returns:

  • (String)


527
528
529
# File 'generated/google/apis/playablelocations_v3/classes.rb', line 527

def operating_system
  @operating_system
end

#operating_system_buildString

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

Returns:

  • (String)


533
534
535
# File 'generated/google/apis/playablelocations_v3/classes.rb', line 533

def operating_system_build
  @operating_system_build
end

#platformString

Platform where the application is running. Corresponds to the JSON property platform

Returns:

  • (String)


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