Class Source (1.18.1)

Source(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The location of the function source code.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
storage_source google.cloud.functions_v2.types.StorageSource
If provided, get the source from this location in Google Cloud Storage. This field is a member of oneof_ source.
repo_source google.cloud.functions_v2.types.RepoSource
If provided, get the source from this location in a Cloud Source Repository. This field is a member of oneof_ source.
git_uri str
If provided, get the source from GitHub repository. This option is valid only for GCF 1st Gen function. Example: https://github.com/