1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. discoveryengine
  5. ServingConfig
Google Cloud v9.6.0 published on Wednesday, Nov 26, 2025 by Pulumi
gcp logo
Google Cloud v9.6.0 published on Wednesday, Nov 26, 2025 by Pulumi

    Represents a serving config which is a singleton resource under engine. A default serving config is automatically provisioned and deleted with its parent engine.

    To get more information about ServingConfig, see:

    Create ServingConfig Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ServingConfig(name: string, args: ServingConfigArgs, opts?: CustomResourceOptions);
    @overload
    def ServingConfig(resource_name: str,
                      args: ServingConfigArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServingConfig(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      engine_id: Optional[str] = None,
                      location: Optional[str] = None,
                      boost_control_ids: Optional[Sequence[str]] = None,
                      collection_id: Optional[str] = None,
                      filter_control_ids: Optional[Sequence[str]] = None,
                      project: Optional[str] = None,
                      promote_control_ids: Optional[Sequence[str]] = None,
                      redirect_control_ids: Optional[Sequence[str]] = None,
                      serving_config_id: Optional[str] = None,
                      synonyms_control_ids: Optional[Sequence[str]] = None)
    func NewServingConfig(ctx *Context, name string, args ServingConfigArgs, opts ...ResourceOption) (*ServingConfig, error)
    public ServingConfig(string name, ServingConfigArgs args, CustomResourceOptions? opts = null)
    public ServingConfig(String name, ServingConfigArgs args)
    public ServingConfig(String name, ServingConfigArgs args, CustomResourceOptions options)
    
    type: gcp:discoveryengine:ServingConfig
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ServingConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ServingConfigArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ServingConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServingConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServingConfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var servingConfigResource = new Gcp.DiscoveryEngine.ServingConfig("servingConfigResource", new()
    {
        EngineId = "string",
        Location = "string",
        BoostControlIds = new[]
        {
            "string",
        },
        CollectionId = "string",
        FilterControlIds = new[]
        {
            "string",
        },
        Project = "string",
        PromoteControlIds = new[]
        {
            "string",
        },
        RedirectControlIds = new[]
        {
            "string",
        },
        ServingConfigId = "string",
        SynonymsControlIds = new[]
        {
            "string",
        },
    });
    
    example, err := discoveryengine.NewServingConfig(ctx, "servingConfigResource", &discoveryengine.ServingConfigArgs{
    	EngineId: pulumi.String("string"),
    	Location: pulumi.String("string"),
    	BoostControlIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	CollectionId: pulumi.String("string"),
    	FilterControlIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Project: pulumi.String("string"),
    	PromoteControlIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	RedirectControlIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ServingConfigId: pulumi.String("string"),
    	SynonymsControlIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var servingConfigResource = new ServingConfig("servingConfigResource", ServingConfigArgs.builder()
        .engineId("string")
        .location("string")
        .boostControlIds("string")
        .collectionId("string")
        .filterControlIds("string")
        .project("string")
        .promoteControlIds("string")
        .redirectControlIds("string")
        .servingConfigId("string")
        .synonymsControlIds("string")
        .build());
    
    serving_config_resource = gcp.discoveryengine.ServingConfig("servingConfigResource",
        engine_id="string",
        location="string",
        boost_control_ids=["string"],
        collection_id="string",
        filter_control_ids=["string"],
        project="string",
        promote_control_ids=["string"],
        redirect_control_ids=["string"],
        serving_config_id="string",
        synonyms_control_ids=["string"])
    
    const servingConfigResource = new gcp.discoveryengine.ServingConfig("servingConfigResource", {
        engineId: "string",
        location: "string",
        boostControlIds: ["string"],
        collectionId: "string",
        filterControlIds: ["string"],
        project: "string",
        promoteControlIds: ["string"],
        redirectControlIds: ["string"],
        servingConfigId: "string",
        synonymsControlIds: ["string"],
    });
    
    type: gcp:discoveryengine:ServingConfig
    properties:
        boostControlIds:
            - string
        collectionId: string
        engineId: string
        filterControlIds:
            - string
        location: string
        project: string
        promoteControlIds:
            - string
        redirectControlIds:
            - string
        servingConfigId: string
        synonymsControlIds:
            - string
    

    ServingConfig Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ServingConfig resource accepts the following input properties:

    EngineId string
    The ID of the engine associated with the serving config.
    Location string
    The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
    BoostControlIds List<string>
    The resource IDs of the boost controls to be applied.
    CollectionId string
    The collection ID. Currently only accepts <span pulumi-lang-nodejs=""defaultCollection"" pulumi-lang-dotnet=""DefaultCollection"" pulumi-lang-go=""defaultCollection"" pulumi-lang-python=""default_collection"" pulumi-lang-yaml=""defaultCollection"" pulumi-lang-java=""defaultCollection"">"default_collection".
    FilterControlIds List<string>
    The resource IDs of the filter controls to be applied.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PromoteControlIds List<string>
    The resource IDs of the promote controls to be applied.
    RedirectControlIds List<string>
    The resource IDs of the redirect controls to be applied.
    ServingConfigId string
    'The unique ID of the serving config. Currently only accepts <span pulumi-lang-nodejs=""defaultSearch"" pulumi-lang-dotnet=""DefaultSearch"" pulumi-lang-go=""defaultSearch"" pulumi-lang-python=""default_search"" pulumi-lang-yaml=""defaultSearch"" pulumi-lang-java=""defaultSearch"">"default_search".'
    SynonymsControlIds List<string>
    The resource IDs of the synonyms controls to be applied.
    EngineId string
    The ID of the engine associated with the serving config.
    Location string
    The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
    BoostControlIds []string
    The resource IDs of the boost controls to be applied.
    CollectionId string
    The collection ID. Currently only accepts <span pulumi-lang-nodejs=""defaultCollection"" pulumi-lang-dotnet=""DefaultCollection"" pulumi-lang-go=""defaultCollection"" pulumi-lang-python=""default_collection"" pulumi-lang-yaml=""defaultCollection"" pulumi-lang-java=""defaultCollection"">"default_collection".
    FilterControlIds []string
    The resource IDs of the filter controls to be applied.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PromoteControlIds []string
    The resource IDs of the promote controls to be applied.
    RedirectControlIds []string
    The resource IDs of the redirect controls to be applied.
    ServingConfigId string
    'The unique ID of the serving config. Currently only accepts <span pulumi-lang-nodejs=""defaultSearch"" pulumi-lang-dotnet=""DefaultSearch"" pulumi-lang-go=""defaultSearch"" pulumi-lang-python=""default_search"" pulumi-lang-yaml=""defaultSearch"" pulumi-lang-java=""defaultSearch"">"default_search".'
    SynonymsControlIds []string
    The resource IDs of the synonyms controls to be applied.
    engineId String
    The ID of the engine associated with the serving config.
    location String
    The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
    boostControlIds List<String>
    The resource IDs of the boost controls to be applied.
    collectionId String
    The collection ID. Currently only accepts <span pulumi-lang-nodejs=""defaultCollection"" pulumi-lang-dotnet=""DefaultCollection"" pulumi-lang-go=""defaultCollection"" pulumi-lang-python=""default_collection"" pulumi-lang-yaml=""defaultCollection"" pulumi-lang-java=""defaultCollection"">"default_collection".
    filterControlIds List<String>
    The resource IDs of the filter controls to be applied.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    promoteControlIds List<String>
    The resource IDs of the promote controls to be applied.
    redirectControlIds List<String>
    The resource IDs of the redirect controls to be applied.
    servingConfigId String
    'The unique ID of the serving config. Currently only accepts <span pulumi-lang-nodejs=""defaultSearch"" pulumi-lang-dotnet=""DefaultSearch"" pulumi-lang-go=""defaultSearch"" pulumi-lang-python=""default_search"" pulumi-lang-yaml=""defaultSearch"" pulumi-lang-java=""defaultSearch"">"default_search".'
    synonymsControlIds List<String>
    The resource IDs of the synonyms controls to be applied.
    engineId string
    The ID of the engine associated with the serving config.
    location string
    The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
    boostControlIds string[]
    The resource IDs of the boost controls to be applied.
    collectionId string
    The collection ID. Currently only accepts <span pulumi-lang-nodejs=""defaultCollection"" pulumi-lang-dotnet=""DefaultCollection"" pulumi-lang-go=""defaultCollection"" pulumi-lang-python=""default_collection"" pulumi-lang-yaml=""defaultCollection"" pulumi-lang-java=""defaultCollection"">"default_collection".
    filterControlIds string[]
    The resource IDs of the filter controls to be applied.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    promoteControlIds string[]
    The resource IDs of the promote controls to be applied.
    redirectControlIds string[]
    The resource IDs of the redirect controls to be applied.
    servingConfigId string
    'The unique ID of the serving config. Currently only accepts <span pulumi-lang-nodejs=""defaultSearch"" pulumi-lang-dotnet=""DefaultSearch"" pulumi-lang-go=""defaultSearch"" pulumi-lang-python=""default_search"" pulumi-lang-yaml=""defaultSearch"" pulumi-lang-java=""defaultSearch"">"default_search".'
    synonymsControlIds string[]
    The resource IDs of the synonyms controls to be applied.
    engine_id str
    The ID of the engine associated with the serving config.
    location str
    The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
    boost_control_ids Sequence[str]
    The resource IDs of the boost controls to be applied.
    collection_id str
    The collection ID. Currently only accepts <span pulumi-lang-nodejs=""defaultCollection"" pulumi-lang-dotnet=""DefaultCollection"" pulumi-lang-go=""defaultCollection"" pulumi-lang-python=""default_collection"" pulumi-lang-yaml=""defaultCollection"" pulumi-lang-java=""defaultCollection"">"default_collection".
    filter_control_ids Sequence[str]
    The resource IDs of the filter controls to be applied.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    promote_control_ids Sequence[str]
    The resource IDs of the promote controls to be applied.
    redirect_control_ids Sequence[str]
    The resource IDs of the redirect controls to be applied.
    serving_config_id str
    'The unique ID of the serving config. Currently only accepts <span pulumi-lang-nodejs=""defaultSearch"" pulumi-lang-dotnet=""DefaultSearch"" pulumi-lang-go=""defaultSearch"" pulumi-lang-python=""default_search"" pulumi-lang-yaml=""defaultSearch"" pulumi-lang-java=""defaultSearch"">"default_search".'
    synonyms_control_ids Sequence[str]
    The resource IDs of the synonyms controls to be applied.
    engineId String
    The ID of the engine associated with the serving config.
    location String
    The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
    boostControlIds List<String>
    The resource IDs of the boost controls to be applied.
    collectionId String
    The collection ID. Currently only accepts <span pulumi-lang-nodejs=""defaultCollection"" pulumi-lang-dotnet=""DefaultCollection"" pulumi-lang-go=""defaultCollection"" pulumi-lang-python=""default_collection"" pulumi-lang-yaml=""defaultCollection"" pulumi-lang-java=""defaultCollection"">"default_collection".
    filterControlIds List<String>
    The resource IDs of the filter controls to be applied.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    promoteControlIds List<String>
    The resource IDs of the promote controls to be applied.
    redirectControlIds List<String>
    The resource IDs of the redirect controls to be applied.
    servingConfigId String
    'The unique ID of the serving config. Currently only accepts <span pulumi-lang-nodejs=""defaultSearch"" pulumi-lang-dotnet=""DefaultSearch"" pulumi-lang-go=""defaultSearch"" pulumi-lang-python=""default_search"" pulumi-lang-yaml=""defaultSearch"" pulumi-lang-java=""defaultSearch"">"default_search".'
    synonymsControlIds List<String>
    The resource IDs of the synonyms controls to be applied.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ServingConfig resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The unique full resource name of the serving config. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The unique full resource name of the serving config. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The unique full resource name of the serving config. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The unique full resource name of the serving config. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The unique full resource name of the serving config. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The unique full resource name of the serving config. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}.

    Look up Existing ServingConfig Resource

    Get an existing ServingConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ServingConfigState, opts?: CustomResourceOptions): ServingConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            boost_control_ids: Optional[Sequence[str]] = None,
            collection_id: Optional[str] = None,
            engine_id: Optional[str] = None,
            filter_control_ids: Optional[Sequence[str]] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            promote_control_ids: Optional[Sequence[str]] = None,
            redirect_control_ids: Optional[Sequence[str]] = None,
            serving_config_id: Optional[str] = None,
            synonyms_control_ids: Optional[Sequence[str]] = None) -> ServingConfig
    func GetServingConfig(ctx *Context, name string, id IDInput, state *ServingConfigState, opts ...ResourceOption) (*ServingConfig, error)
    public static ServingConfig Get(string name, Input<string> id, ServingConfigState? state, CustomResourceOptions? opts = null)
    public static ServingConfig get(String name, Output<String> id, ServingConfigState state, CustomResourceOptions options)
    resources:  _:    type: gcp:discoveryengine:ServingConfig    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    BoostControlIds List<string>
    The resource IDs of the boost controls to be applied.
    CollectionId string
    The collection ID. Currently only accepts <span pulumi-lang-nodejs=""defaultCollection"" pulumi-lang-dotnet=""DefaultCollection"" pulumi-lang-go=""defaultCollection"" pulumi-lang-python=""default_collection"" pulumi-lang-yaml=""defaultCollection"" pulumi-lang-java=""defaultCollection"">"default_collection".
    EngineId string
    The ID of the engine associated with the serving config.
    FilterControlIds List<string>
    The resource IDs of the filter controls to be applied.
    Location string
    The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
    Name string
    The unique full resource name of the serving config. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PromoteControlIds List<string>
    The resource IDs of the promote controls to be applied.
    RedirectControlIds List<string>
    The resource IDs of the redirect controls to be applied.
    ServingConfigId string
    'The unique ID of the serving config. Currently only accepts <span pulumi-lang-nodejs=""defaultSearch"" pulumi-lang-dotnet=""DefaultSearch"" pulumi-lang-go=""defaultSearch"" pulumi-lang-python=""default_search"" pulumi-lang-yaml=""defaultSearch"" pulumi-lang-java=""defaultSearch"">"default_search".'
    SynonymsControlIds List<string>
    The resource IDs of the synonyms controls to be applied.
    BoostControlIds []string
    The resource IDs of the boost controls to be applied.
    CollectionId string
    The collection ID. Currently only accepts <span pulumi-lang-nodejs=""defaultCollection"" pulumi-lang-dotnet=""DefaultCollection"" pulumi-lang-go=""defaultCollection"" pulumi-lang-python=""default_collection"" pulumi-lang-yaml=""defaultCollection"" pulumi-lang-java=""defaultCollection"">"default_collection".
    EngineId string
    The ID of the engine associated with the serving config.
    FilterControlIds []string
    The resource IDs of the filter controls to be applied.
    Location string
    The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
    Name string
    The unique full resource name of the serving config. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PromoteControlIds []string
    The resource IDs of the promote controls to be applied.
    RedirectControlIds []string
    The resource IDs of the redirect controls to be applied.
    ServingConfigId string
    'The unique ID of the serving config. Currently only accepts <span pulumi-lang-nodejs=""defaultSearch"" pulumi-lang-dotnet=""DefaultSearch"" pulumi-lang-go=""defaultSearch"" pulumi-lang-python=""default_search"" pulumi-lang-yaml=""defaultSearch"" pulumi-lang-java=""defaultSearch"">"default_search".'
    SynonymsControlIds []string
    The resource IDs of the synonyms controls to be applied.
    boostControlIds List<String>
    The resource IDs of the boost controls to be applied.
    collectionId String
    The collection ID. Currently only accepts <span pulumi-lang-nodejs=""defaultCollection"" pulumi-lang-dotnet=""DefaultCollection"" pulumi-lang-go=""defaultCollection"" pulumi-lang-python=""default_collection"" pulumi-lang-yaml=""defaultCollection"" pulumi-lang-java=""defaultCollection"">"default_collection".
    engineId String
    The ID of the engine associated with the serving config.
    filterControlIds List<String>
    The resource IDs of the filter controls to be applied.
    location String
    The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
    name String
    The unique full resource name of the serving config. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    promoteControlIds List<String>
    The resource IDs of the promote controls to be applied.
    redirectControlIds List<String>
    The resource IDs of the redirect controls to be applied.
    servingConfigId String
    'The unique ID of the serving config. Currently only accepts <span pulumi-lang-nodejs=""defaultSearch"" pulumi-lang-dotnet=""DefaultSearch"" pulumi-lang-go=""defaultSearch"" pulumi-lang-python=""default_search"" pulumi-lang-yaml=""defaultSearch"" pulumi-lang-java=""defaultSearch"">"default_search".'
    synonymsControlIds List<String>
    The resource IDs of the synonyms controls to be applied.
    boostControlIds string[]
    The resource IDs of the boost controls to be applied.
    collectionId string
    The collection ID. Currently only accepts <span pulumi-lang-nodejs=""defaultCollection"" pulumi-lang-dotnet=""DefaultCollection"" pulumi-lang-go=""defaultCollection"" pulumi-lang-python=""default_collection"" pulumi-lang-yaml=""defaultCollection"" pulumi-lang-java=""defaultCollection"">"default_collection".
    engineId string
    The ID of the engine associated with the serving config.
    filterControlIds string[]
    The resource IDs of the filter controls to be applied.
    location string
    The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
    name string
    The unique full resource name of the serving config. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    promoteControlIds string[]
    The resource IDs of the promote controls to be applied.
    redirectControlIds string[]
    The resource IDs of the redirect controls to be applied.
    servingConfigId string
    'The unique ID of the serving config. Currently only accepts <span pulumi-lang-nodejs=""defaultSearch"" pulumi-lang-dotnet=""DefaultSearch"" pulumi-lang-go=""defaultSearch"" pulumi-lang-python=""default_search"" pulumi-lang-yaml=""defaultSearch"" pulumi-lang-java=""defaultSearch"">"default_search".'
    synonymsControlIds string[]
    The resource IDs of the synonyms controls to be applied.
    boost_control_ids Sequence[str]
    The resource IDs of the boost controls to be applied.
    collection_id str
    The collection ID. Currently only accepts <span pulumi-lang-nodejs=""defaultCollection"" pulumi-lang-dotnet=""DefaultCollection"" pulumi-lang-go=""defaultCollection"" pulumi-lang-python=""default_collection"" pulumi-lang-yaml=""defaultCollection"" pulumi-lang-java=""defaultCollection"">"default_collection".
    engine_id str
    The ID of the engine associated with the serving config.
    filter_control_ids Sequence[str]
    The resource IDs of the filter controls to be applied.
    location str
    The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
    name str
    The unique full resource name of the serving config. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    promote_control_ids Sequence[str]
    The resource IDs of the promote controls to be applied.
    redirect_control_ids Sequence[str]
    The resource IDs of the redirect controls to be applied.
    serving_config_id str
    'The unique ID of the serving config. Currently only accepts <span pulumi-lang-nodejs=""defaultSearch"" pulumi-lang-dotnet=""DefaultSearch"" pulumi-lang-go=""defaultSearch"" pulumi-lang-python=""default_search"" pulumi-lang-yaml=""defaultSearch"" pulumi-lang-java=""defaultSearch"">"default_search".'
    synonyms_control_ids Sequence[str]
    The resource IDs of the synonyms controls to be applied.
    boostControlIds List<String>
    The resource IDs of the boost controls to be applied.
    collectionId String
    The collection ID. Currently only accepts <span pulumi-lang-nodejs=""defaultCollection"" pulumi-lang-dotnet=""DefaultCollection"" pulumi-lang-go=""defaultCollection"" pulumi-lang-python=""default_collection"" pulumi-lang-yaml=""defaultCollection"" pulumi-lang-java=""defaultCollection"">"default_collection".
    engineId String
    The ID of the engine associated with the serving config.
    filterControlIds List<String>
    The resource IDs of the filter controls to be applied.
    location String
    The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
    name String
    The unique full resource name of the serving config. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    promoteControlIds List<String>
    The resource IDs of the promote controls to be applied.
    redirectControlIds List<String>
    The resource IDs of the redirect controls to be applied.
    servingConfigId String
    'The unique ID of the serving config. Currently only accepts <span pulumi-lang-nodejs=""defaultSearch"" pulumi-lang-dotnet=""DefaultSearch"" pulumi-lang-go=""defaultSearch"" pulumi-lang-python=""default_search"" pulumi-lang-yaml=""defaultSearch"" pulumi-lang-java=""defaultSearch"">"default_search".'
    synonymsControlIds List<String>
    The resource IDs of the synonyms controls to be applied.

    Import

    ServingConfig can be imported using any of these accepted formats:

    • projects/{{project}}/locations/{{location}}/collections/{{collection_id}}/engines/{{engine_id}}/servingConfigs/{{serving_config_id}}

    • {{project}}/{{location}}/{{collection_id}}/{{engine_id}}/{{serving_config_id}}

    • {{location}}/{{collection_id}}/{{engine_id}}/{{serving_config_id}}

    When using the pulumi import command, ServingConfig can be imported using one of the formats above. For example:

    $ pulumi import gcp:discoveryengine/servingConfig:ServingConfig default projects/{{project}}/locations/{{location}}/collections/{{collection_id}}/engines/{{engine_id}}/servingConfigs/{{serving_config_id}}
    
    $ pulumi import gcp:discoveryengine/servingConfig:ServingConfig default {{project}}/{{location}}/{{collection_id}}/{{engine_id}}/{{serving_config_id}}
    
    $ pulumi import gcp:discoveryengine/servingConfig:ServingConfig default {{location}}/{{collection_id}}/{{engine_id}}/{{serving_config_id}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud v9.6.0 published on Wednesday, Nov 26, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate