Skip to main content

security_feedback

Creates, updates, deletes, gets or lists a security_feedback resource.

Overview

Namesecurity_feedback
TypeResource
Idgoogle.apigee.security_feedback

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringOutput only. Identifier. The feedback name is intended to be a system-generated uuid.
commentstringOptional. Optional text the user can provide for additional, unstructured context.
createTimestring (google-datetime)Output only. The time when this specific feedback id was created.
displayNamestringOptional. The display name of the feedback.
feedbackContextsarrayRequired. One or more attribute/value pairs for constraining the feedback.
feedbackTypestringRequired. The type of feedback being submitted.
reasonstringOptional. The reason for the feedback.
updateTimestring (google-datetime)Output only. The time when this specific feedback id was updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
organizations_security_feedback_getselectorganizationsId, securityFeedbackIdGets a specific customer feedback report.
organizations_security_feedback_listselectorganizationsIdpageToken, pageSizeLists all feedback reports which have already been submitted.
organizations_security_feedback_createinsertorganizationsIdsecurityFeedbackIdCreates a new report containing customer feedback.
organizations_security_feedback_patchupdateorganizationsId, securityFeedbackIdupdateMaskUpdates a specific feedback report.
organizations_security_feedback_deletedeleteorganizationsId, securityFeedbackIdDeletes a specific feedback report. Used for "undo" of a feedback submission.

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.

NameDatatypeDescription
organizationsIdstring
securityFeedbackIdstring
pageSizeinteger (int32)
pageTokenstring
securityFeedbackIdstring
updateMaskstring (google-fieldmask)

SELECT examples

Gets a specific customer feedback report.

SELECT
name,
comment,
createTime,
displayName,
feedbackContexts,
feedbackType,
reason,
updateTime
FROM google.apigee.security_feedback
WHERE organizationsId = '{{ organizationsId }}' -- required
AND securityFeedbackId = '{{ securityFeedbackId }}' -- required
;

INSERT examples

Creates a new report containing customer feedback.

INSERT INTO google.apigee.security_feedback (
data__feedbackContexts,
data__feedbackType,
data__reason,
data__displayName,
data__comment,
organizationsId,
securityFeedbackId
)
SELECT
'{{ feedbackContexts }}',
'{{ feedbackType }}',
'{{ reason }}',
'{{ displayName }}',
'{{ comment }}',
'{{ organizationsId }}',
'{{ securityFeedbackId }}'
RETURNING
name,
comment,
createTime,
displayName,
feedbackContexts,
feedbackType,
reason,
updateTime
;

UPDATE examples

Updates a specific feedback report.

UPDATE google.apigee.security_feedback
SET
data__feedbackContexts = '{{ feedbackContexts }}',
data__feedbackType = '{{ feedbackType }}',
data__reason = '{{ reason }}',
data__displayName = '{{ displayName }}',
data__comment = '{{ comment }}'
WHERE
organizationsId = '{{ organizationsId }}' --required
AND securityFeedbackId = '{{ securityFeedbackId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
comment,
createTime,
displayName,
feedbackContexts,
feedbackType,
reason,
updateTime;

DELETE examples

Deletes a specific feedback report. Used for "undo" of a feedback submission.

DELETE FROM google.apigee.security_feedback
WHERE organizationsId = '{{ organizationsId }}' --required
AND securityFeedbackId = '{{ securityFeedbackId }}' --required
;