class Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagField
Contains the value and additional information on a field within a Tag.
Attributes
The value of a tag field with a boolean type. Corresponds to the JSON property `boolValue` @return [Boolean]
The value of a tag field with a boolean type. Corresponds to the JSON property `boolValue` @return [Boolean]
Output only. The display name of this field. Corresponds to the JSON property `displayName` @return [String]
The value of a tag field with a double type. Corresponds to the JSON property `doubleValue` @return [Float]
An enum value. Corresponds to the JSON property `enumValue` @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagFieldEnumValue]
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]
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]
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]
The value of a tag field with a timestamp type. Corresponds to the JSON property `timestampValue` @return [String]
Public Class Methods
# File lib/google/apis/datacatalog_v1/classes.rb, line 1773 def initialize(**args) update!(**args) end
Public Instance Methods
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