Class: Google::Apis::DataformV1beta1::SearchResult
- Inherits:
-
Object
- Object
- Google::Apis::DataformV1beta1::SearchResult
- 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 search result entry.
Instance Attribute Summary collapse
-
#directory ⇒ Google::Apis::DataformV1beta1::DirectorySearchResult
Client-facing representation of a directory entry in search results.
-
#file ⇒ Google::Apis::DataformV1beta1::FileSearchResult
Client-facing representation of a file entry in search results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SearchResult
constructor
A new instance of SearchResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SearchResult
Returns a new instance of SearchResult.
2637 2638 2639 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2637 def initialize(**args) update!(**args) end |
Instance Attribute Details
#directory ⇒ Google::Apis::DataformV1beta1::DirectorySearchResult
Client-facing representation of a directory entry in search results.
Corresponds to the JSON property directory
2630 2631 2632 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2630 def directory @directory end |
#file ⇒ Google::Apis::DataformV1beta1::FileSearchResult
Client-facing representation of a file entry in search results.
Corresponds to the JSON property file
2635 2636 2637 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2635 def file @file end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2642 2643 2644 2645 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2642 def update!(**args) @directory = args[:directory] if args.key?(:directory) @file = args[:file] if args.key?(:file) end |