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.



1960
1961
1962
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1960

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)


1948
1949
1950
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1948

def description
  @description
end

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

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



1953
1954
1955
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1953

def fields
  @fields
end

#nameString

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

Returns:

  • (String)


1958
1959
1960
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1958

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1965
1966
1967
1968
1969
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1965

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