Class: Google::Apis::GamesV1::TurnBasedMatchData
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::GamesV1::TurnBasedMatchData
 
 
- 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 a turn-based match data object.
Instance Attribute Summary collapse
- 
  
    
      #data  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The byte representation of the data (limited to 128 kB), as a Base64-encoded string with the URL_SAFE encoding option.
 - 
  
    
      #data_available  ⇒ Boolean 
    
    
      (also: #data_available?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
True if this match has data available but it wasn't returned in a list response; fetching the match individually will retrieve this data.
 - 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Uniquely identifies the type of this resource.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TurnBasedMatchData 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of TurnBasedMatchData.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TurnBasedMatchData
Returns a new instance of TurnBasedMatchData
      4340 4341 4342  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 4340 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#data ⇒ String
The byte representation of the data (limited to 128 kB), as a Base64-encoded
string with the URL_SAFE encoding option.
Corresponds to the JSON property data
NOTE: Values are automatically base64 encoded/decoded in the client library.
      4325 4326 4327  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 4325 def data @data end  | 
  
#data_available ⇒ Boolean Also known as: data_available?
True if this match has data available but it wasn't returned in a list
response; fetching the match individually will retrieve this data.
Corresponds to the JSON property dataAvailable
      4331 4332 4333  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 4331 def data_available @data_available end  | 
  
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string games#turnBasedMatchData.
Corresponds to the JSON property kind
      4338 4339 4340  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 4338 def kind @kind end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      4345 4346 4347 4348 4349  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 4345 def update!(**args) @data = args[:data] if args.key?(:data) @data_available = args[:data_available] if args.key?(:data_available) @kind = args[:kind] if args.key?(:kind) end  |