Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-apigee_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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)
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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
Expand All @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -5157,13 +5158,15 @@ 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

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

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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand All @@ -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
Expand All @@ -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)
Expand All @@ -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
Expand All @@ -12597,14 +12611,15 @@ 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
command.params['parent'] = parent unless parent.nil?
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)
Expand Down