Class: Google::Ads::AdManager::V1::CustomFieldValue
- Inherits:
-
Object
- Object
- Google::Ads::AdManager::V1::CustomFieldValue
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/ads/admanager/v1/custom_field_value.rb
Overview
A value for a CustomField on a resource.
Defined Under Namespace
Classes: Value
Instance Attribute Summary collapse
-
#custom_field ⇒ ::String
Required.
-
#value ⇒ ::Google::Ads::AdManager::V1::CustomFieldValue::Value
Required.
Instance Attribute Details
#custom_field ⇒ ::String
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'proto_docs/google/ads/admanager/v1/custom_field_value.rb', line 32 class CustomFieldValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represent custom field value type. # @!attribute [rw] dropdown_value # @return [::Integer] # 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. # @!attribute [rw] string_value # @return [::String] # 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. # @!attribute [rw] number_value # @return [::Float] # 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. # @!attribute [rw] toggle_value # @return [::Boolean] # 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. class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#value ⇒ ::Google::Ads::AdManager::V1::CustomFieldValue::Value
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'proto_docs/google/ads/admanager/v1/custom_field_value.rb', line 32 class CustomFieldValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represent custom field value type. # @!attribute [rw] dropdown_value # @return [::Integer] # 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. # @!attribute [rw] string_value # @return [::String] # 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. # @!attribute [rw] number_value # @return [::Float] # 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. # @!attribute [rw] toggle_value # @return [::Boolean] # 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. class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |