Skip to content

Commit a73d5cd

Browse files
feat: Automated regeneration of networksecurity v1 client (#24540)
Auto-created at 2025-10-05 10:44:23 +0000 using the toys pull request generator.
1 parent 49d97c1 commit a73d5cd

File tree

6 files changed

+41
-9
lines changed

6 files changed

+41
-9
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302720,6 +302720,8 @@
302720302720
"/networksecurity:v1/ListOperationsResponse/nextPageToken": next_page_token
302721302721
"/networksecurity:v1/ListOperationsResponse/operations": operations
302722302722
"/networksecurity:v1/ListOperationsResponse/operations/operation": operation
302723+
"/networksecurity:v1/ListOperationsResponse/unreachable": unreachable
302724+
"/networksecurity:v1/ListOperationsResponse/unreachable/unreachable": unreachable
302723302725
"/networksecurity:v1/ListSecurityProfileGroupsResponse": list_security_profile_groups_response
302724302726
"/networksecurity:v1/ListSecurityProfileGroupsResponse/nextPageToken": next_page_token
302725302727
"/networksecurity:v1/ListSecurityProfileGroupsResponse/securityProfileGroups": security_profile_groups
@@ -302999,6 +303001,7 @@
302999303001
"/networksecurity:v1/networksecurity.organizations.locations.operations.list/name": name
303000303002
"/networksecurity:v1/networksecurity.organizations.locations.operations.list/pageSize": page_size
303001303003
"/networksecurity:v1/networksecurity.organizations.locations.operations.list/pageToken": page_token
303004+
"/networksecurity:v1/networksecurity.organizations.locations.operations.list/returnPartialSuccess": return_partial_success
303002303005
"/networksecurity:v1/networksecurity.organizations.locations.securityProfileGroups.create": create_organization_location_security_profile_group
303003303006
"/networksecurity:v1/networksecurity.organizations.locations.securityProfileGroups.create/parent": parent
303004303007
"/networksecurity:v1/networksecurity.organizations.locations.securityProfileGroups.create/securityProfileGroupId": security_profile_group_id
@@ -303367,6 +303370,7 @@
303367303370
"/networksecurity:v1/networksecurity.projects.locations.operations.list/name": name
303368303371
"/networksecurity:v1/networksecurity.projects.locations.operations.list/pageSize": page_size
303369303372
"/networksecurity:v1/networksecurity.projects.locations.operations.list/pageToken": page_token
303373+
"/networksecurity:v1/networksecurity.projects.locations.operations.list/returnPartialSuccess": return_partial_success
303370303374
"/networksecurity:v1/networksecurity.projects.locations.serverTlsPolicies.create": create_project_location_server_tls_policy
303371303375
"/networksecurity:v1/networksecurity.projects.locations.serverTlsPolicies.create/parent": parent
303372303376
"/networksecurity:v1/networksecurity.projects.locations.serverTlsPolicies.create/serverTlsPolicyId": server_tls_policy_id

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

3+
### v0.45.0 (2025-10-05)
4+
5+
* Regenerated from discovery document revision 20250925
6+
37
### v0.44.0 (2025-09-28)
48

59
* Regenerated from discovery document revision 20250911

generated/google-apis-networksecurity_v1/lib/google/apis/networksecurity_v1/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
@@ -3090,6 +3089,13 @@ class ListOperationsResponse
30903089
# @return [Array<Google::Apis::NetworksecurityV1::Operation>]
30913090
attr_accessor :operations
30923091

3092+
# Unordered list. Unreachable resources. Populated when the request sets `
3093+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
3094+
# when attempting to list all resources across all supported locations.
3095+
# Corresponds to the JSON property `unreachable`
3096+
# @return [Array<String>]
3097+
attr_accessor :unreachable
3098+
30933099
def initialize(**args)
30943100
update!(**args)
30953101
end
@@ -3098,6 +3104,7 @@ def initialize(**args)
30983104
def update!(**args)
30993105
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
31003106
@operations = args[:operations] if args.key?(:operations)
3107+
@unreachable = args[:unreachable] if args.key?(:unreachable)
31013108
end
31023109
end
31033110

generated/google-apis-networksecurity_v1/lib/google/apis/networksecurity_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 NetworksecurityV1
1818
# Version of the google-apis-networksecurity_v1 gem
19-
GEM_VERSION = "0.44.0"
19+
GEM_VERSION = "0.45.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 = "20250911"
25+
REVISION = "20250925"
2626
end
2727
end
2828
end

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1468,6 +1468,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
14681468
property :next_page_token, as: 'nextPageToken'
14691469
collection :operations, as: 'operations', class: Google::Apis::NetworksecurityV1::Operation, decorator: Google::Apis::NetworksecurityV1::Operation::Representation
14701470

1471+
collection :unreachable, as: 'unreachable'
14711472
end
14721473
end
14731474

generated/google-apis-networksecurity_v1/lib/google/apis/networksecurity_v1/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, 'v1/{+name}/operations', options)
767774
command.response_representation = Google::Apis::NetworksecurityV1::ListOperationsResponse::Representation
768775
command.response_class = Google::Apis::NetworksecurityV1::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)
@@ -5220,6 +5228,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
52205228
# The standard list page size.
52215229
# @param [String] page_token
52225230
# The standard list page token.
5231+
# @param [Boolean] return_partial_success
5232+
# When set to `true`, operations that are reachable are returned as normal, and
5233+
# those that are unreachable are returned in the [ListOperationsResponse.
5234+
# unreachable] field. This can only be `true` when reading across collections e.
5235+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
5236+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
5237+
# explicitly documented otherwise in service or product specific documentation.
52235238
# @param [String] fields
52245239
# Selector specifying which fields to include in a partial response.
52255240
# @param [String] quota_user
@@ -5237,14 +5252,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
52375252
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
52385253
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
52395254
# @raise [Google::Apis::AuthorizationError] Authorization is required
5240-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5255+
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)
52415256
command = make_simple_command(:get, 'v1/{+name}/operations', options)
52425257
command.response_representation = Google::Apis::NetworksecurityV1::ListOperationsResponse::Representation
52435258
command.response_class = Google::Apis::NetworksecurityV1::ListOperationsResponse
52445259
command.params['name'] = name unless name.nil?
52455260
command.query['filter'] = filter unless filter.nil?
52465261
command.query['pageSize'] = page_size unless page_size.nil?
52475262
command.query['pageToken'] = page_token unless page_token.nil?
5263+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
52485264
command.query['fields'] = fields unless fields.nil?
52495265
command.query['quotaUser'] = quota_user unless quota_user.nil?
52505266
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)