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.



7619
7620
7621
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7619

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)


7596
7597
7598
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7596

def description
  @description
end

#extraction_hintsGoogle::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileNodeTypeExtractionHints

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



7601
7602
7603
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7601

def extraction_hints
  @extraction_hints
end

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

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



7606
7607
7608
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7606

def fields
  @fields
end

#nameString

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

Returns:

  • (String)


7611
7612
7613
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7611

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>)


7617
7618
7619
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7617

def primary_keys
  @primary_keys
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7624
7625
7626
7627
7628
7629
7630
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7624

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