Reference documentation and code samples for the Cloud Functions V2 API class Google::Cloud::Functions::V2::Source.
The location of the function source code.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#git_uri
def git_uri() -> ::String
Returns
- (::String) — If provided, get the source from GitHub repository. This option is valid only for GCF 1st Gen function. Example: https://github.com/
#git_uri=
def git_uri=(value) -> ::String
Parameter
- value (::String) — If provided, get the source from GitHub repository. This option is valid only for GCF 1st Gen function. Example: https://github.com/
Returns
- (::String) — If provided, get the source from GitHub repository. This option is valid only for GCF 1st Gen function. Example: https://github.com/
#repo_source
def repo_source() -> ::Google::Cloud::Functions::V2::RepoSource
Returns
- (::Google::Cloud::Functions::V2::RepoSource) — If provided, get the source from this location in a Cloud Source Repository.
#repo_source=
def repo_source=(value) -> ::Google::Cloud::Functions::V2::RepoSource
Parameter
- value (::Google::Cloud::Functions::V2::RepoSource) — If provided, get the source from this location in a Cloud Source Repository.
Returns
- (::Google::Cloud::Functions::V2::RepoSource) — If provided, get the source from this location in a Cloud Source Repository.
#storage_source
def storage_source() -> ::Google::Cloud::Functions::V2::StorageSource
Returns
- (::Google::Cloud::Functions::V2::StorageSource) — If provided, get the source from this location in Google Cloud Storage.
#storage_source=
def storage_source=(value) -> ::Google::Cloud::Functions::V2::StorageSource
Parameter
- value (::Google::Cloud::Functions::V2::StorageSource) — If provided, get the source from this location in Google Cloud Storage.
Returns
- (::Google::Cloud::Functions::V2::StorageSource) — If provided, get the source from this location in Google Cloud Storage.