All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.cloudfunctions.kotlin.outputs.FunctionSourceRepository.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.cloudfunctions.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property deployedUrl The URL pointing to the hosted repository where the function was defined at the time of deployment.
 * @property url 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/*`. To refer to HEAD, use the `master` moveable alias.
 * * To refer to a specific fixed alias (tag): `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`
 * */*/*/*/*/*/*/*/*/*/*/*/
 */
public data class FunctionSourceRepository(
    public val deployedUrl: String? = null,
    public val url: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.cloudfunctions.outputs.FunctionSourceRepository): FunctionSourceRepository = FunctionSourceRepository(
            deployedUrl = javaType.deployedUrl().map({ args0 -> args0 }).orElse(null),
            url = javaType.url(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy