google-apis-eventarc_v1 0.71.0 → 0.73.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: 7c83643a76c630f138a59286af232db9fd5132466b2ceace7d24a791decb135b
4
- data.tar.gz: 16e3e22c4f7d16fa7be08991904821d5437741537200b5e511b658c896e177e3
3
+ metadata.gz: 79f988ac20ac30de5c12983c02ac91b3704f4c70cbf0877f29a73f67d3da2b99
4
+ data.tar.gz: 1929a6c3c2fb001f6b2fc0739d866c9a68dd077966008d8ded52dce19ad81008
5
5
  SHA512:
6
- metadata.gz: 8a67d34ec75d30a8fcad663684bb9fb3702a990ebb7b79837fd3bba384249e35974fad7304c85763ca0789e11147c76ce6251fe9b7cff05e710b6715a1b0cff8
7
- data.tar.gz: 2125a7e4725d3d7c710d933da8868af3848f68c64721464e83186deb4c7d23be7c907610d54f01dbaa1b8af66d8f0a5415b4185874dd0aab6b71424c95af2259
6
+ metadata.gz: f555f2fb858d5dd3d01d3c789ddb955961c716a627b8414a18b1338293833cb101cc8f54d47cf1254e9223f7c138cf2799710d564a9273be6e268a430536d2e0
7
+ data.tar.gz: 8ef7d31d7076670ce4579eed1cf9a17250a5ca1c9819ad3d1e301316957380620ac2e2b98953f3767c448051fa6320ce01ddeddcc185bac21b0eb4ea4e34d1d7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-eventarc_v1
2
2
 
3
+ ### v0.73.0 (2025-12-21)
4
+
5
+ * Regenerated from discovery document revision 20251219
6
+
7
+ ### v0.72.0 (2025-12-07)
8
+
9
+ * Regenerated from discovery document revision 20251202
10
+
3
11
  ### v0.71.0 (2025-11-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20251024
@@ -1448,8 +1448,9 @@ module Google
1448
1448
  attr_accessor :operations
1449
1449
 
1450
1450
  # Unordered list. Unreachable resources. Populated when the request sets `
1451
- # ListOperationsRequest.return_partial_success` and reads across collections e.g.
1452
- # when attempting to list all resources across all supported locations.
1451
+ # ListOperationsRequest.return_partial_success` and reads across collections.
1452
+ # For example, when attempting to list all resources across all supported
1453
+ # locations.
1453
1454
  # Corresponds to the JSON property `unreachable`
1454
1455
  # @return [Array<String>]
1455
1456
  attr_accessor :unreachable
@@ -2464,6 +2465,27 @@ module Google
2464
2465
  end
2465
2466
  end
2466
2467
 
2468
+ # The retry policy configuration for the Trigger. Can only be set with Cloud Run
2469
+ # destinations.
2470
+ class RetryPolicy
2471
+ include Google::Apis::Core::Hashable
2472
+
2473
+ # Optional. The maximum number of delivery attempts for any message. The only
2474
+ # valid value is 1.
2475
+ # Corresponds to the JSON property `maxAttempts`
2476
+ # @return [Fixnum]
2477
+ attr_accessor :max_attempts
2478
+
2479
+ def initialize(**args)
2480
+ update!(**args)
2481
+ end
2482
+
2483
+ # Update properties of this object
2484
+ def update!(**args)
2485
+ @max_attempts = args[:max_attempts] if args.key?(:max_attempts)
2486
+ end
2487
+ end
2488
+
2467
2489
  # Request message for `SetIamPolicy` method.
2468
2490
  class SetIamPolicyRequest
2469
2491
  include Google::Apis::Core::Hashable
@@ -2661,6 +2683,12 @@ module Google
2661
2683
  # @return [String]
2662
2684
  attr_accessor :name
2663
2685
 
2686
+ # The retry policy configuration for the Trigger. Can only be set with Cloud Run
2687
+ # destinations.
2688
+ # Corresponds to the JSON property `retryPolicy`
2689
+ # @return [Google::Apis::EventarcV1::RetryPolicy]
2690
+ attr_accessor :retry_policy
2691
+
2664
2692
  # Output only. Whether or not this Trigger satisfies the requirements of
2665
2693
  # physical zone separation
2666
2694
  # Corresponds to the JSON property `satisfiesPzs`
@@ -2710,6 +2738,7 @@ module Google
2710
2738
  @event_filters = args[:event_filters] if args.key?(:event_filters)
2711
2739
  @labels = args[:labels] if args.key?(:labels)
2712
2740
  @name = args[:name] if args.key?(:name)
2741
+ @retry_policy = args[:retry_policy] if args.key?(:retry_policy)
2713
2742
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
2714
2743
  @service_account = args[:service_account] if args.key?(:service_account)
2715
2744
  @transport = args[:transport] if args.key?(:transport)
@@ -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.71.0"
19
+ GEM_VERSION = "0.73.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251024"
25
+ REVISION = "20251219"
26
26
  end
27
27
  end
28
28
  end
@@ -352,6 +352,12 @@ module Google
352
352
  include Google::Apis::Core::JsonObjectSupport
353
353
  end
354
354
 
355
+ class RetryPolicy
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
355
361
  class SetIamPolicyRequest
356
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
363
 
@@ -957,6 +963,13 @@ module Google
957
963
  end
958
964
  end
959
965
 
966
+ class RetryPolicy
967
+ # @private
968
+ class Representation < Google::Apis::Core::JsonRepresentation
969
+ property :max_attempts, as: 'maxAttempts'
970
+ end
971
+ end
972
+
960
973
  class SetIamPolicyRequest
961
974
  # @private
962
975
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1011,6 +1024,8 @@ module Google
1011
1024
 
1012
1025
  hash :labels, as: 'labels'
1013
1026
  property :name, as: 'name'
1027
+ property :retry_policy, as: 'retryPolicy', class: Google::Apis::EventarcV1::RetryPolicy, decorator: Google::Apis::EventarcV1::RetryPolicy::Representation
1028
+
1014
1029
  property :satisfies_pzs, as: 'satisfiesPzs'
1015
1030
  property :service_account, as: 'serviceAccount'
1016
1031
  property :transport, as: 'transport', class: Google::Apis::EventarcV1::Transport, decorator: Google::Apis::EventarcV1::Transport::Representation
@@ -1432,127 +1432,6 @@ module Google
1432
1432
  execute_or_queue_command(command, &block)
1433
1433
  end
1434
1434
 
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
-
1556
1435
  # Create a new MessageBus in a particular project and location.
1557
1436
  # @param [String] parent
1558
1437
  # Required. The parent collection in which to add this message bus.
@@ -2038,11 +1917,12 @@ module Google
2038
1917
  # The standard list page token.
2039
1918
  # @param [Boolean] return_partial_success
2040
1919
  # When set to `true`, operations that are reachable are returned as normal, and
2041
- # those that are unreachable are returned in the [ListOperationsResponse.
2042
- # unreachable] field. This can only be `true` when reading across collections e.
2043
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
2044
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
2045
- # explicitly documented otherwise in service or product specific documentation.
1920
+ # those that are unreachable are returned in the ListOperationsResponse.
1921
+ # unreachable field. This can only be `true` when reading across collections.
1922
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
1923
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
1924
+ # if set unless explicitly documented otherwise in service or product specific
1925
+ # documentation.
2046
1926
  # @param [String] fields
2047
1927
  # Selector specifying which fields to include in a partial response.
2048
1928
  # @param [String] quota_user
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-eventarc_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.71.0
4
+ version: 0.73.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-eventarc_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-eventarc_v1/v0.71.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-eventarc_v1/v0.73.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-eventarc_v1
62
62
  rdoc_options: []
63
63
  require_paths: