Integrate Cast with Google Cloud Functions

Integrate Cast with Google Cloud Functions

This page was machine-translated. The Japanese page is the official version.

Google Cloud Platform (GCP) is Google’s cloud computing platform. Cloud Functions lets you run code in the cloud without managing servers or containers. Combined with Actcast Cast, it can process Act Logs.

See the Cloud Functions pricing page for costs.

Integration

You need a GCP account. Open Cloud Functions in the Google Cloud console and create a function.

Configure Cloud Functions

  1. Create a function.

    Create a Cloud Function

  2. Enter the basic information.

    Cloud Function options
  3. Configure the runtime and connections.

    Runtime options

  4. Click Next and implement the function in the language of your choice.

    Implement the function

  5. Click Deploy. Open the Triggers tab and copy the endpoint URL.

    Function endpoint URL

Configure Cast

  1. Sign in to Actcast, select Casts under the application you want, and click Make New Cast.
  2. Configure the trigger. To send all data without a condition, leave the trigger empty and click Configure Action.
  3. Select Webhook and enter the function endpoint in URL. Configure Method, Headers, and Body to match the function implementation.
  4. Click Finish to create the Cast.

For more details about Cast, see Cast.

Rate limits

Webhook Casts have a rate limit that sets the maximum number of requests sent to the target service during a given period. If devices produce more Act Logs than the limit allows, Actcast discards the excess without sending requests. See Webhook Cast rate limits.

Disclaimer

Actcast provides an integration with third-party services such as Google Cloud Functions, but does not guarantee that the integration will continue to work. Idein makes no warranties about third-party services’ accuracy, reliability, completeness, usefulness, or security. Check the provider’s official site for current specifications and terms. You are responsible for using third-party services and for any resulting damages. Contact Idein for Actcast integration questions; for Google Cloud, contact Google support.

Last updated on