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.



7453
7454
7455
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7453

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)


7421
7422
7423
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7421

def description
  @description
end

#extraction_hintsGoogle::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileEdgeTypeExtractionHints

Extraction hints (edge-level). Corresponds to the JSON property extractionHints



7426
7427
7428
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7426

def extraction_hints
  @extraction_hints
end

#fieldsArray<Google::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileField>

Output only. Fields of the edge type. Corresponds to the JSON property fields



7431
7432
7433
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7431

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



7436
7437
7438
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7436

def foreign_keys
  @foreign_keys
end

#nameString

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

Returns:

  • (String)


7441
7442
7443
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7441

def name
  @name
end

#source_node_typeString

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

Returns:

  • (String)


7446
7447
7448
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7446

def source_node_type
  @source_node_type
end

#target_node_typeString

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

Returns:

  • (String)


7451
7452
7453
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7451

def target_node_type
  @target_node_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7458
7459
7460
7461
7462
7463
7464
7465
7466
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7458

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