Class: Google::Apis::AppstateV1::ListResponse
- Inherits:
-
Object
- Object
- Google::Apis::AppstateV1::ListResponse
- 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 to convert a list-response for app state.
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::AppstateV1::GetResponse>
The app state data.
-
#kind ⇒ String
Uniquely identifies the type of this resource.
-
#maximum_key_count ⇒ Fixnum
The maximum number of keys allowed for this user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListResponse
constructor
A new instance of ListResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListResponse
Returns a new instance of ListResponse.
83 84 85 |
# File 'generated/google/apis/appstate_v1/classes.rb', line 83 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::AppstateV1::GetResponse>
The app state data.
Corresponds to the JSON property items
70 71 72 |
# File 'generated/google/apis/appstate_v1/classes.rb', line 70 def items @items end |
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string appstate#listResponse.
Corresponds to the JSON property kind
76 77 78 |
# File 'generated/google/apis/appstate_v1/classes.rb', line 76 def kind @kind end |
#maximum_key_count ⇒ Fixnum
The maximum number of keys allowed for this user.
Corresponds to the JSON property maximumKeyCount
81 82 83 |
# File 'generated/google/apis/appstate_v1/classes.rb', line 81 def maximum_key_count @maximum_key_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
88 89 90 91 92 |
# File 'generated/google/apis/appstate_v1/classes.rb', line 88 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @maximum_key_count = args[:maximum_key_count] if args.key?(:maximum_key_count) end |