class Google::Apis::GamesV1::InstanceAndroidDetails

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 lib/google/apis/games_v1/classes.rb, line 1225
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/games_v1/classes.rb, line 1230
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