com.pulumi.gcp.cloudasset.kotlin.outputs.GetResourcesSearchAllInvokeResult.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
/**
* A collection of values returned by getResourcesSearchAll.
* @property assetTypes
* @property id The provider-assigned unique ID for this managed resource.
* @property query
* @property results A list of search results based on provided inputs. Structure is defined below.
* @property scope
*/
public data class GetResourcesSearchAllInvokeResult(
public val assetTypes: List? = null,
public val id: String,
public val query: String? = null,
public val results: List,
public val scope: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudasset.outputs.GetResourcesSearchAllInvokeResult): GetResourcesSearchAllInvokeResult = GetResourcesSearchAllInvokeResult(
assetTypes = javaType.assetTypes().map({ args0 -> args0 }),
id = javaType.id(),
query = javaType.query().map({ args0 -> args0 }).orElse(null),
results = javaType.results().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudasset.kotlin.outputs.GetResourcesSearchAllResult.Companion.toKotlin(args0)
})
}),
scope = javaType.scope(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy