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.



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

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



3966
3967
3968
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3966

def aspects
  @aspects
end

#create_timeString

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

Returns:

  • (String)


3971
3972
3973
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3971

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



3976
3977
3978
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3976

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)


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

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)


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

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)


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

def name
  @name
end

#parent_entryString

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

Returns:

  • (String)


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

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)


4004
4005
4006
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4004

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4011

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