import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new service configuration (version) for a managed service. This method only stores the service configuration. To roll out the service configuration to backend systems please call CreateServiceRollout. Only the 100 most recent service configurations and ones referenced by existing rollouts are kept for each service. The rest will be deleted eventually. * Note - this resource's API doesn't support deletion. When deleted, the resource will persist * on Google Cloud even though it will be deleted from Pulumi state. */ export declare class Config extends pulumi.CustomResource { /** * Get an existing Config resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Config; /** * Returns true if the given object is an instance of Config. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Config; /** * A list of API interfaces exported by this service. Only the `name` field of the google.protobuf.Api needs to be provided by the configuration author, as the remaining fields will be derived from the IDL during the normalization process. It is an error to specify an API interface here which cannot be resolved against the associated IDL files. */ readonly apis: pulumi.Output; /** * Auth configuration. */ readonly authentication: pulumi.Output; /** * API backend configuration. */ readonly backend: pulumi.Output; /** * Billing configuration. */ readonly billing: pulumi.Output; /** * Obsolete. Do not use. This field has no semantic meaning. The service config compiler always sets this field to `3`. */ readonly configVersion: pulumi.Output; /** * Context configuration. */ readonly context: pulumi.Output; /** * Configuration for the service control plane. */ readonly control: pulumi.Output; /** * Custom error configuration. */ readonly customError: pulumi.Output; /** * Additional API documentation. */ readonly documentation: pulumi.Output; /** * Configuration for network endpoints. If this is empty, then an endpoint with the same name as the service is automatically generated to service all defined APIs. */ readonly endpoints: pulumi.Output; /** * A list of all enum types included in this API service. Enums referenced directly or indirectly by the `apis` are automatically included. Enums which are not referenced but shall be included should be listed here by name by the configuration author. Example: enums: - name: google.someapi.v1.SomeEnum */ readonly enums: pulumi.Output; /** * HTTP configuration. */ readonly http: pulumi.Output; /** * Logging configuration. */ readonly logging: pulumi.Output; /** * Defines the logs used by this service. */ readonly logs: pulumi.Output; /** * Defines the metrics used by this service. */ readonly metrics: pulumi.Output; /** * Defines the monitored resources used by this service. This is required by the Service.monitoring and Service.logging configurations. */ readonly monitoredResources: pulumi.Output; /** * Monitoring configuration. */ readonly monitoring: pulumi.Output; /** * The service name, which is a DNS-like logical identifier for the service, such as `calendar.googleapis.com`. The service name typically goes through DNS verification to make sure the owner of the service also owns the DNS name. */ readonly name: pulumi.Output; /** * The Google project that owns this service. */ readonly producerProjectId: pulumi.Output; /** * Settings for [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from APIs defined as protocol buffers. */ readonly publishing: pulumi.Output; /** * Quota configuration. */ readonly quota: pulumi.Output; readonly serviceName: pulumi.Output; /** * The source information for this configuration if available. */ readonly sourceInfo: pulumi.Output; /** * System parameter configuration. */ readonly systemParameters: pulumi.Output; /** * A list of all proto message types included in this API service. It serves similar purpose as [google.api.Service.types], except that these types are not needed by user-defined APIs. Therefore, they will not show up in the generated discovery doc. This field should only be used to define system APIs in ESF. */ readonly systemTypes: pulumi.Output; /** * The product title for this service, it is the name displayed in Google Cloud Console. */ readonly title: pulumi.Output; /** * A list of all proto message types included in this API service. Types referenced directly or indirectly by the `apis` are automatically included. Messages which are not referenced but shall be included, such as types used by the `google.protobuf.Any` type, should be listed here by name by the configuration author. Example: types: - name: google.protobuf.Int32 */ readonly types: pulumi.Output; /** * Configuration controlling usage of this service. */ readonly usage: pulumi.Output; /** * Create a Config resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Config resource. */ export interface ConfigArgs { /** * A list of API interfaces exported by this service. Only the `name` field of the google.protobuf.Api needs to be provided by the configuration author, as the remaining fields will be derived from the IDL during the normalization process. It is an error to specify an API interface here which cannot be resolved against the associated IDL files. */ apis?: pulumi.Input[]>; /** * Auth configuration. */ authentication?: pulumi.Input; /** * API backend configuration. */ backend?: pulumi.Input; /** * Billing configuration. */ billing?: pulumi.Input; /** * Obsolete. Do not use. This field has no semantic meaning. The service config compiler always sets this field to `3`. */ configVersion?: pulumi.Input; /** * Context configuration. */ context?: pulumi.Input; /** * Configuration for the service control plane. */ control?: pulumi.Input; /** * Custom error configuration. */ customError?: pulumi.Input; /** * Additional API documentation. */ documentation?: pulumi.Input; /** * Configuration for network endpoints. If this is empty, then an endpoint with the same name as the service is automatically generated to service all defined APIs. */ endpoints?: pulumi.Input[]>; /** * A list of all enum types included in this API service. Enums referenced directly or indirectly by the `apis` are automatically included. Enums which are not referenced but shall be included should be listed here by name by the configuration author. Example: enums: - name: google.someapi.v1.SomeEnum */ enums?: pulumi.Input[]>; /** * HTTP configuration. */ http?: pulumi.Input; /** * A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If empty, the server may choose to generate one instead. */ id?: pulumi.Input; /** * Logging configuration. */ logging?: pulumi.Input; /** * Defines the logs used by this service. */ logs?: pulumi.Input[]>; /** * Defines the metrics used by this service. */ metrics?: pulumi.Input[]>; /** * Defines the monitored resources used by this service. This is required by the Service.monitoring and Service.logging configurations. */ monitoredResources?: pulumi.Input[]>; /** * Monitoring configuration. */ monitoring?: pulumi.Input; /** * The service name, which is a DNS-like logical identifier for the service, such as `calendar.googleapis.com`. The service name typically goes through DNS verification to make sure the owner of the service also owns the DNS name. */ name?: pulumi.Input; /** * The Google project that owns this service. */ producerProjectId?: pulumi.Input; /** * Settings for [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from APIs defined as protocol buffers. */ publishing?: pulumi.Input; /** * Quota configuration. */ quota?: pulumi.Input; serviceName: pulumi.Input; /** * System parameter configuration. */ systemParameters?: pulumi.Input; /** * A list of all proto message types included in this API service. It serves similar purpose as [google.api.Service.types], except that these types are not needed by user-defined APIs. Therefore, they will not show up in the generated discovery doc. This field should only be used to define system APIs in ESF. */ systemTypes?: pulumi.Input[]>; /** * The product title for this service, it is the name displayed in Google Cloud Console. */ title?: pulumi.Input; /** * A list of all proto message types included in this API service. Types referenced directly or indirectly by the `apis` are automatically included. Messages which are not referenced but shall be included, such as types used by the `google.protobuf.Any` type, should be listed here by name by the configuration author. Example: types: - name: google.protobuf.Int32 */ types?: pulumi.Input[]>; /** * Configuration controlling usage of this service. */ usage?: pulumi.Input; }