Class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse
- 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.
-
#versions ⇒ Array<Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Version>
The
VersiVersionon
returned from the list call.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse
constructor
A new instance of GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse.
-
#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) ⇒ GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse
Returns a new instance of GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse.
291 292 293 |
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 291 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
284 285 286 |
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 284 def next_page_token @next_page_token end |
#versions ⇒ Array<Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Version>
The VersiVersionon
returned from the list call.
Corresponds to the JSON property versions
289 290 291 |
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 289 def versions @versions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
296 297 298 299 |
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 296 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @versions = args[:versions] if args.key?(:versions) end |