diff --git a/api_names_out.yaml b/api_names_out.yaml index b4e8370d992..871677ac41f 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -42181,6 +42181,7 @@ "/apigee:v1/GoogleCloudApigeeV1SecurityAssessmentResult/scoringResult": scoring_result "/apigee:v1/GoogleCloudApigeeV1SecurityAssessmentResultResource": google_cloud_apigee_v1_security_assessment_result_resource "/apigee:v1/GoogleCloudApigeeV1SecurityAssessmentResultResource/apiHubDeploymentDetails": api_hub_deployment_details +"/apigee:v1/GoogleCloudApigeeV1SecurityAssessmentResultResource/apiHubGatewayType": api_hub_gateway_type "/apigee:v1/GoogleCloudApigeeV1SecurityAssessmentResultResource/name": name "/apigee:v1/GoogleCloudApigeeV1SecurityAssessmentResultResource/resourceRevisionId": resource_revision_id "/apigee:v1/GoogleCloudApigeeV1SecurityAssessmentResultResource/type": type @@ -42237,11 +42238,13 @@ "/apigee:v1/GoogleCloudApigeeV1SecurityIncident/riskLevel": risk_level "/apigee:v1/GoogleCloudApigeeV1SecurityIncident/trafficCount": traffic_count "/apigee:v1/GoogleCloudApigeeV1SecurityMonitoringCondition": google_cloud_apigee_v1_security_monitoring_condition +"/apigee:v1/GoogleCloudApigeeV1SecurityMonitoringCondition/apiHubGateway": api_hub_gateway "/apigee:v1/GoogleCloudApigeeV1SecurityMonitoringCondition/createTime": create_time "/apigee:v1/GoogleCloudApigeeV1SecurityMonitoringCondition/include": include "/apigee:v1/GoogleCloudApigeeV1SecurityMonitoringCondition/includeAllResources": include_all_resources "/apigee:v1/GoogleCloudApigeeV1SecurityMonitoringCondition/name": name "/apigee:v1/GoogleCloudApigeeV1SecurityMonitoringCondition/profile": profile +"/apigee:v1/GoogleCloudApigeeV1SecurityMonitoringCondition/riskAssessmentType": risk_assessment_type "/apigee:v1/GoogleCloudApigeeV1SecurityMonitoringCondition/scope": scope "/apigee:v1/GoogleCloudApigeeV1SecurityMonitoringCondition/totalDeployedResources": total_deployed_resources "/apigee:v1/GoogleCloudApigeeV1SecurityMonitoringCondition/totalMonitoredResources": total_monitored_resources @@ -43459,13 +43462,16 @@ "/apigee:v1/apigee.organizations.securityMonitoringConditions.create/securityMonitoringConditionId": security_monitoring_condition_id "/apigee:v1/apigee.organizations.securityMonitoringConditions.delete": delete_organization_security_monitoring_condition "/apigee:v1/apigee.organizations.securityMonitoringConditions.delete/name": name +"/apigee:v1/apigee.organizations.securityMonitoringConditions.delete/riskAssessmentType": risk_assessment_type "/apigee:v1/apigee.organizations.securityMonitoringConditions.get": get_organization_security_monitoring_condition "/apigee:v1/apigee.organizations.securityMonitoringConditions.get/name": name +"/apigee:v1/apigee.organizations.securityMonitoringConditions.get/riskAssessmentType": risk_assessment_type "/apigee:v1/apigee.organizations.securityMonitoringConditions.list": list_organization_security_monitoring_conditions "/apigee:v1/apigee.organizations.securityMonitoringConditions.list/filter": filter "/apigee:v1/apigee.organizations.securityMonitoringConditions.list/pageSize": page_size "/apigee:v1/apigee.organizations.securityMonitoringConditions.list/pageToken": page_token "/apigee:v1/apigee.organizations.securityMonitoringConditions.list/parent": parent +"/apigee:v1/apigee.organizations.securityMonitoringConditions.list/riskAssessmentType": risk_assessment_type "/apigee:v1/apigee.organizations.securityMonitoringConditions.patch": patch_organization_security_monitoring_condition "/apigee:v1/apigee.organizations.securityMonitoringConditions.patch/name": name "/apigee:v1/apigee.organizations.securityMonitoringConditions.patch/updateMask": update_mask diff --git a/generated/google-apis-apigee_v1/CHANGELOG.md b/generated/google-apis-apigee_v1/CHANGELOG.md index 3b538808eac..007224ecf21 100644 --- a/generated/google-apis-apigee_v1/CHANGELOG.md +++ b/generated/google-apis-apigee_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-apigee_v1 +### v0.121.0 (2026-02-22) + +* Regenerated from discovery document revision 20260218 + ### v0.120.0 (2026-02-08) * Regenerated from discovery document revision 20260130 diff --git a/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/classes.rb b/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/classes.rb index 7504750a682..0faf58ec47b 100644 --- a/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/classes.rb +++ b/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/classes.rb @@ -11063,6 +11063,11 @@ class GoogleCloudApigeeV1SecurityAssessmentResultResource # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultResourceApiHubDeploymentDetails] attr_accessor :api_hub_deployment_details + # Optional. + # Corresponds to the JSON property `apiHubGatewayType` + # @return [String] + attr_accessor :api_hub_gateway_type + # Required. Name of this resource. For an Apigee API Proxy, this should be the # id of the API proxy. For an API Hub Deployment, this should be the id of the # deployment. @@ -11087,6 +11092,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @api_hub_deployment_details = args[:api_hub_deployment_details] if args.key?(:api_hub_deployment_details) + @api_hub_gateway_type = args[:api_hub_gateway_type] if args.key?(:api_hub_gateway_type) @name = args[:name] if args.key?(:name) @resource_revision_id = args[:resource_revision_id] if args.key?(:resource_revision_id) @type = args[:type] if args.key?(:type) @@ -11442,6 +11448,13 @@ def update!(**args) class GoogleCloudApigeeV1SecurityMonitoringCondition include Google::Apis::Core::Hashable + # Optional. The API Hub gateway monitored by the security monitoring condition. + # This should only be set if risk_assessment_type is API_HUB. Format: `projects/` + # project`/locations/`location`/plugins/`plugin`/instances/`instance`` + # Corresponds to the JSON property `apiHubGateway` + # @return [String] + attr_accessor :api_hub_gateway + # Output only. The time of the security monitoring condition creation. # Corresponds to the JSON property `createTime` # @return [String] @@ -11469,8 +11482,15 @@ class GoogleCloudApigeeV1SecurityMonitoringCondition # @return [String] attr_accessor :profile - # Optional. Scope of the security monitoring condition. For Apigee, the - # environment is the scope of the resources. + # Optional. The risk assessment type of the security monitoring condition. + # Defaults to ADVANCED_API_SECURITY. + # Corresponds to the JSON property `riskAssessmentType` + # @return [String] + attr_accessor :risk_assessment_type + + # Optional. Scope of the security monitoring condition. When RiskAssessmentType + # is APIGEE, the scope should be set to the environment of the resources. When + # RiskAssessmentType is API_HUB, the scope should not be set. # Corresponds to the JSON property `scope` # @return [String] attr_accessor :scope @@ -11496,11 +11516,13 @@ def initialize(**args) # Update properties of this object def update!(**args) + @api_hub_gateway = args[:api_hub_gateway] if args.key?(:api_hub_gateway) @create_time = args[:create_time] if args.key?(:create_time) @include = args[:include] if args.key?(:include) @include_all_resources = args[:include_all_resources] if args.key?(:include_all_resources) @name = args[:name] if args.key?(:name) @profile = args[:profile] if args.key?(:profile) + @risk_assessment_type = args[:risk_assessment_type] if args.key?(:risk_assessment_type) @scope = args[:scope] if args.key?(:scope) @total_deployed_resources = args[:total_deployed_resources] if args.key?(:total_deployed_resources) @total_monitored_resources = args[:total_monitored_resources] if args.key?(:total_monitored_resources) diff --git a/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/gem_version.rb b/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/gem_version.rb index bc84c40253b..33410f91484 100644 --- a/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/gem_version.rb +++ b/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module ApigeeV1 # Version of the google-apis-apigee_v1 gem - GEM_VERSION = "0.120.0" + GEM_VERSION = "0.121.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20260130" + REVISION = "20260218" end end end diff --git a/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/representations.rb b/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/representations.rb index a3b10caf7da..0f83c743256 100644 --- a/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/representations.rb +++ b/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/representations.rb @@ -5058,6 +5058,7 @@ class GoogleCloudApigeeV1SecurityAssessmentResultResource class Representation < Google::Apis::Core::JsonRepresentation property :api_hub_deployment_details, as: 'apiHubDeploymentDetails', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultResourceApiHubDeploymentDetails, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultResourceApiHubDeploymentDetails::Representation + property :api_hub_gateway_type, as: 'apiHubGatewayType' property :name, as: 'name' property :resource_revision_id, as: 'resourceRevisionId' property :type, as: 'type' @@ -5157,6 +5158,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleCloudApigeeV1SecurityMonitoringCondition # @private class Representation < Google::Apis::Core::JsonRepresentation + property :api_hub_gateway, as: 'apiHubGateway' property :create_time, as: 'createTime' property :include, as: 'include', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray::Representation @@ -5164,6 +5166,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :name, as: 'name' property :profile, as: 'profile' + property :risk_assessment_type, as: 'riskAssessmentType' property :scope, as: 'scope' property :total_deployed_resources, as: 'totalDeployedResources' property :total_monitored_resources, as: 'totalMonitoredResources' diff --git a/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/service.rb b/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/service.rb index efa00711d28..27a31a67c3f 100644 --- a/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/service.rb +++ b/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/service.rb @@ -12508,6 +12508,9 @@ def create_organization_security_monitoring_condition(parent, google_cloud_apige # Required. The name of the security monitoring condition to delete. Format: ` # organizations/`org`/securityMonitoringConditions/` # security_monitoring_condition`` + # @param [String] risk_assessment_type + # Optional. The risk assessment type of the security monitoring condition. + # Defaults to ADVANCED_API_SECURITY. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -12525,11 +12528,12 @@ def create_organization_security_monitoring_condition(parent, google_cloud_apige # @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 delete_organization_security_monitoring_condition(name, fields: nil, quota_user: nil, options: nil, &block) + def delete_organization_security_monitoring_condition(name, risk_assessment_type: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', options) command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty command.params['name'] = name unless name.nil? + command.query['riskAssessmentType'] = risk_assessment_type unless risk_assessment_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -12540,6 +12544,9 @@ def delete_organization_security_monitoring_condition(name, fields: nil, quota_u # Required. The name of the security monitoring condition to get. Format: ` # organizations/`org`/securityMonitoringConditions/` # security_monitoring_condition`` + # @param [String] risk_assessment_type + # Optional. The risk assessment type of the security monitoring condition. + # Defaults to ADVANCED_API_SECURITY. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -12557,11 +12564,12 @@ def delete_organization_security_monitoring_condition(name, fields: nil, quota_u # @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 get_organization_security_monitoring_condition(name, fields: nil, quota_user: nil, options: nil, &block) + def get_organization_security_monitoring_condition(name, risk_assessment_type: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', options) command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityMonitoringCondition::Representation command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityMonitoringCondition command.params['name'] = name unless name.nil? + command.query['riskAssessmentType'] = risk_assessment_type unless risk_assessment_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -12572,14 +12580,20 @@ def get_organization_security_monitoring_condition(name, fields: nil, quota_user # Required. For a specific organization, list all the security monitoring # conditions. Format: `organizations/`org`` # @param [String] filter - # Optional. Filter for the monitoring conditions. For example: `profile=profile1 - # AND scope=env1` + # Optional. Filter for the monitoring conditions. When RiskAssessmentType is + # APIGEE, monitoring conditions can be filtered by profile and scope. For + # example: `profile=profile1 AND scope=env1` When RiskAssessmentType is API_HUB, + # monitoring conditions can be filtered by profile and api_hub_gateway. For + # example: `profile=profile1 AND api_hub_gateway=gateway1` # @param [Fixnum] page_size # Optional. The maximum number of monitoring conditions to return. # @param [String] page_token # Optional. A page token, received from a previous ` # ListSecurityMonitoringConditions` call. Provide this to retrieve the # subsequent page. + # @param [String] risk_assessment_type + # Optional. The risk assessment type of the security monitoring condition. + # Defaults to ADVANCED_API_SECURITY. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -12597,7 +12611,7 @@ def get_organization_security_monitoring_condition(name, fields: nil, quota_user # @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_security_monitoring_conditions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + 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) command = make_simple_command(:get, 'v1/{+parent}/securityMonitoringConditions', options) command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponse::Representation command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponse @@ -12605,6 +12619,7 @@ def list_organization_security_monitoring_conditions(parent, filter: nil, page_s 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['riskAssessmentType'] = risk_assessment_type unless risk_assessment_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block)