From 726ef5d2a16c9ff5dda512549d7f37a24c7926ef Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 5 Oct 2025 10:24:29 +0000 Subject: [PATCH] feat: Automated regeneration of networksecurity v1beta1 client --- api_names_out.yaml | 4 ++++ .../CHANGELOG.md | 4 ++-- .../apis/networksecurity_v1beta1/classes.rb | 17 +++++++++++----- .../networksecurity_v1beta1/gem_version.rb | 2 +- .../representations.rb | 1 + .../apis/networksecurity_v1beta1/service.rb | 20 +++++++++++++++++-- 6 files changed, 38 insertions(+), 10 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 8649edff29a..0aeb51bf6ba 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -303007,6 +303007,8 @@ "/networksecurity:v1beta1/ListOperationsResponse/nextPageToken": next_page_token "/networksecurity:v1beta1/ListOperationsResponse/operations": operations "/networksecurity:v1beta1/ListOperationsResponse/operations/operation": operation +"/networksecurity:v1beta1/ListOperationsResponse/unreachable": unreachable +"/networksecurity:v1beta1/ListOperationsResponse/unreachable/unreachable": unreachable "/networksecurity:v1beta1/ListSACAttachmentsResponse": list_sac_attachments_response "/networksecurity:v1beta1/ListSACAttachmentsResponse/nextPageToken": next_page_token "/networksecurity:v1beta1/ListSACAttachmentsResponse/sacAttachments": sac_attachments @@ -303342,6 +303344,7 @@ "/networksecurity:v1beta1/networksecurity.organizations.locations.operations.list/name": name "/networksecurity:v1beta1/networksecurity.organizations.locations.operations.list/pageSize": page_size "/networksecurity:v1beta1/networksecurity.organizations.locations.operations.list/pageToken": page_token +"/networksecurity:v1beta1/networksecurity.organizations.locations.operations.list/returnPartialSuccess": return_partial_success "/networksecurity:v1beta1/networksecurity.organizations.locations.securityProfileGroups.create": create_organization_location_security_profile_group "/networksecurity:v1beta1/networksecurity.organizations.locations.securityProfileGroups.create/parent": parent "/networksecurity:v1beta1/networksecurity.organizations.locations.securityProfileGroups.create/securityProfileGroupId": security_profile_group_id @@ -303724,6 +303727,7 @@ "/networksecurity:v1beta1/networksecurity.projects.locations.operations.list/name": name "/networksecurity:v1beta1/networksecurity.projects.locations.operations.list/pageSize": page_size "/networksecurity:v1beta1/networksecurity.projects.locations.operations.list/pageToken": page_token +"/networksecurity:v1beta1/networksecurity.projects.locations.operations.list/returnPartialSuccess": return_partial_success "/networksecurity:v1beta1/networksecurity.projects.locations.sacAttachments.create": create_project_location_sac_attachment "/networksecurity:v1beta1/networksecurity.projects.locations.sacAttachments.create/parent": parent "/networksecurity:v1beta1/networksecurity.projects.locations.sacAttachments.create/requestId": request_id diff --git a/generated/google-apis-networksecurity_v1beta1/CHANGELOG.md b/generated/google-apis-networksecurity_v1beta1/CHANGELOG.md index 77b593cc0b0..5917aed3e0d 100644 --- a/generated/google-apis-networksecurity_v1beta1/CHANGELOG.md +++ b/generated/google-apis-networksecurity_v1beta1/CHANGELOG.md @@ -1,8 +1,8 @@ # Release history for google-apis-networksecurity_v1beta1 -### v0.57.0 (2025-09-28) +### v0.57.0 (2025-10-05) -* Regenerated from discovery document revision 20250911 +* Regenerated from discovery document revision 20250925 ### v0.56.0 (2025-09-07) diff --git a/generated/google-apis-networksecurity_v1beta1/lib/google/apis/networksecurity_v1beta1/classes.rb b/generated/google-apis-networksecurity_v1beta1/lib/google/apis/networksecurity_v1beta1/classes.rb index 7ec21366896..1792054367e 100644 --- a/generated/google-apis-networksecurity_v1beta1/lib/google/apis/networksecurity_v1beta1/classes.rb +++ b/generated/google-apis-networksecurity_v1beta1/lib/google/apis/networksecurity_v1beta1/classes.rb @@ -771,16 +771,15 @@ class AuthzPolicyTarget # Required. All gateways and forwarding rules referenced by this policy and # extensions must share the same load balancing scheme. Supported values: ` - # INTERNAL_MANAGED`, `INTERNAL_SELF_MANAGED`, and `EXTERNAL_MANAGED`. For more - # information, refer to [Backend services overview](https://cloud.google.com/ - # load-balancing/docs/backend-service). + # INTERNAL_MANAGED` and `EXTERNAL_MANAGED`. For more information, refer to [ + # Backend services overview](https://cloud.google.com/load-balancing/docs/ + # backend-service). # Corresponds to the JSON property `loadBalancingScheme` # @return [String] attr_accessor :load_balancing_scheme # Required. A list of references to the Forwarding Rules on which this policy - # will be applied. For policies created for Cloudrun, this field will reference - # the Cloud Run services. + # will be applied. # Corresponds to the JSON property `resources` # @return [Array] attr_accessor :resources @@ -3175,6 +3174,13 @@ class ListOperationsResponse # @return [Array] attr_accessor :operations + # Unordered list. Unreachable resources. Populated when the request sets ` + # ListOperationsRequest.return_partial_success` and reads across collections e.g. + # when attempting to list all resources across all supported locations. + # Corresponds to the JSON property `unreachable` + # @return [Array] + attr_accessor :unreachable + def initialize(**args) update!(**args) end @@ -3183,6 +3189,7 @@ def initialize(**args) def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @operations = args[:operations] if args.key?(:operations) + @unreachable = args[:unreachable] if args.key?(:unreachable) end end diff --git a/generated/google-apis-networksecurity_v1beta1/lib/google/apis/networksecurity_v1beta1/gem_version.rb b/generated/google-apis-networksecurity_v1beta1/lib/google/apis/networksecurity_v1beta1/gem_version.rb index e0f242e80d7..b5f9058d3f7 100644 --- a/generated/google-apis-networksecurity_v1beta1/lib/google/apis/networksecurity_v1beta1/gem_version.rb +++ b/generated/google-apis-networksecurity_v1beta1/lib/google/apis/networksecurity_v1beta1/gem_version.rb @@ -22,7 +22,7 @@ module NetworksecurityV1beta1 GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20250911" + REVISION = "20250925" end end end diff --git a/generated/google-apis-networksecurity_v1beta1/lib/google/apis/networksecurity_v1beta1/representations.rb b/generated/google-apis-networksecurity_v1beta1/lib/google/apis/networksecurity_v1beta1/representations.rb index 5561f4b8e93..4626539854a 100644 --- a/generated/google-apis-networksecurity_v1beta1/lib/google/apis/networksecurity_v1beta1/representations.rb +++ b/generated/google-apis-networksecurity_v1beta1/lib/google/apis/networksecurity_v1beta1/representations.rb @@ -1556,6 +1556,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :next_page_token, as: 'nextPageToken' collection :operations, as: 'operations', class: Google::Apis::NetworksecurityV1beta1::Operation, decorator: Google::Apis::NetworksecurityV1beta1::Operation::Representation + collection :unreachable, as: 'unreachable' end end diff --git a/generated/google-apis-networksecurity_v1beta1/lib/google/apis/networksecurity_v1beta1/service.rb b/generated/google-apis-networksecurity_v1beta1/lib/google/apis/networksecurity_v1beta1/service.rb index 5c9f6b906dc..cfd782880a9 100644 --- a/generated/google-apis-networksecurity_v1beta1/lib/google/apis/networksecurity_v1beta1/service.rb +++ b/generated/google-apis-networksecurity_v1beta1/lib/google/apis/networksecurity_v1beta1/service.rb @@ -745,6 +745,13 @@ def get_organization_location_operation(name, fields: nil, quota_user: nil, opti # The standard list page size. # @param [String] page_token # The standard list page token. + # @param [Boolean] return_partial_success + # When set to `true`, operations that are reachable are returned as normal, and + # those that are unreachable are returned in the [ListOperationsResponse. + # unreachable] field. This can only be `true` when reading across collections e. + # g. when `parent` is set to `"projects/example/locations/-"`. This field is not + # by default supported and will result in an `UNIMPLEMENTED` error if set unless + # explicitly documented otherwise in service or product specific documentation. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -762,7 +769,7 @@ def get_organization_location_operation(name, fields: nil, quota_user: nil, opti # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + 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) command = make_simple_command(:get, 'v1beta1/{+name}/operations', options) command.response_representation = Google::Apis::NetworksecurityV1beta1::ListOperationsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::ListOperationsResponse @@ -770,6 +777,7 @@ def list_organization_location_operations(name, filter: nil, page_size: nil, pag command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? + command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -5395,6 +5403,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options: # The standard list page size. # @param [String] page_token # The standard list page token. + # @param [Boolean] return_partial_success + # When set to `true`, operations that are reachable are returned as normal, and + # those that are unreachable are returned in the [ListOperationsResponse. + # unreachable] field. This can only be `true` when reading across collections e. + # g. when `parent` is set to `"projects/example/locations/-"`. This field is not + # by default supported and will result in an `UNIMPLEMENTED` error if set unless + # explicitly documented otherwise in service or product specific documentation. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -5412,7 +5427,7 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options: # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + 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) command = make_simple_command(:get, 'v1beta1/{+name}/operations', options) command.response_representation = Google::Apis::NetworksecurityV1beta1::ListOperationsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::ListOperationsResponse @@ -5420,6 +5435,7 @@ def list_project_location_operations(name, filter: nil, page_size: nil, page_tok command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? + command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block)