public sealed class SourceRepository : IMessage<SourceRepository>, IEquatable<SourceRepository>, IDeepCloneable<SourceRepository>, IBufferMessage, IMessage
Describes SourceRepository, used to represent parameters related to
source repository where a function is hosted.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This page details the `SourceRepository` class, which is used to define parameters for source repositories hosting Google Cloud Functions."],["`SourceRepository` is a sealed class that implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class includes properties such as `DeployedUrl` and `Url`, which specify URLs to the hosted repository at the time of deployment, and the repository itself respectively, with specific formatting for commits, branches, and tags."],["The latest version documented on this page for `SourceRepository` is 2.7.0, while the content of the page itself is specific to version 1.1.0, as identified on the top of the page."],["This class is found within the `Google.Cloud.Functions.V1` namespace and is part of the `Google.Cloud.Functions.V1.dll` assembly."]]],[]]