Skip to content

Commit 2958205

Browse files
feat: Automated regeneration of networksecurity v1beta1 client (#24523)
Auto-created at 2025-10-05 10:24:28 +0000 using the toys pull request generator.
1 parent f693095 commit 2958205

File tree

6 files changed

+38
-10
lines changed

6 files changed

+38
-10
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303548,6 +303548,8 @@
303548303548
"/networksecurity:v1beta1/ListOperationsResponse/nextPageToken": next_page_token
303549303549
"/networksecurity:v1beta1/ListOperationsResponse/operations": operations
303550303550
"/networksecurity:v1beta1/ListOperationsResponse/operations/operation": operation
303551+
"/networksecurity:v1beta1/ListOperationsResponse/unreachable": unreachable
303552+
"/networksecurity:v1beta1/ListOperationsResponse/unreachable/unreachable": unreachable
303551303553
"/networksecurity:v1beta1/ListSACAttachmentsResponse": list_sac_attachments_response
303552303554
"/networksecurity:v1beta1/ListSACAttachmentsResponse/nextPageToken": next_page_token
303553303555
"/networksecurity:v1beta1/ListSACAttachmentsResponse/sacAttachments": sac_attachments
@@ -303883,6 +303885,7 @@
303883303885
"/networksecurity:v1beta1/networksecurity.organizations.locations.operations.list/name": name
303884303886
"/networksecurity:v1beta1/networksecurity.organizations.locations.operations.list/pageSize": page_size
303885303887
"/networksecurity:v1beta1/networksecurity.organizations.locations.operations.list/pageToken": page_token
303888+
"/networksecurity:v1beta1/networksecurity.organizations.locations.operations.list/returnPartialSuccess": return_partial_success
303886303889
"/networksecurity:v1beta1/networksecurity.organizations.locations.securityProfileGroups.create": create_organization_location_security_profile_group
303887303890
"/networksecurity:v1beta1/networksecurity.organizations.locations.securityProfileGroups.create/parent": parent
303888303891
"/networksecurity:v1beta1/networksecurity.organizations.locations.securityProfileGroups.create/securityProfileGroupId": security_profile_group_id
@@ -304265,6 +304268,7 @@
304265304268
"/networksecurity:v1beta1/networksecurity.projects.locations.operations.list/name": name
304266304269
"/networksecurity:v1beta1/networksecurity.projects.locations.operations.list/pageSize": page_size
304267304270
"/networksecurity:v1beta1/networksecurity.projects.locations.operations.list/pageToken": page_token
304271+
"/networksecurity:v1beta1/networksecurity.projects.locations.operations.list/returnPartialSuccess": return_partial_success
304268304272
"/networksecurity:v1beta1/networksecurity.projects.locations.sacAttachments.create": create_project_location_sac_attachment
304269304273
"/networksecurity:v1beta1/networksecurity.projects.locations.sacAttachments.create/parent": parent
304270304274
"/networksecurity:v1beta1/networksecurity.projects.locations.sacAttachments.create/requestId": request_id

generated/google-apis-networksecurity_v1beta1/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Release history for google-apis-networksecurity_v1beta1
22

3-
### v0.57.0 (2025-09-28)
3+
### v0.57.0 (2025-10-05)
44

5-
* Regenerated from discovery document revision 20250911
5+
* Regenerated from discovery document revision 20250925
66

77
### v0.56.0 (2025-09-07)
88

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

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -771,16 +771,15 @@ class AuthzPolicyTarget
771771

772772
# Required. All gateways and forwarding rules referenced by this policy and
773773
# extensions must share the same load balancing scheme. Supported values: `
774-
# INTERNAL_MANAGED`, `INTERNAL_SELF_MANAGED`, and `EXTERNAL_MANAGED`. For more
775-
# information, refer to [Backend services overview](https://cloud.google.com/
776-
# load-balancing/docs/backend-service).
774+
# INTERNAL_MANAGED` and `EXTERNAL_MANAGED`. For more information, refer to [
775+
# Backend services overview](https://cloud.google.com/load-balancing/docs/
776+
# backend-service).
777777
# Corresponds to the JSON property `loadBalancingScheme`
778778
# @return [String]
779779
attr_accessor :load_balancing_scheme
780780

781781
# Required. A list of references to the Forwarding Rules on which this policy
782-
# will be applied. For policies created for Cloudrun, this field will reference
783-
# the Cloud Run services.
782+
# will be applied.
784783
# Corresponds to the JSON property `resources`
785784
# @return [Array<String>]
786785
attr_accessor :resources
@@ -3175,6 +3174,13 @@ class ListOperationsResponse
31753174
# @return [Array<Google::Apis::NetworksecurityV1beta1::Operation>]
31763175
attr_accessor :operations
31773176

3177+
# Unordered list. Unreachable resources. Populated when the request sets `
3178+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
3179+
# when attempting to list all resources across all supported locations.
3180+
# Corresponds to the JSON property `unreachable`
3181+
# @return [Array<String>]
3182+
attr_accessor :unreachable
3183+
31783184
def initialize(**args)
31793185
update!(**args)
31803186
end
@@ -3183,6 +3189,7 @@ def initialize(**args)
31833189
def update!(**args)
31843190
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
31853191
@operations = args[:operations] if args.key?(:operations)
3192+
@unreachable = args[:unreachable] if args.key?(:unreachable)
31863193
end
31873194
end
31883195

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module NetworksecurityV1beta1
2222
GENERATOR_VERSION = "0.18.0"
2323

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

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1556,6 +1556,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
15561556
property :next_page_token, as: 'nextPageToken'
15571557
collection :operations, as: 'operations', class: Google::Apis::NetworksecurityV1beta1::Operation, decorator: Google::Apis::NetworksecurityV1beta1::Operation::Representation
15581558

1559+
collection :unreachable, as: 'unreachable'
15591560
end
15601561
end
15611562

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

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -745,6 +745,13 @@ def get_organization_location_operation(name, fields: nil, quota_user: nil, opti
745745
# The standard list page size.
746746
# @param [String] page_token
747747
# The standard list page token.
748+
# @param [Boolean] return_partial_success
749+
# When set to `true`, operations that are reachable are returned as normal, and
750+
# those that are unreachable are returned in the [ListOperationsResponse.
751+
# unreachable] field. This can only be `true` when reading across collections e.
752+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
753+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
754+
# explicitly documented otherwise in service or product specific documentation.
748755
# @param [String] fields
749756
# Selector specifying which fields to include in a partial response.
750757
# @param [String] quota_user
@@ -762,14 +769,15 @@ def get_organization_location_operation(name, fields: nil, quota_user: nil, opti
762769
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
763770
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
764771
# @raise [Google::Apis::AuthorizationError] Authorization is required
765-
def list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
772+
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)
766773
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
767774
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListOperationsResponse::Representation
768775
command.response_class = Google::Apis::NetworksecurityV1beta1::ListOperationsResponse
769776
command.params['name'] = name unless name.nil?
770777
command.query['filter'] = filter unless filter.nil?
771778
command.query['pageSize'] = page_size unless page_size.nil?
772779
command.query['pageToken'] = page_token unless page_token.nil?
780+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
773781
command.query['fields'] = fields unless fields.nil?
774782
command.query['quotaUser'] = quota_user unless quota_user.nil?
775783
execute_or_queue_command(command, &block)
@@ -5395,6 +5403,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
53955403
# The standard list page size.
53965404
# @param [String] page_token
53975405
# The standard list page token.
5406+
# @param [Boolean] return_partial_success
5407+
# When set to `true`, operations that are reachable are returned as normal, and
5408+
# those that are unreachable are returned in the [ListOperationsResponse.
5409+
# unreachable] field. This can only be `true` when reading across collections e.
5410+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
5411+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
5412+
# explicitly documented otherwise in service or product specific documentation.
53985413
# @param [String] fields
53995414
# Selector specifying which fields to include in a partial response.
54005415
# @param [String] quota_user
@@ -5412,14 +5427,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
54125427
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
54135428
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
54145429
# @raise [Google::Apis::AuthorizationError] Authorization is required
5415-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5430+
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)
54165431
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
54175432
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListOperationsResponse::Representation
54185433
command.response_class = Google::Apis::NetworksecurityV1beta1::ListOperationsResponse
54195434
command.params['name'] = name unless name.nil?
54205435
command.query['filter'] = filter unless filter.nil?
54215436
command.query['pageSize'] = page_size unless page_size.nil?
54225437
command.query['pageToken'] = page_token unless page_token.nil?
5438+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
54235439
command.query['fields'] = fields unless fields.nil?
54245440
command.query['quotaUser'] = quota_user unless quota_user.nil?
54255441
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)