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.



7408
7409
7410
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7408

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)


7376
7377
7378
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7376

def description
  @description
end

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

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

#nameString

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

Returns:

  • (String)


7396
7397
7398
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7396

def name
  @name
end

#source_node_typeString

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

Returns:

  • (String)


7401
7402
7403
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7401

def source_node_type
  @source_node_type
end

#target_node_typeString

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

Returns:

  • (String)


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