Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileField
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileField
- 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 column field within a table schema.
Instance Attribute Summary collapse
-
#mode ⇒ String
The mode of the field.
-
#name ⇒ String
The name of the field.
-
#profile ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfo
ProfileInfo defines the profile information for each schema field type.
-
#type ⇒ String
The field data type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1DataProfileResultProfileField
constructor
A new instance of GoogleCloudDataplexV1DataProfileResultProfileField.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1DataProfileResultProfileField
Returns a new instance of GoogleCloudDataplexV1DataProfileResultProfileField.
978 979 980 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 978 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mode ⇒ String
The mode of the field. Its value will be: REQUIRED, if it is a required field.
NULLABLE, if it is an optional field. REPEATED, if it is a repeated field.
Corresponds to the JSON property mode
960 961 962 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 960 def mode @mode end |
#name ⇒ String
The name of the field.
Corresponds to the JSON property name
965 966 967 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 965 def name @name end |
#profile ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfo
ProfileInfo defines the profile information for each schema field type.
Corresponds to the JSON property profile
970 971 972 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 970 def profile @profile end |
#type ⇒ String
The field data type. Possible values include: STRING BYTE INT64 INT32 INT16
DOUBLE FLOAT DECIMAL BOOLEAN BINARY TIMESTAMP DATE TIME NULL RECORD
Corresponds to the JSON property type
976 977 978 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 976 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
983 984 985 986 987 988 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 983 def update!(**args) @mode = args[:mode] if args.key?(:mode) @name = args[:name] if args.key?(:name) @profile = args[:profile] if args.key?(:profile) @type = args[:type] if args.key?(:type) end |