Class: Google::Apis::AndroidenterpriseV1::ListCollectionsResponse

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

Overview

The collection resources for the enterprise.

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) ⇒ ListCollectionsResponse

Returns a new instance of ListCollectionsResponse.


479
480
481
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 479

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

Instance Attribute Details

#collectionArray<Google::Apis::AndroidenterpriseV1::Collection>

An ordered collection of products which can be made visible on the Google Play Store to a selected group of users. Corresponds to the JSON property collection


471
472
473
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 471

def collection
  @collection
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " androidenterprise#collectionsListResponse". Corresponds to the JSON property kind

Returns:

  • (String)

477
478
479
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 477

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


484
485
486
487
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 484

def update!(**args)
  @collection = args[:collection] if args.key?(:collection)
  @kind = args[:kind] if args.key?(:kind)
end