Class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse
- Defined in:
- generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb,
generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb,
generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A pagination token returned from a previous call to ListProducts that indicates where the listing should continue from.
-
#products ⇒ Array<Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product>
The
Product
returned from the list call.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse
constructor
A new instance of GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse.
-
#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) ⇒ GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse
Returns a new instance of GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse.
264 265 266 |
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 264 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A pagination token returned from a previous call to ListProducts
that indicates where the listing should continue from.
This field is optional.
Corresponds to the JSON property nextPageToken
257 258 259 |
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 257 def next_page_token @next_page_token end |
#products ⇒ Array<Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product>
The Product
returned from the list call.
Corresponds to the JSON property products
262 263 264 |
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 262 def products @products end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
269 270 271 272 |
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 269 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @products = args[:products] if args.key?(:products) end |