Class: Google::Cloud::Functions::V2::StorageSource
- Inherits:
-
Object
- Object
- Google::Cloud::Functions::V2::StorageSource
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/functions/v2/functions.rb
Overview
Location of the source in an archive file in Google Cloud Storage.
Instance Attribute Summary collapse
-
#bucket ⇒ ::String
Google Cloud Storage bucket containing the source (see Bucket Name Requirements).
-
#generation ⇒ ::Integer
Google Cloud Storage generation for the object.
-
#object ⇒ ::String
Google Cloud Storage object containing the source.
-
#source_upload_url ⇒ ::String
When the specified storage bucket is a 1st gen function uploard url bucket, this field should be set as the generated upload url for 1st gen deployment.
Instance Attribute Details
#bucket ⇒ ::String
Returns Google Cloud Storage bucket containing the source (see Bucket Name Requirements).
164 165 166 167 |
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 164 class StorageSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#generation ⇒ ::Integer
Returns Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
164 165 166 167 |
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 164 class StorageSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#object ⇒ ::String
Returns Google Cloud Storage object containing the source.
This object must be a gzipped archive file (.tar.gz
) containing source to
build.
164 165 166 167 |
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 164 class StorageSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#source_upload_url ⇒ ::String
Returns When the specified storage bucket is a 1st gen function uploard url bucket, this field should be set as the generated upload url for 1st gen deployment.
164 165 166 167 |
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 164 class StorageSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |