Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileEdgeType

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#descriptionString

Output only. Description of the edge type. Corresponds to the JSON property description

Returns:

  • (String)


7181
7182
7183
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7181

def description
  @description
end

#extraction_hintsGoogle::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

#fieldsArray<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_keysArray<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

#nameString

Output only. Name of the edge type. Corresponds to the JSON property name

Returns:

  • (String)


7201
7202
7203
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7201

def name
  @name
end

#source_node_typeString

Output only. Source node type. Corresponds to the JSON property sourceNodeType

Returns:

  • (String)


7206
7207
7208
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7206

def source_node_type
  @source_node_type
end

#target_node_typeString

Output only. Target node type. Corresponds to the JSON property targetNodeType

Returns:

  • (String)


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