GoogleApi.AccessApproval.V1.Api.Folders.accessapproval_folders_update_access_approval_settings

You're seeing just the function accessapproval_folders_update_access_approval_settings, go back to GoogleApi.AccessApproval.V1.Api.Folders module for more information.
Link to this function

accessapproval_folders_update_access_approval_settings(connection, name, optional_params \\ [], opts \\ [])

View Source

Specs

accessapproval_folders_update_access_approval_settings(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.AccessApproval.V1.Model.AccessApprovalSettings.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Updates the settings associated with a project, folder, or organization. Settings to update are determined by the value of field_mask.

Parameters

  • connection (type: GoogleApi.AccessApproval.V1.Connection.t) - Connection to server
  • name (type: String.t) - The resource name of the settings. Format is one of: "projects/{project}/accessApprovalSettings" "folders/{folder}/accessApprovalSettings" * "organizations/{organization}/accessApprovalSettings"
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :updateMask (type: String.t) - The update mask applies to the settings. Only the top level fields of AccessApprovalSettings (notification_emails & enrolled_services) are supported. For each field, if it is included, the currently stored value will be entirely overwritten with the value of the field passed in this request. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If this field is left unset, only the notification_emails field will be updated.
    • :body (type: GoogleApi.AccessApproval.V1.Model.AccessApprovalSettings.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.AccessApproval.V1.Model.AccessApprovalSettings{}} on success
  • {:error, info} on failure