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.
4006 4007 4008 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4006 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
3966 3967 3968 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3966 def aspects @aspects end |
#create_time ⇒ String
Output only. The time when the Entry was created.
Corresponds to the JSON property createTime
3971 3972 3973 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3971 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
3976 3977 3978 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3976 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
3982 3983 3984 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3982 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
3988 3989 3990 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3988 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
3994 3995 3996 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3994 def name @name end |
#parent_entry ⇒ String
Optional. Immutable. The resource name of the parent entry.
Corresponds to the JSON property parentEntry
3999 4000 4001 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3999 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
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 |