google-apis-eventarc_v1 0.57.0 → 0.59.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: 4e18e157b72f74ef163088300a5215e0ea4e3f408df2bee3d40811401f683ca6
4
- data.tar.gz: dd08f9ca7108d5ac27ab68f6dfc835284e7c385b1b9d8ac43c36137b900c3d4b
3
+ metadata.gz: c0a3815bcb7d70feaed0875f2505ff85ee6fc316bf6650611926fbd94b72b0a0
4
+ data.tar.gz: 606e64a8559e58ef068bef76ef1491fa07cfc177586cf7ec372e6b0644f3a44b
5
5
  SHA512:
6
- metadata.gz: 9ad79e08478d4718bff144e591141a35e6c365d956da2f0e5e52b181e4130601e6ff5a63550730bfdfd0630249edf9e89b5ffbc1afdb9117f6796424624d2f76
7
- data.tar.gz: 60903ab2fbb1d7f6740e95c8943becaab69bb9b32723549865f345fef8596dfef848d3bb59ee5b7c6ed4f4eb8aaac7ef8527b53c971fc837c4a411edb4e95f5c
6
+ metadata.gz: 2fb73d630025ccbee339708c76670fad224093fad342c1f2b4c2fefceea650a315b334edc5c74dd5dba3f84c92fb6f41adc551d04a1df02103f2a67deb85648a
7
+ data.tar.gz: 8029afa24e59fea97ad85ba076e222e1f0e1ff7b07bc985ca38ca90f0a10ab367dbf6c45147f904a3f08395811b29f33ff7162bcab8ccc5c8c14dd4c972cd1e8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
8
+ ### v0.58.0 (2024-12-15)
9
+
10
+ * Regenerated from discovery document revision 20241203
11
+
3
12
  ### v0.57.0 (2024-12-08)
4
13
 
5
14
  * Regenerated from discovery document revision 20241119
@@ -1065,14 +1065,15 @@ module Google
1065
1065
  # Optional. The CEL expression used to modify how the destination-bound HTTP
1066
1066
  # request is constructed. If a binding expression is not specified here, the
1067
1067
  # message is treated as a CloudEvent and is mapped to the HTTP request according
1068
- # to the CloudEvent HTTP Protocol Binding Binary Content Mode. In this
1069
- # representation, all fields except the `data` and `datacontenttype` field on
1070
- # the message are mapped to HTTP request headers with a prefix of `ce-`. To
1071
- # construct the HTTP request payload and the value of the content-type HTTP
1072
- # header, the payload format is defined as follows: 1) Use the
1073
- # output_payload_format_type on the Pipeline.Destination if it is set, else: 2)
1074
- # Use the input_payload_format_type on the Pipeline if it is set, else: 3) Treat
1075
- # the payload as opaque binary data. The `data` field of the message is
1068
+ # to the CloudEvent HTTP Protocol Binding Binary Content Mode (https://github.
1069
+ # com/cloudevents/spec/blob/main/cloudevents/bindings/http-protocol-binding.md#
1070
+ # 31-binary-content-mode). In this representation, all fields except the `data`
1071
+ # and `datacontenttype` field on the message are mapped to HTTP request headers
1072
+ # with a prefix of `ce-`. To construct the HTTP request payload and the value of
1073
+ # the content-type HTTP header, the payload format is defined as follows: 1) Use
1074
+ # the output_payload_format_type on the Pipeline.Destination if it is set, else:
1075
+ # 2) Use the input_payload_format_type on the Pipeline if it is set, else: 3)
1076
+ # Treat the payload as opaque binary data. The `data` field of the message is
1076
1077
  # converted to the payload format or left as-is for case 3) and then attached as
1077
1078
  # the payload of the HTTP request. The `content-type` header on the HTTP request
1078
1079
  # is set to the payload format type or left empty for case 3). However, if a
@@ -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.57.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.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241119"
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.
@@ -1585,7 +1706,7 @@ module Google
1585
1706
 
1586
1707
  # List message buses.
1587
1708
  # @param [String] parent
1588
- # Required. The parent collection to list triggers on.
1709
+ # Required. The parent collection to list message buses on.
1589
1710
  # @param [String] filter
1590
1711
  # Optional. The filter field that the list request will filter on. Possible
1591
1712
  # filtersare described in https://google.aip.dev/160.
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.57.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: 2024-12-08 00:00:00.000000000 Z
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.57.0
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.5.23
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: []