Clean Room Auto Approval Rule
CleanRoomAutoApprovalRule object
- clean_room_namestring
The name of the clean room this auto-approval rule belongs to.
- rule_idstring
A generated UUID identifying the rule.
- rule_owner_collaborator_aliasstring
The owner of the rule to whom the rule applies.
- author_collaborator_aliasstring
Collaborator alias of the author covered by the rule. Only one of
author_collaborator_aliasandauthor_scopecan be set.
- author_scopestring
Scope of authors covered by the rule. Only one of
author_collaborator_aliasandauthor_scopecan be set.
- runner_collaborator_aliasstring
Collaborator alias of the runner covered by the rule.
- created_atint64
Timestamp of when the rule was created, in epoch milliseconds.
Get
GET
Get a auto-approval rule by rule ID
API scopes: cleanrooms
Parameters
- clean_room_namestringpath
- rule_idstringpath
Response
Returns the CleanRoomAutoApprovalRule object.
List
GET
List all auto-approval rules for the caller
API scopes: cleanrooms
Parameters
- clean_room_namestringpath
- page_sizeint32query
Maximum number of auto-approval rules to return. Defaults to 100.
- page_tokenstringquery
Opaque pagination token to go to next page based on previous query.
Response
Returns a list of CleanRoomAutoApprovalRule objects.
Create
POST
Create an auto-approval rule
API scopes: cleanrooms
Parameters
- auto_approval_ruleobjectpath
Show child attributesHide child attributes
- clean_room_namestring
The name of the clean room this auto-approval rule belongs to.
- rule_idstring
A generated UUID identifying the rule.
- rule_owner_collaborator_aliasstring
The owner of the rule to whom the rule applies.
- author_collaborator_aliasstringRequired
Collaborator alias of the author covered by the rule. Only one of
author_collaborator_aliasandauthor_scopecan be set.
- author_scopestringRequired
Scope of authors covered by the rule. Only one of
author_collaborator_aliasandauthor_scopecan be set.
- runner_collaborator_aliasstringRequired
Collaborator alias of the runner covered by the rule.
- created_atint64
Timestamp of when the rule was created, in epoch milliseconds.
Response
Returns the CleanRoomAutoApprovalRule object.
Update
PATCH
Update a auto-approval rule by rule ID
API scopes: cleanrooms
Parameters
- auto_approval_ruleobjectpath
The auto-approval rule to update. The rule_id field is used to identify the rule to update.
Show child attributesHide child attributes
- clean_room_namestring
The name of the clean room this auto-approval rule belongs to.
- rule_idstring
A generated UUID identifying the rule.
- rule_owner_collaborator_aliasstring
The owner of the rule to whom the rule applies.
- author_collaborator_aliasstringRequired
Collaborator alias of the author covered by the rule. Only one of
author_collaborator_aliasandauthor_scopecan be set.
- author_scopestringRequired
Scope of authors covered by the rule. Only one of
author_collaborator_aliasandauthor_scopecan be set.
- runner_collaborator_aliasstringRequired
Collaborator alias of the runner covered by the rule.
- created_atint64
Timestamp of when the rule was created, in epoch milliseconds.
Response
Returns the CleanRoomAutoApprovalRule object.
Delete
DELETE
Delete a auto-approval rule by rule ID
API scopes: cleanrooms
Parameters
- clean_room_namestringpath
- rule_idstringpath