google-apis-run_v1 0.83.0 → 0.84.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: fd36f9acfced19d05f0fa1b1c4296c60fd1a3e43289d90766f6535221350d309
4
- data.tar.gz: 87de49c7c9b3a65ca0656ad4edbcccbd0054cc7c85cc66c7f2eab143a40b6119
3
+ metadata.gz: '093a4f1978d1bdaa309fd1ff6f07e78f72616f760b4a868998384d11b6d97d79'
4
+ data.tar.gz: 1a35036183bc085804a4070b40fb332791895070386d23e770cb58dc79b6f931
5
5
  SHA512:
6
- metadata.gz: 101bb53c819f957c414f142fac90d43909a7a562bc7530a98a54355dd8ddb6f715e1ef6504ad0d2c309098119854407cd9f1b027b53d4dc2de1af0afc50b3e2c
7
- data.tar.gz: ab12fd72c4c2938fd9a07094dc9f0ca49616729bb822eb6217246b21d9ac9d27d8f010eea81246f171f1b5d1f8335b028cf251ff1659fd5959f0bf96d39afcfc
6
+ metadata.gz: 8d9902f841694f09cd950bf6bd3a7fc0fa858c2cf34dd84afb486b2330809790d94ed8c708eb41d9274e2ac5a8172f7edf6de9fa3af51b3b478424a1d564f5fc
7
+ data.tar.gz: 5ca684dc88c5b79718cced25dd7fbd376b2921084758e699131cead7b3b675dd1d60830dc3055ab846fe0a6a4ba345d1d2fe360de43bb403b524ee6231301e93
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-run_v1
2
2
 
3
+ ### v0.84.0 (2025-05-18)
4
+
5
+ * Regenerated from discovery document revision 20250509
6
+
3
7
  ### v0.83.0 (2025-05-11)
4
8
 
5
9
  * Regenerated from discovery document revision 20250425
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RunV1
18
18
  # Version of the google-apis-run_v1 gem
19
- GEM_VERSION = "0.83.0"
19
+ GEM_VERSION = "0.84.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250425"
25
+ REVISION = "20250509"
26
26
  end
27
27
  end
28
28
  end
@@ -2714,6 +2714,123 @@ module Google
2714
2714
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2715
2715
  execute_or_queue_command(command, &block)
2716
2716
  end
2717
+
2718
+ # Get the IAM Access Control policy currently in effect for the given worker
2719
+ # pool. This result does not include any inherited policies.
2720
+ # @param [String] resource
2721
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
2722
+ # names](https://cloud.google.com/apis/design/resource_names) for the
2723
+ # appropriate value for this field.
2724
+ # @param [Fixnum] options_requested_policy_version
2725
+ # Optional. The maximum policy version that will be used to format the policy.
2726
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
2727
+ # rejected. Requests for policies with any conditional role bindings must
2728
+ # specify version 3. Policies with no conditional role bindings may specify any
2729
+ # valid value or leave the field unset. The policy in the response might use the
2730
+ # policy version that you specified, or it might use a lower policy version. For
2731
+ # example, if you specify version 3, but the policy has no conditional role
2732
+ # bindings, the response uses version 1. To learn which resources support
2733
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2734
+ # google.com/iam/help/conditions/resource-policies).
2735
+ # @param [String] fields
2736
+ # Selector specifying which fields to include in a partial response.
2737
+ # @param [String] quota_user
2738
+ # Available to use for quota purposes for server-side applications. Can be any
2739
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2740
+ # @param [Google::Apis::RequestOptions] options
2741
+ # Request-specific options
2742
+ #
2743
+ # @yield [result, err] Result & error if block supplied
2744
+ # @yieldparam result [Google::Apis::RunV1::Policy] parsed result object
2745
+ # @yieldparam err [StandardError] error object if request failed
2746
+ #
2747
+ # @return [Google::Apis::RunV1::Policy]
2748
+ #
2749
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2750
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2751
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2752
+ def get_project_location_workerpool_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
2753
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
2754
+ command.response_representation = Google::Apis::RunV1::Policy::Representation
2755
+ command.response_class = Google::Apis::RunV1::Policy
2756
+ command.params['resource'] = resource unless resource.nil?
2757
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
2758
+ command.query['fields'] = fields unless fields.nil?
2759
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2760
+ execute_or_queue_command(command, &block)
2761
+ end
2762
+
2763
+ # Sets the IAM Access control policy for the specified worker pool. Overwrites
2764
+ # any existing policy.
2765
+ # @param [String] resource
2766
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
2767
+ # names](https://cloud.google.com/apis/design/resource_names) for the
2768
+ # appropriate value for this field.
2769
+ # @param [Google::Apis::RunV1::SetIamPolicyRequest] set_iam_policy_request_object
2770
+ # @param [String] fields
2771
+ # Selector specifying which fields to include in a partial response.
2772
+ # @param [String] quota_user
2773
+ # Available to use for quota purposes for server-side applications. Can be any
2774
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2775
+ # @param [Google::Apis::RequestOptions] options
2776
+ # Request-specific options
2777
+ #
2778
+ # @yield [result, err] Result & error if block supplied
2779
+ # @yieldparam result [Google::Apis::RunV1::Policy] parsed result object
2780
+ # @yieldparam err [StandardError] error object if request failed
2781
+ #
2782
+ # @return [Google::Apis::RunV1::Policy]
2783
+ #
2784
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2785
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2786
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2787
+ def set_workerpool_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2788
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
2789
+ command.request_representation = Google::Apis::RunV1::SetIamPolicyRequest::Representation
2790
+ command.request_object = set_iam_policy_request_object
2791
+ command.response_representation = Google::Apis::RunV1::Policy::Representation
2792
+ command.response_class = Google::Apis::RunV1::Policy
2793
+ command.params['resource'] = resource unless resource.nil?
2794
+ command.query['fields'] = fields unless fields.nil?
2795
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2796
+ execute_or_queue_command(command, &block)
2797
+ end
2798
+
2799
+ # Returns permissions that a caller has on the specified worker pool. There are
2800
+ # no permissions required for making this API call.
2801
+ # @param [String] resource
2802
+ # REQUIRED: The resource for which the policy detail is being requested. See [
2803
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
2804
+ # appropriate value for this field.
2805
+ # @param [Google::Apis::RunV1::TestIamPermissionsRequest] test_iam_permissions_request_object
2806
+ # @param [String] fields
2807
+ # Selector specifying which fields to include in a partial response.
2808
+ # @param [String] quota_user
2809
+ # Available to use for quota purposes for server-side applications. Can be any
2810
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2811
+ # @param [Google::Apis::RequestOptions] options
2812
+ # Request-specific options
2813
+ #
2814
+ # @yield [result, err] Result & error if block supplied
2815
+ # @yieldparam result [Google::Apis::RunV1::TestIamPermissionsResponse] parsed result object
2816
+ # @yieldparam err [StandardError] error object if request failed
2817
+ #
2818
+ # @return [Google::Apis::RunV1::TestIamPermissionsResponse]
2819
+ #
2820
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2821
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2822
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2823
+ def test_workerpool_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2824
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
2825
+ command.request_representation = Google::Apis::RunV1::TestIamPermissionsRequest::Representation
2826
+ command.request_object = test_iam_permissions_request_object
2827
+ command.response_representation = Google::Apis::RunV1::TestIamPermissionsResponse::Representation
2828
+ command.response_class = Google::Apis::RunV1::TestIamPermissionsResponse
2829
+ command.params['resource'] = resource unless resource.nil?
2830
+ command.query['fields'] = fields unless fields.nil?
2831
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2832
+ execute_or_queue_command(command, &block)
2833
+ end
2717
2834
 
2718
2835
  protected
2719
2836
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-run_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.83.0
4
+ version: 0.84.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-run_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.83.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.84.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v1
62
62
  rdoc_options: []
63
63
  require_paths: