Class: Google::Apis::AndroidenterpriseV1::ProductsListResponse

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

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

Returns a new instance of ProductsListResponse.


2352
2353
2354
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2352

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

Instance Attribute Details

#page_infoGoogle::Apis::AndroidenterpriseV1::PageInfo

Information about the current page. List operations that supports paging return only one "page" of results. This protocol buffer message describes the page that has been returned. Corresponds to the JSON property pageInfo


2332
2333
2334
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2332

def page_info
  @page_info
end

#productArray<Google::Apis::AndroidenterpriseV1::Product>

Information about a product (e.g. an app) in the Google Play store, for display to an enterprise admin. Corresponds to the JSON property product


2338
2339
2340
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2338

def product
  @product
end

#token_paginationGoogle::Apis::AndroidenterpriseV1::TokenPagination

Pagination information returned by a List operation when token pagination is enabled. List operations that supports paging return only one "page" of results. This protocol buffer message describes the page that has been returned. When using token pagination, clients should use the next/previous token to get another page of the result. The presence or absence of next/ previous token indicates whether a next/previous page is available and provides a mean of accessing this page. ListRequest.page_token should be set to either next_page_token or previous_page_token to access another page. Corresponds to the JSON property tokenPagination


2350
2351
2352
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2350

def token_pagination
  @token_pagination
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


2357
2358
2359
2360
2361
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2357

def update!(**args)
  @page_info = args[:page_info] if args.key?(:page_info)
  @product = args[:product] if args.key?(:product)
  @token_pagination = args[:token_pagination] if args.key?(:token_pagination)
end