google-apis-run_v1 0.82.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: 132ec57d7b4f0aaec2f5745bcb3f854f7b4eabf23351e1a48d49cd5f613fc1ea
4
- data.tar.gz: 10c5c09d08a9d704082e0504524539c8d72a6bbc9a89febb7c4360befb1cb3a4
3
+ metadata.gz: '093a4f1978d1bdaa309fd1ff6f07e78f72616f760b4a868998384d11b6d97d79'
4
+ data.tar.gz: 1a35036183bc085804a4070b40fb332791895070386d23e770cb58dc79b6f931
5
5
  SHA512:
6
- metadata.gz: 261d5d24c50651a2c7a67c3d8be63fa3ea985d8d22015fc20b8df0a894a7df4237aa0f8b1edb1ba397d2897571c6bc52948b41b757de28cc838462a94ed7a4fa
7
- data.tar.gz: 011b565afd58c93ad5e759005971e3de537ea5258e306e2b0aca755fd96df05c3cbff6c37363b83cbfeb7587e60e388cedc09b1956d6559a13e611fda46d6129
6
+ metadata.gz: 8d9902f841694f09cd950bf6bd3a7fc0fa858c2cf34dd84afb486b2330809790d94ed8c708eb41d9274e2ac5a8172f7edf6de9fa3af51b3b478424a1d564f5fc
7
+ data.tar.gz: 5ca684dc88c5b79718cced25dd7fbd376b2921084758e699131cead7b3b675dd1d60830dc3055ab846fe0a6a4ba345d1d2fe360de43bb403b524ee6231301e93
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
7
+ ### v0.83.0 (2025-05-11)
8
+
9
+ * Regenerated from discovery document revision 20250425
10
+ * Regenerated using generator version 0.17.0
11
+
3
12
  ### v0.82.0 (2025-04-20)
4
13
 
5
14
  * Regenerated from discovery document revision 20250411
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/run/) may provide guidance
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -2679,10 +2679,10 @@ module Google
2679
2679
  # @return [String]
2680
2680
  attr_accessor :group_id
2681
2681
 
2682
- # Path to an artifact in the build's workspace to be uploaded to Artifact
2683
- # Registry. This can be either an absolute path, e.g. /workspace/my-app/target/
2684
- # my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/
2685
- # my-app-1.0.SNAPSHOT.jar.
2682
+ # Optional. Path to an artifact in the build's workspace to be uploaded to
2683
+ # Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/
2684
+ # target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/
2685
+ # target/my-app-1.0.SNAPSHOT.jar.
2686
2686
  # Corresponds to the JSON property `path`
2687
2687
  # @return [String]
2688
2688
  attr_accessor :path
@@ -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.82.0"
19
+ GEM_VERSION = "0.84.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.16.0"
22
+ GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250411"
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,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-run_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.82.0
4
+ version: 0.84.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-20 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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.82.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:
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.7'
69
+ version: '3.1'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.5
76
+ rubygems_version: 3.6.8
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Cloud Run Admin API V1
79
79
  test_files: []