Class GoogleCloudFunctionsConfiguration
java.lang.Object
org.apache.camel.component.google.functions.GoogleCloudFunctionsConfiguration
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()com.google.cloud.functions.v1.CloudFunctionsServiceClientbooleanvoidsetClient(com.google.cloud.functions.v1.CloudFunctionsServiceClient client) The client to use during service invocation.voidsetFunctionName(String functionName) Set the function namevoidsetLocation(String location) The target location.voidsetOperation(GoogleCloudFunctionsOperations operation) The operation to perform on the producer.voidsetPojoRequest(boolean pojoRequest) Configure the input type.voidsetProject(String project) The project to work with.voidsetServiceAccountKey(String serviceAccountKey) Service account key
-
Constructor Details
-
GoogleCloudFunctionsConfiguration
public GoogleCloudFunctionsConfiguration()
-
-
Method Details
-
getFunctionName
-
setFunctionName
Set the function name- Parameters:
functionName-
-
getServiceAccountKey
-
setServiceAccountKey
Service account key- Parameters:
serviceAccountKey-
-
getProject
-
setProject
The project to work with.- Parameters:
project-
-
getLocation
-
setLocation
The target location.- Parameters:
location-
-
getOperation
-
setOperation
The operation to perform on the producer. -
getClient
public com.google.cloud.functions.v1.CloudFunctionsServiceClient getClient() -
setClient
public void setClient(com.google.cloud.functions.v1.CloudFunctionsServiceClient client) The client to use during service invocation. -
isPojoRequest
public boolean isPojoRequest() -
setPojoRequest
public void setPojoRequest(boolean pojoRequest) Configure the input type. If true the message will be POJO type.- Parameters:
pojoRequest-
-
copy
-