Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResultField

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

Column of a table with generated metadata and nested fields.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1DataDocumentationResultField

Returns a new instance of GoogleCloudDataplexV1DataDocumentationResultField.



2497
2498
2499
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2497

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

Instance Attribute Details

#descriptionString

Output only. Generated description for columns and fields. Corresponds to the JSON property description

Returns:

  • (String)


2485
2486
2487
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2485

def description
  @description
end

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

Output only. Nested fields. Corresponds to the JSON property fields



2490
2491
2492
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2490

def fields
  @fields
end

#nameString

Output only. The name of the column. Corresponds to the JSON property name

Returns:

  • (String)


2495
2496
2497
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2495

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2502
2503
2504
2505
2506
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2502

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