Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileNodeType

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 node in the graph.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1GraphProfileNodeType

Returns a new instance of GoogleCloudDataplexV1GraphProfileNodeType.



7664
7665
7666
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7664

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#descriptionString

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

Returns:

  • (String)


7641
7642
7643
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7641

def description
  @description
end

#extraction_hintsGoogle::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileNodeTypeExtractionHints

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



7646
7647
7648
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7646

def extraction_hints
  @extraction_hints
end

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

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



7651
7652
7653
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7651

def fields
  @fields
end

#nameString

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

Returns:

  • (String)


7656
7657
7658
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7656

def name
  @name
end

#primary_keysArray<String>

Output only. Field names forming the primary keys. The order in this array defines the key's ordinal positions for composite keys. Corresponds to the JSON property primaryKeys

Returns:

  • (Array<String>)


7662
7663
7664
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7662

def primary_keys
  @primary_keys
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7669
7670
7671
7672
7673
7674
7675
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7669

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)
  @name = args[:name] if args.key?(:name)
  @primary_keys = args[:primary_keys] if args.key?(:primary_keys)
end