com.pulumi.gcp.cloudasset.kotlin.outputs.GetResourcesSearchAllResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.cloudasset.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
*
* @property additionalAttributes Additional searchable attributes of this resource. Informational only. The exact set of attributes is subject to change. For example: project id, DNS name etc.
* @property assetType The type of this resource.
* @property description One or more paragraphs of text description of this resource. Maximum length could be up to 1M bytes.
* @property displayName The display name of this resource.
* @property labels Labels associated with this resource.
* @property location Location can be `global`, regional like `us-east1`, or zonal like `us-west1-b`.
* @property name The full resource name. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.
* @property networkTags Network tags associated with this resource.
* @property project The project that this resource belongs to, in the form of `projects/{project_number}`.
*/
public data class GetResourcesSearchAllResult(
public val additionalAttributes: List,
public val assetType: String,
public val description: String,
public val displayName: String,
public val labels: Map,
public val location: String,
public val name: String,
public val networkTags: List,
public val project: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudasset.outputs.GetResourcesSearchAllResult): GetResourcesSearchAllResult = GetResourcesSearchAllResult(
additionalAttributes = javaType.additionalAttributes().map({ args0 -> args0 }),
assetType = javaType.assetType(),
description = javaType.description(),
displayName = javaType.displayName(),
labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
location = javaType.location(),
name = javaType.name(),
networkTags = javaType.networkTags().map({ args0 -> args0 }),
project = javaType.project(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy