Class: Google::Apis::LicensingV1::LicenseAssignmentList

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/licensing_v1/classes.rb,
generated/google/apis/licensing_v1/representations.rb,
generated/google/apis/licensing_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LicenseAssignmentList

Returns a new instance of LicenseAssignmentList.



156
157
158
# File 'generated/google/apis/licensing_v1/classes.rb', line 156

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)


136
137
138
# File 'generated/google/apis/licensing_v1/classes.rb', line 136

def etag
  @etag
end

#itemsArray<Google::Apis::LicensingV1::LicenseAssignment>

The LicenseAssignments in this page of results. Corresponds to the JSON property items



141
142
143
# File 'generated/google/apis/licensing_v1/classes.rb', line 141

def items
  @items
end

#kindString

Identifies the resource as a collection of LicenseAssignments. Corresponds to the JSON property kind

Returns:

  • (String)


146
147
148
# File 'generated/google/apis/licensing_v1/classes.rb', line 146

def kind
  @kind
end

#next_page_tokenString

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

Returns:

  • (String)


154
155
156
# File 'generated/google/apis/licensing_v1/classes.rb', line 154

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



161
162
163
164
165
166
# File 'generated/google/apis/licensing_v1/classes.rb', line 161

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