Skip to content

Commit 4af501d

Browse files
feat: Automated regeneration of apigateway v1beta client (googleapis#24634)
Auto-created at 2025-10-12 10:54:03 +0000 using the toys pull request generator.
1 parent a90fb0f commit 4af501d

File tree

6 files changed

+27
-3
lines changed

6 files changed

+27
-3
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37317,6 +37317,8 @@
3731737317
"/apigateway:v1beta/ApigatewayListOperationsResponse/nextPageToken": next_page_token
3731837318
"/apigateway:v1beta/ApigatewayListOperationsResponse/operations": operations
3731937319
"/apigateway:v1beta/ApigatewayListOperationsResponse/operations/operation": operation
37320+
"/apigateway:v1beta/ApigatewayListOperationsResponse/unreachable": unreachable
37321+
"/apigateway:v1beta/ApigatewayListOperationsResponse/unreachable/unreachable": unreachable
3732037322
"/apigateway:v1beta/ApigatewayLocation": apigateway_location
3732137323
"/apigateway:v1beta/ApigatewayLocation/displayName": display_name
3732237324
"/apigateway:v1beta/ApigatewayLocation/labels": labels
@@ -37458,6 +37460,7 @@
3745837460
"/apigateway:v1beta/apigateway.projects.locations.operations.list/name": name
3745937461
"/apigateway:v1beta/apigateway.projects.locations.operations.list/pageSize": page_size
3746037462
"/apigateway:v1beta/apigateway.projects.locations.operations.list/pageToken": page_token
37463+
"/apigateway:v1beta/apigateway.projects.locations.operations.list/returnPartialSuccess": return_partial_success
3746137464
"/apigateway:v1beta/fields": fields
3746237465
"/apigateway:v1beta/key": key
3746337466
"/apigateway:v1beta/quotaUser": quota_user

generated/google-apis-apigateway_v1beta/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-apigateway_v1beta
22

3+
### v0.37.0 (2025-10-12)
4+
5+
* Regenerated from discovery document revision 20251001
6+
37
### v0.36.0 (2025-09-21)
48

59
* Regenerated from discovery document revision 20250910

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,13 @@ class ApigatewayListOperationsResponse
746746
# @return [Array<Google::Apis::ApigatewayV1beta::ApigatewayOperation>]
747747
attr_accessor :operations
748748

749+
# Unordered list. Unreachable resources. Populated when the request sets `
750+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
751+
# when attempting to list all resources across all supported locations.
752+
# Corresponds to the JSON property `unreachable`
753+
# @return [Array<String>]
754+
attr_accessor :unreachable
755+
749756
def initialize(**args)
750757
update!(**args)
751758
end
@@ -754,6 +761,7 @@ def initialize(**args)
754761
def update!(**args)
755762
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
756763
@operations = args[:operations] if args.key?(:operations)
764+
@unreachable = args[:unreachable] if args.key?(:unreachable)
757765
end
758766
end
759767

generated/google-apis-apigateway_v1beta/lib/google/apis/apigateway_v1beta/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 ApigatewayV1beta
1818
# Version of the google-apis-apigateway_v1beta gem
19-
GEM_VERSION = "0.36.0"
19+
GEM_VERSION = "0.37.0"
2020

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

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

generated/google-apis-apigateway_v1beta/lib/google/apis/apigateway_v1beta/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
368368
property :next_page_token, as: 'nextPageToken'
369369
collection :operations, as: 'operations', class: Google::Apis::ApigatewayV1beta::ApigatewayOperation, decorator: Google::Apis::ApigatewayV1beta::ApigatewayOperation::Representation
370370

371+
collection :unreachable, as: 'unreachable'
371372
end
372373
end
373374

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1154,6 +1154,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
11541154
# The standard list page size.
11551155
# @param [String] page_token
11561156
# The standard list page token.
1157+
# @param [Boolean] return_partial_success
1158+
# When set to `true`, operations that are reachable are returned as normal, and
1159+
# those that are unreachable are returned in the [ListOperationsResponse.
1160+
# unreachable] field. This can only be `true` when reading across collections e.
1161+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1162+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
1163+
# explicitly documented otherwise in service or product specific documentation.
11571164
# @param [String] fields
11581165
# Selector specifying which fields to include in a partial response.
11591166
# @param [String] quota_user
@@ -1171,14 +1178,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
11711178
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11721179
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11731180
# @raise [Google::Apis::AuthorizationError] Authorization is required
1174-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1181+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
11751182
command = make_simple_command(:get, 'v1beta/{+name}/operations', options)
11761183
command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayListOperationsResponse::Representation
11771184
command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayListOperationsResponse
11781185
command.params['name'] = name unless name.nil?
11791186
command.query['filter'] = filter unless filter.nil?
11801187
command.query['pageSize'] = page_size unless page_size.nil?
11811188
command.query['pageToken'] = page_token unless page_token.nil?
1189+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
11821190
command.query['fields'] = fields unless fields.nil?
11831191
command.query['quotaUser'] = quota_user unless quota_user.nil?
11841192
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)