ConfigArgs

data class ConfigArgs(val apiConfigId: Output<String>? = null, val apiId: Output<String>? = null, val displayName: Output<String>? = null, val gatewayConfig: Output<ApigatewayGatewayConfigArgs>? = null, val gatewayServiceAccount: Output<String>? = null, val grpcServices: Output<List<ApigatewayApiConfigGrpcServiceDefinitionArgs>>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val managedServiceConfigs: Output<List<ApigatewayApiConfigFileArgs>>? = null, val openapiDocuments: Output<List<ApigatewayApiConfigOpenApiDocumentArgs>>? = null, val project: Output<String>? = null) : ConvertibleToJava<ConfigArgs>

Creates a new ApiConfig in a given project and location. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun ConfigArgs(apiConfigId: Output<String>? = null, apiId: Output<String>? = null, displayName: Output<String>? = null, gatewayConfig: Output<ApigatewayGatewayConfigArgs>? = null, gatewayServiceAccount: Output<String>? = null, grpcServices: Output<List<ApigatewayApiConfigGrpcServiceDefinitionArgs>>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, managedServiceConfigs: Output<List<ApigatewayApiConfigFileArgs>>? = null, openapiDocuments: Output<List<ApigatewayApiConfigOpenApiDocumentArgs>>? = null, project: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ConfigArgs

Properties

Link copied to clipboard
val apiConfigId: Output<String>? = null

Required. Identifier to assign to the API Config. Must be unique within scope of the parent resource.

Link copied to clipboard
val apiId: Output<String>? = null
Link copied to clipboard
val displayName: Output<String>? = null

Optional. Display name.

Link copied to clipboard

Immutable. Gateway specific configuration.

Link copied to clipboard
val gatewayServiceAccount: Output<String>? = null

Immutable. The Google Cloud IAM Service Account that Gateways serving this config should use to authenticate to other services. This may either be the Service Account's email ({ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com) or its full resource name (projects/{PROJECT}/accounts/{UNIQUE_ID}). This is most often used when the service is a GCP resource such as a Cloud Run Service or an IAP-secured service.

Link copied to clipboard

Optional. gRPC service definition files. If specified, openapi_documents must not be included.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard

Optional. Service Configuration files. At least one must be included when using gRPC service definitions. See https://cloud.google.com/endpoints/docs/grpc/grpc-service-config#service_configuration_overview for the expected file contents. If multiple files are specified, the files are merged with the following rules: * All singular scalar fields are merged using "last one wins" semantics in the order of the files uploaded. * Repeated fields are concatenated. * Singular embedded messages are merged using these rules for nested fields.

Link copied to clipboard

Optional. OpenAPI specification documents. If specified, grpc_services and managed_service_configs must not be included.

Link copied to clipboard
val project: Output<String>? = null