Skip to content

Commit d67c497

Browse files
feat: Automated regeneration of apigee v1 client (#25802)
Auto-created at 2026-02-22 10:49:23 +0000 using the toys pull request generator.
1 parent 7a49e71 commit d67c497

File tree

6 files changed

+59
-9
lines changed

6 files changed

+59
-9
lines changed

api_names_out.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42205,6 +42205,7 @@
4220542205
"/apigee:v1/GoogleCloudApigeeV1SecurityAssessmentResult/scoringResult": scoring_result
4220642206
"/apigee:v1/GoogleCloudApigeeV1SecurityAssessmentResultResource": google_cloud_apigee_v1_security_assessment_result_resource
4220742207
"/apigee:v1/GoogleCloudApigeeV1SecurityAssessmentResultResource/apiHubDeploymentDetails": api_hub_deployment_details
42208+
"/apigee:v1/GoogleCloudApigeeV1SecurityAssessmentResultResource/apiHubGatewayType": api_hub_gateway_type
4220842209
"/apigee:v1/GoogleCloudApigeeV1SecurityAssessmentResultResource/name": name
4220942210
"/apigee:v1/GoogleCloudApigeeV1SecurityAssessmentResultResource/resourceRevisionId": resource_revision_id
4221042211
"/apigee:v1/GoogleCloudApigeeV1SecurityAssessmentResultResource/type": type
@@ -42261,11 +42262,13 @@
4226142262
"/apigee:v1/GoogleCloudApigeeV1SecurityIncident/riskLevel": risk_level
4226242263
"/apigee:v1/GoogleCloudApigeeV1SecurityIncident/trafficCount": traffic_count
4226342264
"/apigee:v1/GoogleCloudApigeeV1SecurityMonitoringCondition": google_cloud_apigee_v1_security_monitoring_condition
42265+
"/apigee:v1/GoogleCloudApigeeV1SecurityMonitoringCondition/apiHubGateway": api_hub_gateway
4226442266
"/apigee:v1/GoogleCloudApigeeV1SecurityMonitoringCondition/createTime": create_time
4226542267
"/apigee:v1/GoogleCloudApigeeV1SecurityMonitoringCondition/include": include
4226642268
"/apigee:v1/GoogleCloudApigeeV1SecurityMonitoringCondition/includeAllResources": include_all_resources
4226742269
"/apigee:v1/GoogleCloudApigeeV1SecurityMonitoringCondition/name": name
4226842270
"/apigee:v1/GoogleCloudApigeeV1SecurityMonitoringCondition/profile": profile
42271+
"/apigee:v1/GoogleCloudApigeeV1SecurityMonitoringCondition/riskAssessmentType": risk_assessment_type
4226942272
"/apigee:v1/GoogleCloudApigeeV1SecurityMonitoringCondition/scope": scope
4227042273
"/apigee:v1/GoogleCloudApigeeV1SecurityMonitoringCondition/totalDeployedResources": total_deployed_resources
4227142274
"/apigee:v1/GoogleCloudApigeeV1SecurityMonitoringCondition/totalMonitoredResources": total_monitored_resources
@@ -43483,13 +43486,16 @@
4348343486
"/apigee:v1/apigee.organizations.securityMonitoringConditions.create/securityMonitoringConditionId": security_monitoring_condition_id
4348443487
"/apigee:v1/apigee.organizations.securityMonitoringConditions.delete": delete_organization_security_monitoring_condition
4348543488
"/apigee:v1/apigee.organizations.securityMonitoringConditions.delete/name": name
43489+
"/apigee:v1/apigee.organizations.securityMonitoringConditions.delete/riskAssessmentType": risk_assessment_type
4348643490
"/apigee:v1/apigee.organizations.securityMonitoringConditions.get": get_organization_security_monitoring_condition
4348743491
"/apigee:v1/apigee.organizations.securityMonitoringConditions.get/name": name
43492+
"/apigee:v1/apigee.organizations.securityMonitoringConditions.get/riskAssessmentType": risk_assessment_type
4348843493
"/apigee:v1/apigee.organizations.securityMonitoringConditions.list": list_organization_security_monitoring_conditions
4348943494
"/apigee:v1/apigee.organizations.securityMonitoringConditions.list/filter": filter
4349043495
"/apigee:v1/apigee.organizations.securityMonitoringConditions.list/pageSize": page_size
4349143496
"/apigee:v1/apigee.organizations.securityMonitoringConditions.list/pageToken": page_token
4349243497
"/apigee:v1/apigee.organizations.securityMonitoringConditions.list/parent": parent
43498+
"/apigee:v1/apigee.organizations.securityMonitoringConditions.list/riskAssessmentType": risk_assessment_type
4349343499
"/apigee:v1/apigee.organizations.securityMonitoringConditions.patch": patch_organization_security_monitoring_condition
4349443500
"/apigee:v1/apigee.organizations.securityMonitoringConditions.patch/name": name
4349543501
"/apigee:v1/apigee.organizations.securityMonitoringConditions.patch/updateMask": update_mask

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.121.0 (2026-02-22)
4+
5+
* Regenerated from discovery document revision 20260218
6+
37
### v0.120.0 (2026-02-08)
48

59
* Regenerated from discovery document revision 20260130

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

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11063,6 +11063,11 @@ class GoogleCloudApigeeV1SecurityAssessmentResultResource
1106311063
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultResourceApiHubDeploymentDetails]
1106411064
attr_accessor :api_hub_deployment_details
1106511065

11066+
# Optional.
11067+
# Corresponds to the JSON property `apiHubGatewayType`
11068+
# @return [String]
11069+
attr_accessor :api_hub_gateway_type
11070+
1106611071
# Required. Name of this resource. For an Apigee API Proxy, this should be the
1106711072
# id of the API proxy. For an API Hub Deployment, this should be the id of the
1106811073
# deployment.
@@ -11087,6 +11092,7 @@ def initialize(**args)
1108711092
# Update properties of this object
1108811093
def update!(**args)
1108911094
@api_hub_deployment_details = args[:api_hub_deployment_details] if args.key?(:api_hub_deployment_details)
11095+
@api_hub_gateway_type = args[:api_hub_gateway_type] if args.key?(:api_hub_gateway_type)
1109011096
@name = args[:name] if args.key?(:name)
1109111097
@resource_revision_id = args[:resource_revision_id] if args.key?(:resource_revision_id)
1109211098
@type = args[:type] if args.key?(:type)
@@ -11442,6 +11448,13 @@ def update!(**args)
1144211448
class GoogleCloudApigeeV1SecurityMonitoringCondition
1144311449
include Google::Apis::Core::Hashable
1144411450

11451+
# Optional. The API Hub gateway monitored by the security monitoring condition.
11452+
# This should only be set if risk_assessment_type is API_HUB. Format: `projects/`
11453+
# project`/locations/`location`/plugins/`plugin`/instances/`instance``
11454+
# Corresponds to the JSON property `apiHubGateway`
11455+
# @return [String]
11456+
attr_accessor :api_hub_gateway
11457+
1144511458
# Output only. The time of the security monitoring condition creation.
1144611459
# Corresponds to the JSON property `createTime`
1144711460
# @return [String]
@@ -11469,8 +11482,15 @@ class GoogleCloudApigeeV1SecurityMonitoringCondition
1146911482
# @return [String]
1147011483
attr_accessor :profile
1147111484

11472-
# Optional. Scope of the security monitoring condition. For Apigee, the
11473-
# environment is the scope of the resources.
11485+
# Optional. The risk assessment type of the security monitoring condition.
11486+
# Defaults to ADVANCED_API_SECURITY.
11487+
# Corresponds to the JSON property `riskAssessmentType`
11488+
# @return [String]
11489+
attr_accessor :risk_assessment_type
11490+
11491+
# Optional. Scope of the security monitoring condition. When RiskAssessmentType
11492+
# is APIGEE, the scope should be set to the environment of the resources. When
11493+
# RiskAssessmentType is API_HUB, the scope should not be set.
1147411494
# Corresponds to the JSON property `scope`
1147511495
# @return [String]
1147611496
attr_accessor :scope
@@ -11496,11 +11516,13 @@ def initialize(**args)
1149611516

1149711517
# Update properties of this object
1149811518
def update!(**args)
11519+
@api_hub_gateway = args[:api_hub_gateway] if args.key?(:api_hub_gateway)
1149911520
@create_time = args[:create_time] if args.key?(:create_time)
1150011521
@include = args[:include] if args.key?(:include)
1150111522
@include_all_resources = args[:include_all_resources] if args.key?(:include_all_resources)
1150211523
@name = args[:name] if args.key?(:name)
1150311524
@profile = args[:profile] if args.key?(:profile)
11525+
@risk_assessment_type = args[:risk_assessment_type] if args.key?(:risk_assessment_type)
1150411526
@scope = args[:scope] if args.key?(:scope)
1150511527
@total_deployed_resources = args[:total_deployed_resources] if args.key?(:total_deployed_resources)
1150611528
@total_monitored_resources = args[:total_monitored_resources] if args.key?(:total_monitored_resources)

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.120.0"
19+
GEM_VERSION = "0.121.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 = "20260130"
25+
REVISION = "20260218"
2626
end
2727
end
2828
end

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5058,6 +5058,7 @@ class GoogleCloudApigeeV1SecurityAssessmentResultResource
50585058
class Representation < Google::Apis::Core::JsonRepresentation
50595059
property :api_hub_deployment_details, as: 'apiHubDeploymentDetails', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultResourceApiHubDeploymentDetails, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultResourceApiHubDeploymentDetails::Representation
50605060

5061+
property :api_hub_gateway_type, as: 'apiHubGatewayType'
50615062
property :name, as: 'name'
50625063
property :resource_revision_id, as: 'resourceRevisionId'
50635064
property :type, as: 'type'
@@ -5157,13 +5158,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
51575158
class GoogleCloudApigeeV1SecurityMonitoringCondition
51585159
# @private
51595160
class Representation < Google::Apis::Core::JsonRepresentation
5161+
property :api_hub_gateway, as: 'apiHubGateway'
51605162
property :create_time, as: 'createTime'
51615163
property :include, as: 'include', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray::Representation
51625164

51635165
property :include_all_resources, as: 'includeAllResources', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll::Representation
51645166

51655167
property :name, as: 'name'
51665168
property :profile, as: 'profile'
5169+
property :risk_assessment_type, as: 'riskAssessmentType'
51675170
property :scope, as: 'scope'
51685171
property :total_deployed_resources, as: 'totalDeployedResources'
51695172
property :total_monitored_resources, as: 'totalMonitoredResources'

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

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12508,6 +12508,9 @@ def create_organization_security_monitoring_condition(parent, google_cloud_apige
1250812508
# Required. The name of the security monitoring condition to delete. Format: `
1250912509
# organizations/`org`/securityMonitoringConditions/`
1251012510
# security_monitoring_condition``
12511+
# @param [String] risk_assessment_type
12512+
# Optional. The risk assessment type of the security monitoring condition.
12513+
# Defaults to ADVANCED_API_SECURITY.
1251112514
# @param [String] fields
1251212515
# Selector specifying which fields to include in a partial response.
1251312516
# @param [String] quota_user
@@ -12525,11 +12528,12 @@ def create_organization_security_monitoring_condition(parent, google_cloud_apige
1252512528
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1252612529
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1252712530
# @raise [Google::Apis::AuthorizationError] Authorization is required
12528-
def delete_organization_security_monitoring_condition(name, fields: nil, quota_user: nil, options: nil, &block)
12531+
def delete_organization_security_monitoring_condition(name, risk_assessment_type: nil, fields: nil, quota_user: nil, options: nil, &block)
1252912532
command = make_simple_command(:delete, 'v1/{+name}', options)
1253012533
command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation
1253112534
command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty
1253212535
command.params['name'] = name unless name.nil?
12536+
command.query['riskAssessmentType'] = risk_assessment_type unless risk_assessment_type.nil?
1253312537
command.query['fields'] = fields unless fields.nil?
1253412538
command.query['quotaUser'] = quota_user unless quota_user.nil?
1253512539
execute_or_queue_command(command, &block)
@@ -12540,6 +12544,9 @@ def delete_organization_security_monitoring_condition(name, fields: nil, quota_u
1254012544
# Required. The name of the security monitoring condition to get. Format: `
1254112545
# organizations/`org`/securityMonitoringConditions/`
1254212546
# security_monitoring_condition``
12547+
# @param [String] risk_assessment_type
12548+
# Optional. The risk assessment type of the security monitoring condition.
12549+
# Defaults to ADVANCED_API_SECURITY.
1254312550
# @param [String] fields
1254412551
# Selector specifying which fields to include in a partial response.
1254512552
# @param [String] quota_user
@@ -12557,11 +12564,12 @@ def delete_organization_security_monitoring_condition(name, fields: nil, quota_u
1255712564
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1255812565
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1255912566
# @raise [Google::Apis::AuthorizationError] Authorization is required
12560-
def get_organization_security_monitoring_condition(name, fields: nil, quota_user: nil, options: nil, &block)
12567+
def get_organization_security_monitoring_condition(name, risk_assessment_type: nil, fields: nil, quota_user: nil, options: nil, &block)
1256112568
command = make_simple_command(:get, 'v1/{+name}', options)
1256212569
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityMonitoringCondition::Representation
1256312570
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityMonitoringCondition
1256412571
command.params['name'] = name unless name.nil?
12572+
command.query['riskAssessmentType'] = risk_assessment_type unless risk_assessment_type.nil?
1256512573
command.query['fields'] = fields unless fields.nil?
1256612574
command.query['quotaUser'] = quota_user unless quota_user.nil?
1256712575
execute_or_queue_command(command, &block)
@@ -12572,14 +12580,20 @@ def get_organization_security_monitoring_condition(name, fields: nil, quota_user
1257212580
# Required. For a specific organization, list all the security monitoring
1257312581
# conditions. Format: `organizations/`org``
1257412582
# @param [String] filter
12575-
# Optional. Filter for the monitoring conditions. For example: `profile=profile1
12576-
# AND scope=env1`
12583+
# Optional. Filter for the monitoring conditions. When RiskAssessmentType is
12584+
# APIGEE, monitoring conditions can be filtered by profile and scope. For
12585+
# example: `profile=profile1 AND scope=env1` When RiskAssessmentType is API_HUB,
12586+
# monitoring conditions can be filtered by profile and api_hub_gateway. For
12587+
# example: `profile=profile1 AND api_hub_gateway=gateway1`
1257712588
# @param [Fixnum] page_size
1257812589
# Optional. The maximum number of monitoring conditions to return.
1257912590
# @param [String] page_token
1258012591
# Optional. A page token, received from a previous `
1258112592
# ListSecurityMonitoringConditions` call. Provide this to retrieve the
1258212593
# subsequent page.
12594+
# @param [String] risk_assessment_type
12595+
# Optional. The risk assessment type of the security monitoring condition.
12596+
# Defaults to ADVANCED_API_SECURITY.
1258312597
# @param [String] fields
1258412598
# Selector specifying which fields to include in a partial response.
1258512599
# @param [String] quota_user
@@ -12597,14 +12611,15 @@ def get_organization_security_monitoring_condition(name, fields: nil, quota_user
1259712611
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1259812612
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1259912613
# @raise [Google::Apis::AuthorizationError] Authorization is required
12600-
def list_organization_security_monitoring_conditions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
12614+
def list_organization_security_monitoring_conditions(parent, filter: nil, page_size: nil, page_token: nil, risk_assessment_type: nil, fields: nil, quota_user: nil, options: nil, &block)
1260112615
command = make_simple_command(:get, 'v1/{+parent}/securityMonitoringConditions', options)
1260212616
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponse::Representation
1260312617
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponse
1260412618
command.params['parent'] = parent unless parent.nil?
1260512619
command.query['filter'] = filter unless filter.nil?
1260612620
command.query['pageSize'] = page_size unless page_size.nil?
1260712621
command.query['pageToken'] = page_token unless page_token.nil?
12622+
command.query['riskAssessmentType'] = risk_assessment_type unless risk_assessment_type.nil?
1260812623
command.query['fields'] = fields unless fields.nil?
1260912624
command.query['quotaUser'] = quota_user unless quota_user.nil?
1261012625
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)