Class: Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse

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

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) ⇒ GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse

Returns a new instance of GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse.



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

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

Instance Attribute Details

#catalogsArray<Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1Catalog>

The Catalogs computed from the resource context. Corresponds to the JSON property catalogs



234
235
236
# File 'generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb', line 234

def catalogs
  @catalogs
end

#next_page_tokenString

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

Returns:

  • (String)


241
242
243
# File 'generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb', line 241

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



248
249
250
251
# File 'generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb', line 248

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