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.



7424
7425
7426
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7424

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)


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

def description
  @description
end

#extraction_hintsGoogle::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileNodeTypeExtractionHints

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



7406
7407
7408
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7406

def extraction_hints
  @extraction_hints
end

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

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



7411
7412
7413
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7411

def fields
  @fields
end

#nameString

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

Returns:

  • (String)


7416
7417
7418
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7416

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


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

def primary_keys
  @primary_keys
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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