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

Overview

LicesnseAssignment List for a given product/sku for a customer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LicenseAssignmentList

Returns a new instance of LicenseAssignmentList.


118
119
120
# File 'generated/google/apis/licensing_v1/classes.rb', line 118

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

Instance Attribute Details

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)

100
101
102
# File 'generated/google/apis/licensing_v1/classes.rb', line 100

def etag
  @etag
end

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

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


105
106
107
# File 'generated/google/apis/licensing_v1/classes.rb', line 105

def items
  @items
end

#kindString

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

Returns:

  • (String)

110
111
112
# File 'generated/google/apis/licensing_v1/classes.rb', line 110

def kind
  @kind
end

#next_page_tokenString

The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)

116
117
118
# File 'generated/google/apis/licensing_v1/classes.rb', line 116

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


123
124
125
126
127
128
# File 'generated/google/apis/licensing_v1/classes.rb', line 123

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