google-cloud-eventarc-v1 1.1.0 → 1.3.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/README.md +31 -21
- data/lib/google/cloud/eventarc/v1/eventarc/client.rb +64 -40
- data/lib/google/cloud/eventarc/v1/eventarc/operations.rb +19 -15
- data/lib/google/cloud/eventarc/v1/eventarc/rest/client.rb +56 -40
- data/lib/google/cloud/eventarc/v1/eventarc/rest/operations.rb +50 -38
- data/lib/google/cloud/eventarc/v1/eventarc/rest/service_stub.rb +326 -236
- data/lib/google/cloud/eventarc/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +19 -0
- data/proto_docs/google/cloud/eventarc/v1/pipeline.rb +18 -0
- data/proto_docs/google/cloud/eventarc/v1/trigger.rb +10 -0
- data/proto_docs/google/longrunning/operations.rb +23 -14
- metadata +6 -9
@@ -306,9 +306,28 @@ module Google
|
|
306
306
|
# @!attribute [rw] common
|
307
307
|
# @return [::Google::Api::CommonLanguageSettings]
|
308
308
|
# Some settings.
|
309
|
+
# @!attribute [rw] renamed_services
|
310
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
311
|
+
# Map of service names to renamed services. Keys are the package relative
|
312
|
+
# service names and values are the name to be used for the service client
|
313
|
+
# and call options.
|
314
|
+
#
|
315
|
+
# publishing:
|
316
|
+
# go_settings:
|
317
|
+
# renamed_services:
|
318
|
+
# Publisher: TopicAdmin
|
309
319
|
class GoSettings
|
310
320
|
include ::Google::Protobuf::MessageExts
|
311
321
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
322
|
+
|
323
|
+
# @!attribute [rw] key
|
324
|
+
# @return [::String]
|
325
|
+
# @!attribute [rw] value
|
326
|
+
# @return [::String]
|
327
|
+
class RenamedServicesEntry
|
328
|
+
include ::Google::Protobuf::MessageExts
|
329
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
330
|
+
end
|
312
331
|
end
|
313
332
|
|
314
333
|
# Describes the generator configuration for a method.
|
@@ -99,12 +99,18 @@ module Google
|
|
99
99
|
# @!attribute [rw] protobuf
|
100
100
|
# @return [::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::ProtobufFormat]
|
101
101
|
# Optional. Protobuf format.
|
102
|
+
#
|
103
|
+
# Note: The following fields are mutually exclusive: `protobuf`, `avro`, `json`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
102
104
|
# @!attribute [rw] avro
|
103
105
|
# @return [::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::AvroFormat]
|
104
106
|
# Optional. Avro format.
|
107
|
+
#
|
108
|
+
# Note: The following fields are mutually exclusive: `avro`, `protobuf`, `json`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
105
109
|
# @!attribute [rw] json
|
106
110
|
# @return [::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::JsonFormat]
|
107
111
|
# Optional. JSON format.
|
112
|
+
#
|
113
|
+
# Note: The following fields are mutually exclusive: `json`, `protobuf`, `avro`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
108
114
|
class MessagePayloadFormat
|
109
115
|
include ::Google::Protobuf::MessageExts
|
110
116
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -146,23 +152,31 @@ module Google
|
|
146
152
|
# peering zone to the consumer VPC and forward DNS requests to the VPC
|
147
153
|
# specified by network config to resolve the service endpoint. See:
|
148
154
|
# https://cloud.google.com/dns/docs/zones/zones-overview#peering_zones
|
155
|
+
#
|
156
|
+
# Note: The following fields are mutually exclusive: `http_endpoint`, `workflow`, `message_bus`, `topic`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
149
157
|
# @!attribute [rw] workflow
|
150
158
|
# @return [::String]
|
151
159
|
# Optional. The resource name of the Workflow whose Executions are
|
152
160
|
# triggered by the events. The Workflow resource should be deployed in
|
153
161
|
# the same project as the Pipeline. Format:
|
154
162
|
# `projects/{project}/locations/{location}/workflows/{workflow}`
|
163
|
+
#
|
164
|
+
# Note: The following fields are mutually exclusive: `workflow`, `http_endpoint`, `message_bus`, `topic`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
155
165
|
# @!attribute [rw] message_bus
|
156
166
|
# @return [::String]
|
157
167
|
# Optional. The resource name of the Message Bus to which events should
|
158
168
|
# be published. The Message Bus resource should exist in the same project
|
159
169
|
# as the Pipeline. Format:
|
160
170
|
# `projects/{project}/locations/{location}/messageBuses/{message_bus}`
|
171
|
+
#
|
172
|
+
# Note: The following fields are mutually exclusive: `message_bus`, `http_endpoint`, `workflow`, `topic`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
161
173
|
# @!attribute [rw] topic
|
162
174
|
# @return [::String]
|
163
175
|
# Optional. The resource name of the Pub/Sub topic to which events should
|
164
176
|
# be published. Format:
|
165
177
|
# `projects/{project}/locations/{location}/topics/{topic}`
|
178
|
+
#
|
179
|
+
# Note: The following fields are mutually exclusive: `topic`, `http_endpoint`, `workflow`, `message_bus`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
166
180
|
# @!attribute [rw] authentication_config
|
167
181
|
# @return [::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig]
|
168
182
|
# Optional. An authentication config used to authenticate message requests,
|
@@ -377,6 +391,8 @@ module Google
|
|
377
391
|
# @return [::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig::OidcToken]
|
378
392
|
# Optional. This authenticate method will apply Google OIDC tokens
|
379
393
|
# signed by a GCP service account to the requests.
|
394
|
+
#
|
395
|
+
# Note: The following fields are mutually exclusive: `google_oidc`, `oauth_token`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
380
396
|
# @!attribute [rw] oauth_token
|
381
397
|
# @return [::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig::OAuthToken]
|
382
398
|
# Optional. If specified, an [OAuth
|
@@ -386,6 +402,8 @@ module Google
|
|
386
402
|
#
|
387
403
|
# This type of authorization should generally only be used when calling
|
388
404
|
# Google APIs hosted on *.googleapis.com.
|
405
|
+
#
|
406
|
+
# Note: The following fields are mutually exclusive: `oauth_token`, `google_oidc`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
389
407
|
class AuthenticationConfig
|
390
408
|
include ::Google::Protobuf::MessageExts
|
391
409
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -152,6 +152,8 @@ module Google
|
|
152
152
|
# @return [::Google::Cloud::Eventarc::V1::CloudRun]
|
153
153
|
# Cloud Run fully-managed resource that receives the events. The resource
|
154
154
|
# should be in the same project as the trigger.
|
155
|
+
#
|
156
|
+
# Note: The following fields are mutually exclusive: `cloud_run`, `cloud_function`, `gke`, `workflow`, `http_endpoint`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
155
157
|
# @!attribute [rw] cloud_function
|
156
158
|
# @return [::String]
|
157
159
|
# The Cloud Function resource name. Cloud Functions V1 and V2 are
|
@@ -161,19 +163,27 @@ module Google
|
|
161
163
|
# This is a read-only field. Creating Cloud Functions V1/V2 triggers is
|
162
164
|
# only supported via the Cloud Functions product. An error will be returned
|
163
165
|
# if the user sets this value.
|
166
|
+
#
|
167
|
+
# Note: The following fields are mutually exclusive: `cloud_function`, `cloud_run`, `gke`, `workflow`, `http_endpoint`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
164
168
|
# @!attribute [rw] gke
|
165
169
|
# @return [::Google::Cloud::Eventarc::V1::GKE]
|
166
170
|
# A GKE service capable of receiving events. The service should be running
|
167
171
|
# in the same project as the trigger.
|
172
|
+
#
|
173
|
+
# Note: The following fields are mutually exclusive: `gke`, `cloud_run`, `cloud_function`, `workflow`, `http_endpoint`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
168
174
|
# @!attribute [rw] workflow
|
169
175
|
# @return [::String]
|
170
176
|
# The resource name of the Workflow whose Executions are triggered by
|
171
177
|
# the events. The Workflow resource should be deployed in the same project
|
172
178
|
# as the trigger.
|
173
179
|
# Format: `projects/{project}/locations/{location}/workflows/{workflow}`
|
180
|
+
#
|
181
|
+
# Note: The following fields are mutually exclusive: `workflow`, `cloud_run`, `cloud_function`, `gke`, `http_endpoint`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
174
182
|
# @!attribute [rw] http_endpoint
|
175
183
|
# @return [::Google::Cloud::Eventarc::V1::HttpEndpoint]
|
176
184
|
# An HTTP endpoint destination described by an URI.
|
185
|
+
#
|
186
|
+
# Note: The following fields are mutually exclusive: `http_endpoint`, `cloud_run`, `cloud_function`, `gke`, `workflow`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
177
187
|
# @!attribute [rw] network_config
|
178
188
|
# @return [::Google::Cloud::Eventarc::V1::NetworkConfig]
|
179
189
|
# Optional. Network config is used to configure how Eventarc resolves and
|
@@ -40,9 +40,11 @@ module Google
|
|
40
40
|
# @!attribute [rw] error
|
41
41
|
# @return [::Google::Rpc::Status]
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
43
|
+
#
|
44
|
+
# Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
43
45
|
# @!attribute [rw] response
|
44
46
|
# @return [::Google::Protobuf::Any]
|
45
|
-
# The normal response of the operation
|
47
|
+
# The normal, successful response of the operation. If the original
|
46
48
|
# method returns no data on success, such as `Delete`, the response is
|
47
49
|
# `google.protobuf.Empty`. If the original method is standard
|
48
50
|
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
@@ -50,12 +52,15 @@ module Google
|
|
50
52
|
# is the original method name. For example, if the original method name
|
51
53
|
# is `TakeSnapshot()`, the inferred response type is
|
52
54
|
# `TakeSnapshotResponse`.
|
55
|
+
#
|
56
|
+
# Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
53
57
|
class Operation
|
54
58
|
include ::Google::Protobuf::MessageExts
|
55
59
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
56
60
|
end
|
57
61
|
|
58
|
-
# The request message for
|
62
|
+
# The request message for
|
63
|
+
# Operations.GetOperation.
|
59
64
|
# @!attribute [rw] name
|
60
65
|
# @return [::String]
|
61
66
|
# The name of the operation resource.
|
@@ -64,7 +69,8 @@ module Google
|
|
64
69
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
65
70
|
end
|
66
71
|
|
67
|
-
# The request message for
|
72
|
+
# The request message for
|
73
|
+
# Operations.ListOperations.
|
68
74
|
# @!attribute [rw] name
|
69
75
|
# @return [::String]
|
70
76
|
# The name of the operation's parent resource.
|
@@ -82,7 +88,8 @@ module Google
|
|
82
88
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
83
89
|
end
|
84
90
|
|
85
|
-
# The response message for
|
91
|
+
# The response message for
|
92
|
+
# Operations.ListOperations.
|
86
93
|
# @!attribute [rw] operations
|
87
94
|
# @return [::Array<::Google::Longrunning::Operation>]
|
88
95
|
# A list of operations that matches the specified filter in the request.
|
@@ -94,7 +101,8 @@ module Google
|
|
94
101
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
95
102
|
end
|
96
103
|
|
97
|
-
# The request message for
|
104
|
+
# The request message for
|
105
|
+
# Operations.CancelOperation.
|
98
106
|
# @!attribute [rw] name
|
99
107
|
# @return [::String]
|
100
108
|
# The name of the operation resource to be cancelled.
|
@@ -103,7 +111,8 @@ module Google
|
|
103
111
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
104
112
|
end
|
105
113
|
|
106
|
-
# The request message for
|
114
|
+
# The request message for
|
115
|
+
# Operations.DeleteOperation.
|
107
116
|
# @!attribute [rw] name
|
108
117
|
# @return [::String]
|
109
118
|
# The name of the operation resource to be deleted.
|
@@ -112,7 +121,8 @@ module Google
|
|
112
121
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
113
122
|
end
|
114
123
|
|
115
|
-
# The request message for
|
124
|
+
# The request message for
|
125
|
+
# Operations.WaitOperation.
|
116
126
|
# @!attribute [rw] name
|
117
127
|
# @return [::String]
|
118
128
|
# The name of the operation resource to wait on.
|
@@ -130,13 +140,12 @@ module Google
|
|
130
140
|
#
|
131
141
|
# Example:
|
132
142
|
#
|
133
|
-
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
#
|
138
|
-
# }
|
139
|
-
# }
|
143
|
+
# rpc Export(ExportRequest) returns (google.longrunning.Operation) {
|
144
|
+
# option (google.longrunning.operation_info) = {
|
145
|
+
# response_type: "ExportResponse"
|
146
|
+
# metadata_type: "ExportMetadata"
|
147
|
+
# };
|
148
|
+
# }
|
140
149
|
# @!attribute [rw] response_type
|
141
150
|
# @return [::String]
|
142
151
|
# Required. The message name of the primary return type for this
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-eventarc-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -157,7 +156,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
157
156
|
licenses:
|
158
157
|
- Apache-2.0
|
159
158
|
metadata: {}
|
160
|
-
post_install_message:
|
161
159
|
rdoc_options: []
|
162
160
|
require_paths:
|
163
161
|
- lib
|
@@ -165,15 +163,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
165
163
|
requirements:
|
166
164
|
- - ">="
|
167
165
|
- !ruby/object:Gem::Version
|
168
|
-
version: '
|
166
|
+
version: '3.0'
|
169
167
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
170
168
|
requirements:
|
171
169
|
- - ">="
|
172
170
|
- !ruby/object:Gem::Version
|
173
171
|
version: '0'
|
174
172
|
requirements: []
|
175
|
-
rubygems_version: 3.
|
176
|
-
signing_key:
|
173
|
+
rubygems_version: 3.6.2
|
177
174
|
specification_version: 4
|
178
175
|
summary: Build event-driven applications on Google Cloud Platform.
|
179
176
|
test_files: []
|