Class: Google::Cloud::Functions::V2::Source
- Inherits:
-
Object
- Object
- Google::Cloud::Functions::V2::Source
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/functions/v2/functions.rb
Overview
The location of the function source code.
Instance Attribute Summary collapse
-
#git_uri ⇒ ::String
If provided, get the source from GitHub repository.
-
#repo_source ⇒ ::Google::Cloud::Functions::V2::RepoSource
If provided, get the source from this location in a Cloud Source Repository.
-
#storage_source ⇒ ::Google::Cloud::Functions::V2::StorageSource
If provided, get the source from this location in Google Cloud Storage.
Instance Attribute Details
#git_uri ⇒ ::String
Returns If provided, get the source from GitHub repository. This option is valid
only for GCF 1st Gen function.
Example: https://github.com/
221 222 223 224 |
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 221 class Source include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#repo_source ⇒ ::Google::Cloud::Functions::V2::RepoSource
Returns If provided, get the source from this location in a Cloud Source Repository.
221 222 223 224 |
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 221 class Source include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#storage_source ⇒ ::Google::Cloud::Functions::V2::StorageSource
Returns If provided, get the source from this location in Google Cloud Storage.
221 222 223 224 |
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 221 class Source include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |