Package com.google.cloud.functions.v1
Interface SourceRepositoryOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SourceRepository
,SourceRepository.Builder
public interface SourceRepositoryOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDeployedUrl()
Output only.com.google.protobuf.ByteString
getDeployedUrlBytes()
Output only.String
getUrl()
The URL pointing to the hosted repository where the function is defined.com.google.protobuf.ByteString
getUrlBytes()
The URL pointing to the hosted repository where the function is defined.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getUrl
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:
- The url.
-
getUrlBytes
com.google.protobuf.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:
- The bytes for url.
-
getDeployedUrl
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:
- The deployedUrl.
-
getDeployedUrlBytes
com.google.protobuf.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:
- The bytes for deployedUrl.
-
-