google-cloud-eventarc-v1 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 86d93924ce883c8db4d6590366f3f5e431468cf21ad7dc9294adbc35064de493
4
- data.tar.gz: c06c5631fd616f21f603b91fd6ebb628f22caee0da2e0b45ceff3b0953066023
3
+ metadata.gz: 213ede6da9633d7832625e034e02691775c1a1ed7ffc0ccd5e658bb89e03270b
4
+ data.tar.gz: 92425eb1074ea61210a69bfb833e16394ea151ee89ac10366bdd0f07ec599f21
5
5
  SHA512:
6
- metadata.gz: f94a2eaff5761d4a283bcf3ab6928092f0f979fc03fe2a8d37fe7b45f317883cdd9ba03be3bc1d1ef5010325d62cef4e719ada5e5670c7a039008ae68a2ff14f
7
- data.tar.gz: f26f117f0a3fc611ffedb7cfbaf85e8f522582a1d79adcfe9904babacf7d7cadef0c66bee4906603cde655a54c1de9782459442876d23c8b0cf2cebd1a9d8bd7
6
+ metadata.gz: 93ea61d826548347b602b99f405acde2302f70a6d34e30a4c2bb31d9b8b138c7a13a08b357e064ef01f439c3d9641346275fc834051551579f31ae2860270e3c
7
+ data.tar.gz: 5f6caf0b1b060aeee0d07ee961d544d9739db0ba54cfeeea0aedd1620c0ce6f4e0902ed5690a1b43ba53eaffdcf9658e851ddde498b2003961dcd57d51b0b900
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -4249,6 +4249,13 @@ module Google
4249
4249
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
4250
4250
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
4251
4251
  # * (`nil`) indicating no credentials
4252
+ #
4253
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
4254
+ # external source for authentication to Google Cloud, you must validate it before
4255
+ # providing it to a Google API client library. Providing an unvalidated credential
4256
+ # configuration to Google APIs can compromise the security of your systems and data.
4257
+ # For more information, refer to [Validate credential configurations from external
4258
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
4252
4259
  # @return [::Object]
4253
4260
  # @!attribute [rw] scope
4254
4261
  # The OAuth scopes
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -3953,6 +3953,13 @@ module Google
3953
3953
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
3954
3954
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
3955
3955
  # * (`nil`) indicating no credentials
3956
+ #
3957
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
3958
+ # external source for authentication to Google Cloud, you must validate it before
3959
+ # providing it to a Google API client library. Providing an unvalidated credential
3960
+ # configuration to Google APIs can compromise the security of your systems and data.
3961
+ # For more information, refer to [Validate credential configurations from external
3962
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
3956
3963
  # @return [::Object]
3957
3964
  # @!attribute [rw] scope
3958
3965
  # The OAuth scopes
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Eventarc
23
23
  module V1
24
- VERSION = "1.2.0"
24
+ VERSION = "1.3.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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,6 +40,8 @@ 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
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ 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
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.2.0
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: 2024-12-10 00:00:00.000000000 Z
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.24.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.24.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: '2.7'
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.5.23
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: []