Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagField
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagField
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/datacatalog_v1beta1/classes.rb,
generated/google/apis/datacatalog_v1beta1/representations.rb,
generated/google/apis/datacatalog_v1beta1/representations.rb
Overview
Contains the value and supporting information for a field within a Tag.
Instance Attribute Summary collapse
-
#bool_value ⇒ Boolean
(also: #bool_value?)
Holds the value for a tag field with boolean type.
-
#display_name ⇒ String
Output only.
-
#double_value ⇒ Float
Holds the value for a tag field with double type.
-
#enum_value ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagFieldEnumValue
Holds an enum value.
-
#string_value ⇒ String
Holds the value for a tag field with string type.
-
#timestamp_value ⇒ String
Holds the value for a tag field with timestamp type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1TagField
constructor
A new instance of GoogleCloudDatacatalogV1beta1TagField.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1TagField
Returns a new instance of GoogleCloudDatacatalogV1beta1TagField.
1394 1395 1396 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1394 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bool_value ⇒ Boolean Also known as: bool_value?
Holds the value for a tag field with boolean type.
Corresponds to the JSON property boolValue
1366 1367 1368 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1366 def bool_value @bool_value end |
#display_name ⇒ String
Output only. The display name of this field.
Corresponds to the JSON property displayName
1372 1373 1374 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1372 def display_name @display_name end |
#double_value ⇒ Float
Holds the value for a tag field with double type.
Corresponds to the JSON property doubleValue
1377 1378 1379 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1377 def double_value @double_value end |
#enum_value ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagFieldEnumValue
Holds an enum value.
Corresponds to the JSON property enumValue
1382 1383 1384 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1382 def enum_value @enum_value end |
#string_value ⇒ String
Holds the value for a tag field with string type.
Corresponds to the JSON property stringValue
1387 1388 1389 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1387 def string_value @string_value end |
#timestamp_value ⇒ String
Holds the value for a tag field with timestamp type.
Corresponds to the JSON property timestampValue
1392 1393 1394 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1392 def @timestamp_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1399 1400 1401 1402 1403 1404 1405 1406 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1399 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) @string_value = args[:string_value] if args.key?(:string_value) @timestamp_value = args[:timestamp_value] if args.key?(:timestamp_value) end |