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 resource that 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.



4339
4340
4341
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4339

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

Instance Attribute Details

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

Optional. The aspects that are attached to the entry. Depending on how the aspect is attached to the entry, the format of the aspect key can be one of the following: If the aspect is attached directly to the entry: project_id_or_number.location_id.aspect_type_id If the aspect is attached to an entry's path: project_id_or_number.location_id.aspect_type_id@ path Corresponds to the JSON property aspects



4294
4295
4296
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4294

def aspects
  @aspects
end

#create_timeString

Output only. The time when the entry was created in Dataplex. Corresponds to the JSON property createTime

Returns:

  • (String)


4299
4300
4301
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4299

def create_time
  @create_time
end

#entry_sourceGoogle::Apis::DataplexV1::GoogleCloudDataplexV1EntrySource

Information related to the source system of the data resource that is represented by the entry. Corresponds to the JSON property entrySource



4305
4306
4307
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4305

def entry_source
  @entry_source
end

#entry_typeString

Required. Immutable. The relative resource name of the entry type that was used to create this entry, in the format projects/project_id_or_number/ locations/location_id/entryTypes/entry_type_id. Corresponds to the JSON property entryType

Returns:

  • (String)


4312
4313
4314
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4312

def entry_type
  @entry_type
end

#fully_qualified_nameString

Optional. A name for the entry that can be referenced by an external system. For more information, see Fully qualified names (https://cloud.google.com/data- catalog/docs/fully-qualified-names). The maximum size of the field is 4000 characters. Corresponds to the JSON property fullyQualifiedName

Returns:

  • (String)


4320
4321
4322
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4320

def fully_qualified_name
  @fully_qualified_name
end

#nameString

Identifier. The relative resource name of the entry, in the format projects/ project_id_or_number/locations/location_id/entryGroups/entry_group_id/ entries/entry_id. Corresponds to the JSON property name

Returns:

  • (String)


4327
4328
4329
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4327

def name
  @name
end

#parent_entryString

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

Returns:

  • (String)


4332
4333
4334
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4332

def parent_entry
  @parent_entry
end

#update_timeString

Output only. The time when the entry was last updated in Dataplex. Corresponds to the JSON property updateTime

Returns:

  • (String)


4337
4338
4339
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4337

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4344

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