Cloud AI Platform v1beta1 API - Class ModelMonitoringServiceClientImpl (1.0.0-beta08)

public sealed class ModelMonitoringServiceClientImpl : ModelMonitoringServiceClient

Reference documentation and code samples for the Cloud AI Platform v1beta1 API class ModelMonitoringServiceClientImpl.

ModelMonitoringService client wrapper implementation, for convenient use.

Inheritance

object > ModelMonitoringServiceClient > ModelMonitoringServiceClientImpl

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Remarks

A service for creating and managing Vertex AI Model moitoring. This includes ModelMonitor resources, ModelMonitoringJob resources.

Constructors

ModelMonitoringServiceClientImpl(ModelMonitoringServiceClient, ModelMonitoringServiceSettings, ILogger)

public ModelMonitoringServiceClientImpl(ModelMonitoringService.ModelMonitoringServiceClient grpcClient, ModelMonitoringServiceSettings settings, ILogger logger)

Constructs a client wrapper for the ModelMonitoringService service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient ModelMonitoringServiceModelMonitoringServiceClient

The underlying gRPC client.

settings ModelMonitoringServiceSettings

The base ModelMonitoringServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

CreateModelMonitorOperationsClient

public override OperationsClient CreateModelMonitorOperationsClient { get; }

The long-running operations client for CreateModelMonitor.

Property Value
Type Description
OperationsClient
Overrides

DeleteModelMonitorOperationsClient

public override OperationsClient DeleteModelMonitorOperationsClient { get; }

The long-running operations client for DeleteModelMonitor.

Property Value
Type Description
OperationsClient
Overrides

DeleteModelMonitoringJobOperationsClient

public override OperationsClient DeleteModelMonitoringJobOperationsClient { get; }

The long-running operations client for DeleteModelMonitoringJob.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override ModelMonitoringService.ModelMonitoringServiceClient GrpcClient { get; }

The underlying gRPC ModelMonitoringService client

Property Value
Type Description
ModelMonitoringServiceModelMonitoringServiceClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
Type Description
IAMPolicyClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

UpdateModelMonitorOperationsClient

public override OperationsClient UpdateModelMonitorOperationsClient { get; }

The long-running operations client for UpdateModelMonitor.

Property Value
Type Description
OperationsClient
Overrides

Methods

CreateModelMonitor(CreateModelMonitorRequest, CallSettings)

public override Operation<ModelMonitor, CreateModelMonitorOperationMetadata> CreateModelMonitor(CreateModelMonitorRequest request, CallSettings callSettings = null)

Creates a ModelMonitor.

Parameters
Name Description
request CreateModelMonitorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationModelMonitorCreateModelMonitorOperationMetadata

The RPC response.

Overrides

CreateModelMonitorAsync(CreateModelMonitorRequest, CallSettings)

public override Task<Operation<ModelMonitor, CreateModelMonitorOperationMetadata>> CreateModelMonitorAsync(CreateModelMonitorRequest request, CallSettings callSettings = null)

Creates a ModelMonitor.

Parameters
Name Description
request CreateModelMonitorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationModelMonitorCreateModelMonitorOperationMetadata

A Task containing the RPC response.

Overrides

CreateModelMonitoringJob(CreateModelMonitoringJobRequest, CallSettings)

public override ModelMonitoringJob CreateModelMonitoringJob(CreateModelMonitoringJobRequest request, CallSettings callSettings = null)

Creates a ModelMonitoringJob.

Parameters
Name Description
request CreateModelMonitoringJobRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ModelMonitoringJob

The RPC response.

Overrides

CreateModelMonitoringJobAsync(CreateModelMonitoringJobRequest, CallSettings)

public override Task<ModelMonitoringJob> CreateModelMonitoringJobAsync(CreateModelMonitoringJobRequest request, CallSettings callSettings = null)

Creates a ModelMonitoringJob.

Parameters
Name Description
request CreateModelMonitoringJobRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskModelMonitoringJob

A Task containing the RPC response.

Overrides

DeleteModelMonitor(DeleteModelMonitorRequest, CallSettings)

public override Operation<Empty, DeleteOperationMetadata> DeleteModelMonitor(DeleteModelMonitorRequest request, CallSettings callSettings = null)

Deletes a ModelMonitor.

Parameters
Name Description
request DeleteModelMonitorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyDeleteOperationMetadata

The RPC response.

Overrides

DeleteModelMonitorAsync(DeleteModelMonitorRequest, CallSettings)

public override Task<Operation<Empty, DeleteOperationMetadata>> DeleteModelMonitorAsync(DeleteModelMonitorRequest request, CallSettings callSettings = null)

Deletes a ModelMonitor.

Parameters
Name Description
request DeleteModelMonitorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Overrides

DeleteModelMonitoringJob(DeleteModelMonitoringJobRequest, CallSettings)

public override Operation<Empty, DeleteOperationMetadata> DeleteModelMonitoringJob(DeleteModelMonitoringJobRequest request, CallSettings callSettings = null)

Deletes a ModelMonitoringJob.

Parameters
Name Description
request DeleteModelMonitoringJobRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyDeleteOperationMetadata

The RPC response.

Overrides

DeleteModelMonitoringJobAsync(DeleteModelMonitoringJobRequest, CallSettings)

public override Task<Operation<Empty, DeleteOperationMetadata>> DeleteModelMonitoringJobAsync(DeleteModelMonitoringJobRequest request, CallSettings callSettings = null)

Deletes a ModelMonitoringJob.

Parameters
Name Description
request DeleteModelMonitoringJobRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Overrides

GetModelMonitor(GetModelMonitorRequest, CallSettings)

public override ModelMonitor GetModelMonitor(GetModelMonitorRequest request, CallSettings callSettings = null)

Gets a ModelMonitor.

Parameters
Name Description
request GetModelMonitorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ModelMonitor

The RPC response.

Overrides

GetModelMonitorAsync(GetModelMonitorRequest, CallSettings)

public override Task<ModelMonitor> GetModelMonitorAsync(GetModelMonitorRequest request, CallSettings callSettings = null)

Gets a ModelMonitor.

Parameters
Name Description
request GetModelMonitorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskModelMonitor

A Task containing the RPC response.

Overrides

GetModelMonitoringJob(GetModelMonitoringJobRequest, CallSettings)

public override ModelMonitoringJob GetModelMonitoringJob(GetModelMonitoringJobRequest request, CallSettings callSettings = null)

Gets a ModelMonitoringJob.

Parameters
Name Description
request GetModelMonitoringJobRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ModelMonitoringJob

The RPC response.

Overrides

GetModelMonitoringJobAsync(GetModelMonitoringJobRequest, CallSettings)

public override Task<ModelMonitoringJob> GetModelMonitoringJobAsync(GetModelMonitoringJobRequest request, CallSettings callSettings = null)

Gets a ModelMonitoringJob.

Parameters
Name Description
request GetModelMonitoringJobRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskModelMonitoringJob

A Task containing the RPC response.

Overrides

ListModelMonitoringJobs(ListModelMonitoringJobsRequest, CallSettings)

public override PagedEnumerable<ListModelMonitoringJobsResponse, ModelMonitoringJob> ListModelMonitoringJobs(ListModelMonitoringJobsRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request ListModelMonitoringJobsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListModelMonitoringJobsResponseModelMonitoringJob

A pageable sequence of ModelMonitoringJob resources.

Overrides

ListModelMonitoringJobsAsync(ListModelMonitoringJobsRequest, CallSettings)

public override PagedAsyncEnumerable<ListModelMonitoringJobsResponse, ModelMonitoringJob> ListModelMonitoringJobsAsync(ListModelMonitoringJobsRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request ListModelMonitoringJobsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListModelMonitoringJobsResponseModelMonitoringJob

A pageable asynchronous sequence of ModelMonitoringJob resources.

Overrides

ListModelMonitors(ListModelMonitorsRequest, CallSettings)

public override PagedEnumerable<ListModelMonitorsResponse, ModelMonitor> ListModelMonitors(ListModelMonitorsRequest request, CallSettings callSettings = null)

Lists ModelMonitors in a Location.

Parameters
Name Description
request ListModelMonitorsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListModelMonitorsResponseModelMonitor

A pageable sequence of ModelMonitor resources.

Overrides

ListModelMonitorsAsync(ListModelMonitorsRequest, CallSettings)

public override PagedAsyncEnumerable<ListModelMonitorsResponse, ModelMonitor> ListModelMonitorsAsync(ListModelMonitorsRequest request, CallSettings callSettings = null)

Lists ModelMonitors in a Location.

Parameters
Name Description
request ListModelMonitorsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListModelMonitorsResponseModelMonitor

A pageable asynchronous sequence of ModelMonitor resources.

Overrides

SearchModelMonitoringAlerts(SearchModelMonitoringAlertsRequest, CallSettings)

public override PagedEnumerable<SearchModelMonitoringAlertsResponse, ModelMonitoringAlert> SearchModelMonitoringAlerts(SearchModelMonitoringAlertsRequest request, CallSettings callSettings = null)

Returns the Model Monitoring alerts.

Parameters
Name Description
request SearchModelMonitoringAlertsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableSearchModelMonitoringAlertsResponseModelMonitoringAlert

A pageable sequence of ModelMonitoringAlert resources.

Overrides

SearchModelMonitoringAlertsAsync(SearchModelMonitoringAlertsRequest, CallSettings)

public override PagedAsyncEnumerable<SearchModelMonitoringAlertsResponse, ModelMonitoringAlert> SearchModelMonitoringAlertsAsync(SearchModelMonitoringAlertsRequest request, CallSettings callSettings = null)

Returns the Model Monitoring alerts.

Parameters
Name Description
request SearchModelMonitoringAlertsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableSearchModelMonitoringAlertsResponseModelMonitoringAlert

A pageable asynchronous sequence of ModelMonitoringAlert resources.

Overrides

SearchModelMonitoringStats(SearchModelMonitoringStatsRequest, CallSettings)

public override PagedEnumerable<SearchModelMonitoringStatsResponse, ModelMonitoringStats> SearchModelMonitoringStats(SearchModelMonitoringStatsRequest request, CallSettings callSettings = null)

Searches Model Monitoring Stats generated within a given time window.

Parameters
Name Description
request SearchModelMonitoringStatsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableSearchModelMonitoringStatsResponseModelMonitoringStats

A pageable sequence of ModelMonitoringStats resources.

Overrides

SearchModelMonitoringStatsAsync(SearchModelMonitoringStatsRequest, CallSettings)

public override PagedAsyncEnumerable<SearchModelMonitoringStatsResponse, ModelMonitoringStats> SearchModelMonitoringStatsAsync(SearchModelMonitoringStatsRequest request, CallSettings callSettings = null)

Searches Model Monitoring Stats generated within a given time window.

Parameters
Name Description
request SearchModelMonitoringStatsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableSearchModelMonitoringStatsResponseModelMonitoringStats

A pageable asynchronous sequence of ModelMonitoringStats resources.

Overrides

UpdateModelMonitor(UpdateModelMonitorRequest, CallSettings)

public override Operation<ModelMonitor, UpdateModelMonitorOperationMetadata> UpdateModelMonitor(UpdateModelMonitorRequest request, CallSettings callSettings = null)

Updates a ModelMonitor.

Parameters
Name Description
request UpdateModelMonitorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationModelMonitorUpdateModelMonitorOperationMetadata

The RPC response.

Overrides

UpdateModelMonitorAsync(UpdateModelMonitorRequest, CallSettings)

public override Task<Operation<ModelMonitor, UpdateModelMonitorOperationMetadata>> UpdateModelMonitorAsync(UpdateModelMonitorRequest request, CallSettings callSettings = null)

Updates a ModelMonitor.

Parameters
Name Description
request UpdateModelMonitorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationModelMonitorUpdateModelMonitorOperationMetadata

A Task containing the RPC response.

Overrides