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.



1493
1494
1495
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1493

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



1478
1479
1480
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1478

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)


1485
1486
1487
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1485

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)


1491
1492
1493
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1491

def parent
  @parent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1498
1499
1500
1501
1502
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1498

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