com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetHostQueryResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.apigee.v1.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property created Creation time of the query.
* @property envgroupHostname Hostname is available only when query is executed at host level.
* @property error Error is set when query fails.
* @property executionTime ExecutionTime is available only after the query is completed.
* @property name Asynchronous Query Name.
* @property queryParams Contains information like metrics, dimenstions etc of the AsyncQuery.
* @property reportDefinitionId Asynchronous Report ID.
* @property result Result is available only after the query is completed.
* @property resultFileSize ResultFileSize is available only after the query is completed.
* @property resultRows ResultRows is available only after the query is completed.
* @property self Self link of the query. Example: `/organizations/myorg/environments/myenv/queries/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd` or following format if query is running at host level: `/organizations/myorg/hostQueries/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd`
* @property state Query state could be "enqueued", "running", "completed", "failed".
* @property updated Last updated timestamp for the query.
*/
public data class GetHostQueryResult(
public val created: String,
public val envgroupHostname: String,
public val error: String,
public val executionTime: String,
public val name: String,
public val queryParams: GoogleCloudApigeeV1QueryMetadataResponse,
public val reportDefinitionId: String,
public val result: GoogleCloudApigeeV1AsyncQueryResultResponse,
public val resultFileSize: String,
public val resultRows: String,
public val self: String,
public val state: String,
public val updated: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.apigee.v1.outputs.GetHostQueryResult): GetHostQueryResult = GetHostQueryResult(
created = javaType.created(),
envgroupHostname = javaType.envgroupHostname(),
error = javaType.error(),
executionTime = javaType.executionTime(),
name = javaType.name(),
queryParams = javaType.queryParams().let({ args0 ->
com.pulumi.googlenative.apigee.v1.kotlin.outputs.GoogleCloudApigeeV1QueryMetadataResponse.Companion.toKotlin(args0)
}),
reportDefinitionId = javaType.reportDefinitionId(),
result = javaType.result().let({ args0 ->
com.pulumi.googlenative.apigee.v1.kotlin.outputs.GoogleCloudApigeeV1AsyncQueryResultResponse.Companion.toKotlin(args0)
}),
resultFileSize = javaType.resultFileSize(),
resultRows = javaType.resultRows(),
self = javaType.self(),
state = javaType.state(),
updated = javaType.updated(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy