Class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse

Returns a new instance of GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse.



237
238
239
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 237

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

Instance Attribute Details

#catalogsArray<Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog>

The Catalogs returned from the list call. Corresponds to the JSON property catalogs



228
229
230
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 228

def catalogs
  @catalogs
end

#next_page_tokenString

A pagination token returned from a previous call to ListCatalogs that indicates where the listing should continue from. This field is optional. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


235
236
237
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 235

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



242
243
244
245
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 242

def update!(**args)
  @catalogs = args[:catalogs] if args.key?(:catalogs)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end