Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoValueType
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoValueType
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/representations.rb
Overview
Used for define type for values. Currently supported value types include int, string, double, array, and any proto message.
Instance Attribute Summary collapse
-
#boolean_value ⇒ Boolean
(also: #boolean_value?)
Corresponds to the JSON property
booleanValue. -
#double_array ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoDoubleArray
Corresponds to the JSON property
doubleArray. -
#double_value ⇒ Float
Corresponds to the JSON property
doubleValue. -
#int_array ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoIntArray
Corresponds to the JSON property
intArray. -
#int_value ⇒ Fixnum
Corresponds to the JSON property
intValue. -
#proto_value ⇒ Hash<String,Object>
Corresponds to the JSON property
protoValue. -
#string_array ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoStringArray
Corresponds to the JSON property
stringArray. -
#string_value ⇒ String
Corresponds to the JSON property
stringValue.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoValueType
constructor
A new instance of EnterpriseCrmEventbusProtoValueType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoValueType
Returns a new instance of EnterpriseCrmEventbusProtoValueType.
3158 3159 3160 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3158 def initialize(**args) update!(**args) end |
Instance Attribute Details
#boolean_value ⇒ Boolean Also known as: boolean_value?
Corresponds to the JSON property booleanValue
3120 3121 3122 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3120 def boolean_value @boolean_value end |
#double_array ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoDoubleArray
Corresponds to the JSON property doubleArray
3126 3127 3128 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3126 def double_array @double_array end |
#double_value ⇒ Float
Corresponds to the JSON property doubleValue
3131 3132 3133 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3131 def double_value @double_value end |
#int_array ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoIntArray
Corresponds to the JSON property intArray
3136 3137 3138 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3136 def int_array @int_array end |
#int_value ⇒ Fixnum
Corresponds to the JSON property intValue
3141 3142 3143 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3141 def int_value @int_value end |
#proto_value ⇒ Hash<String,Object>
Corresponds to the JSON property protoValue
3146 3147 3148 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3146 def proto_value @proto_value end |
#string_array ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoStringArray
Corresponds to the JSON property stringArray
3151 3152 3153 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3151 def string_array @string_array end |
#string_value ⇒ String
Corresponds to the JSON property stringValue
3156 3157 3158 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3156 def string_value @string_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3163 def update!(**args) @boolean_value = args[:boolean_value] if args.key?(:boolean_value) @double_array = args[:double_array] if args.key?(:double_array) @double_value = args[:double_value] if args.key?(:double_value) @int_array = args[:int_array] if args.key?(:int_array) @int_value = args[:int_value] if args.key?(:int_value) @proto_value = args[:proto_value] if args.key?(:proto_value) @string_array = args[:string_array] if args.key?(:string_array) @string_value = args[:string_value] if args.key?(:string_value) end |