public class DiscoveryEngine.Projects.Locations.DataStores.Schemas extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DiscoveryEngine.Projects.Locations.DataStores.Schemas.Create |
class |
DiscoveryEngine.Projects.Locations.DataStores.Schemas.Delete |
class |
DiscoveryEngine.Projects.Locations.DataStores.Schemas.Get |
class |
DiscoveryEngine.Projects.Locations.DataStores.Schemas.List |
class |
DiscoveryEngine.Projects.Locations.DataStores.Schemas.Patch |
| Constructor and Description |
|---|
Schemas() |
| Modifier and Type | Method and Description |
|---|---|
DiscoveryEngine.Projects.Locations.DataStores.Schemas.Create |
create(String parent,
GoogleCloudDiscoveryengineV1Schema content)
Creates a Schema.
|
DiscoveryEngine.Projects.Locations.DataStores.Schemas.Delete |
delete(String name)
Deletes a Schema.
|
DiscoveryEngine.Projects.Locations.DataStores.Schemas.Get |
get(String name)
Gets a Schema.
|
DiscoveryEngine.Projects.Locations.DataStores.Schemas.List |
list(String parent)
Gets a list of Schemas.
|
DiscoveryEngine.Projects.Locations.DataStores.Schemas.Patch |
patch(String name,
GoogleCloudDiscoveryengineV1Schema content)
Updates a Schema.
|
public DiscoveryEngine.Projects.Locations.DataStores.Schemas.Create create(String parent, GoogleCloudDiscoveryengineV1Schema content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent data store resource name, in the format of
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`
.content - the GoogleCloudDiscoveryengineV1SchemaIOExceptionpublic DiscoveryEngine.Projects.Locations.DataStores.Schemas.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The full resource name of the schema, in the format of `projects/{project}/locations/{loca
tion}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`.IOExceptionpublic DiscoveryEngine.Projects.Locations.DataStores.Schemas.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The full resource name of the schema, in the format of `projects/{project}/locations/{loca
tion}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`.IOExceptionpublic DiscoveryEngine.Projects.Locations.DataStores.Schemas.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent data store resource name, in the format of
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`
.IOExceptionpublic DiscoveryEngine.Projects.Locations.DataStores.Schemas.Patch patch(String name, GoogleCloudDiscoveryengineV1Schema content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Immutable. The full resource name of the schema, in the format of `projects/{project}/locations/{loc
ation}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. This field must
be a UTF-8 encoded string with a length limit of 1024 characters.content - the GoogleCloudDiscoveryengineV1SchemaIOExceptionCopyright © 2011–2026 Google. All rights reserved.