Skip to content

Commit 81015e4

Browse files
feat: Automated regeneration of datafusion v1 client (#24967)
Auto-created at 2025-11-16 09:43:18 +0000 using the toys pull request generator.
1 parent 2f053cb commit 81015e4

File tree

6 files changed

+29
-5
lines changed

6 files changed

+29
-5
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155547,6 +155547,8 @@
155547155547
"/datafusion:v1/ListOperationsResponse/nextPageToken": next_page_token
155548155548
"/datafusion:v1/ListOperationsResponse/operations": operations
155549155549
"/datafusion:v1/ListOperationsResponse/operations/operation": operation
155550+
"/datafusion:v1/ListOperationsResponse/unreachable": unreachable
155551+
"/datafusion:v1/ListOperationsResponse/unreachable/unreachable": unreachable
155550155552
"/datafusion:v1/Location": location
155551155553
"/datafusion:v1/Location/displayName": display_name
155552155554
"/datafusion:v1/Location/labels": labels
@@ -155716,6 +155718,7 @@
155716155718
"/datafusion:v1/datafusion.projects.locations.operations.list/name": name
155717155719
"/datafusion:v1/datafusion.projects.locations.operations.list/pageSize": page_size
155718155720
"/datafusion:v1/datafusion.projects.locations.operations.list/pageToken": page_token
155721+
"/datafusion:v1/datafusion.projects.locations.operations.list/returnPartialSuccess": return_partial_success
155719155722
"/datafusion:v1/datafusion.projects.locations.versions.list": list_project_location_versions
155720155723
"/datafusion:v1/datafusion.projects.locations.versions.list/latestPatchOnly": latest_patch_only
155721155724
"/datafusion:v1/datafusion.projects.locations.versions.list/pageSize": page_size

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

3+
### v0.41.0 (2025-11-16)
4+
5+
* Regenerated from discovery document revision 20251106
6+
37
### v0.40.0 (2025-10-12)
48

59
* Regenerated from discovery document revision 20251006

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -804,6 +804,13 @@ class ListOperationsResponse
804804
# @return [Array<Google::Apis::DatafusionV1::Operation>]
805805
attr_accessor :operations
806806

807+
# Unordered list. Unreachable resources. Populated when the request sets `
808+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
809+
# when attempting to list all resources across all supported locations.
810+
# Corresponds to the JSON property `unreachable`
811+
# @return [Array<String>]
812+
attr_accessor :unreachable
813+
807814
def initialize(**args)
808815
update!(**args)
809816
end
@@ -812,6 +819,7 @@ def initialize(**args)
812819
def update!(**args)
813820
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
814821
@operations = args[:operations] if args.key?(:operations)
822+
@unreachable = args[:unreachable] if args.key?(:unreachable)
815823
end
816824
end
817825

generated/google-apis-datafusion_v1/lib/google/apis/datafusion_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 DatafusionV1
1818
# Version of the google-apis-datafusion_v1 gem
19-
GEM_VERSION = "0.40.0"
19+
GEM_VERSION = "0.41.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 = "20251006"
25+
REVISION = "20251106"
2626
end
2727
end
2828
end

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
407407
property :next_page_token, as: 'nextPageToken'
408408
collection :operations, as: 'operations', class: Google::Apis::DatafusionV1::Operation, decorator: Google::Apis::DatafusionV1::Operation::Representation
409409

410+
collection :unreachable, as: 'unreachable'
410411
end
411412
end
412413

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

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
9191
# @param [String] name
9292
# The resource that owns the locations collection, if applicable.
9393
# @param [Array<String>, String] extra_location_types
94-
# Optional. Unless explicitly documented otherwise, don't use this unsupported
95-
# field which is primarily intended for internal usage.
94+
# Optional. Do not use this field. It is unsupported and is ignored unless
95+
# explicitly documented otherwise. This is primarily for internal usage.
9696
# @param [String] filter
9797
# A filter to narrow down results to a preferred subset. The filtering language
9898
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -703,6 +703,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
703703
# The standard list page size.
704704
# @param [String] page_token
705705
# The standard list page token.
706+
# @param [Boolean] return_partial_success
707+
# When set to `true`, operations that are reachable are returned as normal, and
708+
# those that are unreachable are returned in the [ListOperationsResponse.
709+
# unreachable] field. This can only be `true` when reading across collections e.
710+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
711+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
712+
# explicitly documented otherwise in service or product specific documentation.
706713
# @param [String] fields
707714
# Selector specifying which fields to include in a partial response.
708715
# @param [String] quota_user
@@ -720,14 +727,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
720727
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
721728
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
722729
# @raise [Google::Apis::AuthorizationError] Authorization is required
723-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
730+
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)
724731
command = make_simple_command(:get, 'v1/{+name}/operations', options)
725732
command.response_representation = Google::Apis::DatafusionV1::ListOperationsResponse::Representation
726733
command.response_class = Google::Apis::DatafusionV1::ListOperationsResponse
727734
command.params['name'] = name unless name.nil?
728735
command.query['filter'] = filter unless filter.nil?
729736
command.query['pageSize'] = page_size unless page_size.nil?
730737
command.query['pageToken'] = page_token unless page_token.nil?
738+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
731739
command.query['fields'] = fields unless fields.nil?
732740
command.query['quotaUser'] = quota_user unless quota_user.nil?
733741
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)