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

com.pulumi.gcp.cloudrun.kotlin.outputs.GetServiceTemplateMetadata.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.cloudrun.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map

/**
 *
 * @property annotations
 * @property generation A sequence number representing a specific generation of the desired state.
 * @property labels Map of string keys and values that can be used to organize and categorize
 * (scope and select) objects.
 * @property name The name of the Cloud Run Service.
 * @property namespace In Cloud Run the namespace must be equal to either the
 * project ID or project number. It will default to the resource's project.
 * @property resourceVersion An opaque value that represents the internal version of this object that
 * can be used by clients to determine when objects have changed. May be used
 * for optimistic concurrency, change detection, and the watch operation on a
 * resource or set of resources. They may only be valid for a
 * particular resource or set of resources.
 * @property selfLink SelfLink is a URL representing this object.
 * @property uid UID is a unique id generated by the server on successful creation of a resource and is not
 * allowed to change on PUT operations.
 */
public data class GetServiceTemplateMetadata(
    public val annotations: Map,
    public val generation: Int,
    public val labels: Map,
    public val name: String,
    public val namespace: String,
    public val resourceVersion: String,
    public val selfLink: String,
    public val uid: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.cloudrun.outputs.GetServiceTemplateMetadata): GetServiceTemplateMetadata = GetServiceTemplateMetadata(
            annotations = javaType.annotations().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            generation = javaType.generation(),
            labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            name = javaType.name(),
            namespace = javaType.namespace(),
            resourceVersion = javaType.resourceVersion(),
            selfLink = javaType.selfLink(),
            uid = javaType.uid(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy