google-apis-run_v2 0.86.0 → 0.87.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/run_v2/classes.rb +4 -4
- data/lib/google/apis/run_v2/gem_version.rb +3 -3
- data/lib/google/apis/run_v2/service.rb +81 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8344c04a889a20416a54bcff79190ef5f3e4499de44c69e334eeb400791b03c9
|
4
|
+
data.tar.gz: ff2248f808769fece0eec4d0fb71c85b7a3895b01f5fde662f92a6ce02b3cb4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 410b030e8bc783482ef384ac8f28902b866964ada718f19e928f7c80a2b6b7be398fd514baae053ba7e1e9d30d2f122bc7db0b05b0be4c5413211461ca71d4ae
|
7
|
+
data.tar.gz: 799c7f4add32865a22ee7f11870246f9ff6d05afb6c0a5025dc20f6f87f215f41df2bccfcbd4ba4f5101d88c5cc439304d88984a4ce0a602e32152d9962e8620
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-run_v2
|
2
2
|
|
3
|
+
### v0.87.0 (2025-05-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250504
|
6
|
+
* Regenerated using generator version 0.17.0
|
7
|
+
|
3
8
|
### v0.86.0 (2025-04-20)
|
4
9
|
|
5
10
|
* 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
|
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
|
|
@@ -5227,10 +5227,10 @@ module Google
|
|
5227
5227
|
# @return [String]
|
5228
5228
|
attr_accessor :group_id
|
5229
5229
|
|
5230
|
-
# Path to an artifact in the build's workspace to be uploaded to
|
5231
|
-
# Registry. This can be either an absolute path, e.g. /workspace/my-app/
|
5232
|
-
# my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/
|
5233
|
-
# my-app-1.0.SNAPSHOT.jar.
|
5230
|
+
# Optional. Path to an artifact in the build's workspace to be uploaded to
|
5231
|
+
# Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/
|
5232
|
+
# target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/
|
5233
|
+
# target/my-app-1.0.SNAPSHOT.jar.
|
5234
5234
|
# Corresponds to the JSON property `path`
|
5235
5235
|
# @return [String]
|
5236
5236
|
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.
|
19
|
+
GEM_VERSION = "0.87.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.17.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250504"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -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.
|
4
|
+
version: 0.87.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.87.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: '
|
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.
|
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: []
|