Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1Entry

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

An entry is a representation of a data asset which can be described by various metadata.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1Entry

Returns a new instance of GoogleCloudDataplexV1Entry.



4018
4019
4020
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4018

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

Instance Attribute Details

#aspectsHash<String,Google::Apis::DataplexV1::GoogleCloudDataplexV1Aspect>

Optional. The Aspects attached to the Entry. The format for the key can be one of the following: 1. projectId.locationId.aspectTypeId (if the aspect is attached directly to the entry) 2. projectId.locationId.aspectTypeId@ path (if the aspect is attached to an entry's path) Corresponds to the JSON property aspects



3978
3979
3980
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3978

def aspects
  @aspects
end

#create_timeString

Output only. The time when the Entry was created. Corresponds to the JSON property createTime

Returns:

  • (String)


3983
3984
3985
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3983

def create_time
  @create_time
end

#entry_sourceGoogle::Apis::DataplexV1::GoogleCloudDataplexV1EntrySource

EntrySource contains source system related information for the entry. Corresponds to the JSON property entrySource



3988
3989
3990
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3988

def entry_source
  @entry_source
end

#entry_typeString

Required. Immutable. The resource name of the EntryType used to create this Entry. Corresponds to the JSON property entryType

Returns:

  • (String)


3994
3995
3996
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3994

def entry_type
  @entry_type
end

#fully_qualified_nameString

Optional. A name for the entry that can reference it in an external system. The maximum size of the field is 4000 characters. Corresponds to the JSON property fullyQualifiedName

Returns:

  • (String)


4000
4001
4002
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4000

def fully_qualified_name
  @fully_qualified_name
end

#nameString

Identifier. The relative resource name of the Entry, of the form: projects/ project/locations/location/entryGroups/entry_group/entries/entry. Corresponds to the JSON property name

Returns:

  • (String)


4006
4007
4008
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4006

def name
  @name
end

#parent_entryString

Optional. Immutable. The resource name of the parent entry. Corresponds to the JSON property parentEntry

Returns:

  • (String)


4011
4012
4013
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4011

def parent_entry
  @parent_entry
end

#update_timeString

Output only. The time when the Entry was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


4016
4017
4018
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4016

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4023

def update!(**args)
  @aspects = args[:aspects] if args.key?(:aspects)
  @create_time = args[:create_time] if args.key?(:create_time)
  @entry_source = args[:entry_source] if args.key?(:entry_source)
  @entry_type = args[:entry_type] if args.key?(:entry_type)
  @fully_qualified_name = args[:fully_qualified_name] if args.key?(:fully_qualified_name)
  @name = args[:name] if args.key?(:name)
  @parent_entry = args[:parent_entry] if args.key?(:parent_entry)
  @update_time = args[:update_time] if args.key?(:update_time)
end