public class GmailuserssettingsdelegatesdeleteOperation
extends com.mulesoft.connectivity.rest.commons.api.operation.BaseRestOperation
| Constructor and Description |
|---|
GmailuserssettingsdelegatesdeleteOperation() |
| Modifier and Type | Method and Description |
|---|---|
void |
gmailuserssettingsdelegatesdelete(com.mulesoft.connectivity.rest.commons.api.configuration.RestConfiguration config,
com.mulesoft.connectivity.rest.commons.api.connection.RestConnection connection,
String userIdUriParam,
String delegateEmailUriParam,
com.mulesoft.connectivity.rest.commons.api.operation.NonEntityRequestParameters parameters,
com.mulesoft.connectivity.rest.commons.api.operation.ConfigurationOverrides overrides,
org.mule.runtime.extension.api.runtime.streaming.StreamingHelper streamingHelper,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<String,com.mulesoft.connectivity.rest.commons.api.operation.HttpResponseAttributes> callback)
Removes the specified delegate (which can be of any verification status), and revokes any
verification that may have been required for using it.
|
addParameterToBindingContext, doRequest, doVoidRequest, getDefaultResponseMediaType, getExpressionLanguage, getRequestBindings, getRequestBodyDataType, getRequestBuilderWithBindings, getResponseBindings, resolveDefaultResponseMediaType, withMultipartpublic GmailuserssettingsdelegatesdeleteOperation()
@Throws(value=com.mulesoft.connectivity.rest.commons.api.error.RequestErrorTypeProvider.class)
@DisplayName(value="Remove Account Delegate")
@Summary(value="Removes the specified delegate (which can be of any verification status), and revokes any verification that may have been required for using it. Note that a delegate user must be referred to by their primary email address, and not an email alias.")
@MediaType(value="text/plain")
public void gmailuserssettingsdelegatesdelete(@Config
com.mulesoft.connectivity.rest.commons.api.configuration.RestConfiguration config,
@Connection
com.mulesoft.connectivity.rest.commons.api.connection.RestConnection connection,
@DisplayName(value="User Id") @Summary(value="User\'s email address. The special value \"me\" can be used to indicate the authenticated user.")
String userIdUriParam,
@DisplayName(value="Delegate Email") @Summary(value="The email address of the user to be removed as a delegate.")
String delegateEmailUriParam,
@ParameterGroup(name="Request Parameters")
com.mulesoft.connectivity.rest.commons.api.operation.NonEntityRequestParameters parameters,
@ParameterGroup(name="Connector Overrides")
com.mulesoft.connectivity.rest.commons.api.operation.ConfigurationOverrides overrides,
org.mule.runtime.extension.api.runtime.streaming.StreamingHelper streamingHelper,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<String,com.mulesoft.connectivity.rest.commons.api.operation.HttpResponseAttributes> callback)
This operation makes an HTTP DELETE request to the /gmail/v1/users/{userId}/settings/delegates/{delegateEmail} endpoint
config - the configuration to useconnection - the connection to useuserIdUriParam - User's email address. The special value "me" can be used to indicate the
authenticated user.delegateEmailUriParam - The email address of the user to be removed as a delegate.parameters - the NonEntityRequestParametersoverrides - the ConfigurationOverridesstreamingHelper - the StreamingHelpercallback - the operation's CompletionCallbackCopyright © 2023 MuleSoft, Inc.. All rights reserved.