Class: Google::Apis::AppstateV1::UpdateRequest
- Inherits:
-
Object
- Object
- Google::Apis::AppstateV1::UpdateRequest
- 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 a requests which update app state
Instance Attribute Summary collapse
-
#data ⇒ String
The new app state data that your application is trying to update with.
-
#kind ⇒ String
Uniquely identifies the type of this resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateRequest
constructor
A new instance of UpdateRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UpdateRequest
Returns a new instance of UpdateRequest
110 111 112 |
# File 'generated/google/apis/appstate_v1/classes.rb', line 110 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data ⇒ String
The new app state data that your application is trying to update with.
Corresponds to the JSON property data
102 103 104 |
# File 'generated/google/apis/appstate_v1/classes.rb', line 102 def data @data end |
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string appstate#updateRequest.
Corresponds to the JSON property kind
108 109 110 |
# File 'generated/google/apis/appstate_v1/classes.rb', line 108 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
115 116 117 118 |
# 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 |