Class: Google::Apis::AppstateV1::GetResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AppstateV1::GetResponse
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appstate_v1/classes.rb,
 generated/google/apis/appstate_v1/representations.rb,
 generated/google/apis/appstate_v1/representations.rb
Overview
This is a JSON template for an app state resource.
Instance Attribute Summary collapse
- 
  
    
      #current_state_version  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The current app state version. 
- 
  
    
      #data  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The requested data. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Uniquely identifies the type of this resource. 
- 
  
    
      #state_key  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The key for the data. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GetResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GetResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GetResponse
Returns a new instance of GetResponse
| 50 51 52 | # File 'generated/google/apis/appstate_v1/classes.rb', line 50 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#current_state_version ⇒ String
The current app state version.
Corresponds to the JSON property currentStateVersion
| 32 33 34 | # File 'generated/google/apis/appstate_v1/classes.rb', line 32 def current_state_version @current_state_version end | 
#data ⇒ String
The requested data.
Corresponds to the JSON property data
| 37 38 39 | # File 'generated/google/apis/appstate_v1/classes.rb', line 37 def data @data end | 
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string appstate#getResponse.
Corresponds to the JSON property kind
| 43 44 45 | # File 'generated/google/apis/appstate_v1/classes.rb', line 43 def kind @kind end | 
#state_key ⇒ Fixnum
The key for the data.
Corresponds to the JSON property stateKey
| 48 49 50 | # File 'generated/google/apis/appstate_v1/classes.rb', line 48 def state_key @state_key end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 55 56 57 58 59 60 | # File 'generated/google/apis/appstate_v1/classes.rb', line 55 def update!(**args) @current_state_version = args[:current_state_version] if args.key?(:current_state_version) @data = args[:data] if args.key?(:data) @kind = args[:kind] if args.key?(:kind) @state_key = args[:state_key] if args.key?(:state_key) end |