google-apis-run_v2 0.86.0 → 0.88.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: 45aac966c1ae155089b71f2f5e68dcbeac4551fe939ac37ea53a85689d7d084c
4
- data.tar.gz: 30f7b70c85e5958646ca2f4b332973e0b06e05d7b5c9c14687c97c1694efe934
3
+ metadata.gz: bf4588d032694ade837103b33479bcae645387cc70ec313043f8da998bd1bc28
4
+ data.tar.gz: 5b3dc645bdf406594522a602ce07a3b1afaa937b720ce80a62a2ccc5fd4447fb
5
5
  SHA512:
6
- metadata.gz: de5c240e22e5997a97549d7257ee090b5100672f6e355eb96d9265b2222efea79495f7df027027a248756f29a730926bd77b7bce79910eb134f9017e8d6d1d0d
7
- data.tar.gz: d275948ff9b4e63b64a628451181b1324f2c296a44b924e0c3a46f108f0e1a7f771f4ae9a39a093149c72419fb5ac88de73016695c9c4a75d01a161076d692ed
6
+ metadata.gz: 1ecfb0cec7f4796596693a9739eb6be09bf70a6e50a8e72315e296c524d8be076ea5a3ce4476f0eba21e189dc3337a465f6690eb6425fb95477d69cf7736ae37
7
+ data.tar.gz: b5196354c1c0cd979363b52b8b55127383ad217d3193464fdb8ec77b8b04e4184752aef26734ccc19ff0f47600ed7faed8e0ee1f3476b0c752b2f3dfba728227
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
+ ### v0.88.0 (2025-05-18)
4
+
5
+ * Regenerated from discovery document revision 20250509
6
+
7
+ ### v0.87.0 (2025-05-11)
8
+
9
+ * Regenerated from discovery document revision 20250504
10
+ * Regenerated using generator version 0.17.0
11
+
3
12
  ### v0.86.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
 
@@ -3962,23 +3962,6 @@ module Google
3962
3962
  # @return [Fixnum]
3963
3963
  attr_accessor :manual_instance_count
3964
3964
 
3965
- # Optional. The maximum count of instances distributed among revisions based on
3966
- # the specified instance split percentages.
3967
- # Corresponds to the JSON property `maxInstanceCount`
3968
- # @return [Fixnum]
3969
- attr_accessor :max_instance_count
3970
-
3971
- # Optional. The minimum count of instances distributed among revisions based on
3972
- # the specified instance split percentages.
3973
- # Corresponds to the JSON property `minInstanceCount`
3974
- # @return [Fixnum]
3975
- attr_accessor :min_instance_count
3976
-
3977
- # Optional. The scaling mode for the worker pool.
3978
- # Corresponds to the JSON property `scalingMode`
3979
- # @return [String]
3980
- attr_accessor :scaling_mode
3981
-
3982
3965
  def initialize(**args)
3983
3966
  update!(**args)
3984
3967
  end
@@ -3986,9 +3969,6 @@ module Google
3986
3969
  # Update properties of this object
3987
3970
  def update!(**args)
3988
3971
  @manual_instance_count = args[:manual_instance_count] if args.key?(:manual_instance_count)
3989
- @max_instance_count = args[:max_instance_count] if args.key?(:max_instance_count)
3990
- @min_instance_count = args[:min_instance_count] if args.key?(:min_instance_count)
3991
- @scaling_mode = args[:scaling_mode] if args.key?(:scaling_mode)
3992
3972
  end
3993
3973
  end
3994
3974
 
@@ -5227,10 +5207,10 @@ module Google
5227
5207
  # @return [String]
5228
5208
  attr_accessor :group_id
5229
5209
 
5230
- # Path to an artifact in the build's workspace to be uploaded to Artifact
5231
- # Registry. This can be either an absolute path, e.g. /workspace/my-app/target/
5232
- # my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/
5233
- # my-app-1.0.SNAPSHOT.jar.
5210
+ # Optional. Path to an artifact in the build's workspace to be uploaded to
5211
+ # Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/
5212
+ # target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/
5213
+ # target/my-app-1.0.SNAPSHOT.jar.
5234
5214
  # Corresponds to the JSON property `path`
5235
5215
  # @return [String]
5236
5216
  attr_accessor :path
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RunV2
18
18
  # Version of the google-apis-run_v2 gem
19
- GEM_VERSION = "0.86.0"
19
+ GEM_VERSION = "0.88.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
@@ -1669,9 +1669,6 @@ module Google
1669
1669
  # @private
1670
1670
  class Representation < Google::Apis::Core::JsonRepresentation
1671
1671
  property :manual_instance_count, as: 'manualInstanceCount'
1672
- property :max_instance_count, as: 'maxInstanceCount'
1673
- property :min_instance_count, as: 'minInstanceCount'
1674
- property :scaling_mode, as: 'scalingMode'
1675
1672
  end
1676
1673
  end
1677
1674
 
@@ -1572,6 +1572,51 @@ module Google
1572
1572
  execute_or_queue_command(command, &block)
1573
1573
  end
1574
1574
 
1575
+ # Gets the IAM Access Control policy currently in effect for the given Cloud Run
1576
+ # WorkerPool. This result does not include any inherited policies.
1577
+ # @param [String] resource
1578
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
1579
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1580
+ # appropriate value for this field.
1581
+ # @param [Fixnum] options_requested_policy_version
1582
+ # Optional. The maximum policy version that will be used to format the policy.
1583
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1584
+ # rejected. Requests for policies with any conditional role bindings must
1585
+ # specify version 3. Policies with no conditional role bindings may specify any
1586
+ # valid value or leave the field unset. The policy in the response might use the
1587
+ # policy version that you specified, or it might use a lower policy version. For
1588
+ # example, if you specify version 3, but the policy has no conditional role
1589
+ # bindings, the response uses version 1. To learn which resources support
1590
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1591
+ # google.com/iam/help/conditions/resource-policies).
1592
+ # @param [String] fields
1593
+ # Selector specifying which fields to include in a partial response.
1594
+ # @param [String] quota_user
1595
+ # Available to use for quota purposes for server-side applications. Can be any
1596
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1597
+ # @param [Google::Apis::RequestOptions] options
1598
+ # Request-specific options
1599
+ #
1600
+ # @yield [result, err] Result & error if block supplied
1601
+ # @yieldparam result [Google::Apis::RunV2::GoogleIamV1Policy] parsed result object
1602
+ # @yieldparam err [StandardError] error object if request failed
1603
+ #
1604
+ # @return [Google::Apis::RunV2::GoogleIamV1Policy]
1605
+ #
1606
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1607
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1608
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1609
+ def get_project_location_worker_pool_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
1610
+ command = make_simple_command(:get, 'v2/{+resource}:getIamPolicy', options)
1611
+ command.response_representation = Google::Apis::RunV2::GoogleIamV1Policy::Representation
1612
+ command.response_class = Google::Apis::RunV2::GoogleIamV1Policy
1613
+ command.params['resource'] = resource unless resource.nil?
1614
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
1615
+ command.query['fields'] = fields unless fields.nil?
1616
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1617
+ execute_or_queue_command(command, &block)
1618
+ end
1619
+
1575
1620
  # Lists WorkerPools. Results are sorted by creation time, descending.
1576
1621
  # @param [String] parent
1577
1622
  # Required. The location and project to list resources on. Location must be a
@@ -1670,6 +1715,42 @@ module Google
1670
1715
  execute_or_queue_command(command, &block)
1671
1716
  end
1672
1717
 
1718
+ # Sets the IAM Access control policy for the specified WorkerPool. Overwrites
1719
+ # any existing policy.
1720
+ # @param [String] resource
1721
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
1722
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1723
+ # appropriate value for this field.
1724
+ # @param [Google::Apis::RunV2::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
1725
+ # @param [String] fields
1726
+ # Selector specifying which fields to include in a partial response.
1727
+ # @param [String] quota_user
1728
+ # Available to use for quota purposes for server-side applications. Can be any
1729
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1730
+ # @param [Google::Apis::RequestOptions] options
1731
+ # Request-specific options
1732
+ #
1733
+ # @yield [result, err] Result & error if block supplied
1734
+ # @yieldparam result [Google::Apis::RunV2::GoogleIamV1Policy] parsed result object
1735
+ # @yieldparam err [StandardError] error object if request failed
1736
+ #
1737
+ # @return [Google::Apis::RunV2::GoogleIamV1Policy]
1738
+ #
1739
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1740
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1741
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1742
+ def set_project_location_worker_pool_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1743
+ command = make_simple_command(:post, 'v2/{+resource}:setIamPolicy', options)
1744
+ command.request_representation = Google::Apis::RunV2::GoogleIamV1SetIamPolicyRequest::Representation
1745
+ command.request_object = google_iam_v1_set_iam_policy_request_object
1746
+ command.response_representation = Google::Apis::RunV2::GoogleIamV1Policy::Representation
1747
+ command.response_class = Google::Apis::RunV2::GoogleIamV1Policy
1748
+ command.params['resource'] = resource unless resource.nil?
1749
+ command.query['fields'] = fields unless fields.nil?
1750
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1751
+ execute_or_queue_command(command, &block)
1752
+ end
1753
+
1673
1754
  # Returns permissions that a caller has on the specified Project. There are no
1674
1755
  # permissions required for making this API call.
1675
1756
  # @param [String] resource
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-run_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.86.0
4
+ version: 0.88.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_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.86.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.88.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2
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 V2
79
79
  test_files: []