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.



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

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)


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

def next_page_token
  @next_page_token
end

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

List of matched results. Corresponds to the JSON property searchResults



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

def search_results
  @search_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2377
2378
2379
2380
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2377

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