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.
7213 7214 7215 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7213 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Output only. Description of the edge type.
Corresponds to the JSON property description
7181 7182 7183 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7181 def description @description end |
#extraction_hints ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileEdgeTypeExtractionHints
Extraction hints (edge-level).
Corresponds to the JSON property extractionHints
7186 7187 7188 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7186 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
7191 7192 7193 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7191 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
7196 7197 7198 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7196 def foreign_keys @foreign_keys end |
#name ⇒ String
Output only. Name of the edge type.
Corresponds to the JSON property name
7201 7202 7203 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7201 def name @name end |
#source_node_type ⇒ String
Output only. Source node type.
Corresponds to the JSON property sourceNodeType
7206 7207 7208 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7206 def source_node_type @source_node_type end |
#target_node_type ⇒ String
Output only. Target node type.
Corresponds to the JSON property targetNodeType
7211 7212 7213 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7211 def target_node_type @target_node_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7218 7219 7220 7221 7222 7223 7224 7225 7226 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7218 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 |