Package com.google.cloud.functions.v2
@Generated("by gapic-generator-java")
package com.google.cloud.functions.v2
A client to Cloud Functions API
The interfaces provided are listed below, along with usage samples.
======================= FunctionServiceClient =======================
Service Description: Google Cloud Functions is used to deploy functions that are executed by Google in response to various events. Data connected with that event is passed to a function as the input data.
A **function** is a resource which describes a function that should be executed and how it is triggered.
Sample for FunctionServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
FunctionName name = FunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]");
Function response = functionServiceClient.getFunction(name);
}
-
ClassesClassDescriptionService Description: Google Cloud Functions is used to deploy functions that are executed by Google in response to various events.Settings class to configure an instance of
FunctionServiceClient.Builder for FunctionServiceSettings.