Class: Google::Cloud::Functions::V1::SourceRepository
- Inherits:
-
Object
- Object
- Google::Cloud::Functions::V1::SourceRepository
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/functions/v1/functions.rb
Overview
Describes SourceRepository, used to represent parameters related to source repository where a function is hosted.
Instance Attribute Summary collapse
-
#deployed_url ⇒ ::String
readonly
Output only.
-
#url ⇒ ::String
The URL pointing to the hosted repository where the function is defined.
Instance Attribute Details
#deployed_url ⇒ ::String (readonly)
Returns Output only. The URL pointing to the hosted repository where the function were defined at the time of deployment. It always points to a specific commit in the format described above.
360 361 362 363 |
# File 'proto_docs/google/cloud/functions/v1/functions.rb', line 360 class SourceRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#url ⇒ ::String
Returns The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats:
To refer to a specific commit:
https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*
To refer to a moveable alias (branch):
https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*
In particular, to refer to HEAD use master
moveable alias.
To refer to a specific fixed alias (tag):
https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*
You may omit paths/*
if you want to use the main directory. The function
response may add an empty /paths/
to the URL.
360 361 362 363 |
# File 'proto_docs/google/cloud/functions/v1/functions.rb', line 360 class SourceRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |