Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileEdgeType
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileEdgeType
- 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 edge (relationship) in the graph.
Instance Attribute Summary collapse
-
#description ⇒ String
Output only.
-
#extraction_hints ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileEdgeTypeExtractionHints
Extraction hints (edge-level).
-
#fields ⇒ Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileField>
Output only.
-
#foreign_keys ⇒ Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileEdgeTypeForeignKey>
Output only.
-
#name ⇒ String
Output only.
-
#source_node_type ⇒ String
Output only.
-
#target_node_type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1GraphProfileEdgeType
constructor
A new instance of GoogleCloudDataplexV1GraphProfileEdgeType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1GraphProfileEdgeType
Returns a new instance of GoogleCloudDataplexV1GraphProfileEdgeType.
7408 7409 7410 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7408 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Output only. Description of the edge type.
Corresponds to the JSON property description
7376 7377 7378 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7376 def description @description end |
#extraction_hints ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileEdgeTypeExtractionHints
Extraction hints (edge-level).
Corresponds to the JSON property extractionHints
7381 7382 7383 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7381 def extraction_hints @extraction_hints end |
#fields ⇒ Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileField>
Output only. Fields of the edge type.
Corresponds to the JSON property fields
7386 7387 7388 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7386 def fields @fields end |
#foreign_keys ⇒ Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileEdgeTypeForeignKey>
Output only. Defines the Foreign Key constraints for the edge.
Corresponds to the JSON property foreignKeys
7391 7392 7393 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7391 def foreign_keys @foreign_keys end |
#name ⇒ String
Output only. Name of the edge type.
Corresponds to the JSON property name
7396 7397 7398 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7396 def name @name end |
#source_node_type ⇒ String
Output only. Source node type.
Corresponds to the JSON property sourceNodeType
7401 7402 7403 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7401 def source_node_type @source_node_type end |
#target_node_type ⇒ String
Output only. Target node type.
Corresponds to the JSON property targetNodeType
7406 7407 7408 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7406 def target_node_type @target_node_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7413 7414 7415 7416 7417 7418 7419 7420 7421 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7413 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) @foreign_keys = args[:foreign_keys] if args.key?(:foreign_keys) @name = args[:name] if args.key?(:name) @source_node_type = args[:source_node_type] if args.key?(:source_node_type) @target_node_type = args[:target_node_type] if args.key?(:target_node_type) end |