Class: Google::Cloud::Functions::V2::StorageSource

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#bucket::String

Returns Google Cloud Storage bucket containing the source (see Bucket Name Requirements).

Returns:



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.

Returns:

  • (::Integer)

    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.

Returns:

  • (::String)

    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.

Returns:

  • (::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.



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