# Cloud Functions V2 API - Module Google::Cloud::Functions::V2::FunctionService (v1.5.1)

1.5.1 (latest) 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.2 0.10.0 0.9.0 0.8.1 0.7.0 0.6.2 0.5.0 0.4.1 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Cloud Functions V2 API module Google::Cloud::Functions::V2::FunctionService.

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.

To load this service and instantiate a REST client:

    require "google/cloud/functions/v2/function_service/rest"
    client = ::Google::Cloud::Functions::V2::FunctionService::Rest::Client.new