Class: Google::Apis::LicensingV1::LicenseAssignmentList
- Inherits:
-
Object
- Object
- Google::Apis::LicensingV1::LicenseAssignmentList
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/licensing_v1/classes.rb,
lib/google/apis/licensing_v1/representations.rb,
lib/google/apis/licensing_v1/representations.rb
Instance Attribute Summary collapse
-
#etag ⇒ String
ETag of the resource.
-
#items ⇒ Array<Google::Apis::LicensingV1::LicenseAssignment>
The LicenseAssignments in this page of results.
-
#kind ⇒ String
Identifies the resource as a collection of LicenseAssignments.
-
#next_page_token ⇒ String
The token that you must submit in a subsequent request to retrieve additional license results matching your query parameters.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LicenseAssignmentList
constructor
A new instance of LicenseAssignmentList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LicenseAssignmentList
Returns a new instance of LicenseAssignmentList.
155 156 157 |
# File 'lib/google/apis/licensing_v1/classes.rb', line 155 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
135 136 137 |
# File 'lib/google/apis/licensing_v1/classes.rb', line 135 def etag @etag end |
#items ⇒ Array<Google::Apis::LicensingV1::LicenseAssignment>
The LicenseAssignments in this page of results.
Corresponds to the JSON property items
140 141 142 |
# File 'lib/google/apis/licensing_v1/classes.rb', line 140 def items @items end |
#kind ⇒ String
Identifies the resource as a collection of LicenseAssignments.
Corresponds to the JSON property kind
145 146 147 |
# File 'lib/google/apis/licensing_v1/classes.rb', line 145 def kind @kind end |
#next_page_token ⇒ String
The token that you must submit in a subsequent request to retrieve additional
license results matching your query parameters. The maxResults
query string
is related to the nextPageToken
since maxResults
determines how many
entries are returned on each next page.
Corresponds to the JSON property nextPageToken
153 154 155 |
# File 'lib/google/apis/licensing_v1/classes.rb', line 153 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
160 161 162 163 164 165 |
# File 'lib/google/apis/licensing_v1/classes.rb', line 160 def update!(**args) @etag = args[:etag] if args.key?(:etag) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |