class Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagField

Contains the value and additional information on a field within a Tag.

Attributes

bool_value[RW]

The value of a tag field with a boolean type. Corresponds to the JSON property `boolValue` @return [Boolean]

bool_value?[RW]

The value of a tag field with a boolean type. Corresponds to the JSON property `boolValue` @return [Boolean]

display_name[RW]

Output only. The display name of this field. Corresponds to the JSON property `displayName` @return [String]

double_value[RW]

The value of a tag field with a double type. Corresponds to the JSON property `doubleValue` @return [Float]

enum_value[RW]

An enum value. Corresponds to the JSON property `enumValue` @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagFieldEnumValue]

order[RW]

Output only. The order of this field with respect to other fields in this tag. Can be set by Tag. For example, a higher value can indicate a more important field. The value can be negative. Multiple fields can have the same order, and field orders within a tag don't have to be sequential. Corresponds to the JSON property `order` @return [Fixnum]

richtext_value[RW]

The value of a tag field with a rich text type. The maximum length is 10 MiB as this value holds HTML descriptions including encoded images. The maximum length of the text without images is 100 KiB. Corresponds to the JSON property `richtextValue` @return [String]

string_value[RW]

The value of a tag field with a string type. The maximum length is 2000 UTF-8 characters. Corresponds to the JSON property `stringValue` @return [String]

timestamp_value[RW]

The value of a tag field with a timestamp type. Corresponds to the JSON property `timestampValue` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/datacatalog_v1/classes.rb, line 1778
def update!(**args)
  @bool_value = args[:bool_value] if args.key?(:bool_value)
  @display_name = args[:display_name] if args.key?(:display_name)
  @double_value = args[:double_value] if args.key?(:double_value)
  @enum_value = args[:enum_value] if args.key?(:enum_value)
  @order = args[:order] if args.key?(:order)
  @richtext_value = args[:richtext_value] if args.key?(:richtext_value)
  @string_value = args[:string_value] if args.key?(:string_value)
  @timestamp_value = args[:timestamp_value] if args.key?(:timestamp_value)
end