Class: Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchProductsResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchProductsResponse
- Defined in:
- generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb,
generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb,
generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb
Overview
Response message for PrivateCatalog.SearchProducts.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A pagination token returned from a previous call to SearchProducts that indicates from where listing should continue.
-
#products ⇒ Array<Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1Product>
The
Product
resources computed from the resource context.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPrivatecatalogV1beta1SearchProductsResponse
constructor
A new instance of GoogleCloudPrivatecatalogV1beta1SearchProductsResponse.
-
#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) ⇒ GoogleCloudPrivatecatalogV1beta1SearchProductsResponse
Returns a new instance of GoogleCloudPrivatecatalogV1beta1SearchProductsResponse.
270 271 272 |
# File 'generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb', line 270 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A pagination token returned from a previous call to SearchProducts that
indicates from where listing should continue.
This field is optional.
Corresponds to the JSON property nextPageToken
263 264 265 |
# File 'generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb', line 263 def next_page_token @next_page_token end |
#products ⇒ Array<Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1Product>
The Product
resources computed from the resource context.
Corresponds to the JSON property products
268 269 270 |
# File 'generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb', line 268 def products @products end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
275 276 277 278 |
# File 'generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb', line 275 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @products = args[:products] if args.key?(:products) end |