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.



6493
6494
6495
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6493

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



6480
6481
6482
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6480

def dataplex_entry
  @dataplex_entry
end

#linked_resourceString

Linked resource name. Corresponds to the JSON property linkedResource

Returns:

  • (String)


6485
6486
6487
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6485

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



6491
6492
6493
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6491

def snippets
  @snippets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6498
6499
6500
6501
6502
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6498

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