Class: Google::Apis::DataformV1beta1::SearchFilesResponse

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

Overview

Client-facing representation of a file search response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SearchFilesResponse

Returns a new instance of SearchFilesResponse.



2363
2364
2365
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2363

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

Instance Attribute Details

#next_page_tokenString

Optional. A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2356
2357
2358
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2356

def next_page_token
  @next_page_token
end

#search_resultsArray<Google::Apis::DataformV1beta1::SearchResult>

List of matched results. Corresponds to the JSON property searchResults



2361
2362
2363
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2361

def search_results
  @search_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2368
2369
2370
2371
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2368

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