Returns the approvalRequests Resource.
getAccessApprovalSettings(name, x__xgafv=None)
Gets the settings associated with a project, folder, or organization.
updateAccessApprovalSettings(name, body, x__xgafv=None)
Updates the settings associated with a project, folder, or organization.
getAccessApprovalSettings(name, x__xgafv=None)
Gets the settings associated with a project, folder, or organization.
Args:
name: string, Name of the AccessApprovalSettings to retrieve. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Settings on a Project/Folder/Organization related to Access Approval.
"notificationEmails": [ # A list of email addresses to which notifications relating to approval
# requests should be sent. Notifications relating to a resource will be sent
# to all emails in the settings of ancestor resources of that resource.
"A String",
],
"name": "A String", # The resource name of the settings. Format is one of:
#
# - "projects/{project_id}/accessApprovalSettings"
# - "folders/{folder_id}/accessApprovalSettings"
# - "organizations/{organization_id}/accessApprovalSettings"
#
}
updateAccessApprovalSettings(name, body, x__xgafv=None)
Updates the settings associated with a project, folder, or organization. Completely replaces the existing settings. Args: name: string, The resource name of the settings. Format is one of:
- "projects/{project_id}/accessApprovalSettings"
- "folders/{folder_id}/accessApprovalSettings"
- "organizations/{organization_id}/accessApprovalSettings"
(required) body: object, The request body. (required) The object takes the form of: { # Settings on a Project/Folder/Organization related to Access Approval. "notificationEmails": [ # A list of email addresses to which notifications relating to approval # requests should be sent. Notifications relating to a resource will be sent # to all emails in the settings of ancestor resources of that resource. "A String", ], "name": "A String", # The resource name of the settings. Format is one of: #
#
- "projects/{project_id}/accessApprovalSettings"
#- "folders/{folder_id}/accessApprovalSettings"
#- "organizations/{organization_id}/accessApprovalSettings"
#} x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Settings on a Project/Folder/Organization related to Access Approval. "notificationEmails": [ # A list of email addresses to which notifications relating to approval # requests should be sent. Notifications relating to a resource will be sent # to all emails in the settings of ancestor resources of that resource. "A String", ], "name": "A String", # The resource name of the settings. Format is one of: #
#
- "projects/{project_id}/accessApprovalSettings"
#- "folders/{folder_id}/accessApprovalSettings"
#- "organizations/{organization_id}/accessApprovalSettings"
#}