Skip to content

Commit a5e3913

Browse files
feat: Automated regeneration of metastore v1 client (#24510)
Auto-created at 2025-10-05 10:14:21 +0000 using the toys pull request generator.
1 parent bdf1bd4 commit a5e3913

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
@@ -289861,6 +289861,8 @@
289861289861
"/metastore:v1/ListOperationsResponse/nextPageToken": next_page_token
289862289862
"/metastore:v1/ListOperationsResponse/operations": operations
289863289863
"/metastore:v1/ListOperationsResponse/operations/operation": operation
289864+
"/metastore:v1/ListOperationsResponse/unreachable": unreachable
289865+
"/metastore:v1/ListOperationsResponse/unreachable/unreachable": unreachable
289864289866
"/metastore:v1/ListServicesResponse": list_services_response
289865289867
"/metastore:v1/ListServicesResponse/nextPageToken": next_page_token
289866289868
"/metastore:v1/ListServicesResponse/services": services
@@ -290083,6 +290085,7 @@
290083290085
"/metastore:v1/metastore.projects.locations.operations.list/name": name
290084290086
"/metastore:v1/metastore.projects.locations.operations.list/pageSize": page_size
290085290087
"/metastore:v1/metastore.projects.locations.operations.list/pageToken": page_token
290088+
"/metastore:v1/metastore.projects.locations.operations.list/returnPartialSuccess": return_partial_success
290086290089
"/metastore:v1/metastore.projects.locations.services.alterLocation": alter_project_location_service_location
290087290090
"/metastore:v1/metastore.projects.locations.services.alterLocation/service": service
290088290091
"/metastore:v1/metastore.projects.locations.services.alterTableProperties": alter_service_table_properties

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

3+
### v0.39.0 (2025-10-05)
4+
5+
* Regenerated from discovery document revision 20250925
6+
37
### v0.38.0 (2025-09-21)
48

59
* Regenerated from discovery document revision 20250911

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,6 +1357,13 @@ class ListOperationsResponse
13571357
# @return [Array<Google::Apis::MetastoreV1::Operation>]
13581358
attr_accessor :operations
13591359

1360+
# Unordered list. Unreachable resources. Populated when the request sets
1361+
# ListOperationsRequest.return_partial_success and reads across collections e.g.
1362+
# when attempting to list all resources across all supported locations.
1363+
# Corresponds to the JSON property `unreachable`
1364+
# @return [Array<String>]
1365+
attr_accessor :unreachable
1366+
13601367
def initialize(**args)
13611368
update!(**args)
13621369
end
@@ -1365,6 +1372,7 @@ def initialize(**args)
13651372
def update!(**args)
13661373
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
13671374
@operations = args[:operations] if args.key?(:operations)
1375+
@unreachable = args[:unreachable] if args.key?(:unreachable)
13681376
end
13691377
end
13701378

generated/google-apis-metastore_v1/lib/google/apis/metastore_v1/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 MetastoreV1
1818
# Version of the google-apis-metastore_v1 gem
19-
GEM_VERSION = "0.38.0"
19+
GEM_VERSION = "0.39.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 = "20250911"
25+
REVISION = "20250925"
2626
end
2727
end
2828
end

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
779779
property :next_page_token, as: 'nextPageToken'
780780
collection :operations, as: 'operations', class: Google::Apis::MetastoreV1::Operation, decorator: Google::Apis::MetastoreV1::Operation::Representation
781781

782+
collection :unreachable, as: 'unreachable'
782783
end
783784
end
784785

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
591591
# The standard list page size.
592592
# @param [String] page_token
593593
# The standard list page token.
594+
# @param [Boolean] return_partial_success
595+
# When set to true, operations that are reachable are returned as normal, and
596+
# those that are unreachable are returned in the ListOperationsResponse.
597+
# unreachable field.This can only be true when reading across collections e.g.
598+
# when parent is set to "projects/example/locations/-".This field is not by
599+
# default supported and will result in an UNIMPLEMENTED error if set unless
600+
# explicitly documented otherwise in service or product specific documentation.
594601
# @param [String] fields
595602
# Selector specifying which fields to include in a partial response.
596603
# @param [String] quota_user
@@ -608,14 +615,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
608615
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
609616
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
610617
# @raise [Google::Apis::AuthorizationError] Authorization is required
611-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
618+
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)
612619
command = make_simple_command(:get, 'v1/{+name}/operations', options)
613620
command.response_representation = Google::Apis::MetastoreV1::ListOperationsResponse::Representation
614621
command.response_class = Google::Apis::MetastoreV1::ListOperationsResponse
615622
command.params['name'] = name unless name.nil?
616623
command.query['filter'] = filter unless filter.nil?
617624
command.query['pageSize'] = page_size unless page_size.nil?
618625
command.query['pageToken'] = page_token unless page_token.nil?
626+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
619627
command.query['fields'] = fields unless fields.nil?
620628
command.query['quotaUser'] = quota_user unless quota_user.nil?
621629
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)