class Google::Apis::GamesV1::InstanceAndroidDetails

This is a JSON template for the Android instance details resource.

Attributes

enable_piracy_check[RW]

Flag indicating whether the anti-piracy check is enabled. Corresponds to the JSON property `enablePiracyCheck` @return [Boolean]

enable_piracy_check?[RW]

Flag indicating whether the anti-piracy check is enabled. Corresponds to the JSON property `enablePiracyCheck` @return [Boolean]

kind[RW]

Uniquely identifies the type of this resource. Value is always the fixed string games#instanceAndroidDetails. Corresponds to the JSON property `kind` @return [String]

package_name[RW]

Android package name which maps to Google Play URL. Corresponds to the JSON property `packageName` @return [String]

preferred[RW]

Indicates that this instance is the default for new installations. Corresponds to the JSON property `preferred` @return [Boolean]

preferred?[RW]

Indicates that this instance is the default for new installations. Corresponds to the JSON property `preferred` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/games_v1/classes.rb, line 1328
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/games_v1/classes.rb, line 1333
def update!(**args)
  @enable_piracy_check = args[:enable_piracy_check] if args.key?(:enable_piracy_check)
  @kind = args[:kind] if args.key?(:kind)
  @package_name = args[:package_name] if args.key?(:package_name)
  @preferred = args[:preferred] if args.key?(:preferred)
end