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

com.pulumi.gcp.eventarc.kotlin.outputs.TriggerDestinationCloudRunService.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.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.eventarc.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property path Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
 * @property region Required. The region the Cloud Run service is deployed in.
 * @property service Required. The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project of the trigger object can be addressed.
 */
public data class TriggerDestinationCloudRunService(
    public val path: String? = null,
    public val region: String? = null,
    public val service: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.eventarc.outputs.TriggerDestinationCloudRunService): TriggerDestinationCloudRunService = TriggerDestinationCloudRunService(
            path = javaType.path().map({ args0 -> args0 }).orElse(null),
            region = javaType.region().map({ args0 -> args0 }).orElse(null),
            service = javaType.service(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy