Class: Google::Ads::AdManager::V1::CustomFieldValue::Value
- Inherits:
-
Object
- Object
- Google::Ads::AdManager::V1::CustomFieldValue::Value
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/ads/admanager/v1/custom_field_value.rb
Overview
Represent custom field value type.
Instance Attribute Summary collapse
-
#dropdown_value ⇒ ::Integer
The custom_field_option_id, if the CustomFieldDataType is DROPDOWN.
-
#number_value ⇒ ::Float
The value, if the CustomFieldDataType is NUMBER.
-
#string_value ⇒ ::String
The value, if the CustomFieldDataType is STRING.
-
#toggle_value ⇒ ::Boolean
The value, if the CustomFieldDataType is TOGGLE.
Instance Attribute Details
#dropdown_value ⇒ ::Integer
Returns The custom_field_option_id, if the CustomFieldDataType is DROPDOWN.
Note: The following fields are mutually exclusive: dropdown_value
, string_value
, number_value
, toggle_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
57 58 59 60 |
# File 'proto_docs/google/ads/admanager/v1/custom_field_value.rb', line 57 class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#number_value ⇒ ::Float
Returns The value, if the CustomFieldDataType is NUMBER.
Note: The following fields are mutually exclusive: number_value
, dropdown_value
, string_value
, toggle_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
57 58 59 60 |
# File 'proto_docs/google/ads/admanager/v1/custom_field_value.rb', line 57 class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#string_value ⇒ ::String
Returns The value, if the CustomFieldDataType is STRING.
Note: The following fields are mutually exclusive: string_value
, dropdown_value
, number_value
, toggle_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
57 58 59 60 |
# File 'proto_docs/google/ads/admanager/v1/custom_field_value.rb', line 57 class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#toggle_value ⇒ ::Boolean
Returns The value, if the CustomFieldDataType is TOGGLE.
Note: The following fields are mutually exclusive: toggle_value
, dropdown_value
, string_value
, number_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
57 58 59 60 |
# File 'proto_docs/google/ads/admanager/v1/custom_field_value.rb', line 57 class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |