View Source Glific.GCS (Glific v5.1.6)

Glific GCS Manager

Link to this section Summary

Functions

Put bucket name to the process

Generate a signed URL for a private file

Fetch token for GCS

get bucket name from the process

Creating a dataset with messages and contacts as tables

Link to this section Functions

@spec get_bucket_name() :: String.t() | nil

Put bucket name to the process

Link to this function

get_signed_url(file_name, organization_id, opts \\ [])

View Source
@spec get_signed_url(String.t(), non_neg_integer(), keyword()) :: String.t()

Generate a signed URL for a private file

Link to this function

get_token(organization_id)

View Source
@spec get_token(binary()) :: binary()

Fetch token for GCS

Link to this function

put_bucket_name(bucket_name)

View Source
@spec put_bucket_name(String.t()) :: String.t() | nil

get bucket name from the process

Link to this function

refresh_gcs_setup(organization_id)

View Source
@spec refresh_gcs_setup(non_neg_integer()) :: {:ok, any()} | {:error, any()}

Creating a dataset with messages and contacts as tables