Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1CreateEntryLinkRequest

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

Request message for CreateEntryLink.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1CreateEntryLinkRequest

Returns a new instance of GoogleCloudDataplexV1CreateEntryLinkRequest.



1546
1547
1548
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1546

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

Instance Attribute Details

#entry_linkGoogle::Apis::DataplexV1::GoogleCloudDataplexV1EntryLink

EntryLink represents a link between two Entries. Corresponds to the JSON property entryLink



1531
1532
1533
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1531

def entry_link
  @entry_link
end

#entry_link_idString

Required. Entry Link identifier * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the EntryGroup. Corresponds to the JSON property entryLinkId

Returns:

  • (String)


1538
1539
1540
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1538

def entry_link_id
  @entry_link_id
end

#parentString

Required. The resource name of the parent Entry Group: projects/ project_id_or_number/locations/location_id/entryGroups/entry_group_id. Corresponds to the JSON property parent

Returns:

  • (String)


1544
1545
1546
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1544

def parent
  @parent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1551
1552
1553
1554
1555
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1551

def update!(**args)
  @entry_link = args[:entry_link] if args.key?(:entry_link)
  @entry_link_id = args[:entry_link_id] if args.key?(:entry_link_id)
  @parent = args[:parent] if args.key?(:parent)
end