The service that manages Vertex AI Dataset and its child resources.
Equality
Instances of this class created via copy-construction or copy-assignment always compare equal. Instances created with equal std::shared_ptr<*Connection>
objects compare equal. Objects that compare equal share the same underlying resources.
Performance
Creating a new instance of this class is a relatively expensive operation, new objects establish new connections to the service. In contrast, copy-construction, move-construction, and the corresponding assignment operations are relatively efficient as the copies share all underlying resources.
Thread Safety
Concurrent access to different instances of this class, even if they compare equal, is guaranteed to work. Two or more threads operating on the same instance of this class is not guaranteed to work. Since copy-construction and move-construction is a relatively efficient operation, consider using such a copy when using this class from multiple threads.
Constructors
DatasetServiceClient(DatasetServiceClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
DatasetServiceClient const &
|
DatasetServiceClient(DatasetServiceClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
DatasetServiceClient &&
|
DatasetServiceClient(std::shared_ptr< DatasetServiceConnection >, Options)
Parameters | |
---|---|
Name | Description |
connection |
std::shared_ptr< DatasetServiceConnection >
|
opts |
Options
|
Operators
operator=(DatasetServiceClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
DatasetServiceClient const &
|
Returns | |
---|---|
Type | Description |
DatasetServiceClient & |
operator=(DatasetServiceClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
DatasetServiceClient &&
|
Returns | |
---|---|
Type | Description |
DatasetServiceClient & |
Functions
CreateDataset(std::string const &, google::cloud::aiplatform::v1::Dataset const &, Options)
Creates a Dataset.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The resource name of the Location to create the Dataset in. Format: |
dataset |
google::cloud::aiplatform::v1::Dataset const &
Required. The Dataset to create. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::aiplatform::v1::Dataset > > |
A |
CreateDataset(NoAwaitTag, std::string const &, google::cloud::aiplatform::v1::Dataset const &, Options)
Creates a Dataset.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
parent |
std::string const &
|
dataset |
google::cloud::aiplatform::v1::Dataset const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateDataset(google::cloud::aiplatform::v1::CreateDatasetRequest const &, Options)
Creates a Dataset.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::aiplatform::v1::CreateDatasetRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::aiplatform::v1::Dataset > > |
A |
CreateDataset(NoAwaitTag, google::cloud::aiplatform::v1::CreateDatasetRequest const &, Options)
Creates a Dataset.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::aiplatform::v1::CreateDatasetRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateDataset(google::longrunning::Operation const &, Options)
Creates a Dataset.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::aiplatform::v1::Dataset > > |
GetDataset(std::string const &, Options)
Gets a Dataset.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the Dataset resource. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::aiplatform::v1::Dataset > |
the result of the RPC. The response message type (google.cloud.aiplatform.v1.Dataset) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetDataset(google::cloud::aiplatform::v1::GetDatasetRequest const &, Options)
Gets a Dataset.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::aiplatform::v1::GetDatasetRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::aiplatform::v1::Dataset > |
the result of the RPC. The response message type (google.cloud.aiplatform.v1.Dataset) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateDataset(google::cloud::aiplatform::v1::Dataset const &, google::protobuf::FieldMask const &, Options)
Updates a Dataset.
Parameters | |
---|---|
Name | Description |
dataset |
google::cloud::aiplatform::v1::Dataset const &
Required. The Dataset which replaces the resource on the server. |
update_mask |
google::protobuf::FieldMask const &
Required. The update mask applies to the resource. For the
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::aiplatform::v1::Dataset > |
the result of the RPC. The response message type (google.cloud.aiplatform.v1.Dataset) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateDataset(google::cloud::aiplatform::v1::UpdateDatasetRequest const &, Options)
Updates a Dataset.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::aiplatform::v1::UpdateDatasetRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::aiplatform::v1::Dataset > |
the result of the RPC. The response message type (google.cloud.aiplatform.v1.Dataset) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListDatasets(std::string const &, Options)
Lists Datasets in a Location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The name of the Dataset's parent resource. Format: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::aiplatform::v1::Dataset > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListDatasets(google::cloud::aiplatform::v1::ListDatasetsRequest, Options)
Lists Datasets in a Location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::aiplatform::v1::ListDatasetsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::aiplatform::v1::Dataset > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
DeleteDataset(std::string const &, Options)
Deletes a Dataset.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The resource name of the Dataset to delete. Format: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::aiplatform::v1::DeleteOperationMetadata > > |
A |
DeleteDataset(NoAwaitTag, std::string const &, Options)
Deletes a Dataset.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteDataset(google::cloud::aiplatform::v1::DeleteDatasetRequest const &, Options)
Deletes a Dataset.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::aiplatform::v1::DeleteDatasetRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::aiplatform::v1::DeleteOperationMetadata > > |
A |
DeleteDataset(NoAwaitTag, google::cloud::aiplatform::v1::DeleteDatasetRequest const &, Options)
Deletes a Dataset.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::aiplatform::v1::DeleteDatasetRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteDataset(google::longrunning::Operation const &, Options)
Deletes a Dataset.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::aiplatform::v1::DeleteOperationMetadata > > |
ImportData(std::string const &, std::vector< google::cloud::aiplatform::v1::ImportDataConfig > const &, Options)
Imports data into a Dataset.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the Dataset resource. Format: |
import_configs |
std::vector< google::cloud::aiplatform::v1::ImportDataConfig > const &
Required. The desired input locations. The contents of all input locations will be imported in one batch. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::aiplatform::v1::ImportDataResponse > > |
A |
ImportData(NoAwaitTag, std::string const &, std::vector< google::cloud::aiplatform::v1::ImportDataConfig > const &, Options)
Imports data into a Dataset.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
name |
std::string const &
|
import_configs |
std::vector< google::cloud::aiplatform::v1::ImportDataConfig > const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
ImportData(google::cloud::aiplatform::v1::ImportDataRequest const &, Options)
Imports data into a Dataset.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::aiplatform::v1::ImportDataRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::aiplatform::v1::ImportDataResponse > > |
A |
ImportData(NoAwaitTag, google::cloud::aiplatform::v1::ImportDataRequest const &, Options)
Imports data into a Dataset.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::aiplatform::v1::ImportDataRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
ImportData(google::longrunning::Operation const &, Options)
Imports data into a Dataset.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::aiplatform::v1::ImportDataResponse > > |
ExportData(std::string const &, google::cloud::aiplatform::v1::ExportDataConfig const &, Options)
Exports data from a Dataset.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the Dataset resource. Format: |
export_config |
google::cloud::aiplatform::v1::ExportDataConfig const &
Required. The desired output location. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::aiplatform::v1::ExportDataResponse > > |
A |
ExportData(NoAwaitTag, std::string const &, google::cloud::aiplatform::v1::ExportDataConfig const &, Options)
Exports data from a Dataset.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
name |
std::string const &
|
export_config |
google::cloud::aiplatform::v1::ExportDataConfig const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
ExportData(google::cloud::aiplatform::v1::ExportDataRequest const &, Options)
Exports data from a Dataset.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::aiplatform::v1::ExportDataRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::aiplatform::v1::ExportDataResponse > > |
A |
ExportData(NoAwaitTag, google::cloud::aiplatform::v1::ExportDataRequest const &, Options)
Exports data from a Dataset.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::aiplatform::v1::ExportDataRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
ExportData(google::longrunning::Operation const &, Options)
Exports data from a Dataset.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::aiplatform::v1::ExportDataResponse > > |
CreateDatasetVersion(std::string const &, google::cloud::aiplatform::v1::DatasetVersion const &, Options)
Create a version from a Dataset.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The name of the Dataset resource. Format: |
dataset_version |
google::cloud::aiplatform::v1::DatasetVersion const &
Required. The version to be created. The same CMEK policies with the original Dataset will be applied the dataset version. So here we don't need to specify the EncryptionSpecType here. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::aiplatform::v1::DatasetVersion > > |
A |
CreateDatasetVersion(NoAwaitTag, std::string const &, google::cloud::aiplatform::v1::DatasetVersion const &, Options)
Create a version from a Dataset.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
parent |
std::string const &
|
dataset_version |
google::cloud::aiplatform::v1::DatasetVersion const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateDatasetVersion(google::cloud::aiplatform::v1::CreateDatasetVersionRequest const &, Options)
Create a version from a Dataset.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::aiplatform::v1::CreateDatasetVersionRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::aiplatform::v1::DatasetVersion > > |
A |
CreateDatasetVersion(NoAwaitTag, google::cloud::aiplatform::v1::CreateDatasetVersionRequest const &, Options)
Create a version from a Dataset.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::aiplatform::v1::CreateDatasetVersionRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateDatasetVersion(google::longrunning::Operation const &, Options)
Create a version from a Dataset.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::aiplatform::v1::DatasetVersion > > |
UpdateDatasetVersion(google::cloud::aiplatform::v1::DatasetVersion const &, google::protobuf::FieldMask const &, Options)
Updates a DatasetVersion.
Parameters | |
---|---|
Name | Description |
dataset_version |
google::cloud::aiplatform::v1::DatasetVersion const &
Required. The DatasetVersion which replaces the resource on the server. |
update_mask |
google::protobuf::FieldMask const &
Required. The update mask applies to the resource. For the
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::aiplatform::v1::DatasetVersion > |
the result of the RPC. The response message type (google.cloud.aiplatform.v1.DatasetVersion) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateDatasetVersion(google::cloud::aiplatform::v1::UpdateDatasetVersionRequest const &, Options)
Updates a DatasetVersion.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::aiplatform::v1::UpdateDatasetVersionRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::aiplatform::v1::DatasetVersion > |
the result of the RPC. The response message type (google.cloud.aiplatform.v1.DatasetVersion) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
DeleteDatasetVersion(std::string const &, Options)
Deletes a Dataset version.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The resource name of the Dataset version to delete. Format: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::aiplatform::v1::DeleteOperationMetadata > > |
A |
DeleteDatasetVersion(NoAwaitTag, std::string const &, Options)
Deletes a Dataset version.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteDatasetVersion(google::cloud::aiplatform::v1::DeleteDatasetVersionRequest const &, Options)
Deletes a Dataset version.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::aiplatform::v1::DeleteDatasetVersionRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::aiplatform::v1::DeleteOperationMetadata > > |
A |
DeleteDatasetVersion(NoAwaitTag, google::cloud::aiplatform::v1::DeleteDatasetVersionRequest const &, Options)
Deletes a Dataset version.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::aiplatform::v1::DeleteDatasetVersionRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteDatasetVersion(google::longrunning::Operation const &, Options)
Deletes a Dataset version.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::aiplatform::v1::DeleteOperationMetadata > > |
GetDatasetVersion(std::string const &, Options)
Gets a Dataset version.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The resource name of the Dataset version to delete. Format: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::aiplatform::v1::DatasetVersion > |
the result of the RPC. The response message type (google.cloud.aiplatform.v1.DatasetVersion) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetDatasetVersion(google::cloud::aiplatform::v1::GetDatasetVersionRequest const &, Options)
Gets a Dataset version.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::aiplatform::v1::GetDatasetVersionRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::aiplatform::v1::DatasetVersion > |
the result of the RPC. The response message type (google.cloud.aiplatform.v1.DatasetVersion) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListDatasetVersions(std::string const &, Options)
Lists DatasetVersions in a Dataset.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The resource name of the Dataset to list DatasetVersions from. Format: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::aiplatform::v1::DatasetVersion > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListDatasetVersions(google::cloud::aiplatform::v1::ListDatasetVersionsRequest, Options)
Lists DatasetVersions in a Dataset.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::aiplatform::v1::ListDatasetVersionsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::aiplatform::v1::DatasetVersion > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
RestoreDatasetVersion(std::string const &, Options)
Restores a dataset version.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the DatasetVersion resource. Format: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::aiplatform::v1::DatasetVersion > > |
A |
RestoreDatasetVersion(NoAwaitTag, std::string const &, Options)
Restores a dataset version.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
RestoreDatasetVersion(google::cloud::aiplatform::v1::RestoreDatasetVersionRequest const &, Options)
Restores a dataset version.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::aiplatform::v1::RestoreDatasetVersionRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::aiplatform::v1::DatasetVersion > > |
A |
RestoreDatasetVersion(NoAwaitTag, google::cloud::aiplatform::v1::RestoreDatasetVersionRequest const &, Options)
Restores a dataset version.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::aiplatform::v1::RestoreDatasetVersionRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
RestoreDatasetVersion(google::longrunning::Operation const &, Options)
Restores a dataset version.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::aiplatform::v1::DatasetVersion > > |
ListDataItems(std::string const &, Options)
Lists DataItems in a Dataset.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The resource name of the Dataset to list DataItems from. Format: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::aiplatform::v1::DataItem > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListDataItems(google::cloud::aiplatform::v1::ListDataItemsRequest, Options)
Lists DataItems in a Dataset.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::aiplatform::v1::ListDataItemsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::aiplatform::v1::DataItem > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
SearchDataItems(google::cloud::aiplatform::v1::SearchDataItemsRequest, Options)
Searches DataItems in a Dataset.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::aiplatform::v1::SearchDataItemsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::aiplatform::v1::DataItemView > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListSavedQueries(std::string const &, Options)
Lists SavedQueries in a Dataset.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The resource name of the Dataset to list SavedQueries from. Format: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::aiplatform::v1::SavedQuery > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListSavedQueries(google::cloud::aiplatform::v1::ListSavedQueriesRequest, Options)
Lists SavedQueries in a Dataset.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::aiplatform::v1::ListSavedQueriesRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::aiplatform::v1::SavedQuery > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
DeleteSavedQuery(std::string const &, Options)
Deletes a SavedQuery.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The resource name of the SavedQuery to delete. Format: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::aiplatform::v1::DeleteOperationMetadata > > |
A |
DeleteSavedQuery(NoAwaitTag, std::string const &, Options)
Deletes a SavedQuery.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteSavedQuery(google::cloud::aiplatform::v1::DeleteSavedQueryRequest const &, Options)
Deletes a SavedQuery.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::aiplatform::v1::DeleteSavedQueryRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::aiplatform::v1::DeleteOperationMetadata > > |
A |
DeleteSavedQuery(NoAwaitTag, google::cloud::aiplatform::v1::DeleteSavedQueryRequest const &, Options)
Deletes a SavedQuery.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::aiplatform::v1::DeleteSavedQueryRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteSavedQuery(google::longrunning::Operation const &, Options)
Deletes a SavedQuery.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::aiplatform::v1::DeleteOperationMetadata > > |
GetAnnotationSpec(std::string const &, Options)
Gets an AnnotationSpec.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the AnnotationSpec resource. Format: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::aiplatform::v1::AnnotationSpec > |
the result of the RPC. The response message type (google.cloud.aiplatform.v1.AnnotationSpec) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetAnnotationSpec(google::cloud::aiplatform::v1::GetAnnotationSpecRequest const &, Options)
Gets an AnnotationSpec.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::aiplatform::v1::GetAnnotationSpecRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::aiplatform::v1::AnnotationSpec > |
the result of the RPC. The response message type (google.cloud.aiplatform.v1.AnnotationSpec) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListAnnotations(std::string const &, Options)
Lists Annotations belongs to a dataitem.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The resource name of the DataItem to list Annotations from. Format: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::aiplatform::v1::Annotation > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListAnnotations(google::cloud::aiplatform::v1::ListAnnotationsRequest, Options)
Lists Annotations belongs to a dataitem.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::aiplatform::v1::ListAnnotationsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::aiplatform::v1::Annotation > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |