Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.discoveryengine/v1alpha.Schema
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a Schema.
Create Schema Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Schema(name: string, args: SchemaArgs, opts?: CustomResourceOptions);@overload
def Schema(resource_name: str,
           args: SchemaArgs,
           opts: Optional[ResourceOptions] = None)
@overload
def Schema(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           collection_id: Optional[str] = None,
           data_store_id: Optional[str] = None,
           schema_id: Optional[str] = None,
           json_schema: Optional[str] = None,
           location: Optional[str] = None,
           name: Optional[str] = None,
           project: Optional[str] = None,
           struct_schema: Optional[Mapping[str, str]] = None)func NewSchema(ctx *Context, name string, args SchemaArgs, opts ...ResourceOption) (*Schema, error)public Schema(string name, SchemaArgs args, CustomResourceOptions? opts = null)
public Schema(String name, SchemaArgs args)
public Schema(String name, SchemaArgs args, CustomResourceOptions options)
type: google-native:discoveryengine/v1alpha:Schema
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 SchemaArgs
- 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 SchemaArgs
- 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 SchemaArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SchemaArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SchemaArgs
- 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 schemaResource = new GoogleNative.DiscoveryEngine.V1Alpha.Schema("schemaResource", new()
{
    CollectionId = "string",
    DataStoreId = "string",
    SchemaId = "string",
    JsonSchema = "string",
    Location = "string",
    Name = "string",
    Project = "string",
    StructSchema = 
    {
        { "string", "string" },
    },
});
example, err := discoveryengine.NewSchema(ctx, "schemaResource", &discoveryengine.SchemaArgs{
	CollectionId: pulumi.String("string"),
	DataStoreId:  pulumi.String("string"),
	SchemaId:     pulumi.String("string"),
	JsonSchema:   pulumi.String("string"),
	Location:     pulumi.String("string"),
	Name:         pulumi.String("string"),
	Project:      pulumi.String("string"),
	StructSchema: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var schemaResource = new Schema("schemaResource", SchemaArgs.builder()
    .collectionId("string")
    .dataStoreId("string")
    .schemaId("string")
    .jsonSchema("string")
    .location("string")
    .name("string")
    .project("string")
    .structSchema(Map.of("string", "string"))
    .build());
schema_resource = google_native.discoveryengine.v1alpha.Schema("schemaResource",
    collection_id="string",
    data_store_id="string",
    schema_id="string",
    json_schema="string",
    location="string",
    name="string",
    project="string",
    struct_schema={
        "string": "string",
    })
const schemaResource = new google_native.discoveryengine.v1alpha.Schema("schemaResource", {
    collectionId: "string",
    dataStoreId: "string",
    schemaId: "string",
    jsonSchema: "string",
    location: "string",
    name: "string",
    project: "string",
    structSchema: {
        string: "string",
    },
});
type: google-native:discoveryengine/v1alpha:Schema
properties:
    collectionId: string
    dataStoreId: string
    jsonSchema: string
    location: string
    name: string
    project: string
    schemaId: string
    structSchema:
        string: string
Schema 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 Schema resource accepts the following input properties:
- CollectionId string
- DataStore stringId 
- SchemaId string
- Required. The ID to use for the Schema, which will become the final component of the Schema.name. This field should conform to RFC-1034 standard with a length limit of 63 characters.
- JsonSchema string
- The JSON representation of the schema.
- Location string
- Name string
- Immutable. The full resource name of the schema, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
- Project string
- StructSchema Dictionary<string, string>
- The structured representation of the schema.
- CollectionId string
- DataStore stringId 
- SchemaId string
- Required. The ID to use for the Schema, which will become the final component of the Schema.name. This field should conform to RFC-1034 standard with a length limit of 63 characters.
- JsonSchema string
- The JSON representation of the schema.
- Location string
- Name string
- Immutable. The full resource name of the schema, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
- Project string
- StructSchema map[string]string
- The structured representation of the schema.
- collectionId String
- dataStore StringId 
- schemaId String
- Required. The ID to use for the Schema, which will become the final component of the Schema.name. This field should conform to RFC-1034 standard with a length limit of 63 characters.
- jsonSchema String
- The JSON representation of the schema.
- location String
- name String
- Immutable. The full resource name of the schema, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
- project String
- structSchema Map<String,String>
- The structured representation of the schema.
- collectionId string
- dataStore stringId 
- schemaId string
- Required. The ID to use for the Schema, which will become the final component of the Schema.name. This field should conform to RFC-1034 standard with a length limit of 63 characters.
- jsonSchema string
- The JSON representation of the schema.
- location string
- name string
- Immutable. The full resource name of the schema, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
- project string
- structSchema {[key: string]: string}
- The structured representation of the schema.
- collection_id str
- data_store_ strid 
- schema_id str
- Required. The ID to use for the Schema, which will become the final component of the Schema.name. This field should conform to RFC-1034 standard with a length limit of 63 characters.
- json_schema str
- The JSON representation of the schema.
- location str
- name str
- Immutable. The full resource name of the schema, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
- project str
- struct_schema Mapping[str, str]
- The structured representation of the schema.
- collectionId String
- dataStore StringId 
- schemaId String
- Required. The ID to use for the Schema, which will become the final component of the Schema.name. This field should conform to RFC-1034 standard with a length limit of 63 characters.
- jsonSchema String
- The JSON representation of the schema.
- location String
- name String
- Immutable. The full resource name of the schema, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
- project String
- structSchema Map<String>
- The structured representation of the schema.
Outputs
All input properties are implicitly available as output properties. Additionally, the Schema resource produces the following output properties:
- FieldConfigs List<Pulumi.Google Native. Discovery Engine. V1Alpha. Outputs. Google Cloud Discoveryengine V1alpha Field Config Response> 
- Configurations for fields of the schema.
- Id string
- The provider-assigned unique ID for this managed resource.
- FieldConfigs []GoogleCloud Discoveryengine V1alpha Field Config Response 
- Configurations for fields of the schema.
- Id string
- The provider-assigned unique ID for this managed resource.
- fieldConfigs List<GoogleCloud Discoveryengine V1alpha Field Config Response> 
- Configurations for fields of the schema.
- id String
- The provider-assigned unique ID for this managed resource.
- fieldConfigs GoogleCloud Discoveryengine V1alpha Field Config Response[] 
- Configurations for fields of the schema.
- id string
- The provider-assigned unique ID for this managed resource.
- field_configs Sequence[GoogleCloud Discoveryengine V1alpha Field Config Response] 
- Configurations for fields of the schema.
- id str
- The provider-assigned unique ID for this managed resource.
- fieldConfigs List<Property Map>
- Configurations for fields of the schema.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
GoogleCloudDiscoveryengineV1alphaFieldConfigResponse, GoogleCloudDiscoveryengineV1alphaFieldConfigResponseArgs              
- CompletableOption string
- If completable_option is COMPLETABLE_ENABLED, field values are directly used and returned as suggestions for Autocomplete in CompletionService.CompleteQuery. If completable_option is unset, the server behavior defaults to COMPLETABLE_DISABLED for fields that support setting completable options, which are just stringfields. For those fields that do not support setting completable options, the server will skip completable option setting, and setting completable_option for those fields will throwINVALID_ARGUMENTerror.
- DynamicFacetable stringOption 
- If dynamic_facetable_option is DYNAMIC_FACETABLE_ENABLED, field values are available for dynamic facet. Could only be DYNAMIC_FACETABLE_DISABLED if FieldConfig.indexable_option is INDEXABLE_DISABLED. Otherwise, an INVALID_ARGUMENTerror will be returned. If dynamic_facetable_option is unset, the server behavior defaults to DYNAMIC_FACETABLE_DISABLED for fields that support setting dynamic facetable options. For those fields that do not support setting dynamic facetable options, such asobjectandboolean, the server will skip dynamic facetable option setting, and setting dynamic_facetable_option for those fields will throwINVALID_ARGUMENTerror.
- FieldPath string
- Field path of the schema field. For example: title,description,release_info.release_year.
- FieldType string
- Raw type of the field.
- IndexableOption string
- If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as objectandbooleanand key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throwINVALID_ARGUMENTerror.
- KeyProperty stringType 
- Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are title,description. Full list is defined bykeyPropertyMappingin the schema field annotation. If the schema field has aKeyPropertyMappingannotation,indexable_optionandsearchable_optionof this field cannot be modified.
- RecsFilterable stringOption 
- If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned.
- RetrievableOption string
- If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as objectandboolean, the server will skip retrievable option setting, and setting retrievable_option for those fields will throwINVALID_ARGUMENTerror.
- SearchableOption string
- If searchable_option is SEARCHABLE_ENABLED, field values are searchable by text queries in SearchService.Search. If SEARCHABLE_ENABLED but field type is numerical, field values will not be searchable by text queries in SearchService.Search, as there are no text values associated to numerical fields. If searchable_option is unset, the server behavior defaults to SEARCHABLE_DISABLED for fields that support setting searchable options. Only stringfields that have no key property mapping support setting searchable_option. For those fields that do not support setting searchable options, the server will skip searchable option setting, and setting searchable_option for those fields will throwINVALID_ARGUMENTerror.
- CompletableOption string
- If completable_option is COMPLETABLE_ENABLED, field values are directly used and returned as suggestions for Autocomplete in CompletionService.CompleteQuery. If completable_option is unset, the server behavior defaults to COMPLETABLE_DISABLED for fields that support setting completable options, which are just stringfields. For those fields that do not support setting completable options, the server will skip completable option setting, and setting completable_option for those fields will throwINVALID_ARGUMENTerror.
- DynamicFacetable stringOption 
- If dynamic_facetable_option is DYNAMIC_FACETABLE_ENABLED, field values are available for dynamic facet. Could only be DYNAMIC_FACETABLE_DISABLED if FieldConfig.indexable_option is INDEXABLE_DISABLED. Otherwise, an INVALID_ARGUMENTerror will be returned. If dynamic_facetable_option is unset, the server behavior defaults to DYNAMIC_FACETABLE_DISABLED for fields that support setting dynamic facetable options. For those fields that do not support setting dynamic facetable options, such asobjectandboolean, the server will skip dynamic facetable option setting, and setting dynamic_facetable_option for those fields will throwINVALID_ARGUMENTerror.
- FieldPath string
- Field path of the schema field. For example: title,description,release_info.release_year.
- FieldType string
- Raw type of the field.
- IndexableOption string
- If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as objectandbooleanand key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throwINVALID_ARGUMENTerror.
- KeyProperty stringType 
- Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are title,description. Full list is defined bykeyPropertyMappingin the schema field annotation. If the schema field has aKeyPropertyMappingannotation,indexable_optionandsearchable_optionof this field cannot be modified.
- RecsFilterable stringOption 
- If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned.
- RetrievableOption string
- If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as objectandboolean, the server will skip retrievable option setting, and setting retrievable_option for those fields will throwINVALID_ARGUMENTerror.
- SearchableOption string
- If searchable_option is SEARCHABLE_ENABLED, field values are searchable by text queries in SearchService.Search. If SEARCHABLE_ENABLED but field type is numerical, field values will not be searchable by text queries in SearchService.Search, as there are no text values associated to numerical fields. If searchable_option is unset, the server behavior defaults to SEARCHABLE_DISABLED for fields that support setting searchable options. Only stringfields that have no key property mapping support setting searchable_option. For those fields that do not support setting searchable options, the server will skip searchable option setting, and setting searchable_option for those fields will throwINVALID_ARGUMENTerror.
- completableOption String
- If completable_option is COMPLETABLE_ENABLED, field values are directly used and returned as suggestions for Autocomplete in CompletionService.CompleteQuery. If completable_option is unset, the server behavior defaults to COMPLETABLE_DISABLED for fields that support setting completable options, which are just stringfields. For those fields that do not support setting completable options, the server will skip completable option setting, and setting completable_option for those fields will throwINVALID_ARGUMENTerror.
- dynamicFacetable StringOption 
- If dynamic_facetable_option is DYNAMIC_FACETABLE_ENABLED, field values are available for dynamic facet. Could only be DYNAMIC_FACETABLE_DISABLED if FieldConfig.indexable_option is INDEXABLE_DISABLED. Otherwise, an INVALID_ARGUMENTerror will be returned. If dynamic_facetable_option is unset, the server behavior defaults to DYNAMIC_FACETABLE_DISABLED for fields that support setting dynamic facetable options. For those fields that do not support setting dynamic facetable options, such asobjectandboolean, the server will skip dynamic facetable option setting, and setting dynamic_facetable_option for those fields will throwINVALID_ARGUMENTerror.
- fieldPath String
- Field path of the schema field. For example: title,description,release_info.release_year.
- fieldType String
- Raw type of the field.
- indexableOption String
- If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as objectandbooleanand key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throwINVALID_ARGUMENTerror.
- keyProperty StringType 
- Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are title,description. Full list is defined bykeyPropertyMappingin the schema field annotation. If the schema field has aKeyPropertyMappingannotation,indexable_optionandsearchable_optionof this field cannot be modified.
- recsFilterable StringOption 
- If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned.
- retrievableOption String
- If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as objectandboolean, the server will skip retrievable option setting, and setting retrievable_option for those fields will throwINVALID_ARGUMENTerror.
- searchableOption String
- If searchable_option is SEARCHABLE_ENABLED, field values are searchable by text queries in SearchService.Search. If SEARCHABLE_ENABLED but field type is numerical, field values will not be searchable by text queries in SearchService.Search, as there are no text values associated to numerical fields. If searchable_option is unset, the server behavior defaults to SEARCHABLE_DISABLED for fields that support setting searchable options. Only stringfields that have no key property mapping support setting searchable_option. For those fields that do not support setting searchable options, the server will skip searchable option setting, and setting searchable_option for those fields will throwINVALID_ARGUMENTerror.
- completableOption string
- If completable_option is COMPLETABLE_ENABLED, field values are directly used and returned as suggestions for Autocomplete in CompletionService.CompleteQuery. If completable_option is unset, the server behavior defaults to COMPLETABLE_DISABLED for fields that support setting completable options, which are just stringfields. For those fields that do not support setting completable options, the server will skip completable option setting, and setting completable_option for those fields will throwINVALID_ARGUMENTerror.
- dynamicFacetable stringOption 
- If dynamic_facetable_option is DYNAMIC_FACETABLE_ENABLED, field values are available for dynamic facet. Could only be DYNAMIC_FACETABLE_DISABLED if FieldConfig.indexable_option is INDEXABLE_DISABLED. Otherwise, an INVALID_ARGUMENTerror will be returned. If dynamic_facetable_option is unset, the server behavior defaults to DYNAMIC_FACETABLE_DISABLED for fields that support setting dynamic facetable options. For those fields that do not support setting dynamic facetable options, such asobjectandboolean, the server will skip dynamic facetable option setting, and setting dynamic_facetable_option for those fields will throwINVALID_ARGUMENTerror.
- fieldPath string
- Field path of the schema field. For example: title,description,release_info.release_year.
- fieldType string
- Raw type of the field.
- indexableOption string
- If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as objectandbooleanand key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throwINVALID_ARGUMENTerror.
- keyProperty stringType 
- Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are title,description. Full list is defined bykeyPropertyMappingin the schema field annotation. If the schema field has aKeyPropertyMappingannotation,indexable_optionandsearchable_optionof this field cannot be modified.
- recsFilterable stringOption 
- If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned.
- retrievableOption string
- If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as objectandboolean, the server will skip retrievable option setting, and setting retrievable_option for those fields will throwINVALID_ARGUMENTerror.
- searchableOption string
- If searchable_option is SEARCHABLE_ENABLED, field values are searchable by text queries in SearchService.Search. If SEARCHABLE_ENABLED but field type is numerical, field values will not be searchable by text queries in SearchService.Search, as there are no text values associated to numerical fields. If searchable_option is unset, the server behavior defaults to SEARCHABLE_DISABLED for fields that support setting searchable options. Only stringfields that have no key property mapping support setting searchable_option. For those fields that do not support setting searchable options, the server will skip searchable option setting, and setting searchable_option for those fields will throwINVALID_ARGUMENTerror.
- completable_option str
- If completable_option is COMPLETABLE_ENABLED, field values are directly used and returned as suggestions for Autocomplete in CompletionService.CompleteQuery. If completable_option is unset, the server behavior defaults to COMPLETABLE_DISABLED for fields that support setting completable options, which are just stringfields. For those fields that do not support setting completable options, the server will skip completable option setting, and setting completable_option for those fields will throwINVALID_ARGUMENTerror.
- dynamic_facetable_ stroption 
- If dynamic_facetable_option is DYNAMIC_FACETABLE_ENABLED, field values are available for dynamic facet. Could only be DYNAMIC_FACETABLE_DISABLED if FieldConfig.indexable_option is INDEXABLE_DISABLED. Otherwise, an INVALID_ARGUMENTerror will be returned. If dynamic_facetable_option is unset, the server behavior defaults to DYNAMIC_FACETABLE_DISABLED for fields that support setting dynamic facetable options. For those fields that do not support setting dynamic facetable options, such asobjectandboolean, the server will skip dynamic facetable option setting, and setting dynamic_facetable_option for those fields will throwINVALID_ARGUMENTerror.
- field_path str
- Field path of the schema field. For example: title,description,release_info.release_year.
- field_type str
- Raw type of the field.
- indexable_option str
- If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as objectandbooleanand key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throwINVALID_ARGUMENTerror.
- key_property_ strtype 
- Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are title,description. Full list is defined bykeyPropertyMappingin the schema field annotation. If the schema field has aKeyPropertyMappingannotation,indexable_optionandsearchable_optionof this field cannot be modified.
- recs_filterable_ stroption 
- If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned.
- retrievable_option str
- If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as objectandboolean, the server will skip retrievable option setting, and setting retrievable_option for those fields will throwINVALID_ARGUMENTerror.
- searchable_option str
- If searchable_option is SEARCHABLE_ENABLED, field values are searchable by text queries in SearchService.Search. If SEARCHABLE_ENABLED but field type is numerical, field values will not be searchable by text queries in SearchService.Search, as there are no text values associated to numerical fields. If searchable_option is unset, the server behavior defaults to SEARCHABLE_DISABLED for fields that support setting searchable options. Only stringfields that have no key property mapping support setting searchable_option. For those fields that do not support setting searchable options, the server will skip searchable option setting, and setting searchable_option for those fields will throwINVALID_ARGUMENTerror.
- completableOption String
- If completable_option is COMPLETABLE_ENABLED, field values are directly used and returned as suggestions for Autocomplete in CompletionService.CompleteQuery. If completable_option is unset, the server behavior defaults to COMPLETABLE_DISABLED for fields that support setting completable options, which are just stringfields. For those fields that do not support setting completable options, the server will skip completable option setting, and setting completable_option for those fields will throwINVALID_ARGUMENTerror.
- dynamicFacetable StringOption 
- If dynamic_facetable_option is DYNAMIC_FACETABLE_ENABLED, field values are available for dynamic facet. Could only be DYNAMIC_FACETABLE_DISABLED if FieldConfig.indexable_option is INDEXABLE_DISABLED. Otherwise, an INVALID_ARGUMENTerror will be returned. If dynamic_facetable_option is unset, the server behavior defaults to DYNAMIC_FACETABLE_DISABLED for fields that support setting dynamic facetable options. For those fields that do not support setting dynamic facetable options, such asobjectandboolean, the server will skip dynamic facetable option setting, and setting dynamic_facetable_option for those fields will throwINVALID_ARGUMENTerror.
- fieldPath String
- Field path of the schema field. For example: title,description,release_info.release_year.
- fieldType String
- Raw type of the field.
- indexableOption String
- If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as objectandbooleanand key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throwINVALID_ARGUMENTerror.
- keyProperty StringType 
- Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are title,description. Full list is defined bykeyPropertyMappingin the schema field annotation. If the schema field has aKeyPropertyMappingannotation,indexable_optionandsearchable_optionof this field cannot be modified.
- recsFilterable StringOption 
- If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned.
- retrievableOption String
- If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as objectandboolean, the server will skip retrievable option setting, and setting retrievable_option for those fields will throwINVALID_ARGUMENTerror.
- searchableOption String
- If searchable_option is SEARCHABLE_ENABLED, field values are searchable by text queries in SearchService.Search. If SEARCHABLE_ENABLED but field type is numerical, field values will not be searchable by text queries in SearchService.Search, as there are no text values associated to numerical fields. If searchable_option is unset, the server behavior defaults to SEARCHABLE_DISABLED for fields that support setting searchable options. Only stringfields that have no key property mapping support setting searchable_option. For those fields that do not support setting searchable options, the server will skip searchable option setting, and setting searchable_option for those fields will throwINVALID_ARGUMENTerror.
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.