Skip to content

Commit ca4008e

Browse files
feat: Automated regeneration of datacatalog v1 client (googleapis#24637)
Auto-created at 2025-10-12 10:57:26 +0000 using the toys pull request generator.
1 parent 4af501d commit ca4008e

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
@@ -147942,6 +147942,8 @@
147942147942
"/datacatalog:v1/ListOperationsResponse/nextPageToken": next_page_token
147943147943
"/datacatalog:v1/ListOperationsResponse/operations": operations
147944147944
"/datacatalog:v1/ListOperationsResponse/operations/operation": operation
147945+
"/datacatalog:v1/ListOperationsResponse/unreachable": unreachable
147946+
"/datacatalog:v1/ListOperationsResponse/unreachable/unreachable": unreachable
147945147947
"/datacatalog:v1/Operation": operation
147946147948
"/datacatalog:v1/Operation/done": done
147947147949
"/datacatalog:v1/Operation/error": error
@@ -148068,6 +148070,7 @@
148068148070
"/datacatalog:v1/datacatalog.projects.locations.operations.list/name": name
148069148071
"/datacatalog:v1/datacatalog.projects.locations.operations.list/pageSize": page_size
148070148072
"/datacatalog:v1/datacatalog.projects.locations.operations.list/pageToken": page_token
148073+
"/datacatalog:v1/datacatalog.projects.locations.operations.list/returnPartialSuccess": return_partial_success
148071148074
"/datacatalog:v1/datacatalog.projects.locations.retrieveEffectiveConfig": retrieve_project_location_effective_config
148072148075
"/datacatalog:v1/datacatalog.projects.locations.retrieveEffectiveConfig/name": name
148073148076
"/datacatalog:v1/datacatalog.projects.locations.setConfig": set_project_location_config

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

3+
### v0.62.0 (2025-10-12)
4+
5+
* Regenerated from discovery document revision 20250928
6+
37
### v0.61.0 (2025-07-27)
48

59
* Regenerated from discovery document revision 20250720

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3640,6 +3640,13 @@ class ListOperationsResponse
36403640
# @return [Array<Google::Apis::DatacatalogV1::Operation>]
36413641
attr_accessor :operations
36423642

3643+
# Unordered list. Unreachable resources. Populated when the request sets `
3644+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
3645+
# when attempting to list all resources across all supported locations.
3646+
# Corresponds to the JSON property `unreachable`
3647+
# @return [Array<String>]
3648+
attr_accessor :unreachable
3649+
36433650
def initialize(**args)
36443651
update!(**args)
36453652
end
@@ -3648,6 +3655,7 @@ def initialize(**args)
36483655
def update!(**args)
36493656
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
36503657
@operations = args[:operations] if args.key?(:operations)
3658+
@unreachable = args[:unreachable] if args.key?(:unreachable)
36513659
end
36523660
end
36533661

generated/google-apis-datacatalog_v1/lib/google/apis/datacatalog_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 DatacatalogV1
1818
# Version of the google-apis-datacatalog_v1 gem
19-
GEM_VERSION = "0.61.0"
19+
GEM_VERSION = "0.62.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 = "20250720"
25+
REVISION = "20250928"
2626
end
2727
end
2828
end

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1740,6 +1740,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
17401740
property :next_page_token, as: 'nextPageToken'
17411741
collection :operations, as: 'operations', class: Google::Apis::DatacatalogV1::Operation, decorator: Google::Apis::DatacatalogV1::Operation::Representation
17421742

1743+
collection :unreachable, as: 'unreachable'
17431744
end
17441745
end
17451746

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1575,6 +1575,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
15751575
# The standard list page size.
15761576
# @param [String] page_token
15771577
# The standard list page token.
1578+
# @param [Boolean] return_partial_success
1579+
# When set to `true`, operations that are reachable are returned as normal, and
1580+
# those that are unreachable are returned in the [ListOperationsResponse.
1581+
# unreachable] field. This can only be `true` when reading across collections e.
1582+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1583+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
1584+
# explicitly documented otherwise in service or product specific documentation.
15781585
# @param [String] fields
15791586
# Selector specifying which fields to include in a partial response.
15801587
# @param [String] quota_user
@@ -1592,14 +1599,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
15921599
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15931600
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15941601
# @raise [Google::Apis::AuthorizationError] Authorization is required
1595-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1602+
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)
15961603
command = make_simple_command(:get, 'v1/{+name}/operations', options)
15971604
command.response_representation = Google::Apis::DatacatalogV1::ListOperationsResponse::Representation
15981605
command.response_class = Google::Apis::DatacatalogV1::ListOperationsResponse
15991606
command.params['name'] = name unless name.nil?
16001607
command.query['filter'] = filter unless filter.nil?
16011608
command.query['pageSize'] = page_size unless page_size.nil?
16021609
command.query['pageToken'] = page_token unless page_token.nil?
1610+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
16031611
command.query['fields'] = fields unless fields.nil?
16041612
command.query['quotaUser'] = quota_user unless quota_user.nil?
16051613
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)