SourceRepositoryArgs

data class SourceRepositoryArgs(val url: Output<String>? = null) : ConvertibleToJava<SourceRepositoryArgs>

Describes SourceRepository, used to represent parameters related to source repository where a function is hosted.

Constructors

Link copied to clipboard
fun SourceRepositoryArgs(url: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): SourceRepositoryArgs

Properties

Link copied to clipboard
val url: Output<String>? = null

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. ////////////*/