Skip to content

Commit 0873414

Browse files
feat: Automated regeneration of datastream v1alpha1 client (#24773)
Auto-created at 2025-11-02 09:19:07 +0000 using the toys pull request generator.
1 parent 55bf992 commit 0873414

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
@@ -163427,6 +163427,8 @@
163427163427
"/datastream:v1alpha1/ListOperationsResponse/nextPageToken": next_page_token
163428163428
"/datastream:v1alpha1/ListOperationsResponse/operations": operations
163429163429
"/datastream:v1alpha1/ListOperationsResponse/operations/operation": operation
163430+
"/datastream:v1alpha1/ListOperationsResponse/unreachable": unreachable
163431+
"/datastream:v1alpha1/ListOperationsResponse/unreachable/unreachable": unreachable
163430163432
"/datastream:v1alpha1/ListPrivateConnectionsResponse": list_private_connections_response
163431163433
"/datastream:v1alpha1/ListPrivateConnectionsResponse/nextPageToken": next_page_token
163432163434
"/datastream:v1alpha1/ListPrivateConnectionsResponse/privateConnections": private_connections
@@ -163676,6 +163678,7 @@
163676163678
"/datastream:v1alpha1/datastream.projects.locations.operations.list/name": name
163677163679
"/datastream:v1alpha1/datastream.projects.locations.operations.list/pageSize": page_size
163678163680
"/datastream:v1alpha1/datastream.projects.locations.operations.list/pageToken": page_token
163681+
"/datastream:v1alpha1/datastream.projects.locations.operations.list/returnPartialSuccess": return_partial_success
163679163682
"/datastream:v1alpha1/datastream.projects.locations.privateConnections.create": create_project_location_private_connection
163680163683
"/datastream:v1alpha1/datastream.projects.locations.privateConnections.create/parent": parent
163681163684
"/datastream:v1alpha1/datastream.projects.locations.privateConnections.create/privateConnectionId": private_connection_id

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

3+
### v0.26.0 (2025-11-02)
4+
5+
* Regenerated from discovery document revision 20251021
6+
37
### v0.25.0 (2025-08-24)
48

59
* Regenerated from discovery document revision 20250817

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,13 @@ class ListOperationsResponse
663663
# @return [Array<Google::Apis::DatastreamV1alpha1::Operation>]
664664
attr_accessor :operations
665665

666+
# Unordered list. Unreachable resources. Populated when the request sets `
667+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
668+
# when attempting to list all resources across all supported locations.
669+
# Corresponds to the JSON property `unreachable`
670+
# @return [Array<String>]
671+
attr_accessor :unreachable
672+
666673
def initialize(**args)
667674
update!(**args)
668675
end
@@ -671,6 +678,7 @@ def initialize(**args)
671678
def update!(**args)
672679
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
673680
@operations = args[:operations] if args.key?(:operations)
681+
@unreachable = args[:unreachable] if args.key?(:unreachable)
674682
end
675683
end
676684

generated/google-apis-datastream_v1alpha1/lib/google/apis/datastream_v1alpha1/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 DatastreamV1alpha1
1818
# Version of the google-apis-datastream_v1alpha1 gem
19-
GEM_VERSION = "0.25.0"
19+
GEM_VERSION = "0.26.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 = "20250817"
25+
REVISION = "20251021"
2626
end
2727
end
2828
end

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
592592
property :next_page_token, as: 'nextPageToken'
593593
collection :operations, as: 'operations', class: Google::Apis::DatastreamV1alpha1::Operation, decorator: Google::Apis::DatastreamV1alpha1::Operation::Representation
594594

595+
collection :unreachable, as: 'unreachable'
595596
end
596597
end
597598

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
540540
# The standard list page size.
541541
# @param [String] page_token
542542
# The standard list page token.
543+
# @param [Boolean] return_partial_success
544+
# When set to `true`, operations that are reachable are returned as normal, and
545+
# those that are unreachable are returned in the [ListOperationsResponse.
546+
# unreachable] field. This can only be `true` when reading across collections e.
547+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
548+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
549+
# explicitly documented otherwise in service or product specific documentation.
543550
# @param [String] fields
544551
# Selector specifying which fields to include in a partial response.
545552
# @param [String] quota_user
@@ -557,14 +564,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
557564
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
558565
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
559566
# @raise [Google::Apis::AuthorizationError] Authorization is required
560-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
567+
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)
561568
command = make_simple_command(:get, 'v1alpha1/{+name}/operations', options)
562569
command.response_representation = Google::Apis::DatastreamV1alpha1::ListOperationsResponse::Representation
563570
command.response_class = Google::Apis::DatastreamV1alpha1::ListOperationsResponse
564571
command.params['name'] = name unless name.nil?
565572
command.query['filter'] = filter unless filter.nil?
566573
command.query['pageSize'] = page_size unless page_size.nil?
567574
command.query['pageToken'] = page_token unless page_token.nil?
575+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
568576
command.query['fields'] = fields unless fields.nil?
569577
command.query['quotaUser'] = quota_user unless quota_user.nil?
570578
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)