Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1SearchEntriesResult

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb

Overview

A single result of a SearchEntries request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1SearchEntriesResult

Returns a new instance of GoogleCloudDataplexV1SearchEntriesResult.



6746
6747
6748
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6746

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dataplex_entryGoogle::Apis::DataplexV1::GoogleCloudDataplexV1Entry

An entry is a representation of a data resource that can be described by various metadata. Corresponds to the JSON property dataplexEntry



6733
6734
6735
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6733

def dataplex_entry
  @dataplex_entry
end

#linked_resourceString

Linked resource name. Corresponds to the JSON property linkedResource

Returns:

  • (String)


6738
6739
6740
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6738

def linked_resource
  @linked_resource
end

#snippetsGoogle::Apis::DataplexV1::GoogleCloudDataplexV1SearchEntriesResultSnippets

Snippets for the entry, contains HTML-style highlighting for matched tokens, will be used in UI. Corresponds to the JSON property snippets



6744
6745
6746
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6744

def snippets
  @snippets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6751
6752
6753
6754
6755
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6751

def update!(**args)
  @dataplex_entry = args[:dataplex_entry] if args.key?(:dataplex_entry)
  @linked_resource = args[:linked_resource] if args.key?(:linked_resource)
  @snippets = args[:snippets] if args.key?(:snippets)
end