security_monitoring_conditions
Creates, updates, deletes, gets or lists a security_monitoring_conditions
resource.
Overview
Name | security_monitoring_conditions |
Type | Resource |
Id | google.apigee.security_monitoring_conditions |
Fields
The following fields are returned by SELECT
queries:
- organizations_security_monitoring_conditions_get
- organizations_security_monitoring_conditions_list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Identifier. Name of the security monitoring condition resource. Format: organizations/{org}/securityMonitoringConditions/{security_monitoring_condition} |
createTime | string (google-datetime) | Output only. The time of the security monitoring condition creation. |
include | object | Include only these resources. (id: GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray) |
includeAllResources | object | Include all resources under the scope. (id: GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll) |
profile | string | Required. ID of security profile of the security monitoring condition. |
scope | string | Required. Scope of the security monitoring condition. For Apigee, the environment is the scope of the resources. |
totalDeployedResources | integer (int32) | Output only. Total number of deployed resources within scope. |
totalMonitoredResources | integer (int32) | Output only. Total number of monitored resources within this condition. |
updateTime | string (google-datetime) | Output only. The time of the security monitoring condition update. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Identifier. Name of the security monitoring condition resource. Format: organizations/{org}/securityMonitoringConditions/{security_monitoring_condition} |
createTime | string (google-datetime) | Output only. The time of the security monitoring condition creation. |
include | object | Include only these resources. (id: GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray) |
includeAllResources | object | Include all resources under the scope. (id: GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll) |
profile | string | Required. ID of security profile of the security monitoring condition. |
scope | string | Required. Scope of the security monitoring condition. For Apigee, the environment is the scope of the resources. |
totalDeployedResources | integer (int32) | Output only. Total number of deployed resources within scope. |
totalMonitoredResources | integer (int32) | Output only. Total number of monitored resources within this condition. |
updateTime | string (google-datetime) | Output only. The time of the security monitoring condition update. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
organizations_security_monitoring_conditions_get | select | organizationsId , securityMonitoringConditionsId | Get a security monitoring condition. | |
organizations_security_monitoring_conditions_list | select | organizationsId | pageSize , pageToken , filter | List security monitoring conditions. |
organizations_security_monitoring_conditions_create | insert | organizationsId | securityMonitoringConditionId | Create a security monitoring condition. |
organizations_security_monitoring_conditions_patch | update | organizationsId , securityMonitoringConditionsId | updateMask | Update a security monitoring condition. |
organizations_security_monitoring_conditions_delete | delete | organizationsId , securityMonitoringConditionsId | Delete a security monitoring condition. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
organizationsId | string | |
securityMonitoringConditionsId | string | |
filter | string | |
pageSize | integer (int32) | |
pageToken | string | |
securityMonitoringConditionId | string | |
updateMask | string (google-fieldmask) |
SELECT
examples
- organizations_security_monitoring_conditions_get
- organizations_security_monitoring_conditions_list
Get a security monitoring condition.
SELECT
name,
createTime,
include,
includeAllResources,
profile,
scope,
totalDeployedResources,
totalMonitoredResources,
updateTime
FROM google.apigee.security_monitoring_conditions
WHERE organizationsId = '{{ organizationsId }}' -- required
AND securityMonitoringConditionsId = '{{ securityMonitoringConditionsId }}' -- required;
List security monitoring conditions.
SELECT
name,
createTime,
include,
includeAllResources,
profile,
scope,
totalDeployedResources,
totalMonitoredResources,
updateTime
FROM google.apigee.security_monitoring_conditions
WHERE organizationsId = '{{ organizationsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}';
INSERT
examples
- organizations_security_monitoring_conditions_create
- Manifest
Create a security monitoring condition.
INSERT INTO google.apigee.security_monitoring_conditions (
data__name,
data__profile,
data__scope,
data__includeAllResources,
data__include,
organizationsId,
securityMonitoringConditionId
)
SELECT
'{{ name }}',
'{{ profile }}',
'{{ scope }}',
'{{ includeAllResources }}',
'{{ include }}',
'{{ organizationsId }}',
'{{ securityMonitoringConditionId }}'
RETURNING
name,
createTime,
include,
includeAllResources,
profile,
scope,
totalDeployedResources,
totalMonitoredResources,
updateTime
;
# Description fields are for documentation purposes
- name: security_monitoring_conditions
props:
- name: organizationsId
value: string
description: Required parameter for the security_monitoring_conditions resource.
- name: name
value: string
description: >
Identifier. Name of the security monitoring condition resource. Format: organizations/{org}/securityMonitoringConditions/{security_monitoring_condition}
- name: profile
value: string
description: >
Required. ID of security profile of the security monitoring condition.
- name: scope
value: string
description: >
Required. Scope of the security monitoring condition. For Apigee, the environment is the scope of the resources.
- name: includeAllResources
value: object
description: >
Include all resources under the scope.
- name: include
value: object
description: >
Include only these resources.
- name: securityMonitoringConditionId
value: string
UPDATE
examples
- organizations_security_monitoring_conditions_patch
Update a security monitoring condition.
UPDATE google.apigee.security_monitoring_conditions
SET
data__name = '{{ name }}',
data__profile = '{{ profile }}',
data__scope = '{{ scope }}',
data__includeAllResources = '{{ includeAllResources }}',
data__include = '{{ include }}'
WHERE
organizationsId = '{{ organizationsId }}' --required
AND securityMonitoringConditionsId = '{{ securityMonitoringConditionsId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
createTime,
include,
includeAllResources,
profile,
scope,
totalDeployedResources,
totalMonitoredResources,
updateTime;
DELETE
examples
- organizations_security_monitoring_conditions_delete
Delete a security monitoring condition.
DELETE FROM google.apigee.security_monitoring_conditions
WHERE organizationsId = '{{ organizationsId }}' --required
AND securityMonitoringConditionsId = '{{ securityMonitoringConditionsId }}' --required;