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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datacatalog_v1beta1/classes.rb,
lib/google/apis/datacatalog_v1beta1/representations.rb,
lib/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.



3184
3185
3186
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3184

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)


3164
3165
3166
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3164

def next_page_token
  @next_page_token
end

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

Search results. Corresponds to the JSON property results



3169
3170
3171
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3169

def results
  @results
end

#total_sizeFixnum

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

Returns:

  • (Fixnum)


3174
3175
3176
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3174

def total_size
  @total_size
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>)


3182
3183
3184
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3182

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3189
3190
3191
3192
3193
3194
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3189

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