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.



2437
2438
2439
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2437

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)


2425
2426
2427
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2425

def description
  @description
end

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

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



2430
2431
2432
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2430

def fields
  @fields
end

#nameString

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

Returns:

  • (String)


2435
2436
2437
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2435

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2442
2443
2444
2445
2446
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2442

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