class Google::Apis::Area120tablesV1alpha1::ColumnDescription

Details on a column in the table.

Attributes

data_type[RW]

Data type of the column Supported types are auto_id, boolean, boolean_list, creator, create_timestamp, date, dropdown, location, integer, integer_list, number, number_list, person, person_list, tags, check_list, text, text_list, update_timestamp, updater, relationship, file_attachment_list. These types directly map to the column types supported on Tables website. Corresponds to the JSON property `dataType` @return [String]

id[RW]

Internal id for a column. Corresponds to the JSON property `id` @return [String]

labels[RW]

Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to help clients implement better user data validation. Corresponds to the JSON property `labels` @return [Array<Google::Apis::Area120tablesV1alpha1::LabeledItem>]

lookup_details[RW]

Details about a lookup column whose value comes from the associated relationship. Corresponds to the JSON property `lookupDetails` @return [Google::Apis::Area120tablesV1alpha1::LookupDetails]

multiple_values_disallowed[RW]

Optional. Indicates whether or not multiple values are allowed for array types where such a restriction is possible. Corresponds to the JSON property `multipleValuesDisallowed` @return [Boolean]

multiple_values_disallowed?[RW]

Optional. Indicates whether or not multiple values are allowed for array types where such a restriction is possible. Corresponds to the JSON property `multipleValuesDisallowed` @return [Boolean]

name[RW]

column name Corresponds to the JSON property `name` @return [String]

relationship_details[RW]

Details about a relationship column. Corresponds to the JSON property `relationshipDetails` @return [Google::Apis::Area120tablesV1alpha1::RelationshipDetails]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/area120tables_v1alpha1/classes.rb, line 172
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/area120tables_v1alpha1/classes.rb, line 177
def update!(**args)
  @data_type = args[:data_type] if args.key?(:data_type)
  @id = args[:id] if args.key?(:id)
  @labels = args[:labels] if args.key?(:labels)
  @lookup_details = args[:lookup_details] if args.key?(:lookup_details)
  @multiple_values_disallowed = args[:multiple_values_disallowed] if args.key?(:multiple_values_disallowed)
  @name = args[:name] if args.key?(:name)
  @relationship_details = args[:relationship_details] if args.key?(:relationship_details)
end