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

com.pulumi.googlenative.gkehub.v1alpha.kotlin.outputs.GetScopeResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.gkehub.v1alpha.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property allMemberships If true, all Memberships in the Fleet bind to this Scope.
 * @property createTime When the scope was created.
 * @property deleteTime When the scope was deleted.
 * @property name The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}`
 * @property state State of the scope resource.
 * @property uid Google-generated UUID for this resource. This is unique across all scope resources. If a scope resource is deleted and another resource with the same name is created, it gets a different uid.
 * @property updateTime When the scope was last updated.
 */
public data class GetScopeResult(
    public val allMemberships: Boolean,
    public val createTime: String,
    public val deleteTime: String,
    public val name: String,
    public val state: ScopeLifecycleStateResponse,
    public val uid: String,
    public val updateTime: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.gkehub.v1alpha.outputs.GetScopeResult): GetScopeResult = GetScopeResult(
            allMemberships = javaType.allMemberships(),
            createTime = javaType.createTime(),
            deleteTime = javaType.deleteTime(),
            name = javaType.name(),
            state = javaType.state().let({ args0 ->
                com.pulumi.googlenative.gkehub.v1alpha.kotlin.outputs.ScopeLifecycleStateResponse.Companion.toKotlin(args0)
            }),
            uid = javaType.uid(),
            updateTime = javaType.updateTime(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy