google-apis-eventarc_v1 0.58.0 → 0.60.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7acd3cf450482352e68ae293ef39f7dcf88afd8b01f6fec96995c741f1538c15
4
- data.tar.gz: b4a2f83c829f52fa7e3241e76107f8197ad668d84c63b64151fe64415353a7de
3
+ metadata.gz: cc06d3b7430d9dfe2b3e042dd4063d31625e49b133841e643b32f19e9cca55f4
4
+ data.tar.gz: 6ba84e977b84a773f01de51c82cab1117c306cc17cc5568c94c8dd8856f22ae5
5
5
  SHA512:
6
- metadata.gz: bf70c2e128891aac8becee6710f1163acb72d18c0ca4edbea39914376cb133e05a90d18802d72bf8d91b3b50dd37cea8030470906643d3be5510642dce1c9eeb
7
- data.tar.gz: fa439dc82445ca37c115fe43d90d2acd0ff50cb03c1a35ef7ff89e6670de4582b2f04a426e30d1204d90c45972c3b1d4a5a6951b2d8287c4bb3be6e46f2950f4
6
+ metadata.gz: a1106b2540b666ea87d76312b6ef3aaf7528102002b5c2a44daa09e973fa7f4e874fb850135c6b93af9ed15ca467e7ead038bcd291ed93c2c4967f1a52007ef3
7
+ data.tar.gz: 8a250c5063f3e4fb3020bde17ad69d031bf81e3e05efd5ae9e8d189381f5804dcb3c7c80117fe0b5c835a254bad17c364cdeecf9e95db5bb3e10068c12eca0d0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-eventarc_v1
2
2
 
3
+ ### v0.60.0 (2025-02-26)
4
+
5
+ * Regenerated from discovery document revision 20250209
6
+
7
+ ### v0.59.0 (2025-01-12)
8
+
9
+ * Regenerated from discovery document revision 20250103
10
+ * Regenerated using generator version 0.16.0
11
+
3
12
  ### v0.58.0 (2024-12-15)
4
13
 
5
14
  * Regenerated from discovery document revision 20241203
@@ -1163,7 +1163,7 @@ module Google
1163
1163
  # @return [String]
1164
1164
  attr_accessor :message_binding_template
1165
1165
 
1166
- # Required. The URI of the HTTP enpdoint. The value must be a RFC2396 URI string.
1166
+ # Required. The URI of the HTTP endpoint. The value must be a RFC2396 URI string.
1167
1167
  # Examples: `https://svc.us-central1.p.local:8080/route`. Only the HTTPS
1168
1168
  # protocol is supported.
1169
1169
  # Corresponds to the JSON property `uri`
@@ -1541,7 +1541,7 @@ module Google
1541
1541
  class HttpEndpoint
1542
1542
  include Google::Apis::Core::Hashable
1543
1543
 
1544
- # Required. The URI of the HTTP enpdoint. The value must be a RFC2396 URI string.
1544
+ # Required. The URI of the HTTP endpoint. The value must be a RFC2396 URI string.
1545
1545
  # Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`
1546
1546
  # . Only HTTP and HTTPS protocols are supported. The host can be either a static
1547
1547
  # IP addressable from the VPC specified by the network config, or an internal
@@ -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.58.0"
19
+ GEM_VERSION = "0.60.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241203"
25
+ REVISION = "20250209"
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.58.0
4
+ version: 0.60.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-15 00:00:00.000000000 Z
10
+ date: 2025-03-02 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.58.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-eventarc_v1/v0.60.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.5.23
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Eventarc API V1
82
79
  test_files: []