Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SearchCatalogResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datacatalog_v1/classes.rb,
lib/google/apis/datacatalog_v1/representations.rb,
lib/google/apis/datacatalog_v1/representations.rb

Overview

Response message for SearchCatalog.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1SearchCatalogResponse

Returns a new instance of GoogleCloudDatacatalogV1SearchCatalogResponse.



2612
2613
2614
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2612

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

Instance Attribute Details

#next_page_tokenString

Pagination token that can be used in subsequent calls to retrieve the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2592
2593
2594
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2592

def next_page_token
  @next_page_token
end

#resultsArray<Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SearchCatalogResult>

Search results. Corresponds to the JSON property results



2597
2598
2599
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2597

def results
  @results
end

#total_sizeFixnum

The approximate total number of entries matched by the query. Corresponds to the JSON property totalSize

Returns:

  • (Fixnum)


2602
2603
2604
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2602

def total_size
  @total_size
end

#unreachableArray<String>

Unreachable locations. Search results don't include data from those locations. To get additional information on an error, repeat the search request and restrict it to specific locations by setting the SearchCatalogRequest.scope. restricted_locations parameter. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


2610
2611
2612
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2610

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2617
2618
2619
2620
2621
2622
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2617

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