Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileNodeType
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileNodeType
- 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
Represents a type of node in the graph.
Instance Attribute Summary collapse
-
#description ⇒ String
Output only.
-
#extraction_hints ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileNodeTypeExtractionHints
Extraction hints (node-level).
-
#fields ⇒ Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileField>
Output only.
-
#name ⇒ String
Output only.
-
#primary_keys ⇒ Array<String>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1GraphProfileNodeType
constructor
A new instance of GoogleCloudDataplexV1GraphProfileNodeType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1GraphProfileNodeType
Returns a new instance of GoogleCloudDataplexV1GraphProfileNodeType.
7424 7425 7426 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7424 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Output only. Description of the node type.
Corresponds to the JSON property description
7401 7402 7403 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7401 def description @description end |
#extraction_hints ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileNodeTypeExtractionHints
Extraction hints (node-level).
Corresponds to the JSON property extractionHints
7406 7407 7408 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7406 def extraction_hints @extraction_hints end |
#fields ⇒ Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileField>
Output only. Fields of the node type.
Corresponds to the JSON property fields
7411 7412 7413 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7411 def fields @fields end |
#name ⇒ String
Output only. Name of the node type.
Corresponds to the JSON property name
7416 7417 7418 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7416 def name @name end |
#primary_keys ⇒ Array<String>
Output only. Field names forming the primary keys. The order in this array
defines the key's ordinal positions for composite keys.
Corresponds to the JSON property primaryKeys
7422 7423 7424 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7422 def primary_keys @primary_keys end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7429 7430 7431 7432 7433 7434 7435 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7429 def update!(**args) @description = args[:description] if args.key?(:description) @extraction_hints = args[:extraction_hints] if args.key?(:extraction_hints) @fields = args[:fields] if args.key?(:fields) @name = args[:name] if args.key?(:name) @primary_keys = args[:primary_keys] if args.key?(:primary_keys) end |