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.



2366
2367
2368
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2366

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)


2359
2360
2361
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2359

def next_page_token
  @next_page_token
end

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

List of matched results. Corresponds to the JSON property searchResults



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

def search_results
  @search_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2371
2372
2373
2374
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2371

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