Class GoogleCloudFunctionDestinationImpl
java.lang.Object
com.commercetools.api.models.extension.GoogleCloudFunctionDestinationImpl
- All Implemented Interfaces:
ExtensionDestination
,GoogleCloudFunctionDestination
,io.vrap.rmf.base.client.ModelBase
public class GoogleCloudFunctionDestinationImpl
extends Object
implements GoogleCloudFunctionDestination, io.vrap.rmf.base.client.ModelBase
For GoogleCloudFunction destinations, you need to grant permissions to the [email protected]
service account to invoke your function. If your function's version is 1st gen, grant the service account the IAM role Cloud Functions Invoker
. For version 2nd gen, assign the IAM role Cloud Run Invoker
using the Cloud Run console.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.extension.GoogleCloudFunctionDestination
GOOGLE_CLOUD_FUNCTION
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.extension.ExtensionDestination
withExtensionDestination
Methods inherited from interface com.commercetools.api.models.extension.GoogleCloudFunctionDestination
withGoogleCloudFunctionDestination
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
GoogleCloudFunctionDestinationImpl
public GoogleCloudFunctionDestinationImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceExtensionDestination
- Returns:
- type
-
getUrl
URL to the target function.
- Specified by:
getUrl
in interfaceGoogleCloudFunctionDestination
- Returns:
- url
-
setUrl
Description copied from interface:GoogleCloudFunctionDestination
URL to the target function.
- Specified by:
setUrl
in interfaceGoogleCloudFunctionDestination
- Parameters:
url
- value to be set
-
equals
-
hashCode
-