Skip to content

Commit 5999b61

Browse files
feat: add new fields to Eventarc resources (googleapis#31518)
* feat: add new fields to Eventarc resources docs: correct some comments PiperOrigin-RevId: 807339306 Source-Link: googleapis/googleapis@dfce92d Source-Link: https://github.com/googleapis/googleapis-gen/commit/3c3884e9aa23adbc1e43eab015219537d66924cf Copy-Tag: eyJwIjoiZ29vZ2xlLWNsb3VkLWV2ZW50YXJjLXYxLy5Pd2xCb3QueWFtbCIsImgiOiIzYzM4ODRlOWFhMjNhZGJjMWU0M2VhYjAxNTIxOTUzN2Q2NjkyNGNmIn0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 2a5c596 commit 5999b61

17 files changed

Lines changed: 137 additions & 61 deletions

File tree

google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/bindings_override.rb

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,14 @@ def self.configure
114114
],
115115
body: nil
116116
),
117+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
118+
uri_method: :get,
119+
uri_template: "/v1/{resource}:getIamPolicy",
120+
matches: [
121+
["resource", %r{^projects/[^/]+/locations/[^/]+/kafkaSources/[^/]+/?$}, false]
122+
],
123+
body: nil
124+
),
117125
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
118126
uri_method: :get,
119127
uri_template: "/v1/{resource}:getIamPolicy",
@@ -173,6 +181,14 @@ def self.configure
173181
],
174182
body: "*"
175183
),
184+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
185+
uri_method: :post,
186+
uri_template: "/v1/{resource}:setIamPolicy",
187+
matches: [
188+
["resource", %r{^projects/[^/]+/locations/[^/]+/kafkaSources/[^/]+/?$}, false]
189+
],
190+
body: "*"
191+
),
176192
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
177193
uri_method: :post,
178194
uri_template: "/v1/{resource}:setIamPolicy",
@@ -232,6 +248,14 @@ def self.configure
232248
],
233249
body: "*"
234250
),
251+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
252+
uri_method: :post,
253+
uri_template: "/v1/{resource}:testIamPermissions",
254+
matches: [
255+
["resource", %r{^projects/[^/]+/locations/[^/]+/kafkaSources/[^/]+/?$}, false]
256+
],
257+
body: "*"
258+
),
235259
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
236260
uri_method: :post,
237261
uri_template: "/v1/{resource}:testIamPermissions",

google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/channel_connection_pb.rb

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/channel_pb.rb

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/enrollment_pb.rb

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/eventarc/client.rb

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1925,7 +1925,9 @@ def delete_channel_connection request, options = nil
19251925
end
19261926

19271927
##
1928-
# Get a GoogleChannelConfig
1928+
# Get a GoogleChannelConfig.
1929+
# The name of the GoogleChannelConfig in the response is ALWAYS coded with
1930+
# projectID.
19291931
#
19301932
# @overload get_google_channel_config(request, options = nil)
19311933
# Pass arguments to `get_google_channel_config` via a request object, either of type
@@ -2202,7 +2204,7 @@ def get_message_bus request, options = nil
22022204
# the default parameter values, pass an empty Hash as a request object (see above).
22032205
#
22042206
# @param parent [::String]
2205-
# Required. The parent collection to list triggers on.
2207+
# Required. The parent collection to list message buses on.
22062208
# @param page_size [::Integer]
22072209
# Optional. The maximum number of results to return on each page.
22082210
#
@@ -2411,7 +2413,7 @@ def list_message_bus_enrollments request, options = nil
24112413
# Required. The message bus to create.
24122414
# @param message_bus_id [::String]
24132415
# Required. The user-provided ID to be assigned to the MessageBus. It should
2414-
# match the format (^[a-z]([a-z0-9-]\\{0,61}[a-z0-9])?$)
2416+
# match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
24152417
# @param validate_only [::Boolean]
24162418
# Optional. If set, validate the request and preview the review, but do not
24172419
# post it.
@@ -2914,7 +2916,7 @@ def list_enrollments request, options = nil
29142916
# Required. The enrollment to create.
29152917
# @param enrollment_id [::String]
29162918
# Required. The user-provided ID to be assigned to the Enrollment. It should
2917-
# match the format (^[a-z]([a-z0-9-]\\{0,61}[a-z0-9])?$).
2919+
# match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
29182920
# @param validate_only [::Boolean]
29192921
# Optional. If set, validate the request and preview the review, but do not
29202922
# post it.
@@ -3416,7 +3418,8 @@ def list_pipelines request, options = nil
34163418
# @param pipeline [::Google::Cloud::Eventarc::V1::Pipeline, ::Hash]
34173419
# Required. The pipeline to create.
34183420
# @param pipeline_id [::String]
3419-
# Required. The user-provided ID to be assigned to the Pipeline.
3421+
# Required. The user-provided ID to be assigned to the Pipeline. It should
3422+
# match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
34203423
# @param validate_only [::Boolean]
34213424
# Optional. If set, validate the request and preview the review, but do not
34223425
# post it.
@@ -3919,7 +3922,7 @@ def list_google_api_sources request, options = nil
39193922
# Required. The google api source to create.
39203923
# @param google_api_source_id [::String]
39213924
# Required. The user-provided ID to be assigned to the GoogleApiSource. It
3922-
# should match the format (^[a-z]([a-z0-9-]\\{0,61}[a-z0-9])?$).
3925+
# should match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
39233926
# @param validate_only [::Boolean]
39243927
# Optional. If set, validate the request and preview the review, but do not
39253928
# post it.

google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/eventarc/rest/client.rb

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1808,7 +1808,9 @@ def delete_channel_connection request, options = nil
18081808
end
18091809

18101810
##
1811-
# Get a GoogleChannelConfig
1811+
# Get a GoogleChannelConfig.
1812+
# The name of the GoogleChannelConfig in the response is ALWAYS coded with
1813+
# projectID.
18121814
#
18131815
# @overload get_google_channel_config(request, options = nil)
18141816
# Pass arguments to `get_google_channel_config` via a request object, either of type
@@ -2064,7 +2066,7 @@ def get_message_bus request, options = nil
20642066
# the default parameter values, pass an empty Hash as a request object (see above).
20652067
#
20662068
# @param parent [::String]
2067-
# Required. The parent collection to list triggers on.
2069+
# Required. The parent collection to list message buses on.
20682070
# @param page_size [::Integer]
20692071
# Optional. The maximum number of results to return on each page.
20702072
#
@@ -2259,7 +2261,7 @@ def list_message_bus_enrollments request, options = nil
22592261
# Required. The message bus to create.
22602262
# @param message_bus_id [::String]
22612263
# Required. The user-provided ID to be assigned to the MessageBus. It should
2262-
# match the format (^[a-z]([a-z0-9-]\\{0,61}[a-z0-9])?$)
2264+
# match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
22632265
# @param validate_only [::Boolean]
22642266
# Optional. If set, validate the request and preview the review, but do not
22652267
# post it.
@@ -2727,7 +2729,7 @@ def list_enrollments request, options = nil
27272729
# Required. The enrollment to create.
27282730
# @param enrollment_id [::String]
27292731
# Required. The user-provided ID to be assigned to the Enrollment. It should
2730-
# match the format (^[a-z]([a-z0-9-]\\{0,61}[a-z0-9])?$).
2732+
# match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
27312733
# @param validate_only [::Boolean]
27322734
# Optional. If set, validate the request and preview the review, but do not
27332735
# post it.
@@ -3194,7 +3196,8 @@ def list_pipelines request, options = nil
31943196
# @param pipeline [::Google::Cloud::Eventarc::V1::Pipeline, ::Hash]
31953197
# Required. The pipeline to create.
31963198
# @param pipeline_id [::String]
3197-
# Required. The user-provided ID to be assigned to the Pipeline.
3199+
# Required. The user-provided ID to be assigned to the Pipeline. It should
3200+
# match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
31983201
# @param validate_only [::Boolean]
31993202
# Optional. If set, validate the request and preview the review, but do not
32003203
# post it.
@@ -3662,7 +3665,7 @@ def list_google_api_sources request, options = nil
36623665
# Required. The google api source to create.
36633666
# @param google_api_source_id [::String]
36643667
# Required. The user-provided ID to be assigned to the GoogleApiSource. It
3665-
# should match the format (^[a-z]([a-z0-9-]\\{0,61}[a-z0-9])?$).
3668+
# should match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
36663669
# @param validate_only [::Boolean]
36673670
# Optional. If set, validate the request and preview the review, but do not
36683671
# post it.

google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/eventarc_services_pb.rb

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)