Class: Google::Cloud::Eventarc::Publishing::V1::CloudEvent

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/eventarc/publishing/v1/cloud_event.rb

Overview

CloudEvent represents a vendor-neutral specification for defining the format of event data.

Defined Under Namespace

Classes: AttributesEntry, CloudEventAttributeValue

Instance Attribute Summary collapse

Instance Attribute Details

#attributes::Google::Protobuf::Map{::String => ::Google::Cloud::Eventarc::Publishing::V1::CloudEvent::CloudEventAttributeValue}

Returns Optional. Used for Optional & Extension Attributes.

Returns:



55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'proto_docs/google/cloud/eventarc/publishing/v1/cloud_event.rb', line 55

class CloudEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The following abstract data types are available for use in attributes.
  # @!attribute [rw] ce_boolean
  #   @return [::Boolean]
  #     Boolean value.
  # @!attribute [rw] ce_integer
  #   @return [::Integer]
  #     Integer value.
  # @!attribute [rw] ce_string
  #   @return [::String]
  #     String value.
  # @!attribute [rw] ce_bytes
  #   @return [::String]
  #     Bytes value.
  # @!attribute [rw] ce_uri
  #   @return [::String]
  #     URI value.
  # @!attribute [rw] ce_uri_ref
  #   @return [::String]
  #     URI-reference value.
  # @!attribute [rw] ce_timestamp
  #   @return [::Google::Protobuf::Timestamp]
  #     Timestamp value.
  class CloudEventAttributeValue
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Eventarc::Publishing::V1::CloudEvent::CloudEventAttributeValue]
  class AttributesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#binary_data::String

Returns Optional. Binary data.

Returns:

  • (::String)

    Optional. Binary data.



55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'proto_docs/google/cloud/eventarc/publishing/v1/cloud_event.rb', line 55

class CloudEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The following abstract data types are available for use in attributes.
  # @!attribute [rw] ce_boolean
  #   @return [::Boolean]
  #     Boolean value.
  # @!attribute [rw] ce_integer
  #   @return [::Integer]
  #     Integer value.
  # @!attribute [rw] ce_string
  #   @return [::String]
  #     String value.
  # @!attribute [rw] ce_bytes
  #   @return [::String]
  #     Bytes value.
  # @!attribute [rw] ce_uri
  #   @return [::String]
  #     URI value.
  # @!attribute [rw] ce_uri_ref
  #   @return [::String]
  #     URI-reference value.
  # @!attribute [rw] ce_timestamp
  #   @return [::Google::Protobuf::Timestamp]
  #     Timestamp value.
  class CloudEventAttributeValue
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Eventarc::Publishing::V1::CloudEvent::CloudEventAttributeValue]
  class AttributesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#id::String

Returns Required. Identifies the event. Producers MUST ensure that source + id is unique for each distinct event.

Returns:

  • (::String)

    Required. Identifies the event. Producers MUST ensure that source + id is unique for each distinct event.



55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'proto_docs/google/cloud/eventarc/publishing/v1/cloud_event.rb', line 55

class CloudEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The following abstract data types are available for use in attributes.
  # @!attribute [rw] ce_boolean
  #   @return [::Boolean]
  #     Boolean value.
  # @!attribute [rw] ce_integer
  #   @return [::Integer]
  #     Integer value.
  # @!attribute [rw] ce_string
  #   @return [::String]
  #     String value.
  # @!attribute [rw] ce_bytes
  #   @return [::String]
  #     Bytes value.
  # @!attribute [rw] ce_uri
  #   @return [::String]
  #     URI value.
  # @!attribute [rw] ce_uri_ref
  #   @return [::String]
  #     URI-reference value.
  # @!attribute [rw] ce_timestamp
  #   @return [::Google::Protobuf::Timestamp]
  #     Timestamp value.
  class CloudEventAttributeValue
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Eventarc::Publishing::V1::CloudEvent::CloudEventAttributeValue]
  class AttributesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#proto_data::Google::Protobuf::Any

Returns Optional. Proto data.

Returns:



55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'proto_docs/google/cloud/eventarc/publishing/v1/cloud_event.rb', line 55

class CloudEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The following abstract data types are available for use in attributes.
  # @!attribute [rw] ce_boolean
  #   @return [::Boolean]
  #     Boolean value.
  # @!attribute [rw] ce_integer
  #   @return [::Integer]
  #     Integer value.
  # @!attribute [rw] ce_string
  #   @return [::String]
  #     String value.
  # @!attribute [rw] ce_bytes
  #   @return [::String]
  #     Bytes value.
  # @!attribute [rw] ce_uri
  #   @return [::String]
  #     URI value.
  # @!attribute [rw] ce_uri_ref
  #   @return [::String]
  #     URI-reference value.
  # @!attribute [rw] ce_timestamp
  #   @return [::Google::Protobuf::Timestamp]
  #     Timestamp value.
  class CloudEventAttributeValue
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Eventarc::Publishing::V1::CloudEvent::CloudEventAttributeValue]
  class AttributesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#source::String

Returns Required. Identifies the context in which an event happened. URI-reference.

Returns:

  • (::String)

    Required. Identifies the context in which an event happened. URI-reference



55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'proto_docs/google/cloud/eventarc/publishing/v1/cloud_event.rb', line 55

class CloudEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The following abstract data types are available for use in attributes.
  # @!attribute [rw] ce_boolean
  #   @return [::Boolean]
  #     Boolean value.
  # @!attribute [rw] ce_integer
  #   @return [::Integer]
  #     Integer value.
  # @!attribute [rw] ce_string
  #   @return [::String]
  #     String value.
  # @!attribute [rw] ce_bytes
  #   @return [::String]
  #     Bytes value.
  # @!attribute [rw] ce_uri
  #   @return [::String]
  #     URI value.
  # @!attribute [rw] ce_uri_ref
  #   @return [::String]
  #     URI-reference value.
  # @!attribute [rw] ce_timestamp
  #   @return [::Google::Protobuf::Timestamp]
  #     Timestamp value.
  class CloudEventAttributeValue
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Eventarc::Publishing::V1::CloudEvent::CloudEventAttributeValue]
  class AttributesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#spec_version::String

Returns Required. The version of the CloudEvents specification which the event uses.

Returns:

  • (::String)

    Required. The version of the CloudEvents specification which the event uses.



55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'proto_docs/google/cloud/eventarc/publishing/v1/cloud_event.rb', line 55

class CloudEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The following abstract data types are available for use in attributes.
  # @!attribute [rw] ce_boolean
  #   @return [::Boolean]
  #     Boolean value.
  # @!attribute [rw] ce_integer
  #   @return [::Integer]
  #     Integer value.
  # @!attribute [rw] ce_string
  #   @return [::String]
  #     String value.
  # @!attribute [rw] ce_bytes
  #   @return [::String]
  #     Bytes value.
  # @!attribute [rw] ce_uri
  #   @return [::String]
  #     URI value.
  # @!attribute [rw] ce_uri_ref
  #   @return [::String]
  #     URI-reference value.
  # @!attribute [rw] ce_timestamp
  #   @return [::Google::Protobuf::Timestamp]
  #     Timestamp value.
  class CloudEventAttributeValue
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Eventarc::Publishing::V1::CloudEvent::CloudEventAttributeValue]
  class AttributesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#text_data::String

Returns Optional. Text data.

Returns:

  • (::String)

    Optional. Text data.



55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'proto_docs/google/cloud/eventarc/publishing/v1/cloud_event.rb', line 55

class CloudEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The following abstract data types are available for use in attributes.
  # @!attribute [rw] ce_boolean
  #   @return [::Boolean]
  #     Boolean value.
  # @!attribute [rw] ce_integer
  #   @return [::Integer]
  #     Integer value.
  # @!attribute [rw] ce_string
  #   @return [::String]
  #     String value.
  # @!attribute [rw] ce_bytes
  #   @return [::String]
  #     Bytes value.
  # @!attribute [rw] ce_uri
  #   @return [::String]
  #     URI value.
  # @!attribute [rw] ce_uri_ref
  #   @return [::String]
  #     URI-reference value.
  # @!attribute [rw] ce_timestamp
  #   @return [::Google::Protobuf::Timestamp]
  #     Timestamp value.
  class CloudEventAttributeValue
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Eventarc::Publishing::V1::CloudEvent::CloudEventAttributeValue]
  class AttributesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#type::String

Returns Required. This attribute contains a value describing the type of event related to the originating occurrence.

Returns:

  • (::String)

    Required. This attribute contains a value describing the type of event related to the originating occurrence.



55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'proto_docs/google/cloud/eventarc/publishing/v1/cloud_event.rb', line 55

class CloudEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The following abstract data types are available for use in attributes.
  # @!attribute [rw] ce_boolean
  #   @return [::Boolean]
  #     Boolean value.
  # @!attribute [rw] ce_integer
  #   @return [::Integer]
  #     Integer value.
  # @!attribute [rw] ce_string
  #   @return [::String]
  #     String value.
  # @!attribute [rw] ce_bytes
  #   @return [::String]
  #     Bytes value.
  # @!attribute [rw] ce_uri
  #   @return [::String]
  #     URI value.
  # @!attribute [rw] ce_uri_ref
  #   @return [::String]
  #     URI-reference value.
  # @!attribute [rw] ce_timestamp
  #   @return [::Google::Protobuf::Timestamp]
  #     Timestamp value.
  class CloudEventAttributeValue
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Eventarc::Publishing::V1::CloudEvent::CloudEventAttributeValue]
  class AttributesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end