Class: Google::Apis::GamesV1::InstanceAndroidDetails
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::GamesV1::InstanceAndroidDetails
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/games_v1/classes.rb,
 generated/google/apis/games_v1/representations.rb,
 generated/google/apis/games_v1/representations.rb
Overview
This is a JSON template for the Android instance details resource.
Instance Attribute Summary collapse
- 
  
    
      #enable_piracy_check  ⇒ Boolean 
    
    
      (also: #enable_piracy_check?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Flag indicating whether the anti-piracy check is enabled. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Uniquely identifies the type of this resource. 
- 
  
    
      #package_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Android package name which maps to Google Play URL. 
- 
  
    
      #preferred  ⇒ Boolean 
    
    
      (also: #preferred?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Indicates that this instance is the default for new installations. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ InstanceAndroidDetails 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of InstanceAndroidDetails. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ InstanceAndroidDetails
Returns a new instance of InstanceAndroidDetails
| 1328 1329 1330 | # File 'generated/google/apis/games_v1/classes.rb', line 1328 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#enable_piracy_check ⇒ Boolean Also known as: enable_piracy_check?
Flag indicating whether the anti-piracy check is enabled.
Corresponds to the JSON property enablePiracyCheck
| 1308 1309 1310 | # File 'generated/google/apis/games_v1/classes.rb', line 1308 def enable_piracy_check @enable_piracy_check end | 
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string games#instanceAndroidDetails.
Corresponds to the JSON property kind
| 1315 1316 1317 | # File 'generated/google/apis/games_v1/classes.rb', line 1315 def kind @kind end | 
#package_name ⇒ String
Android package name which maps to Google Play URL.
Corresponds to the JSON property packageName
| 1320 1321 1322 | # File 'generated/google/apis/games_v1/classes.rb', line 1320 def package_name @package_name end | 
#preferred ⇒ Boolean Also known as: preferred?
Indicates that this instance is the default for new installations.
Corresponds to the JSON property preferred
| 1325 1326 1327 | # File 'generated/google/apis/games_v1/classes.rb', line 1325 def preferred @preferred end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1333 1334 1335 1336 1337 1338 | # 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 |