com.pulumi.gcp.apigateway.kotlin.outputs.ApiConfigGrpcService.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.apigateway.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property fileDescriptorSet Input only. File descriptor set, generated by protoc.
* To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb.
* $ protoc --include_imports --include_source_info test.proto -o out.pb
* Structure is documented below.
* @property sources Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate fileDescriptorSet.
* Structure is documented below.
*/
public data class ApiConfigGrpcService(
public val fileDescriptorSet: ApiConfigGrpcServiceFileDescriptorSet,
public val sources: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.apigateway.outputs.ApiConfigGrpcService): ApiConfigGrpcService = ApiConfigGrpcService(
fileDescriptorSet = javaType.fileDescriptorSet().let({ args0 ->
com.pulumi.gcp.apigateway.kotlin.outputs.ApiConfigGrpcServiceFileDescriptorSet.Companion.toKotlin(args0)
}),
sources = javaType.sources().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.apigateway.kotlin.outputs.ApiConfigGrpcServiceSource.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy