public class GmailuserssettingssendAspatchOperation
extends com.mulesoft.connectivity.rest.commons.api.operation.BaseRestOperation
| Constructor and Description |
|---|
GmailuserssettingssendAspatchOperation() |
| Modifier and Type | Method and Description |
|---|---|
void |
gmailuserssettingssendAspatch(com.mulesoft.connectivity.rest.commons.api.configuration.RestConfiguration config,
com.mulesoft.connectivity.rest.commons.api.connection.RestConnection connection,
String userIdUriParam,
String sendAsEmailUriParam,
org.mule.runtime.api.metadata.TypedValue<InputStream> gmailuserssettingssendAspatchBody,
com.mulesoft.connectivity.rest.commons.api.operation.EntityRequestParameters 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<InputStream,com.mulesoft.connectivity.rest.commons.api.operation.HttpResponseAttributes> callback)
Patch the specified send-as alias.
|
addParameterToBindingContext, doRequest, doVoidRequest, getDefaultResponseMediaType, getExpressionLanguage, getRequestBindings, getRequestBodyDataType, getRequestBuilderWithBindings, getResponseBindings, resolveDefaultResponseMediaType, withMultipartpublic GmailuserssettingssendAspatchOperation()
@Throws(value=com.mulesoft.connectivity.rest.commons.api.error.RequestErrorTypeProvider.class) @DisplayName(value="Patch SendAs Alias") @Summary(value="Patch the specified send-as alias.") @MediaType(value="application/json") @OutputResolver(output=GmailuserssettingssendAspatchOutputMetadataResolver.class) public void gmailuserssettingssendAspatch(@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="Send As Email") @Summary(value="The send-as alias to be updated.") String sendAsEmailUriParam, @Content(primary=true) @DisplayName(value="Body") @Summary(value="Settings associated with a send-as alias, which can be either the primary login address associated with the account or a custom \"from\" address. Send-as aliases correspond to the \"Send Mail As\" feature in the web interface.") @TypeResolver(value=GmailuserssettingssendAspatchInputMetadataResolver.class) org.mule.runtime.api.metadata.TypedValue<InputStream> gmailuserssettingssendAspatchBody, @ParameterGroup(name="Request Parameters") com.mulesoft.connectivity.rest.commons.api.operation.EntityRequestParameters 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<InputStream,com.mulesoft.connectivity.rest.commons.api.operation.HttpResponseAttributes> callback)
This operation makes an HTTP PATCH request to the /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail} 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.sendAsEmailUriParam - The send-as alias to be updated.gmailuserssettingssendAspatchBody - the content to useparameters - the EntityRequestParametersoverrides - the ConfigurationOverridesstreamingHelper - the StreamingHelpercallback - the operation's CompletionCallbackCopyright © 2023 MuleSoft, Inc.. All rights reserved.