Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets a DataStore.
Using getDataStore
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 getDataStore(args: GetDataStoreArgs, opts?: InvokeOptions): Promise<GetDataStoreResult>
function getDataStoreOutput(args: GetDataStoreOutputArgs, opts?: InvokeOptions): Output<GetDataStoreResult>def get_data_store(collection_id: Optional[str] = None,
data_store_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDataStoreResult
def get_data_store_output(collection_id: Optional[pulumi.Input[str]] = None,
data_store_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDataStoreResult]func LookupDataStore(ctx *Context, args *LookupDataStoreArgs, opts ...InvokeOption) (*LookupDataStoreResult, error)
func LookupDataStoreOutput(ctx *Context, args *LookupDataStoreOutputArgs, opts ...InvokeOption) LookupDataStoreResultOutput> Note: This function is named LookupDataStore in the Go SDK.
public static class GetDataStore
{
public static Task<GetDataStoreResult> InvokeAsync(GetDataStoreArgs args, InvokeOptions? opts = null)
public static Output<GetDataStoreResult> Invoke(GetDataStoreInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDataStoreResult> getDataStore(GetDataStoreArgs args, InvokeOptions options)
public static Output<GetDataStoreResult> getDataStore(GetDataStoreArgs args, InvokeOptions options)
fn::invoke:
function: google-native:discoveryengine/v1alpha:getDataStore
arguments:
# arguments dictionaryThe following arguments are supported:
- Collection
Id string - Data
Store stringId - Location string
- Project string
- Collection
Id string - Data
Store stringId - Location string
- Project string
- collection
Id String - data
Store StringId - location String
- project String
- collection
Id string - data
Store stringId - location string
- project string
- collection_
id str - data_
store_ strid - location str
- project str
- collection
Id String - data
Store StringId - location String
- project String
getDataStore Result
The following output properties are available:
- Content
Config string - Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
- Create
Time string - Timestamp the DataStore was created at.
- Default
Schema stringId - The id of the default Schema asscociated to this data store.
- Display
Name string - The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
- Industry
Vertical string - Immutable. The industry vertical that the data store registers.
- Name string
- Immutable. The full resource name of the data store. Format:
projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters. - Solution
Types List<string> - The solutions that the data store enrolls. Available solutions for each industry_vertical: *
MEDIA:SOLUTION_TYPE_RECOMMENDATIONandSOLUTION_TYPE_SEARCH. *SITE_SEARCH:SOLUTION_TYPE_SEARCHis automatically enrolled. Other solutions cannot be enrolled.
- Content
Config string - Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
- Create
Time string - Timestamp the DataStore was created at.
- Default
Schema stringId - The id of the default Schema asscociated to this data store.
- Display
Name string - The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
- Industry
Vertical string - Immutable. The industry vertical that the data store registers.
- Name string
- Immutable. The full resource name of the data store. Format:
projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters. - Solution
Types []string - The solutions that the data store enrolls. Available solutions for each industry_vertical: *
MEDIA:SOLUTION_TYPE_RECOMMENDATIONandSOLUTION_TYPE_SEARCH. *SITE_SEARCH:SOLUTION_TYPE_SEARCHis automatically enrolled. Other solutions cannot be enrolled.
- content
Config String - Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
- create
Time String - Timestamp the DataStore was created at.
- default
Schema StringId - The id of the default Schema asscociated to this data store.
- display
Name String - The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
- industry
Vertical String - Immutable. The industry vertical that the data store registers.
- name String
- Immutable. The full resource name of the data store. Format:
projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters. - solution
Types List<String> - The solutions that the data store enrolls. Available solutions for each industry_vertical: *
MEDIA:SOLUTION_TYPE_RECOMMENDATIONandSOLUTION_TYPE_SEARCH. *SITE_SEARCH:SOLUTION_TYPE_SEARCHis automatically enrolled. Other solutions cannot be enrolled.
- content
Config string - Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
- create
Time string - Timestamp the DataStore was created at.
- default
Schema stringId - The id of the default Schema asscociated to this data store.
- display
Name string - The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
- industry
Vertical string - Immutable. The industry vertical that the data store registers.
- name string
- Immutable. The full resource name of the data store. Format:
projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters. - solution
Types string[] - The solutions that the data store enrolls. Available solutions for each industry_vertical: *
MEDIA:SOLUTION_TYPE_RECOMMENDATIONandSOLUTION_TYPE_SEARCH. *SITE_SEARCH:SOLUTION_TYPE_SEARCHis automatically enrolled. Other solutions cannot be enrolled.
- content_
config str - Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
- create_
time str - Timestamp the DataStore was created at.
- default_
schema_ strid - The id of the default Schema asscociated to this data store.
- display_
name str - The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
- industry_
vertical str - Immutable. The industry vertical that the data store registers.
- name str
- Immutable. The full resource name of the data store. Format:
projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters. - solution_
types Sequence[str] - The solutions that the data store enrolls. Available solutions for each industry_vertical: *
MEDIA:SOLUTION_TYPE_RECOMMENDATIONandSOLUTION_TYPE_SEARCH. *SITE_SEARCH:SOLUTION_TYPE_SEARCHis automatically enrolled. Other solutions cannot be enrolled.
- content
Config String - Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
- create
Time String - Timestamp the DataStore was created at.
- default
Schema StringId - The id of the default Schema asscociated to this data store.
- display
Name String - The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
- industry
Vertical String - Immutable. The industry vertical that the data store registers.
- name String
- Immutable. The full resource name of the data store. Format:
projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters. - solution
Types List<String> - The solutions that the data store enrolls. Available solutions for each industry_vertical: *
MEDIA:SOLUTION_TYPE_RECOMMENDATIONandSOLUTION_TYPE_SEARCH. *SITE_SEARCH:SOLUTION_TYPE_SEARCHis automatically enrolled. Other solutions cannot be enrolled.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
