Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoValueType

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusProtoValueType

Returns a new instance of EnterpriseCrmEventbusProtoValueType.



3292
3293
3294
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3292

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#boolean_valueBoolean Also known as: boolean_value?

Corresponds to the JSON property booleanValue

Returns:

  • (Boolean)


3254
3255
3256
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3254

def boolean_value
  @boolean_value
end

#double_arrayGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoDoubleArray

Corresponds to the JSON property doubleArray



3260
3261
3262
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3260

def double_array
  @double_array
end

#double_valueFloat

Corresponds to the JSON property doubleValue

Returns:

  • (Float)


3265
3266
3267
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3265

def double_value
  @double_value
end

#int_arrayGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoIntArray

Corresponds to the JSON property intArray



3270
3271
3272
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3270

def int_array
  @int_array
end

#int_valueFixnum

Corresponds to the JSON property intValue

Returns:

  • (Fixnum)


3275
3276
3277
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3275

def int_value
  @int_value
end

#proto_valueHash<String,Object>

Corresponds to the JSON property protoValue

Returns:

  • (Hash<String,Object>)


3280
3281
3282
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3280

def proto_value
  @proto_value
end

#string_arrayGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoStringArray

Corresponds to the JSON property stringArray



3285
3286
3287
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3285

def string_array
  @string_array
end

#string_valueString

Corresponds to the JSON property stringValue

Returns:

  • (String)


3290
3291
3292
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3290

def string_value
  @string_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3297

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