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
#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.