Cloud Functions V2 API - Class Google::Cloud::Functions::V2::Source (v0.8.1)

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

#repo_source=

def repo_source=(value) -> ::Google::Cloud::Functions::V2::RepoSource
Parameter
Returns

#storage_source

def storage_source() -> ::Google::Cloud::Functions::V2::StorageSource
Returns

#storage_source=

def storage_source=(value) -> ::Google::Cloud::Functions::V2::StorageSource
Parameter
Returns