Config class
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.
Constructors
- Config(String name, {ConfigArgs? args, CustomResourceOptions? options})
-
Creates a new Config.
nameThe Pulumi resource name.argsArguments used to configure this Config. The set of arguments for Config.optionsResource options controlling this resource's behavior.
Properties
-
apis
↔ Output<
List< Map< >String, dynamic> > -
A list of API interfaces exported by this service. Only the
namefield 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.latefinal -
authentication
↔ Output<
AuthenticationResponse> -
Auth configuration.
latefinal
-
backend
↔ Output<
BackendResponse> -
API backend configuration.
latefinal
-
billing
↔ Output<
BillingResponse> -
Billing configuration.
latefinal
-
childResources
→ Set<
Resource> -
finalinherited
-
completionSources
↔ Map<
String, IOutputCompletionSource> -
latefinalinherited
-
configVersion
↔ Output<
int> -
Obsolete. Do not use. This field has no semantic meaning. The service config compiler always sets this field to
3.latefinal -
context
↔ Output<
ContextResponse> -
Context configuration.
latefinal
-
control
↔ Output<
ControlResponse> -
Configuration for the service control plane.
latefinal
-
customError
↔ Output<
CustomErrorResponse> -
Custom error configuration.
latefinal
-
documentation
↔ Output<
DocumentationResponse> -
Additional API documentation.
latefinal
-
endpoints
↔ Output<
List< Map< >String, dynamic> > -
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.
latefinal
-
enums
↔ Output<
List< Map< >String, dynamic> > -
A list of all enum types included in this API service. Enums referenced directly or indirectly by the
apisare 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.SomeEnumlatefinal - hashCode → int
-
The hash code for this object.
no setterinherited
-
http
↔ Output<
HttpResponse> -
HTTP configuration.
latefinal
-
id
↔ Output<
String> -
getter/setter pairinherited
- isCustom → bool
-
Returns whether this resource is provider-managed.
no setterinherited
- isProtected → bool
-
Returns whether this resource is protected from deletion.
no setterinherited
- isRemote → bool
-
Whether this resource is registered as remote.
no setterinherited
- isResourceReference → bool
-
Whether this instance represents a resource value returned over RPC.
finalinherited
-
logging
↔ Output<
LoggingResponse> -
Logging configuration.
latefinal
-
logs
↔ Output<
List< Map< >String, dynamic> > -
Defines the logs used by this service.
latefinal
-
metrics
↔ Output<
List< Map< >String, dynamic> > -
Defines the metrics used by this service.
latefinal
-
monitoredResources
↔ Output<
List< Map< >String, dynamic> > -
Defines the monitored resources used by this service. This is required by the Service.monitoring and Service.logging configurations.
latefinal
-
monitoring
↔ Output<
MonitoringResponse> -
Monitoring configuration.
latefinal
-
name
↔ Output<
String> -
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.latefinal -
producerProjectId
↔ Output<
String> -
The Google project that owns this service.
latefinal
-
publishing
↔ Output<
PublishingResponse> -
Settings for Google Cloud Client libraries generated from APIs defined as protocol buffers.
latefinal
-
quota
↔ Output<
QuotaResponse> -
Quota configuration.
latefinal
-
resourceTransforms
→ List<
ResourceTransform> -
Inherited/explicit async transforms.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serviceName
↔ Output<
String> -
latefinal
-
sourceInfo
↔ Output<
SourceInfoResponse> -
The source information for this configuration if available.
latefinal
-
systemParameters
↔ Output<
SystemParametersResponse> -
System parameter configuration.
latefinal
-
systemTypes
↔ Output<
List< Map< >String, dynamic> > -
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.latefinal -
title
↔ Output<
String> -
The product title for this service, it is the name displayed in Google Cloud Console.
latefinal
-
transformations
→ List<
ResourceTransformation> -
Inherited/explicit legacy transformations.
no setterinherited
-
types
↔ Output<
List< Map< >String, dynamic> > -
A list of all proto message types included in this API service. Types referenced directly or indirectly by the
apisare automatically included. Messages which are not referenced but shall be included, such as types used by thegoogle.protobuf.Anytype, should be listed here by name by the configuration author. Example: types: - name: google.protobuf.Int32latefinal -
urn
↔ Output<
String> -
latefinalinherited
-
usage
↔ Output<
UsageResponse> -
Configuration controlling usage of this service.
latefinal
Methods
-
failId(
Object error) → void -
Completes this resource ID with an error when registration fails.
inherited
-
failOutputs(
Object error) → void -
Completes all output properties with
error.inherited -
failUrn(
Object error) → void -
Completes this resource URN with an error when registration fails.
inherited
-
getProvider(
String moduleMember) → ProviderResource? -
Returns provider for
moduleMember's package, if configured.inherited -
getResourceName(
) → String -
Returns this resource's logical name.
inherited
-
getResourceType(
) → String -
Returns this resource's Pulumi type token.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerOutput<
T> (String propertyName, {Object? decoder(Object?)?, bool isSecret = false}) → Output< T> -
Registers a dynamic output property for this resource.
inherited
-
resolveId(
String? value, {required bool isKnown}) → void -
Resolves the provider-assigned ID for this resource.
inherited
-
resolveOutputs(
Struct outputs) → void -
Resolves all output properties from a monitor response payload.
inherited
-
resolveUrn(
String value) → void -
Resolves this resource's URN once assigned by the engine.
inherited
-
serializeProperties(
Map< String, dynamic> properties) → Future<Struct> -
Serializes resource properties for RPC transmission.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited