View Source GoogleApi.CloudFunctions.V2.Model.Source (google_api_cloud_functions v0.37.0)

The location of the function source code.

Attributes

  • gitUri (type: String.t, default: nil) - If provided, get the source from GitHub repository. This option is valid only for GCF 1st Gen function. Example: https://github.com///blob//
  • repoSource (type: GoogleApi.CloudFunctions.V2.Model.RepoSource.t, default: nil) - If provided, get the source from this location in a Cloud Source Repository.
  • storageSource (type: GoogleApi.CloudFunctions.V2.Model.StorageSource.t, default: nil) - If provided, get the source from this location in Google Cloud Storage.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudFunctions.V2.Model.Source{
  gitUri: String.t() | nil,
  repoSource: GoogleApi.CloudFunctions.V2.Model.RepoSource.t() | nil,
  storageSource: GoogleApi.CloudFunctions.V2.Model.StorageSource.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.