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

com.pulumi.googlenative.integrations.v1alpha.kotlin.outputs.GetVersionResult.kt Maven / Gradle / Ivy

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

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

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property createTime Auto-generated.
 * @property databasePersistencePolicy Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.
 * @property description Optional. The integration description.
 * @property errorCatcherConfigs Optional. Error Catch Task configuration for the integration. It's optional.
 * @property integrationParameters Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
 * @property integrationParametersInternal Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
 * @property lastModifierEmail Optional. The last modifier's email address. Generated based on the End User Credentials/LOAS role of the user making the call.
 * @property lockHolder Optional. The edit lock holder's email address. Generated based on the End User Credentials/LOAS role of the user making the call.
 * @property name Auto-generated primary key.
 * @property origin Optional. The origin that indicates where this integration is coming from.
 * @property parentTemplateId Optional. The id of the template which was used to create this integration_version.
 * @property runAsServiceAccount Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task.
 * @property snapshotNumber Optional. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use "HEAD" tag to identify the head.
 * @property state User should not set it as an input.
 * @property status Generated by eventbus. User should not set it as an input.
 * @property taskConfigs Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs.
 * @property taskConfigsInternal Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs.
 * @property teardown Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to "finally" in code.
 * @property triggerConfigs Optional. Trigger configurations.
 * @property triggerConfigsInternal Optional. Trigger configurations.
 * @property updateTime Auto-generated.
 * @property userLabel Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.
 */
public data class GetVersionResult(
    public val createTime: String,
    public val databasePersistencePolicy: String,
    public val description: String,
    public val errorCatcherConfigs: List,
    public val integrationParameters: List,
    public val integrationParametersInternal: EnterpriseCrmFrontendsEventbusProtoWorkflowParametersResponse,
    public val lastModifierEmail: String,
    public val lockHolder: String,
    public val name: String,
    public val origin: String,
    public val parentTemplateId: String,
    public val runAsServiceAccount: String,
    public val snapshotNumber: String,
    public val state: String,
    public val status: String,
    public val taskConfigs: List,
    public val taskConfigsInternal: List,
    public val teardown: EnterpriseCrmEventbusProtoTeardownResponse,
    public val triggerConfigs: List,
    public val triggerConfigsInternal: List,
    public val updateTime: String,
    public val userLabel: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.integrations.v1alpha.outputs.GetVersionResult): GetVersionResult = GetVersionResult(
            createTime = javaType.createTime(),
            databasePersistencePolicy = javaType.databasePersistencePolicy(),
            description = javaType.description(),
            errorCatcherConfigs = javaType.errorCatcherConfigs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.googlenative.integrations.v1alpha.kotlin.outputs.GoogleCloudIntegrationsV1alphaErrorCatcherConfigResponse.Companion.toKotlin(args0)
                })
            }),
            integrationParameters = javaType.integrationParameters().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.googlenative.integrations.v1alpha.kotlin.outputs.GoogleCloudIntegrationsV1alphaIntegrationParameterResponse.Companion.toKotlin(args0)
                })
            }),
            integrationParametersInternal = javaType.integrationParametersInternal().let({ args0 ->
                com.pulumi.googlenative.integrations.v1alpha.kotlin.outputs.EnterpriseCrmFrontendsEventbusProtoWorkflowParametersResponse.Companion.toKotlin(args0)
            }),
            lastModifierEmail = javaType.lastModifierEmail(),
            lockHolder = javaType.lockHolder(),
            name = javaType.name(),
            origin = javaType.origin(),
            parentTemplateId = javaType.parentTemplateId(),
            runAsServiceAccount = javaType.runAsServiceAccount(),
            snapshotNumber = javaType.snapshotNumber(),
            state = javaType.state(),
            status = javaType.status(),
            taskConfigs = javaType.taskConfigs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.googlenative.integrations.v1alpha.kotlin.outputs.GoogleCloudIntegrationsV1alphaTaskConfigResponse.Companion.toKotlin(args0)
                })
            }),
            taskConfigsInternal = javaType.taskConfigsInternal().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.googlenative.integrations.v1alpha.kotlin.outputs.EnterpriseCrmFrontendsEventbusProtoTaskConfigResponse.Companion.toKotlin(args0)
                })
            }),
            teardown = javaType.teardown().let({ args0 ->
                com.pulumi.googlenative.integrations.v1alpha.kotlin.outputs.EnterpriseCrmEventbusProtoTeardownResponse.Companion.toKotlin(args0)
            }),
            triggerConfigs = javaType.triggerConfigs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.googlenative.integrations.v1alpha.kotlin.outputs.GoogleCloudIntegrationsV1alphaTriggerConfigResponse.Companion.toKotlin(args0)
                })
            }),
            triggerConfigsInternal = javaType.triggerConfigsInternal().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.googlenative.integrations.v1alpha.kotlin.outputs.EnterpriseCrmFrontendsEventbusProtoTriggerConfigResponse.Companion.toKotlin(args0)
                })
            }),
            updateTime = javaType.updateTime(),
            userLabel = javaType.userLabel(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy