Class: Google::Apis::ContentV2_1::ProductsListResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::ProductsListResponse
- Defined in:
- generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#next_page_token ⇒ String
The token for the retrieval of the next page of products.
-
#resources ⇒ Array<Google::Apis::ContentV2_1::Product>
Corresponds to the JSON property
resources.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProductsListResponse
constructor
A new instance of ProductsListResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ProductsListResponse
Returns a new instance of ProductsListResponse
7752 7753 7754 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 7752 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "content#
productsListResponse".
Corresponds to the JSON property kind
7740 7741 7742 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 7740 def kind @kind end |
#next_page_token ⇒ String
The token for the retrieval of the next page of products.
Corresponds to the JSON property nextPageToken
7745 7746 7747 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 7745 def next_page_token @next_page_token end |
#resources ⇒ Array<Google::Apis::ContentV2_1::Product>
Corresponds to the JSON property resources
7750 7751 7752 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 7750 def resources @resources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7757 7758 7759 7760 7761 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 7757 def update!(**args) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @resources = args[:resources] if args.key?(:resources) end |