ModelMonitoringService class final
A service for creating and managing Vertex AI Model moitoring. This includes
ModelMonitor resources, ModelMonitoringJob resources.
Constructors
- ModelMonitoringService({required Client client})
-
Creates a
ModelMonitoringServiceusingclientfor transport. - ModelMonitoringService.fromApiKey([String? apiKey])
-
Creates a
ModelMonitoringServicethat does authentication through an API key.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancelOperation(
CancelOperationRequest request) → Future< void> -
Provides the
Operationsservice functionality in this service. -
close(
) → void - Closes the client and cleans up any resources associated with it.
-
createModelMonitor(
CreateModelMonitorRequest request) → Future< Operation< ModelMonitor, CreateModelMonitorOperationMetadata> > - Creates a ModelMonitor.
-
createModelMonitoringJob(
CreateModelMonitoringJobRequest request) → Future< ModelMonitoringJob> - Creates a ModelMonitoringJob.
-
deleteModelMonitor(
DeleteModelMonitorRequest request) → Future< Operation< Empty, DeleteOperationMetadata> > - Deletes a ModelMonitor.
-
deleteModelMonitoringJob(
DeleteModelMonitoringJobRequest request) → Future< Operation< Empty, DeleteOperationMetadata> > - Deletes a ModelMonitoringJob.
-
deleteOperation(
DeleteOperationRequest request) → Future< void> -
Provides the
Operationsservice functionality in this service. -
getIamPolicy(
GetIamPolicyRequest request) → Future< Policy> - Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
-
getLocation(
GetLocationRequest request) → Future< Location> - Gets information about a location.
-
getModelMonitor(
GetModelMonitorRequest request) → Future< ModelMonitor> - Gets a ModelMonitor.
-
getModelMonitoringJob(
GetModelMonitoringJobRequest request) → Future< ModelMonitoringJob> - Gets a ModelMonitoringJob.
-
getOperation<
T extends ProtoMessage, S extends ProtoMessage> (Operation< T, S> request) → Future<Operation< T, S> > -
Provides the
Operationsservice functionality in this service. -
listLocations(
ListLocationsRequest request) → Future< ListLocationsResponse> - Lists information about the supported locations for this service.
-
listModelMonitoringJobs(
ListModelMonitoringJobsRequest request) → Future< ListModelMonitoringJobsResponse> -
Lists ModelMonitoringJobs.
Callers may choose to read across multiple Monitors as per
AIP-159 by using '-' (the hyphen or dash
character) as a wildcard character instead of modelMonitor id in the
parent. Format
projects/{project_id}/locations/{location}/moodelMonitors/-/modelMonitoringJobs -
listModelMonitors(
ListModelMonitorsRequest request) → Future< ListModelMonitorsResponse> - Lists ModelMonitors in a Location.
-
listOperations(
ListOperationsRequest request) → Future< ListOperationsResponse> -
Provides the
Operationsservice functionality in this service. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
searchModelMonitoringAlerts(
SearchModelMonitoringAlertsRequest request) → Future< SearchModelMonitoringAlertsResponse> - Returns the Model Monitoring alerts.
-
searchModelMonitoringStats(
SearchModelMonitoringStatsRequest request) → Future< SearchModelMonitoringStatsResponse> - Searches Model Monitoring Stats generated within a given time window.
-
setIamPolicy(
SetIamPolicyRequest request) → Future< Policy> - Sets the access control policy on the specified resource. Replaces any existing policy.
-
testIamPermissions(
TestIamPermissionsRequest request) → Future< TestIamPermissionsResponse> -
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a
NOT_FOUNDerror. -
toString(
) → String -
A string representation of this object.
inherited
-
updateModelMonitor(
UpdateModelMonitorRequest request) → Future< Operation< ModelMonitor, UpdateModelMonitorOperationMetadata> > - Updates a ModelMonitor.
-
waitOperation(
WaitOperationRequest request) → Future< Operation< ProtoMessage, ProtoMessage> > -
Provides the
Operationsservice functionality in this service.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited