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.



7352
7353
7354
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7352

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)


7320
7321
7322
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7320

def data_type
  @data_type
end

#descriptionString

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

Returns:

  • (String)


7325
7326
7327
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7325

def description
  @description
end

#extraction_hintsGoogle::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileFieldExtractionHints

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



7330
7331
7332
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7330

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



7335
7336
7337
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7335

def fields
  @fields
end

#metadata_typeString

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

Returns:

  • (String)


7340
7341
7342
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7340

def 
  @metadata_type
end

#modeString

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

Returns:

  • (String)


7345
7346
7347
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7345

def mode
  @mode
end

#nameString

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

Returns:

  • (String)


7350
7351
7352
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7350

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7357
7358
7359
7360
7361
7362
7363
7364
7365
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7357

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