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

Overview

The matching products.

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.



2529
2530
2531
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2529

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

Instance Attribute Details

#kindString

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

Returns:

  • (String)


2511
2512
2513
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2511

def kind
  @kind
end

#page_infoGoogle::Apis::AndroidenterpriseV1::PageInfo

General pagination information. Corresponds to the JSON property pageInfo



2516
2517
2518
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2516

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



2522
2523
2524
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2522

def product
  @product
end

#token_paginationGoogle::Apis::AndroidenterpriseV1::TokenPagination

Pagination information for token pagination. Corresponds to the JSON property tokenPagination



2527
2528
2529
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2527

def token_pagination
  @token_pagination
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2534
2535
2536
2537
2538
2539
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2534

def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @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