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.
7547 7548 7549 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7547 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
7515 7516 7517 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7515 def data_type @data_type end |
#description ⇒ String
Output only. Description of the field.
Corresponds to the JSON property description
7520 7521 7522 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7520 def description @description end |
#extraction_hints ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1GraphProfileFieldExtractionHints
Extraction hints (field-level).
Corresponds to the JSON property extractionHints
7525 7526 7527 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7525 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
7530 7531 7532 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7530 def fields @fields end |
#metadata_type ⇒ String
Output only. The mapped metadata type.
Corresponds to the JSON property metadataType
7535 7536 7537 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7535 def @metadata_type end |
#mode ⇒ String
Output only. The mode of the field.
Corresponds to the JSON property mode
7540 7541 7542 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7540 def mode @mode end |
#name ⇒ String
Output only. Name of the field.
Corresponds to the JSON property name
7545 7546 7547 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7545 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7552 7553 7554 7555 7556 7557 7558 7559 7560 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7552 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 |