google-apis-run_v1 0.83.0 → 0.85.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: 9f82e5f25e231bbccad167837b40b045138ea97b9902870e310b6d0e5a311d0b
4
+ data.tar.gz: 5f04376fb409debe50acb6638eb11a482b7e9b1f9e2ac2a8e4ba2c1c9581ff97
5
5
  SHA512:
6
- metadata.gz: 101bb53c819f957c414f142fac90d43909a7a562bc7530a98a54355dd8ddb6f715e1ef6504ad0d2c309098119854407cd9f1b027b53d4dc2de1af0afc50b3e2c
7
- data.tar.gz: ab12fd72c4c2938fd9a07094dc9f0ca49616729bb822eb6217246b21d9ac9d27d8f010eea81246f171f1b5d1f8335b028cf251ff1659fd5959f0bf96d39afcfc
6
+ metadata.gz: 813a91b4f3f65d22d723489736b5ac616de847780c0e0714147c709bc17eee8bd385b6ea0732eb184e9295e4c32b3434e72ccdc279c10b0fbca6434ca4e3f9e3
7
+ data.tar.gz: c93562c8d53187542b5ec66938d05bd67fd1393e8b3159426c81935cfd8b1791e895485e97c34e7af9ef4a299150eab1cf5c966a74c77765c2c9cd837dd0087a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-run_v1
2
2
 
3
+ ### v0.85.0 (2025-06-15)
4
+
5
+ * Regenerated from discovery document revision 20250606
6
+ * Regenerated using generator version 0.18.0
7
+
8
+ ### v0.84.0 (2025-05-18)
9
+
10
+ * Regenerated from discovery document revision 20250509
11
+
3
12
  ### v0.83.0 (2025-05-11)
4
13
 
5
14
  * Regenerated from discovery document revision 20250425
@@ -2505,9 +2505,8 @@ module Google
2505
2505
  class GoogleDevtoolsCloudbuildV1GitSourceRepository
2506
2506
  include Google::Apis::Core::Hashable
2507
2507
 
2508
- # The Developer Connect Git repository link or the url that matches a repository
2509
- # link in the current project, formatted as `projects/*/locations/*/connections/*
2510
- # /gitRepositoryLink/*`
2508
+ # The Developer Connect Git repository link formatted as `projects/*/locations/*/
2509
+ # connections/*/gitRepositoryLink/*`
2511
2510
  # Corresponds to the JSON property `developerConnect`
2512
2511
  # @return [String]
2513
2512
  attr_accessor :developer_connect
@@ -5864,7 +5863,8 @@ module Google
5864
5863
 
5865
5864
  # Optional. The exit code of this attempt. This may be unset if the container
5866
5865
  # was unable to exit cleanly with a code due to some other failure. See status
5867
- # field for possible failure details.
5866
+ # field for possible failure details. At most one of exit_code or term_signal
5867
+ # will be set.
5868
5868
  # Corresponds to the JSON property `exitCode`
5869
5869
  # @return [Fixnum]
5870
5870
  attr_accessor :exit_code
@@ -5879,6 +5879,13 @@ module Google
5879
5879
  # @return [Google::Apis::RunV1::GoogleRpcStatus]
5880
5880
  attr_accessor :status
5881
5881
 
5882
+ # Optional. Termination signal of the container. This is set to non-zero if the
5883
+ # container is terminated by the system. At most one of exit_code or term_signal
5884
+ # will be set.
5885
+ # Corresponds to the JSON property `termSignal`
5886
+ # @return [Fixnum]
5887
+ attr_accessor :term_signal
5888
+
5882
5889
  def initialize(**args)
5883
5890
  update!(**args)
5884
5891
  end
@@ -5887,6 +5894,7 @@ module Google
5887
5894
  def update!(**args)
5888
5895
  @exit_code = args[:exit_code] if args.key?(:exit_code)
5889
5896
  @status = args[:status] if args.key?(:status)
5897
+ @term_signal = args[:term_signal] if args.key?(:term_signal)
5890
5898
  end
5891
5899
  end
5892
5900
 
@@ -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.85.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250425"
25
+ REVISION = "20250606"
26
26
  end
27
27
  end
28
28
  end
@@ -2364,6 +2364,7 @@ module Google
2364
2364
  property :exit_code, as: 'exitCode'
2365
2365
  property :status, as: 'status', class: Google::Apis::RunV1::GoogleRpcStatus, decorator: Google::Apis::RunV1::GoogleRpcStatus::Representation
2366
2366
 
2367
+ property :term_signal, as: 'termSignal'
2367
2368
  end
2368
2369
  end
2369
2370
 
@@ -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.85.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.85.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:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Cloud Run Admin API V1
79
79
  test_files: []