Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1TagField
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1TagField
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datacatalog_v1beta1/classes.rb,
lib/google/apis/datacatalog_v1beta1/representations.rb,
lib/google/apis/datacatalog_v1beta1/representations.rb
Overview
Contains the value and additional information on a field within a Tag.
Instance Attribute Summary collapse
-
#bool_value ⇒ Boolean
(also: #bool_value?)
The value of a tag field with a boolean type.
-
#display_name ⇒ String
Output only.
-
#double_value ⇒ Float
The value of a tag field with a double type.
-
#enum_value ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1TagFieldEnumValue
An enum value.
-
#order ⇒ Fixnum
Output only.
-
#richtext_value ⇒ String
The value of a tag field with a rich text type.
-
#string_value ⇒ String
The value of a tag field with a string type.
-
#timestamp_value ⇒ String
The value of a tag field with a timestamp type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1TagField
constructor
A new instance of GoogleCloudDatacatalogV1TagField.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1TagField
Returns a new instance of GoogleCloudDatacatalogV1TagField.
1954 1955 1956 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1954 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bool_value ⇒ Boolean Also known as: bool_value?
The value of a tag field with a boolean type.
Corresponds to the JSON property boolValue
1910 1911 1912 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1910 def bool_value @bool_value end |
#display_name ⇒ String
Output only. The display name of this field.
Corresponds to the JSON property displayName
1916 1917 1918 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1916 def display_name @display_name end |
#double_value ⇒ Float
The value of a tag field with a double type.
Corresponds to the JSON property doubleValue
1921 1922 1923 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1921 def double_value @double_value end |
#enum_value ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1TagFieldEnumValue
An enum value.
Corresponds to the JSON property enumValue
1926 1927 1928 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1926 def enum_value @enum_value end |
#order ⇒ Fixnum
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
1934 1935 1936 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1934 def order @order end |
#richtext_value ⇒ String
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
1941 1942 1943 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1941 def richtext_value @richtext_value end |
#string_value ⇒ 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
1947 1948 1949 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1947 def string_value @string_value end |
#timestamp_value ⇒ String
The value of a tag field with a timestamp type.
Corresponds to the JSON property timestampValue
1952 1953 1954 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1952 def @timestamp_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1959 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 |