ApiConfigState constructor
- Input<
String?> ? api, - Input<
String?> ? apiConfigId, - Input<
String?> ? apiConfigIdPrefix, - Input<
String?> ? deletionPolicy, - Input<
String?> ? displayName, - Input<
Map< ? effectiveLabels,String, String> ?> - Input<
ApiConfigGatewayConfig?> ? gatewayConfig, - Input<
List< ? grpcServices,ApiConfigGrpcService> ?> - Input<
Map< ? labels,String, String> ?> - Input<
List< ? managedServiceConfigs,ApiConfigManagedServiceConfig> ?> - Input<
String?> ? name, - Input<
List< ? openapiDocuments,ApiConfigOpenapiDocument> ?> - Input<
String?> ? project, - Input<
Map< ? pulumiLabels,String, String> ?> - Input<
String?> ? serviceConfigId,
Creates a new ApiConfigState.
api The API to attach the config to.
apiConfigId Identifier to assign to the API Config. Must be unique within scope of the parent resource(api).
apiConfigIdPrefix Creates a unique name beginning with the
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
displayName A user-visible name for the API.
effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
gatewayConfig Immutable. Gateway specific configuration.
grpcServices gRPC service definition files. If specified, openapiDocuments must not be included.
labels Resource labels to represent user-provided metadata.
managedServiceConfigs 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.
name The resource name of the API Config.
openapiDocuments OpenAPI specification documents. If specified, grpcServices and managedServiceConfigs must not be included.
project The ID of the project in which the resource belongs.
pulumiLabels The combination of labels configured directly on the resource
serviceConfigId The ID of the associated Service Config (https://cloud.google.com/service-infrastructure/docs/glossary#config).
Implementation
const ApiConfigState({
this.api,
this.apiConfigId,
this.apiConfigIdPrefix,
this.deletionPolicy,
this.displayName,
this.effectiveLabels,
this.gatewayConfig,
this.grpcServices,
this.labels,
this.managedServiceConfigs,
this.name,
this.openapiDocuments,
this.project,
this.pulumiLabels,
this.serviceConfigId,
});