Skip to content

Commit df4e861

Browse files
feat: Automated regeneration of run v2 client (googleapis#22143)
Auto-created at 2025-03-16 10:56:54 +0000 using the toys pull request generator.
1 parent cccf70c commit df4e861

File tree

4 files changed

+12
-91
lines changed

4 files changed

+12
-91
lines changed

generated/google-apis-run_v2/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-run_v2
22

3+
### v0.84.0 (2025-03-16)
4+
5+
* Regenerated from discovery document revision 20250309
6+
37
### v0.83.0 (2025-03-02)
48

59
* Regenerated from discovery document revision 20250223

generated/google-apis-run_v2/lib/google/apis/run_v2/classes.rb

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6553,10 +6553,8 @@ def update!(**args)
65536553
class UtilStatusProto
65546554
include Google::Apis::Core::Hashable
65556555

6556-
# The canonical error code (see codes.proto) that most closely corresponds to
6557-
# this status. This may be missing, and in the common case of the generic space,
6558-
# it definitely will be. copybara:strip_begin(b/383363683) copybara:
6559-
# strip_end_and_replace optional int32 canonical_code = 6;
6556+
# copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional
6557+
# int32 canonical_code = 6;
65606558
# Corresponds to the JSON property `canonicalCode`
65616559
# @return [Fixnum]
65626560
attr_accessor :canonical_code
@@ -6580,9 +6578,9 @@ class UtilStatusProto
65806578
# @return [Google::Apis::RunV2::Proto2BridgeMessageSet]
65816579
attr_accessor :message_set
65826580

6583-
# The following are usually only present when code != 0 Space to which this
6584-
# status belongs copybara:strip_begin(b/383363683) copybara:
6585-
# strip_end_and_replace optional string space = 2;
6581+
# copybara:strip_begin(b/383363683) Space to which this status belongs copybara:
6582+
# strip_end_and_replace optional string space = 2; // Space to which this status
6583+
# belongs
65866584
# Corresponds to the JSON property `space`
65876585
# @return [String]
65886586
attr_accessor :space

generated/google-apis-run_v2/lib/google/apis/run_v2/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module RunV2
1818
# Version of the google-apis-run_v2 gem
19-
GEM_VERSION = "0.83.0"
19+
GEM_VERSION = "0.84.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250223"
25+
REVISION = "20250309"
2626
end
2727
end
2828
end

generated/google-apis-run_v2/lib/google/apis/run_v2/service.rb

Lines changed: 1 addition & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def export_project_location_image_metadata(name, fields: nil, quota_user: nil, o
130130
# service`` for Service `projects/`project_id_or_number`/locations/`location`/
131131
# services/`service`/revisions/`revision`` for Revision `projects/`
132132
# project_id_or_number`/locations/`location`/jobs/`job`/executions/`execution``
133-
# for Execution
133+
# for Execution `project_id_or_number` may contains domain-scoped project IDs
134134
# @param [String] fields
135135
# Selector specifying which fields to include in a partial response.
136136
# @param [String] quota_user
@@ -1572,51 +1572,6 @@ def get_project_location_worker_pool(name, fields: nil, quota_user: nil, options
15721572
execute_or_queue_command(command, &block)
15731573
end
15741574

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-
16201575
# Lists WorkerPools. Results are sorted by creation time, descending.
16211576
# @param [String] parent
16221577
# Required. The location and project to list resources on. Location must be a
@@ -1715,42 +1670,6 @@ def patch_project_location_worker_pool(name, google_cloud_run_v2_worker_pool_obj
17151670
execute_or_queue_command(command, &block)
17161671
end
17171672

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-
17541673
# Returns permissions that a caller has on the specified Project. There are no
17551674
# permissions required for making this API call.
17561675
# @param [String] resource

0 commit comments

Comments
 (0)