Viewing docs for Google Cloud v9.21.0
published on Friday, Apr 24, 2026 by Pulumi
published on Friday, Apr 24, 2026 by Pulumi
Viewing docs for Google Cloud v9.21.0
published on Friday, Apr 24, 2026 by Pulumi
published on Friday, Apr 24, 2026 by Pulumi
Gets a list of existing Discovery Engine data stores. See the official documentation and API.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const example = gcp.discoveryengine.getDataStores({
location: "global",
});
import pulumi
import pulumi_gcp as gcp
example = gcp.discoveryengine.get_data_stores(location="global")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/discoveryengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := discoveryengine.GetDataStores(ctx, &discoveryengine.GetDataStoresArgs{
Location: pulumi.StringRef("global"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var example = Gcp.DiscoveryEngine.GetDataStores.Invoke(new()
{
Location = "global",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.discoveryengine.DiscoveryengineFunctions;
import com.pulumi.gcp.discoveryengine.inputs.GetDataStoresArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = DiscoveryengineFunctions.getDataStores(GetDataStoresArgs.builder()
.location("global")
.build());
}
}
variables:
example:
fn::invoke:
function: gcp:discoveryengine:getDataStores
arguments:
location: global
Using getDataStores
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDataStores(args: GetDataStoresArgs, opts?: InvokeOptions): Promise<GetDataStoresResult>
function getDataStoresOutput(args: GetDataStoresOutputArgs, opts?: InvokeOptions): Output<GetDataStoresResult>def get_data_stores(location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDataStoresResult
def get_data_stores_output(location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDataStoresResult]func GetDataStores(ctx *Context, args *GetDataStoresArgs, opts ...InvokeOption) (*GetDataStoresResult, error)
func GetDataStoresOutput(ctx *Context, args *GetDataStoresOutputArgs, opts ...InvokeOption) GetDataStoresResultOutput> Note: This function is named GetDataStores in the Go SDK.
public static class GetDataStores
{
public static Task<GetDataStoresResult> InvokeAsync(GetDataStoresArgs args, InvokeOptions? opts = null)
public static Output<GetDataStoresResult> Invoke(GetDataStoresInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDataStoresResult> getDataStores(GetDataStoresArgs args, InvokeOptions options)
public static Output<GetDataStoresResult> getDataStores(GetDataStoresArgs args, InvokeOptions options)
fn::invoke:
function: gcp:discoveryengine/getDataStores:getDataStores
arguments:
# arguments dictionaryThe following arguments are supported:
getDataStores Result
The following output properties are available:
- Data
Stores List<GetData Stores Data Store> - A list of all retrieved Discovery Engine data stores. Structure is defined below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- Project string
- Data
Stores []GetData Stores Data Store - A list of all retrieved Discovery Engine data stores. Structure is defined below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- Project string
- data
Stores List<GetData Stores Data Store> - A list of all retrieved Discovery Engine data stores. Structure is defined below.
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- project String
- data
Stores GetData Stores Data Store[] - A list of all retrieved Discovery Engine data stores. Structure is defined below.
- id string
- The provider-assigned unique ID for this managed resource.
- location string
- project string
- data_
stores Sequence[GetData Stores Data Store] - A list of all retrieved Discovery Engine data stores. Structure is defined below.
- id str
- The provider-assigned unique ID for this managed resource.
- location str
- project str
- data
Stores List<Property Map> - A list of all retrieved Discovery Engine data stores. Structure is defined below.
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- project String
Supporting Types
GetDataStoresDataStore
- Content
Config string - The content configuration of the data store (e.g.
NO_CONTENT,CONTENT_REQUIRED,PUBLIC_WEBSITE). - Create
Time string - The timestamp of when the data store was created.
- Data
Store stringId - The unique id of the data store.
- Default
Schema stringId - The id of the default schema associated with the data store.
- Display
Name string - The display name of the data store.
- Industry
Vertical string - The industry vertical of the data store (e.g.
GENERIC,MEDIA,HEALTHCARE_FHIR). - Name string
- The full resource name of the data store.
- Solution
Types List<string> - The solutions the data store enrolls (e.g.
SOLUTION_TYPE_SEARCH,SOLUTION_TYPE_CHAT,SOLUTION_TYPE_RECOMMENDATION).
- Content
Config string - The content configuration of the data store (e.g.
NO_CONTENT,CONTENT_REQUIRED,PUBLIC_WEBSITE). - Create
Time string - The timestamp of when the data store was created.
- Data
Store stringId - The unique id of the data store.
- Default
Schema stringId - The id of the default schema associated with the data store.
- Display
Name string - The display name of the data store.
- Industry
Vertical string - The industry vertical of the data store (e.g.
GENERIC,MEDIA,HEALTHCARE_FHIR). - Name string
- The full resource name of the data store.
- Solution
Types []string - The solutions the data store enrolls (e.g.
SOLUTION_TYPE_SEARCH,SOLUTION_TYPE_CHAT,SOLUTION_TYPE_RECOMMENDATION).
- content
Config String - The content configuration of the data store (e.g.
NO_CONTENT,CONTENT_REQUIRED,PUBLIC_WEBSITE). - create
Time String - The timestamp of when the data store was created.
- data
Store StringId - The unique id of the data store.
- default
Schema StringId - The id of the default schema associated with the data store.
- display
Name String - The display name of the data store.
- industry
Vertical String - The industry vertical of the data store (e.g.
GENERIC,MEDIA,HEALTHCARE_FHIR). - name String
- The full resource name of the data store.
- solution
Types List<String> - The solutions the data store enrolls (e.g.
SOLUTION_TYPE_SEARCH,SOLUTION_TYPE_CHAT,SOLUTION_TYPE_RECOMMENDATION).
- content
Config string - The content configuration of the data store (e.g.
NO_CONTENT,CONTENT_REQUIRED,PUBLIC_WEBSITE). - create
Time string - The timestamp of when the data store was created.
- data
Store stringId - The unique id of the data store.
- default
Schema stringId - The id of the default schema associated with the data store.
- display
Name string - The display name of the data store.
- industry
Vertical string - The industry vertical of the data store (e.g.
GENERIC,MEDIA,HEALTHCARE_FHIR). - name string
- The full resource name of the data store.
- solution
Types string[] - The solutions the data store enrolls (e.g.
SOLUTION_TYPE_SEARCH,SOLUTION_TYPE_CHAT,SOLUTION_TYPE_RECOMMENDATION).
- content_
config str - The content configuration of the data store (e.g.
NO_CONTENT,CONTENT_REQUIRED,PUBLIC_WEBSITE). - create_
time str - The timestamp of when the data store was created.
- data_
store_ strid - The unique id of the data store.
- default_
schema_ strid - The id of the default schema associated with the data store.
- display_
name str - The display name of the data store.
- industry_
vertical str - The industry vertical of the data store (e.g.
GENERIC,MEDIA,HEALTHCARE_FHIR). - name str
- The full resource name of the data store.
- solution_
types Sequence[str] - The solutions the data store enrolls (e.g.
SOLUTION_TYPE_SEARCH,SOLUTION_TYPE_CHAT,SOLUTION_TYPE_RECOMMENDATION).
- content
Config String - The content configuration of the data store (e.g.
NO_CONTENT,CONTENT_REQUIRED,PUBLIC_WEBSITE). - create
Time String - The timestamp of when the data store was created.
- data
Store StringId - The unique id of the data store.
- default
Schema StringId - The id of the default schema associated with the data store.
- display
Name String - The display name of the data store.
- industry
Vertical String - The industry vertical of the data store (e.g.
GENERIC,MEDIA,HEALTHCARE_FHIR). - name String
- The full resource name of the data store.
- solution
Types List<String> - The solutions the data store enrolls (e.g.
SOLUTION_TYPE_SEARCH,SOLUTION_TYPE_CHAT,SOLUTION_TYPE_RECOMMENDATION).
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.
Viewing docs for Google Cloud v9.21.0
published on Friday, Apr 24, 2026 by Pulumi
published on Friday, Apr 24, 2026 by Pulumi
