Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileField
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileField
- 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
-
#data_type ⇒ String
Output only.
-
#description ⇒ String
Output only.
-
#extraction_hints ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileFieldExtractionHints
Extraction hints (field-level).
-
#fields ⇒ Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileField>
Output only.
-
#metadata_type ⇒ String
Output only.
-
#mode ⇒ String
Output only.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1GraphProfileField
constructor
A new instance of GoogleCloudDataplexV1GraphProfileField.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_type ⇒ String
Output only. The data type of the field, e.g., STRING, INTEGER, DATE.
Corresponds to the JSON property dataType
7320 7321 7322 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7320 def data_type @data_type end |
#description ⇒ String
Output only. Description of the field.
Corresponds to the JSON property description
7325 7326 7327 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7325 def description @description end |
#extraction_hints ⇒ Google::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 |
#fields ⇒ Array<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_type ⇒ String
Output only. The mapped metadata type.
Corresponds to the JSON property metadataType
7340 7341 7342 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7340 def @metadata_type end |
#mode ⇒ String
Output only. The mode of the field.
Corresponds to the JSON property mode
7345 7346 7347 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7345 def mode @mode end |
#name ⇒ String
Output only. Name of the field.
Corresponds to the JSON property name
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 |