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.



2334
2335
2336
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2334

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)


2327
2328
2329
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2327

def next_page_token
  @next_page_token
end

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

List of matched results. Corresponds to the JSON property searchResults



2332
2333
2334
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2332

def search_results
  @search_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2339
2340
2341
2342
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2339

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