Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1GlossaryTerm
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1GlossaryTerm
- 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
GlossaryTerms are the core of Glossary. A GlossaryTerm holds a rich text description that can be attached to Entries or specific columns to enrich them.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#display_name ⇒ String
Optional.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Output only.
-
#parent ⇒ String
Required.
-
#uid ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1GlossaryTerm
constructor
A new instance of GoogleCloudDataplexV1GlossaryTerm.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1GlossaryTerm
Returns a new instance of GoogleCloudDataplexV1GlossaryTerm.
5604 5605 5606 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5604 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The time at which the GlossaryTerm was created.
Corresponds to the JSON property createTime
5559 5560 5561 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5559 def create_time @create_time end |
#description ⇒ String
Optional. The user-mutable description of the GlossaryTerm.
Corresponds to the JSON property description
5564 5565 5566 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5564 def description @description end |
#display_name ⇒ String
Optional. User friendly display name of the GlossaryTerm. This is user-mutable.
This will be same as the GlossaryTermId, if not specified.
Corresponds to the JSON property displayName
5570 5571 5572 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5570 def display_name @display_name end |
#labels ⇒ Hash<String,String>
Optional. User-defined labels for the GlossaryTerm.
Corresponds to the JSON property labels
5575 5576 5577 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5575 def labels @labels end |
#name ⇒ String
Output only. Identifier. The resource name of the GlossaryTerm. Format:
projects/project_id_or_number/locations/location_id/glossaries/
glossary_id/terms/term_id
Corresponds to the JSON property name
5582 5583 5584 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5582 def name @name end |
#parent ⇒ String
Required. The immediate parent of the GlossaryTerm in the resource-hierarchy.
It can either be a Glossary or a GlossaryCategory. Format: projects/
project_id_or_number/locations/location_id/glossaries/glossary_id OR
projects/project_id_or_number/locations/location_id/glossaries/
glossary_id/categories/category_id
Corresponds to the JSON property parent
5591 5592 5593 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5591 def parent @parent end |
#uid ⇒ String
Output only. System generated unique id for the GlossaryTerm. This ID will be
different if the GlossaryTerm is deleted and re-created with the same name.
Corresponds to the JSON property uid
5597 5598 5599 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5597 def uid @uid end |
#update_time ⇒ String
Output only. The time at which the GlossaryTerm was last updated.
Corresponds to the JSON property updateTime
5602 5603 5604 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5602 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5609 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @parent = args[:parent] if args.key?(:parent) @uid = args[:uid] if args.key?(:uid) @update_time = args[:update_time] if args.key?(:update_time) end |