google-apis-eventarc_v1 0.58.0 → 0.59.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/eventarc_v1/gem_version.rb +3 -3
- data/lib/google/apis/eventarc_v1/service.rb +121 -0
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0a3815bcb7d70feaed0875f2505ff85ee6fc316bf6650611926fbd94b72b0a0
|
4
|
+
data.tar.gz: 606e64a8559e58ef068bef76ef1491fa07cfc177586cf7ec372e6b0644f3a44b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fb73d630025ccbee339708c76670fad224093fad342c1f2b4c2fefceea650a315b334edc5c74dd5dba3f84c92fb6f41adc551d04a1df02103f2a67deb85648a
|
7
|
+
data.tar.gz: 8029afa24e59fea97ad85ba076e222e1f0e1ff7b07bc985ca38ca90f0a10ab367dbf6c45147f904a3f08395811b29f33ff7162bcab8ccc5c8c14dd4c972cd1e8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-eventarc_v1
|
2
2
|
|
3
|
+
### v0.59.0 (2025-01-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250103
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
3
8
|
### v0.58.0 (2024-12-15)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20241203
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module EventarcV1
|
18
18
|
# Version of the google-apis-eventarc_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.59.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250103"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1425,6 +1425,127 @@ module Google
|
|
1425
1425
|
execute_or_queue_command(command, &block)
|
1426
1426
|
end
|
1427
1427
|
|
1428
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
1429
|
+
# resource exists and does not have a policy set.
|
1430
|
+
# @param [String] resource
|
1431
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1432
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1433
|
+
# appropriate value for this field.
|
1434
|
+
# @param [Fixnum] options_requested_policy_version
|
1435
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
1436
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1437
|
+
# rejected. Requests for policies with any conditional role bindings must
|
1438
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
1439
|
+
# valid value or leave the field unset. The policy in the response might use the
|
1440
|
+
# policy version that you specified, or it might use a lower policy version. For
|
1441
|
+
# example, if you specify version 3, but the policy has no conditional role
|
1442
|
+
# bindings, the response uses version 1. To learn which resources support
|
1443
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1444
|
+
# google.com/iam/help/conditions/resource-policies).
|
1445
|
+
# @param [String] fields
|
1446
|
+
# Selector specifying which fields to include in a partial response.
|
1447
|
+
# @param [String] quota_user
|
1448
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1449
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1450
|
+
# @param [Google::Apis::RequestOptions] options
|
1451
|
+
# Request-specific options
|
1452
|
+
#
|
1453
|
+
# @yield [result, err] Result & error if block supplied
|
1454
|
+
# @yieldparam result [Google::Apis::EventarcV1::Policy] parsed result object
|
1455
|
+
# @yieldparam err [StandardError] error object if request failed
|
1456
|
+
#
|
1457
|
+
# @return [Google::Apis::EventarcV1::Policy]
|
1458
|
+
#
|
1459
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1460
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1461
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1462
|
+
def get_project_location_kafka_source_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1463
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
1464
|
+
command.response_representation = Google::Apis::EventarcV1::Policy::Representation
|
1465
|
+
command.response_class = Google::Apis::EventarcV1::Policy
|
1466
|
+
command.params['resource'] = resource unless resource.nil?
|
1467
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1468
|
+
command.query['fields'] = fields unless fields.nil?
|
1469
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1470
|
+
execute_or_queue_command(command, &block)
|
1471
|
+
end
|
1472
|
+
|
1473
|
+
# Sets the access control policy on the specified resource. Replaces any
|
1474
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1475
|
+
# PERMISSION_DENIED` errors.
|
1476
|
+
# @param [String] resource
|
1477
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
1478
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1479
|
+
# appropriate value for this field.
|
1480
|
+
# @param [Google::Apis::EventarcV1::SetIamPolicyRequest] set_iam_policy_request_object
|
1481
|
+
# @param [String] fields
|
1482
|
+
# Selector specifying which fields to include in a partial response.
|
1483
|
+
# @param [String] quota_user
|
1484
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1485
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1486
|
+
# @param [Google::Apis::RequestOptions] options
|
1487
|
+
# Request-specific options
|
1488
|
+
#
|
1489
|
+
# @yield [result, err] Result & error if block supplied
|
1490
|
+
# @yieldparam result [Google::Apis::EventarcV1::Policy] parsed result object
|
1491
|
+
# @yieldparam err [StandardError] error object if request failed
|
1492
|
+
#
|
1493
|
+
# @return [Google::Apis::EventarcV1::Policy]
|
1494
|
+
#
|
1495
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1496
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1497
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1498
|
+
def set_kafka_source_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1499
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
1500
|
+
command.request_representation = Google::Apis::EventarcV1::SetIamPolicyRequest::Representation
|
1501
|
+
command.request_object = set_iam_policy_request_object
|
1502
|
+
command.response_representation = Google::Apis::EventarcV1::Policy::Representation
|
1503
|
+
command.response_class = Google::Apis::EventarcV1::Policy
|
1504
|
+
command.params['resource'] = resource unless resource.nil?
|
1505
|
+
command.query['fields'] = fields unless fields.nil?
|
1506
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1507
|
+
execute_or_queue_command(command, &block)
|
1508
|
+
end
|
1509
|
+
|
1510
|
+
# Returns permissions that a caller has on the specified resource. If the
|
1511
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
1512
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
1513
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
1514
|
+
# This operation may "fail open" without warning.
|
1515
|
+
# @param [String] resource
|
1516
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1517
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1518
|
+
# appropriate value for this field.
|
1519
|
+
# @param [Google::Apis::EventarcV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1520
|
+
# @param [String] fields
|
1521
|
+
# Selector specifying which fields to include in a partial response.
|
1522
|
+
# @param [String] quota_user
|
1523
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1524
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1525
|
+
# @param [Google::Apis::RequestOptions] options
|
1526
|
+
# Request-specific options
|
1527
|
+
#
|
1528
|
+
# @yield [result, err] Result & error if block supplied
|
1529
|
+
# @yieldparam result [Google::Apis::EventarcV1::TestIamPermissionsResponse] parsed result object
|
1530
|
+
# @yieldparam err [StandardError] error object if request failed
|
1531
|
+
#
|
1532
|
+
# @return [Google::Apis::EventarcV1::TestIamPermissionsResponse]
|
1533
|
+
#
|
1534
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1535
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1536
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1537
|
+
def test_kafka_source_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1538
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
1539
|
+
command.request_representation = Google::Apis::EventarcV1::TestIamPermissionsRequest::Representation
|
1540
|
+
command.request_object = test_iam_permissions_request_object
|
1541
|
+
command.response_representation = Google::Apis::EventarcV1::TestIamPermissionsResponse::Representation
|
1542
|
+
command.response_class = Google::Apis::EventarcV1::TestIamPermissionsResponse
|
1543
|
+
command.params['resource'] = resource unless resource.nil?
|
1544
|
+
command.query['fields'] = fields unless fields.nil?
|
1545
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1546
|
+
execute_or_queue_command(command, &block)
|
1547
|
+
end
|
1548
|
+
|
1428
1549
|
# Create a new MessageBus in a particular project and location.
|
1429
1550
|
# @param [String] parent
|
1430
1551
|
# Required. The parent collection in which to add this message bus.
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-eventarc_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.59.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-12 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-eventarc_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-eventarc_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-eventarc_v1/v0.59.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-eventarc_v1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.2
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Eventarc API V1
|
82
79
|
test_files: []
|