Struct google_cloudfunctions1::CloudFunction[][src]

pub struct CloudFunction {
    pub event_trigger: Option<EventTrigger>,
    pub status: Option<String>,
    pub update_time: Option<String>,
    pub description: Option<String>,
    pub source_repository: Option<SourceRepository>,
    pub source_upload_url: Option<String>,
    pub https_trigger: Option<HttpsTrigger>,
    pub source_archive_url: Option<String>,
    pub labels: Option<HashMap<String, String>>,
    pub available_memory_mb: Option<i32>,
    pub version_id: Option<String>,
    pub entry_point: Option<String>,
    pub service_account_email: Option<String>,
    pub timeout: Option<String>,
    pub name: Option<String>,
}

Describes a Cloud Function that contains user computation executed in response to an event. It encapsulate function and triggers configurations.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

A source that fires events in response to a condition in another service.

Output only. Status of the function deployment.

Output only. The last update timestamp of a Cloud Function.

User-provided description of a function.

Beta Feature

The source repository where a function is hosted.

The Google Cloud Storage signed URL used for source uploading, generated by google.cloud.functions.v1.GenerateUploadUrl

An HTTPS endpoint type of source that can be triggered via URL.

The Google Cloud Storage URL, starting with gs://, pointing to the zip archive which contains the function.

Labels associated with this Cloud Function.

The amount of memory in MB available for a function. Defaults to 256MB.

Output only. The version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being created.

The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in source_location.

Output only. The email of the function's service account.

The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.

A user-defined name of the function. Function names must be unique globally and match pattern projects/*/locations/*/functions/*

Trait Implementations

impl Default for CloudFunction
[src]

Returns the "default value" for a type. Read more

impl Clone for CloudFunction
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CloudFunction
[src]

Formats the value using the given formatter. Read more

impl RequestValue for CloudFunction
[src]

impl ResponseResult for CloudFunction
[src]

Auto Trait Implementations