class Google::Apis::AppstateV1::GetResponse

This is a JSON template for an app state resource.

Attributes

current_state_version[RW]

The current app state version. Corresponds to the JSON property `currentStateVersion` @return [String]

data[RW]

The requested data. Corresponds to the JSON property `data` @return [String]

kind[RW]

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

state_key[RW]

The key for the data. Corresponds to the JSON property `stateKey` @return [Fixnum]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# 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