class Google::Apis::AppstateV1::UpdateRequest

This is a JSON template for a requests which update app state

Attributes

data[RW]

The new app state data that your application is trying to update with. Corresponds to the JSON property `data` @return [String]

kind[RW]

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

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/appstate_v1/classes.rb, line 110
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 115
def update!(**args)
  @data = args[:data] if args.key?(:data)
  @kind = args[:kind] if args.key?(:kind)
end