@@ -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