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.



3597
3598
3599
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 3597

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)


3590
3591
3592
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 3590

def next_page_token
  @next_page_token
end

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

List of matched results. Corresponds to the JSON property searchResults



3595
3596
3597
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 3595

def search_results
  @search_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3602
3603
3604
3605
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 3602

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