google-cloud-eventarc-v1 1.0.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/eventarc/v1/bindings_override.rb +96 -0
- data/lib/google/cloud/eventarc/v1/channel_pb.rb +1 -1
- data/lib/google/cloud/eventarc/v1/enrollment_pb.rb +47 -0
- data/lib/google/cloud/eventarc/v1/eventarc/client.rb +2565 -174
- data/lib/google/cloud/eventarc/v1/eventarc/paths.rb +112 -0
- data/lib/google/cloud/eventarc/v1/eventarc/rest/client.rb +2420 -180
- data/lib/google/cloud/eventarc/v1/eventarc/rest/service_stub.rb +1335 -88
- data/lib/google/cloud/eventarc/v1/eventarc_pb.rb +35 -1
- data/lib/google/cloud/eventarc/v1/eventarc_services_pb.rb +42 -0
- data/lib/google/cloud/eventarc/v1/google_api_source_pb.rb +50 -0
- data/lib/google/cloud/eventarc/v1/logging_config_pb.rb +45 -0
- data/lib/google/cloud/eventarc/v1/message_bus_pb.rb +49 -0
- data/lib/google/cloud/eventarc/v1/network_config_pb.rb +45 -0
- data/lib/google/cloud/eventarc/v1/pipeline_pb.rb +65 -0
- data/lib/google/cloud/eventarc/v1/trigger_pb.rb +4 -1
- data/lib/google/cloud/eventarc/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +20 -0
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/cloud/eventarc/v1/channel.rb +5 -1
- data/proto_docs/google/cloud/eventarc/v1/discovery.rb +8 -7
- data/proto_docs/google/cloud/eventarc/v1/enrollment.rb +95 -0
- data/proto_docs/google/cloud/eventarc/v1/eventarc.rb +522 -8
- data/proto_docs/google/cloud/eventarc/v1/google_api_source.rb +95 -0
- data/proto_docs/google/cloud/eventarc/v1/logging_config.rb +78 -0
- data/proto_docs/google/cloud/eventarc/v1/message_bus.rb +94 -0
- data/proto_docs/google/cloud/eventarc/v1/network_config.rb +37 -0
- data/proto_docs/google/cloud/eventarc/v1/pipeline.rb +583 -0
- data/proto_docs/google/cloud/eventarc/v1/trigger.rb +76 -35
- metadata +16 -3
@@ -0,0 +1,88 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Api
|
22
|
+
# Rich semantic information of an API field beyond basic typing.
|
23
|
+
# @!attribute [rw] format
|
24
|
+
# @return [::Google::Api::FieldInfo::Format]
|
25
|
+
# The standard format of a field value. This does not explicitly configure
|
26
|
+
# any API consumer, just documents the API's format for the field it is
|
27
|
+
# applied to.
|
28
|
+
# @!attribute [rw] referenced_types
|
29
|
+
# @return [::Array<::Google::Api::TypeReference>]
|
30
|
+
# The type(s) that the annotated, generic field may represent.
|
31
|
+
#
|
32
|
+
# Currently, this must only be used on fields of type `google.protobuf.Any`.
|
33
|
+
# Supporting other generic types may be considered in the future.
|
34
|
+
class FieldInfo
|
35
|
+
include ::Google::Protobuf::MessageExts
|
36
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
37
|
+
|
38
|
+
# The standard format of a field value. The supported formats are all backed
|
39
|
+
# by either an RFC defined by the IETF or a Google-defined AIP.
|
40
|
+
module Format
|
41
|
+
# Default, unspecified value.
|
42
|
+
FORMAT_UNSPECIFIED = 0
|
43
|
+
|
44
|
+
# Universally Unique Identifier, version 4, value as defined by
|
45
|
+
# https://datatracker.ietf.org/doc/html/rfc4122. The value may be
|
46
|
+
# normalized to entirely lowercase letters. For example, the value
|
47
|
+
# `F47AC10B-58CC-0372-8567-0E02B2C3D479` would be normalized to
|
48
|
+
# `f47ac10b-58cc-0372-8567-0e02b2c3d479`.
|
49
|
+
UUID4 = 1
|
50
|
+
|
51
|
+
# Internet Protocol v4 value as defined by [RFC
|
52
|
+
# 791](https://datatracker.ietf.org/doc/html/rfc791). The value may be
|
53
|
+
# condensed, with leading zeros in each octet stripped. For example,
|
54
|
+
# `001.022.233.040` would be condensed to `1.22.233.40`.
|
55
|
+
IPV4 = 2
|
56
|
+
|
57
|
+
# Internet Protocol v6 value as defined by [RFC
|
58
|
+
# 2460](https://datatracker.ietf.org/doc/html/rfc2460). The value may be
|
59
|
+
# normalized to entirely lowercase letters with zeros compressed, following
|
60
|
+
# [RFC 5952](https://datatracker.ietf.org/doc/html/rfc5952). For example,
|
61
|
+
# the value `2001:0DB8:0::0` would be normalized to `2001:db8::`.
|
62
|
+
IPV6 = 3
|
63
|
+
|
64
|
+
# An IP address in either v4 or v6 format as described by the individual
|
65
|
+
# values defined herein. See the comments on the IPV4 and IPV6 types for
|
66
|
+
# allowed normalizations of each.
|
67
|
+
IPV4_OR_IPV6 = 4
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
# A reference to a message type, for use in {::Google::Api::FieldInfo FieldInfo}.
|
72
|
+
# @!attribute [rw] type_name
|
73
|
+
# @return [::String]
|
74
|
+
# The name of the type that the annotated, generic field may represent.
|
75
|
+
# If the type is in the same protobuf package, the value can be the simple
|
76
|
+
# message name e.g., `"MyMessage"`. Otherwise, the value must be the
|
77
|
+
# fully-qualified message name e.g., `"google.library.v1.Book"`.
|
78
|
+
#
|
79
|
+
# If the type(s) are unknown to the service (e.g. the field accepts generic
|
80
|
+
# user input), use the wildcard `"*"` to denote this behavior.
|
81
|
+
#
|
82
|
+
# See [AIP-202](https://google.aip.dev/202#type-references) for more details.
|
83
|
+
class TypeReference
|
84
|
+
include ::Google::Protobuf::MessageExts
|
85
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
@@ -61,11 +61,15 @@ module Google
|
|
61
61
|
# by the provider to register the channel for publishing.
|
62
62
|
# @!attribute [rw] crypto_key_name
|
63
63
|
# @return [::String]
|
64
|
-
#
|
64
|
+
# Resource name of a KMS crypto key (managed by the user) used to
|
65
65
|
# encrypt/decrypt their event data.
|
66
66
|
#
|
67
67
|
# It must match the pattern
|
68
68
|
# `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
69
|
+
# @!attribute [r] satisfies_pzs
|
70
|
+
# @return [::Boolean]
|
71
|
+
# Output only. Whether or not this Channel satisfies the requirements of
|
72
|
+
# physical zone separation
|
69
73
|
class Channel
|
70
74
|
include ::Google::Protobuf::MessageExts
|
71
75
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -24,11 +24,12 @@ module Google
|
|
24
24
|
# A representation of the Provider resource.
|
25
25
|
# @!attribute [r] name
|
26
26
|
# @return [::String]
|
27
|
-
# Output only. In
|
28
|
-
# format.
|
27
|
+
# Output only. In
|
28
|
+
# `projects/{project}/locations/{location}/providers/{provider_id}` format.
|
29
29
|
# @!attribute [r] display_name
|
30
30
|
# @return [::String]
|
31
|
-
# Output only. Human friendly name for the Provider. For example "Cloud
|
31
|
+
# Output only. Human friendly name for the Provider. For example "Cloud
|
32
|
+
# Storage".
|
32
33
|
# @!attribute [r] event_types
|
33
34
|
# @return [::Array<::Google::Cloud::Eventarc::V1::EventType>]
|
34
35
|
# Output only. Event types for this provider.
|
@@ -73,12 +74,12 @@ module Google
|
|
73
74
|
# Output only. Description of the purpose of the attribute.
|
74
75
|
# @!attribute [r] required
|
75
76
|
# @return [::Boolean]
|
76
|
-
# Output only. If true, the triggers for this provider should always specify
|
77
|
-
# on these attributes. Trigger creation will fail otherwise.
|
77
|
+
# Output only. If true, the triggers for this provider should always specify
|
78
|
+
# a filter on these attributes. Trigger creation will fail otherwise.
|
78
79
|
# @!attribute [r] path_pattern_supported
|
79
80
|
# @return [::Boolean]
|
80
|
-
# Output only. If true, the attribute accepts matching expressions in the
|
81
|
-
# PathPattern format.
|
81
|
+
# Output only. If true, the attribute accepts matching expressions in the
|
82
|
+
# Eventarc PathPattern format.
|
82
83
|
class FilteringAttribute
|
83
84
|
include ::Google::Protobuf::MessageExts
|
84
85
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -0,0 +1,95 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module Eventarc
|
23
|
+
module V1
|
24
|
+
# An enrollment represents a subscription for messages on a particular message
|
25
|
+
# bus. It defines a matching criteria for messages on the bus and the
|
26
|
+
# subscriber endpoint where matched messages should be delivered.
|
27
|
+
# @!attribute [rw] name
|
28
|
+
# @return [::String]
|
29
|
+
# Identifier. Resource name of the form
|
30
|
+
# projects/\\{project}/locations/\\{location}/enrollments/\\{enrollment}
|
31
|
+
# @!attribute [r] uid
|
32
|
+
# @return [::String]
|
33
|
+
# Output only. Server assigned unique identifier for the channel. The value
|
34
|
+
# is a UUID4 string and guaranteed to remain unchanged until the resource is
|
35
|
+
# deleted.
|
36
|
+
# @!attribute [r] etag
|
37
|
+
# @return [::String]
|
38
|
+
# Output only. This checksum is computed by the server based on the value of
|
39
|
+
# other fields, and might be sent only on update and delete requests to
|
40
|
+
# ensure that the client has an up-to-date value before proceeding.
|
41
|
+
# @!attribute [r] create_time
|
42
|
+
# @return [::Google::Protobuf::Timestamp]
|
43
|
+
# Output only. The creation time.
|
44
|
+
# @!attribute [r] update_time
|
45
|
+
# @return [::Google::Protobuf::Timestamp]
|
46
|
+
# Output only. The last-modified time.
|
47
|
+
# @!attribute [rw] labels
|
48
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
49
|
+
# Optional. Resource labels.
|
50
|
+
# @!attribute [rw] annotations
|
51
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
52
|
+
# Optional. Resource annotations.
|
53
|
+
# @!attribute [rw] display_name
|
54
|
+
# @return [::String]
|
55
|
+
# Optional. Resource display name.
|
56
|
+
# @!attribute [rw] cel_match
|
57
|
+
# @return [::String]
|
58
|
+
# Required. A CEL expression identifying which messages this enrollment
|
59
|
+
# applies to.
|
60
|
+
# @!attribute [rw] message_bus
|
61
|
+
# @return [::String]
|
62
|
+
# Required. Resource name of the message bus identifying the source of the
|
63
|
+
# messages. It matches the form
|
64
|
+
# projects/\\{project}/locations/\\{location}/messageBuses/\\{messageBus}.
|
65
|
+
# @!attribute [rw] destination
|
66
|
+
# @return [::String]
|
67
|
+
# Required. Destination is the Pipeline that the Enrollment is delivering to.
|
68
|
+
# It must point to the full resource name of a Pipeline. Format:
|
69
|
+
# "projects/\\{PROJECT_ID}/locations/\\{region}/pipelines/{PIPELINE_ID)"
|
70
|
+
class Enrollment
|
71
|
+
include ::Google::Protobuf::MessageExts
|
72
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
73
|
+
|
74
|
+
# @!attribute [rw] key
|
75
|
+
# @return [::String]
|
76
|
+
# @!attribute [rw] value
|
77
|
+
# @return [::String]
|
78
|
+
class LabelsEntry
|
79
|
+
include ::Google::Protobuf::MessageExts
|
80
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
81
|
+
end
|
82
|
+
|
83
|
+
# @!attribute [rw] key
|
84
|
+
# @return [::String]
|
85
|
+
# @!attribute [rw] value
|
86
|
+
# @return [::String]
|
87
|
+
class AnnotationsEntry
|
88
|
+
include ::Google::Protobuf::MessageExts
|
89
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|