Class GoogleCloudFunctionsConfiguration
- java.lang.Object
-
- org.apache.camel.component.google.functions.GoogleCloudFunctionsConfiguration
-
-
Constructor Summary
Constructors Constructor Description GoogleCloudFunctionsConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GoogleCloudFunctionsConfiguration
copy()
com.google.cloud.functions.v1.CloudFunctionsServiceClient
getClient()
String
getFunctionName()
String
getLocation()
GoogleCloudFunctionsOperations
getOperation()
String
getProject()
String
getServiceAccountKey()
boolean
isPojoRequest()
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
-
-
-
Method Detail
-
getFunctionName
public String getFunctionName()
-
setFunctionName
public void setFunctionName(String functionName)
Set the function name- Parameters:
functionName
-
-
getServiceAccountKey
public String getServiceAccountKey()
-
setServiceAccountKey
public void setServiceAccountKey(String serviceAccountKey)
Service account key- Parameters:
serviceAccountKey
-
-
getProject
public String getProject()
-
setProject
public void setProject(String project)
The project to work with.- Parameters:
project
-
-
getLocation
public String getLocation()
-
setLocation
public void setLocation(String location)
The target location.- Parameters:
location
-
-
getOperation
public GoogleCloudFunctionsOperations getOperation()
-
setOperation
public void setOperation(GoogleCloudFunctionsOperations operation)
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
public GoogleCloudFunctionsConfiguration copy()
-
-