class Google::Apis::ConnectorsV1::Field
Metadata of an entity field.
Attributes
The following map contains fields that are not explicitly mentioned above,this give connectors the flexibility to add new metadata fields. Corresponds to the JSON property ‘additionalDetails` @return [Hash<String,Object>]
The data type of the Field
. Corresponds to the JSON property ‘dataType` @return [String]
The following field specifies the default value of the Field
provided by the external system if a value is not provided. Corresponds to the JSON property ‘defaultValue` @return [Object]
A brief description of the Field
. Corresponds to the JSON property ‘description` @return [String]
Name of the Field
. Corresponds to the JSON property ‘field` @return [String]
The following boolean field specifies if the current Field
acts as a primary key or id if the parent is of type entity. Corresponds to the JSON property ‘key` @return [Boolean]
The following boolean field specifies if the current Field
acts as a primary key or id if the parent is of type entity. Corresponds to the JSON property ‘key` @return [Boolean]
Specifies whether a null value is allowed. Corresponds to the JSON property ‘nullable` @return [Boolean]
Specifies whether a null value is allowed. Corresponds to the JSON property ‘nullable` @return [Boolean]
Specifies if the Field
is readonly. Corresponds to the JSON property ‘readonly` @return [Boolean]
Specifies if the Field
is readonly. Corresponds to the JSON property ‘readonly` @return [Boolean]
Public Class Methods
# File lib/google/apis/connectors_v1/classes.rb, line 914 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/connectors_v1/classes.rb, line 919 def update!(**args) @additional_details = args[:additional_details] if args.key?(:additional_details) @data_type = args[:data_type] if args.key?(:data_type) @default_value = args[:default_value] if args.key?(:default_value) @description = args[:description] if args.key?(:description) @field = args[:field] if args.key?(:field) @key = args[:key] if args.key?(:key) @nullable = args[:nullable] if args.key?(:nullable) @readonly = args[:readonly] if args.key?(:readonly) end