Reference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::SourceCode::SourceFile.
Source file.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#content
def content() -> ::String
Returns
-
(::String) — Required. Input only. Represents the exact, literal, and complete source
code of the file. Placeholders like
...or comments such as# [rest of code]should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application.
#content=
def content=(value) -> ::String
Parameter
-
value (::String) — Required. Input only. Represents the exact, literal, and complete source
code of the file. Placeholders like
...or comments such as# [rest of code]should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application.
Returns
-
(::String) — Required. Input only. Represents the exact, literal, and complete source
code of the file. Placeholders like
...or comments such as# [rest of code]should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application.
#filename
def filename() -> ::String
Returns
-
(::String) — Required. Input only. The file name for the source code. e.g.,
"index.js"or"node_modules/dependency.js". The filename must be less than 255 characters and cannot contain..,./,//, or end with a/. Cloud Run will place the files in the container subdirectories, please use relative path to access the file.
#filename=
def filename=(value) -> ::String
Parameter
-
value (::String) — Required. Input only. The file name for the source code. e.g.,
"index.js"or"node_modules/dependency.js". The filename must be less than 255 characters and cannot contain..,./,//, or end with a/. Cloud Run will place the files in the container subdirectories, please use relative path to access the file.
Returns
-
(::String) — Required. Input only. The file name for the source code. e.g.,
"index.js"or"node_modules/dependency.js". The filename must be less than 255 characters and cannot contain..,./,//, or end with a/. Cloud Run will place the files in the container subdirectories, please use relative path to access the file.