Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SearchCatalogResponse

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

Overview

Response message for SearchCatalog.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1SearchCatalogResponse

Returns a new instance of GoogleCloudDatacatalogV1beta1SearchCatalogResponse.



1080
1081
1082
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1080

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

Instance Attribute Details

#next_page_tokenString

The token that can be used to retrieve the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1065
1066
1067
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1065

def next_page_token
  @next_page_token
end

#resultsArray<Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SearchCatalogResult>

Search results. Corresponds to the JSON property results



1070
1071
1072
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1070

def results
  @results
end

#unreachableArray<String>

Unreachable locations. Search result does not include data from those locations. Users can get additional information on the error by repeating the search request with a more restrictive parameter -- setting the value for SearchDataCatalogRequest.scope.restricted_locations. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


1078
1079
1080
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1078

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1085
1086
1087
1088
1089
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1085

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