Interface SourceRepositoryOrBuilder (2.21.0)

public interface SourceRepositoryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeployedUrl()

public abstract String getDeployedUrl()

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.

string deployed_url = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The deployedUrl.

getDeployedUrlBytes()

public abstract ByteString getDeployedUrlBytes()

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.

string deployed_url = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for deployedUrl.

getUrl()

public abstract String getUrl()

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 can omit paths/* if you want to use the main directory.

string url = 1;

Returns
TypeDescription
String

The url.

getUrlBytes()

public abstract ByteString getUrlBytes()

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 can omit paths/* if you want to use the main directory.

string url = 1;

Returns
TypeDescription
ByteString

The bytes for url.