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.



6053
6054
6055
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6053

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

Instance Attribute Details

#dataplex_entryGoogle::Apis::DataplexV1::GoogleCloudDataplexV1Entry

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



6040
6041
6042
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6040

def dataplex_entry
  @dataplex_entry
end

#linked_resourceString

Linked resource name. Corresponds to the JSON property linkedResource

Returns:

  • (String)


6045
6046
6047
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6045

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



6051
6052
6053
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6051

def snippets
  @snippets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6058
6059
6060
6061
6062
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6058

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