Skip to content

Commit 601e879

Browse files
feat: Automated regeneration of firebaseml v1 client
1 parent ef45c13 commit 601e879

File tree

6 files changed

+29
-4
lines changed

6 files changed

+29
-4
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251401,6 +251401,8 @@
251401251401
"/firebaseml:v1/ListOperationsResponse/nextPageToken": next_page_token
251402251402
"/firebaseml:v1/ListOperationsResponse/operations": operations
251403251403
"/firebaseml:v1/ListOperationsResponse/operations/operation": operation
251404+
"/firebaseml:v1/ListOperationsResponse/unreachable": unreachable
251405+
"/firebaseml:v1/ListOperationsResponse/unreachable/unreachable": unreachable
251404251406
"/firebaseml:v1/ModelOperationMetadata": model_operation_metadata
251405251407
"/firebaseml:v1/ModelOperationMetadata/basicOperationStatus": basic_operation_status
251406251408
"/firebaseml:v1/ModelOperationMetadata/name": name
@@ -251428,6 +251430,7 @@
251428251430
"/firebaseml:v1/firebaseml.operations.list/name": name
251429251431
"/firebaseml:v1/firebaseml.operations.list/pageSize": page_size
251430251432
"/firebaseml:v1/firebaseml.operations.list/pageToken": page_token
251433+
"/firebaseml:v1/firebaseml.operations.list/returnPartialSuccess": return_partial_success
251431251434
"/firebaseml:v1/key": key
251432251435
"/firebaseml:v1/quotaUser": quota_user
251433251436
"/firebaseml:v1beta2/DownloadModelResponse": download_model_response

generated/google-apis-firebaseml_v1/CHANGELOG.md

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

3+
### v0.25.0 (2025-10-05)
4+
5+
* Regenerated from discovery document revision 20250929
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.24.0 (2025-05-04)
49

510
* Regenerated using generator version 0.17.0

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,13 @@ class ListOperationsResponse
6565
# @return [Array<Google::Apis::FirebasemlV1::Operation>]
6666
attr_accessor :operations
6767

68+
# Unordered list. Unreachable resources. Populated when the request sets `
69+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
70+
# when attempting to list all resources across all supported locations.
71+
# Corresponds to the JSON property `unreachable`
72+
# @return [Array<String>]
73+
attr_accessor :unreachable
74+
6875
def initialize(**args)
6976
update!(**args)
7077
end
@@ -73,6 +80,7 @@ def initialize(**args)
7380
def update!(**args)
7481
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
7582
@operations = args[:operations] if args.key?(:operations)
83+
@unreachable = args[:unreachable] if args.key?(:unreachable)
7684
end
7785
end
7886

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module FirebasemlV1
1818
# Version of the google-apis-firebaseml_v1 gem
19-
GEM_VERSION = "0.24.0"
19+
GEM_VERSION = "0.25.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

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

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
7676
property :next_page_token, as: 'nextPageToken'
7777
collection :operations, as: 'operations', class: Google::Apis::FirebasemlV1::Operation, decorator: Google::Apis::FirebasemlV1::Operation::Representation
7878

79+
collection :unreachable, as: 'unreachable'
7980
end
8081
end
8182

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,13 @@ def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
134134
# The standard list page size.
135135
# @param [String] page_token
136136
# The standard list page token.
137+
# @param [Boolean] return_partial_success
138+
# When set to `true`, operations that are reachable are returned as normal, and
139+
# those that are unreachable are returned in the [ListOperationsResponse.
140+
# unreachable] field. This can only be `true` when reading across collections e.
141+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
142+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
143+
# explicitly documented otherwise in service or product specific documentation.
137144
# @param [String] fields
138145
# Selector specifying which fields to include in a partial response.
139146
# @param [String] quota_user
@@ -151,14 +158,15 @@ def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
151158
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
152159
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
153160
# @raise [Google::Apis::AuthorizationError] Authorization is required
154-
def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
161+
def list_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
155162
command = make_simple_command(:get, 'v1/{+name}', options)
156163
command.response_representation = Google::Apis::FirebasemlV1::ListOperationsResponse::Representation
157164
command.response_class = Google::Apis::FirebasemlV1::ListOperationsResponse
158165
command.params['name'] = name unless name.nil?
159166
command.query['filter'] = filter unless filter.nil?
160167
command.query['pageSize'] = page_size unless page_size.nil?
161168
command.query['pageToken'] = page_token unless page_token.nil?
169+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
162170
command.query['fields'] = fields unless fields.nil?
163171
command.query['quotaUser'] = quota_user unless quota_user.nil?
164172
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)