Skip to content

Commit 47ccce3

Browse files
feat: Automated regeneration of eventarc v1 client (#25288)
Auto-created at 2025-12-21 09:57:07 +0000 using the toys pull request generator.
1 parent 5af77ef commit 47ccce3

File tree

3 files changed

+6
-123
lines changed

3 files changed

+6
-123
lines changed

generated/google-apis-eventarc_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-eventarc_v1
22

3+
### v0.73.0 (2025-12-21)
4+
5+
* Regenerated from discovery document revision 20251219
6+
37
### v0.72.0 (2025-12-07)
48

59
* Regenerated from discovery document revision 20251202

generated/google-apis-eventarc_v1/lib/google/apis/eventarc_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module EventarcV1
1818
# Version of the google-apis-eventarc_v1 gem
19-
GEM_VERSION = "0.72.0"
19+
GEM_VERSION = "0.73.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20251202"
25+
REVISION = "20251219"
2626
end
2727
end
2828
end

generated/google-apis-eventarc_v1/lib/google/apis/eventarc_v1/service.rb

Lines changed: 0 additions & 121 deletions
Original file line numberDiff line numberDiff line change
@@ -1432,127 +1432,6 @@ def test_google_api_source_iam_permissions(resource, test_iam_permissions_reques
14321432
execute_or_queue_command(command, &block)
14331433
end
14341434

1435-
# Gets the access control policy for a resource. Returns an empty policy if the
1436-
# resource exists and does not have a policy set.
1437-
# @param [String] resource
1438-
# REQUIRED: The resource for which the policy is being requested. See [Resource
1439-
# names](https://cloud.google.com/apis/design/resource_names) for the
1440-
# appropriate value for this field.
1441-
# @param [Fixnum] options_requested_policy_version
1442-
# Optional. The maximum policy version that will be used to format the policy.
1443-
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1444-
# rejected. Requests for policies with any conditional role bindings must
1445-
# specify version 3. Policies with no conditional role bindings may specify any
1446-
# valid value or leave the field unset. The policy in the response might use the
1447-
# policy version that you specified, or it might use a lower policy version. For
1448-
# example, if you specify version 3, but the policy has no conditional role
1449-
# bindings, the response uses version 1. To learn which resources support
1450-
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
1451-
# google.com/iam/help/conditions/resource-policies).
1452-
# @param [String] fields
1453-
# Selector specifying which fields to include in a partial response.
1454-
# @param [String] quota_user
1455-
# Available to use for quota purposes for server-side applications. Can be any
1456-
# arbitrary string assigned to a user, but should not exceed 40 characters.
1457-
# @param [Google::Apis::RequestOptions] options
1458-
# Request-specific options
1459-
#
1460-
# @yield [result, err] Result & error if block supplied
1461-
# @yieldparam result [Google::Apis::EventarcV1::Policy] parsed result object
1462-
# @yieldparam err [StandardError] error object if request failed
1463-
#
1464-
# @return [Google::Apis::EventarcV1::Policy]
1465-
#
1466-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1467-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1468-
# @raise [Google::Apis::AuthorizationError] Authorization is required
1469-
def get_project_location_kafka_source_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
1470-
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
1471-
command.response_representation = Google::Apis::EventarcV1::Policy::Representation
1472-
command.response_class = Google::Apis::EventarcV1::Policy
1473-
command.params['resource'] = resource unless resource.nil?
1474-
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
1475-
command.query['fields'] = fields unless fields.nil?
1476-
command.query['quotaUser'] = quota_user unless quota_user.nil?
1477-
execute_or_queue_command(command, &block)
1478-
end
1479-
1480-
# Sets the access control policy on the specified resource. Replaces any
1481-
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
1482-
# PERMISSION_DENIED` errors.
1483-
# @param [String] resource
1484-
# REQUIRED: The resource for which the policy is being specified. See [Resource
1485-
# names](https://cloud.google.com/apis/design/resource_names) for the
1486-
# appropriate value for this field.
1487-
# @param [Google::Apis::EventarcV1::SetIamPolicyRequest] set_iam_policy_request_object
1488-
# @param [String] fields
1489-
# Selector specifying which fields to include in a partial response.
1490-
# @param [String] quota_user
1491-
# Available to use for quota purposes for server-side applications. Can be any
1492-
# arbitrary string assigned to a user, but should not exceed 40 characters.
1493-
# @param [Google::Apis::RequestOptions] options
1494-
# Request-specific options
1495-
#
1496-
# @yield [result, err] Result & error if block supplied
1497-
# @yieldparam result [Google::Apis::EventarcV1::Policy] parsed result object
1498-
# @yieldparam err [StandardError] error object if request failed
1499-
#
1500-
# @return [Google::Apis::EventarcV1::Policy]
1501-
#
1502-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1503-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1504-
# @raise [Google::Apis::AuthorizationError] Authorization is required
1505-
def set_kafka_source_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1506-
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
1507-
command.request_representation = Google::Apis::EventarcV1::SetIamPolicyRequest::Representation
1508-
command.request_object = set_iam_policy_request_object
1509-
command.response_representation = Google::Apis::EventarcV1::Policy::Representation
1510-
command.response_class = Google::Apis::EventarcV1::Policy
1511-
command.params['resource'] = resource unless resource.nil?
1512-
command.query['fields'] = fields unless fields.nil?
1513-
command.query['quotaUser'] = quota_user unless quota_user.nil?
1514-
execute_or_queue_command(command, &block)
1515-
end
1516-
1517-
# Returns permissions that a caller has on the specified resource. If the
1518-
# resource does not exist, this will return an empty set of permissions, not a `
1519-
# NOT_FOUND` error. Note: This operation is designed to be used for building
1520-
# permission-aware UIs and command-line tools, not for authorization checking.
1521-
# This operation may "fail open" without warning.
1522-
# @param [String] resource
1523-
# REQUIRED: The resource for which the policy detail is being requested. See [
1524-
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
1525-
# appropriate value for this field.
1526-
# @param [Google::Apis::EventarcV1::TestIamPermissionsRequest] test_iam_permissions_request_object
1527-
# @param [String] fields
1528-
# Selector specifying which fields to include in a partial response.
1529-
# @param [String] quota_user
1530-
# Available to use for quota purposes for server-side applications. Can be any
1531-
# arbitrary string assigned to a user, but should not exceed 40 characters.
1532-
# @param [Google::Apis::RequestOptions] options
1533-
# Request-specific options
1534-
#
1535-
# @yield [result, err] Result & error if block supplied
1536-
# @yieldparam result [Google::Apis::EventarcV1::TestIamPermissionsResponse] parsed result object
1537-
# @yieldparam err [StandardError] error object if request failed
1538-
#
1539-
# @return [Google::Apis::EventarcV1::TestIamPermissionsResponse]
1540-
#
1541-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1542-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1543-
# @raise [Google::Apis::AuthorizationError] Authorization is required
1544-
def test_kafka_source_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1545-
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
1546-
command.request_representation = Google::Apis::EventarcV1::TestIamPermissionsRequest::Representation
1547-
command.request_object = test_iam_permissions_request_object
1548-
command.response_representation = Google::Apis::EventarcV1::TestIamPermissionsResponse::Representation
1549-
command.response_class = Google::Apis::EventarcV1::TestIamPermissionsResponse
1550-
command.params['resource'] = resource unless resource.nil?
1551-
command.query['fields'] = fields unless fields.nil?
1552-
command.query['quotaUser'] = quota_user unless quota_user.nil?
1553-
execute_or_queue_command(command, &block)
1554-
end
1555-
15561435
# Create a new MessageBus in a particular project and location.
15571436
# @param [String] parent
15581437
# Required. The parent collection in which to add this message bus.

0 commit comments

Comments
 (0)