Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1EntryLinkEntryReference

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

Reference to the Entry that is linked through the Entry Link.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1EntryLinkEntryReference

Returns a new instance of GoogleCloudDataplexV1EntryLinkEntryReference.



4809
4810
4811
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4809

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

Instance Attribute Details

#nameString

Required. Immutable. The relative resource name of the referenced Entry, of the form: projects/project_id_or_number/locations/location_id/entryGroups/ entry_group_id/entries/entry_id Corresponds to the JSON property name

Returns:

  • (String)


4796
4797
4798
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4796

def name
  @name
end

#pathString

Immutable. The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link. Corresponds to the JSON property path

Returns:

  • (String)


4802
4803
4804
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4802

def path
  @path
end

#typeString

Required. Immutable. The reference type of the Entry. Corresponds to the JSON property type

Returns:

  • (String)


4807
4808
4809
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4807

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4814
4815
4816
4817
4818
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4814

def update!(**args)
  @name = args[:name] if args.key?(:name)
  @path = args[:path] if args.key?(:path)
  @type = args[:type] if args.key?(:type)
end