Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileField

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 field in a node or edge type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1GraphProfileField

Returns a new instance of GoogleCloudDataplexV1GraphProfileField.



7592
7593
7594
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7592

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

Instance Attribute Details

#data_typeString

Output only. The data type of the field, e.g., STRING, INTEGER, DATE. Corresponds to the JSON property dataType

Returns:

  • (String)


7560
7561
7562
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7560

def data_type
  @data_type
end

#descriptionString

Output only. Description of the field. Corresponds to the JSON property description

Returns:

  • (String)


7565
7566
7567
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7565

def description
  @description
end

#extraction_hintsGoogle::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileFieldExtractionHints

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



7570
7571
7572
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7570

def extraction_hints
  @extraction_hints
end

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

Output only. Sub-fields of this field (for STRUCT types). Corresponds to the JSON property fields



7575
7576
7577
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7575

def fields
  @fields
end

#metadata_typeString

Output only. The mapped metadata type. Corresponds to the JSON property metadataType

Returns:

  • (String)


7580
7581
7582
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7580

def 
  @metadata_type
end

#modeString

Output only. The mode of the field. Corresponds to the JSON property mode

Returns:

  • (String)


7585
7586
7587
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7585

def mode
  @mode
end

#nameString

Output only. Name of the field. Corresponds to the JSON property name

Returns:

  • (String)


7590
7591
7592
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7590

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7597
7598
7599
7600
7601
7602
7603
7604
7605
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7597

def update!(**args)
  @data_type = args[:data_type] if args.key?(:data_type)
  @description = args[:description] if args.key?(:description)
  @extraction_hints = args[:extraction_hints] if args.key?(:extraction_hints)
  @fields = args[:fields] if args.key?(:fields)
  @metadata_type = args[:metadata_type] if args.key?(:metadata_type)
  @mode = args[:mode] if args.key?(:mode)
  @name = args[:name] if args.key?(:name)
end