Skip to content

Commit feeebbc

Browse files
feat: Automated regeneration of securityposture v1 client (#24811)
Auto-created at 2025-11-02 09:53:08 +0000 using the toys pull request generator.
1 parent 7994d35 commit feeebbc

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
@@ -351661,6 +351661,8 @@
351661351661
"/securityposture:v1/ListOperationsResponse/nextPageToken": next_page_token
351662351662
"/securityposture:v1/ListOperationsResponse/operations": operations
351663351663
"/securityposture:v1/ListOperationsResponse/operations/operation": operation
351664+
"/securityposture:v1/ListOperationsResponse/unreachable": unreachable
351665+
"/securityposture:v1/ListOperationsResponse/unreachable/unreachable": unreachable
351664351666
"/securityposture:v1/ListPostureDeploymentsResponse": list_posture_deployments_response
351665351667
"/securityposture:v1/ListPostureDeploymentsResponse/nextPageToken": next_page_token
351666351668
"/securityposture:v1/ListPostureDeploymentsResponse/postureDeployments": posture_deployments
@@ -351835,6 +351837,7 @@
351835351837
"/securityposture:v1/securityposture.organizations.locations.operations.list/name": name
351836351838
"/securityposture:v1/securityposture.organizations.locations.operations.list/pageSize": page_size
351837351839
"/securityposture:v1/securityposture.organizations.locations.operations.list/pageToken": page_token
351840+
"/securityposture:v1/securityposture.organizations.locations.operations.list/returnPartialSuccess": return_partial_success
351838351841
"/securityposture:v1/securityposture.organizations.locations.postureDeployments.create": create_organization_location_posture_deployment
351839351842
"/securityposture:v1/securityposture.organizations.locations.postureDeployments.create/parent": parent
351840351843
"/securityposture:v1/securityposture.organizations.locations.postureDeployments.create/postureDeploymentId": posture_deployment_id

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

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

59
* Regenerated from discovery document revision 20250819

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,13 @@ class ListOperationsResponse
634634
# @return [Array<Google::Apis::SecuritypostureV1::Operation>]
635635
attr_accessor :operations
636636

637+
# Unordered list. Unreachable resources. Populated when the request sets `
638+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
639+
# when attempting to list all resources across all supported locations.
640+
# Corresponds to the JSON property `unreachable`
641+
# @return [Array<String>]
642+
attr_accessor :unreachable
643+
637644
def initialize(**args)
638645
update!(**args)
639646
end
@@ -642,6 +649,7 @@ def initialize(**args)
642649
def update!(**args)
643650
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
644651
@operations = args[:operations] if args.key?(:operations)
652+
@unreachable = args[:unreachable] if args.key?(:unreachable)
645653
end
646654
end
647655

generated/google-apis-securityposture_v1/lib/google/apis/securityposture_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 SecuritypostureV1
1818
# Version of the google-apis-securityposture_v1 gem
19-
GEM_VERSION = "0.5.0"
19+
GEM_VERSION = "0.6.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 = "20250819"
25+
REVISION = "20251028"
2626
end
2727
end
2828
end

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
434434
property :next_page_token, as: 'nextPageToken'
435435
collection :operations, as: 'operations', class: Google::Apis::SecuritypostureV1::Operation, decorator: Google::Apis::SecuritypostureV1::Operation::Representation
436436

437+
collection :unreachable, as: 'unreachable'
437438
end
438439
end
439440

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,13 @@ def get_organization_location_operation(name, fields: nil, quota_user: nil, opti
168168
# The standard list page size.
169169
# @param [String] page_token
170170
# The standard list page token.
171+
# @param [Boolean] return_partial_success
172+
# When set to `true`, operations that are reachable are returned as normal, and
173+
# those that are unreachable are returned in the [ListOperationsResponse.
174+
# unreachable] field. This can only be `true` when reading across collections e.
175+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
176+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
177+
# explicitly documented otherwise in service or product specific documentation.
171178
# @param [String] fields
172179
# Selector specifying which fields to include in a partial response.
173180
# @param [String] quota_user
@@ -185,14 +192,15 @@ def get_organization_location_operation(name, fields: nil, quota_user: nil, opti
185192
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
186193
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
187194
# @raise [Google::Apis::AuthorizationError] Authorization is required
188-
def list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
195+
def list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
189196
command = make_simple_command(:get, 'v1/{+name}/operations', options)
190197
command.response_representation = Google::Apis::SecuritypostureV1::ListOperationsResponse::Representation
191198
command.response_class = Google::Apis::SecuritypostureV1::ListOperationsResponse
192199
command.params['name'] = name unless name.nil?
193200
command.query['filter'] = filter unless filter.nil?
194201
command.query['pageSize'] = page_size unless page_size.nil?
195202
command.query['pageToken'] = page_token unless page_token.nil?
203+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
196204
command.query['fields'] = fields unless fields.nil?
197205
command.query['quotaUser'] = quota_user unless quota_user.nil?
198206
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)