Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1Entry
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1Entry
- 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
-
#aspects ⇒ Hash<String,Google::Apis::DataplexV1::GoogleCloudDataplexV1Aspect>
Optional.
-
#create_time ⇒ String
Output only.
-
#entry_source ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1EntrySource
EntrySource contains source system related information for the entry.
-
#entry_type ⇒ String
Required.
-
#fully_qualified_name ⇒ String
Optional.
-
#name ⇒ String
Identifier.
-
#parent_entry ⇒ String
Optional.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1Entry
constructor
A new instance of GoogleCloudDataplexV1Entry.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#aspects ⇒ Hash<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_time ⇒ String
Output only. The time when the Entry was created.
Corresponds to the JSON property createTime
3983 3984 3985 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3983 def create_time @create_time end |
#entry_source ⇒ Google::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_type ⇒ String
Required. Immutable. The resource name of the EntryType used to create this
Entry.
Corresponds to the JSON property entryType
3994 3995 3996 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3994 def entry_type @entry_type end |
#fully_qualified_name ⇒ String
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
4000 4001 4002 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4000 def fully_qualified_name @fully_qualified_name end |
#name ⇒ String
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
4006 4007 4008 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4006 def name @name end |
#parent_entry ⇒ String
Optional. Immutable. The resource name of the parent entry.
Corresponds to the JSON property parentEntry
4011 4012 4013 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4011 def parent_entry @parent_entry end |
#update_time ⇒ String
Output only. The time when the Entry was last updated.
Corresponds to the JSON property updateTime
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 |