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:



152
153
154
155
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 152

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.



152
153
154
155
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 152

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.



152
153
154
155
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 152

class StorageSource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end