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.CloudFunctionsServiceClient
boolean
void
setClient
(com.google.cloud.functions.v1.CloudFunctionsServiceClient client) The client to use during service invocation.void
setFunctionName
(String functionName) Set the function namevoid
setLocation
(String location) The target location.void
setOperation
(GoogleCloudFunctionsOperations operation) The operation to perform on the producer.void
setPojoRequest
(boolean pojoRequest) Configure the input type.void
setProject
(String project) The project to work with.void
setServiceAccountKey
(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
-