import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets a service configuration (version) for a managed service. */ export declare function getConfig(args: GetConfigArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetConfigArgs { configId: string; serviceName: string; view?: string; } export interface GetConfigResult { /** * 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: outputs.servicemanagement.v1.ApiResponse[]; /** * Auth configuration. */ readonly authentication: outputs.servicemanagement.v1.AuthenticationResponse; /** * API backend configuration. */ readonly backend: outputs.servicemanagement.v1.BackendResponse; /** * Billing configuration. */ readonly billing: outputs.servicemanagement.v1.BillingResponse; /** * Obsolete. Do not use. This field has no semantic meaning. The service config compiler always sets this field to `3`. */ readonly configVersion: number; /** * Context configuration. */ readonly context: outputs.servicemanagement.v1.ContextResponse; /** * Configuration for the service control plane. */ readonly control: outputs.servicemanagement.v1.ControlResponse; /** * Custom error configuration. */ readonly customError: outputs.servicemanagement.v1.CustomErrorResponse; /** * Additional API documentation. */ readonly documentation: outputs.servicemanagement.v1.DocumentationResponse; /** * 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: outputs.servicemanagement.v1.EndpointResponse[]; /** * 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: outputs.servicemanagement.v1.EnumResponse[]; /** * HTTP configuration. */ readonly http: outputs.servicemanagement.v1.HttpResponse; /** * Logging configuration. */ readonly logging: outputs.servicemanagement.v1.LoggingResponse; /** * Defines the logs used by this service. */ readonly logs: outputs.servicemanagement.v1.LogDescriptorResponse[]; /** * Defines the metrics used by this service. */ readonly metrics: outputs.servicemanagement.v1.MetricDescriptorResponse[]; /** * Defines the monitored resources used by this service. This is required by the Service.monitoring and Service.logging configurations. */ readonly monitoredResources: outputs.servicemanagement.v1.MonitoredResourceDescriptorResponse[]; /** * Monitoring configuration. */ readonly monitoring: outputs.servicemanagement.v1.MonitoringResponse; /** * 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: string; /** * The Google project that owns this service. */ readonly producerProjectId: string; /** * Settings for [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from APIs defined as protocol buffers. */ readonly publishing: outputs.servicemanagement.v1.PublishingResponse; /** * Quota configuration. */ readonly quota: outputs.servicemanagement.v1.QuotaResponse; /** * The source information for this configuration if available. */ readonly sourceInfo: outputs.servicemanagement.v1.SourceInfoResponse; /** * System parameter configuration. */ readonly systemParameters: outputs.servicemanagement.v1.SystemParametersResponse; /** * 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: outputs.servicemanagement.v1.TypeResponse[]; /** * The product title for this service, it is the name displayed in Google Cloud Console. */ readonly title: string; /** * 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: outputs.servicemanagement.v1.TypeResponse[]; /** * Configuration controlling usage of this service. */ readonly usage: outputs.servicemanagement.v1.UsageResponse; } /** * Gets a service configuration (version) for a managed service. */ export declare function getConfigOutput(args: GetConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetConfigOutputArgs { configId: pulumi.Input; serviceName: pulumi.Input; view?: pulumi.Input; }