Skip to content

Commit 1a45e97

Browse files
feat: Automated regeneration of apigee v1 client (googleapis#23572)
Auto-created at 2025-06-29 10:24:36 +0000 using the toys pull request generator.
1 parent f7f26e8 commit 1a45e97

File tree

4 files changed

+83
-2
lines changed

4 files changed

+83
-2
lines changed

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38014,6 +38014,8 @@
3801438014
"/apigee:v1/apigee.organizations.environments.securityActions.create": create_organization_environment_security_action
3801538015
"/apigee:v1/apigee.organizations.environments.securityActions.create/parent": parent
3801638016
"/apigee:v1/apigee.organizations.environments.securityActions.create/securityActionId": security_action_id
38017+
"/apigee:v1/apigee.organizations.environments.securityActions.delete": delete_organization_environment_security_action
38018+
"/apigee:v1/apigee.organizations.environments.securityActions.delete/name": name
3801738019
"/apigee:v1/apigee.organizations.environments.securityActions.disable": disable_organization_environment_security_action
3801838020
"/apigee:v1/apigee.organizations.environments.securityActions.disable/name": name
3801938021
"/apigee:v1/apigee.organizations.environments.securityActions.enable": enable_organization_environment_security_action
@@ -38025,6 +38027,9 @@
3802538027
"/apigee:v1/apigee.organizations.environments.securityActions.list/pageSize": page_size
3802638028
"/apigee:v1/apigee.organizations.environments.securityActions.list/pageToken": page_token
3802738029
"/apigee:v1/apigee.organizations.environments.securityActions.list/parent": parent
38030+
"/apigee:v1/apigee.organizations.environments.securityActions.patch": patch_organization_environment_security_action
38031+
"/apigee:v1/apigee.organizations.environments.securityActions.patch/name": name
38032+
"/apigee:v1/apigee.organizations.environments.securityActions.patch/updateMask": update_mask
3802838033
"/apigee:v1/apigee.organizations.environments.securityIncidents.batchUpdate": batch_organization_environment_security_incident_update
3802938034
"/apigee:v1/apigee.organizations.environments.securityIncidents.batchUpdate/parent": parent
3803038035
"/apigee:v1/apigee.organizations.environments.securityIncidents.get": get_organization_environment_security_incident

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

3+
### v0.109.0 (2025-06-29)
4+
5+
* Regenerated from discovery document revision 20250622
6+
37
### v0.108.0 (2025-06-22)
48

59
* Regenerated from discovery document revision 20250614

generated/google-apis-apigee_v1/lib/google/apis/apigee_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 ApigeeV1
1818
# Version of the google-apis-apigee_v1 gem
19-
GEM_VERSION = "0.108.0"
19+
GEM_VERSION = "0.109.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 = "20250614"
25+
REVISION = "20250622"
2626
end
2727
end
2828
end

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

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8618,6 +8618,37 @@ def create_organization_environment_security_action(parent, google_cloud_apigee_
86188618
execute_or_queue_command(command, &block)
86198619
end
86208620

8621+
# Delete a SecurityAction.
8622+
# @param [String] name
8623+
# Required. The name of the security monitoring condition to delete. Format: `
8624+
# organizations/`org`/environment/`env`/securityActions/`security_action``
8625+
# @param [String] fields
8626+
# Selector specifying which fields to include in a partial response.
8627+
# @param [String] quota_user
8628+
# Available to use for quota purposes for server-side applications. Can be any
8629+
# arbitrary string assigned to a user, but should not exceed 40 characters.
8630+
# @param [Google::Apis::RequestOptions] options
8631+
# Request-specific options
8632+
#
8633+
# @yield [result, err] Result & error if block supplied
8634+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleProtobufEmpty] parsed result object
8635+
# @yieldparam err [StandardError] error object if request failed
8636+
#
8637+
# @return [Google::Apis::ApigeeV1::GoogleProtobufEmpty]
8638+
#
8639+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8640+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8641+
# @raise [Google::Apis::AuthorizationError] Authorization is required
8642+
def delete_organization_environment_security_action(name, fields: nil, quota_user: nil, options: nil, &block)
8643+
command = make_simple_command(:delete, 'v1/{+name}', options)
8644+
command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation
8645+
command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty
8646+
command.params['name'] = name unless name.nil?
8647+
command.query['fields'] = fields unless fields.nil?
8648+
command.query['quotaUser'] = quota_user unless quota_user.nil?
8649+
execute_or_queue_command(command, &block)
8650+
end
8651+
86218652
# Disable a SecurityAction. The `state` of the SecurityAction after disabling is
86228653
# `DISABLED`. `DisableSecurityAction` can be called on SecurityActions in the
86238654
# state `ENABLED`; SecurityActions in a different state (including `DISABLED`)
@@ -8772,6 +8803,47 @@ def list_organization_environment_security_actions(parent, filter: nil, page_siz
87728803
execute_or_queue_command(command, &block)
87738804
end
87748805

8806+
# Update a SecurityAction.
8807+
# @param [String] name
8808+
# Immutable. This field is ignored during creation as per AIP-133. Please set
8809+
# the `security_action_id` field in the CreateSecurityActionRequest when
8810+
# creating a new SecurityAction. Format: organizations/`org`/environments/`env`/
8811+
# securityActions/`security_action`
8812+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction] google_cloud_apigee_v1_security_action_object
8813+
# @param [String] update_mask
8814+
# Optional. The list of fields to update. Valid fields to update are `
8815+
# description`, `state`, `allow`, `deny`, and `flag`, `expire_time`, and `ttl`, `
8816+
# api_proxies`, and `condition_config`.
8817+
# @param [String] fields
8818+
# Selector specifying which fields to include in a partial response.
8819+
# @param [String] quota_user
8820+
# Available to use for quota purposes for server-side applications. Can be any
8821+
# arbitrary string assigned to a user, but should not exceed 40 characters.
8822+
# @param [Google::Apis::RequestOptions] options
8823+
# Request-specific options
8824+
#
8825+
# @yield [result, err] Result & error if block supplied
8826+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction] parsed result object
8827+
# @yieldparam err [StandardError] error object if request failed
8828+
#
8829+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction]
8830+
#
8831+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8832+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8833+
# @raise [Google::Apis::AuthorizationError] Authorization is required
8834+
def patch_organization_environment_security_action(name, google_cloud_apigee_v1_security_action_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
8835+
command = make_simple_command(:patch, 'v1/{+name}', options)
8836+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction::Representation
8837+
command.request_object = google_cloud_apigee_v1_security_action_object
8838+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction::Representation
8839+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction
8840+
command.params['name'] = name unless name.nil?
8841+
command.query['updateMask'] = update_mask unless update_mask.nil?
8842+
command.query['fields'] = fields unless fields.nil?
8843+
command.query['quotaUser'] = quota_user unless quota_user.nil?
8844+
execute_or_queue_command(command, &block)
8845+
end
8846+
87758847
# BatchUpdateSecurityIncident updates multiple existing security incidents.
87768848
# @param [String] parent
87778849
# Optional. The parent resource shared by all security incidents being updated.

0 commit comments

Comments
 (0)