DataObjectState class
Input properties used for looking up and filtering DataObject resources.
Constructors
-
DataObjectState({Input<
String?> ? collectionId, Input<String?> ? createTime, Input<String?> ? data, Input<String?> ? dataObjectId, Input<String?> ? deletionPolicy, Input<String?> ? etag, Input<String?> ? location, Input<String?> ? name, Input<String?> ? project, Input<String?> ? updateTime, Input<List< ? vectors})DataObjectVector> ?> -
Creates a new DataObjectState.
collectionIdThe ID of the parent Collection. createTimeOutput onlyCreate time stampdataThe JSON data of the DataObject. Must be a JSON object whose fielddataObjectIdID of the DataObject to create.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.etagThe etag of the DataObject, used for optimistic concurrencylocationResource ID segment making up resourcename. It identifies the resource within its parent collection as described in https://google.aip.dev/122.nameIdentifier. name of resourceprojectThe ID of the project in which the resource belongs. updateTimeOutput onlyUpdate time stampvectorsThe vectors of the DataObject, keyed by the vector field name asconst -
DataObjectState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
collectionId
→ Input<
String?> ? -
The ID of the parent Collection.
final
-
createTime
→ Input<
String?> ? -
Output onlyCreate time stampfinal -
data
→ Input<
String?> ? -
The JSON data of the DataObject. Must be a JSON object whose field
names match the fields defined in the parent Collection's
dataSchema.final -
dataObjectId
→ Input<
String?> ? -
ID of the DataObject to create.
The id must be 1-63 characters long, and comply with
RFC1035.
Specifically, it must be 1-63 characters long and match the regular
expression
a-z?.final -
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
etag
→ Input<
String?> ? -
The etag of the DataObject, used for optimistic concurrency
control on updates and deletes.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
location
→ Input<
String?> ? -
Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.final -
name
→ Input<
String?> ? -
Identifier. name of resource
final
-
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
updateTime
→ Input<
String?> ? -
Output onlyUpdate time stampfinal -
vectors
→ Input<
List< ?DataObjectVector> ?> -
The vectors of the DataObject, keyed by the vector field name as
defined in the parent Collection's
vectorSchema. If a vector field is configured with avertexEmbeddingConfigon the Collection, the server will populate the vector automatically from the corresponding text indataand the field should be omitted here. Structure is documented below.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited