Class: Google::Apis::IntegrationsV1alpha::IoCloudeventsV1CloudEventCloudEventAttributeValue

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IoCloudeventsV1CloudEventCloudEventAttributeValue

Returns a new instance of IoCloudeventsV1CloudEventCloudEventAttributeValue.



9383
9384
9385
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 9383

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

Instance Attribute Details

#ce_booleanBoolean Also known as: ce_boolean?

Corresponds to the JSON property ceBoolean

Returns:

  • (Boolean)


9349
9350
9351
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 9349

def ce_boolean
  @ce_boolean
end

#ce_bytesString

Corresponds to the JSON property ceBytes NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


9356
9357
9358
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 9356

def ce_bytes
  @ce_bytes
end

#ce_integerFixnum

Corresponds to the JSON property ceInteger

Returns:

  • (Fixnum)


9361
9362
9363
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 9361

def ce_integer
  @ce_integer
end

#ce_stringString

Corresponds to the JSON property ceString

Returns:

  • (String)


9366
9367
9368
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 9366

def ce_string
  @ce_string
end

#ce_timestampString

Corresponds to the JSON property ceTimestamp

Returns:

  • (String)


9371
9372
9373
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 9371

def ce_timestamp
  @ce_timestamp
end

#ce_uriString

Corresponds to the JSON property ceUri

Returns:

  • (String)


9376
9377
9378
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 9376

def ce_uri
  @ce_uri
end

#ce_uri_refString

Corresponds to the JSON property ceUriRef

Returns:

  • (String)


9381
9382
9383
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 9381

def ce_uri_ref
  @ce_uri_ref
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9388
9389
9390
9391
9392
9393
9394
9395
9396
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 9388

def update!(**args)
  @ce_boolean = args[:ce_boolean] if args.key?(:ce_boolean)
  @ce_bytes = args[:ce_bytes] if args.key?(:ce_bytes)
  @ce_integer = args[:ce_integer] if args.key?(:ce_integer)
  @ce_string = args[:ce_string] if args.key?(:ce_string)
  @ce_timestamp = args[:ce_timestamp] if args.key?(:ce_timestamp)
  @ce_uri = args[:ce_uri] if args.key?(:ce_uri)
  @ce_uri_ref = args[:ce_uri_ref] if args.key?(:ce_uri_ref)
end