Vertex AI v1 API - Class AgentAnomalyDetectionServiceClientImpl (3.79.0)

public sealed class AgentAnomalyDetectionServiceClientImpl : AgentAnomalyDetectionServiceClient

Reference documentation and code samples for the Vertex AI v1 API class AgentAnomalyDetectionServiceClientImpl.

AgentAnomalyDetectionService client wrapper implementation, for convenient use.

Inheritance

object > AgentAnomalyDetectionServiceClient > AgentAnomalyDetectionServiceClientImpl

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Remarks

A service for managing Agent Anomaly Detection for monitored agents.

Constructors

AgentAnomalyDetectionServiceClientImpl(AgentAnomalyDetectionServiceClient, AgentAnomalyDetectionServiceSettings, ILogger)

public AgentAnomalyDetectionServiceClientImpl(AgentAnomalyDetectionService.AgentAnomalyDetectionServiceClient grpcClient, AgentAnomalyDetectionServiceSettings settings, ILogger logger)

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

Parameters
Name Description
grpcClient AgentAnomalyDetectionServiceAgentAnomalyDetectionServiceClient

The underlying gRPC client.

settings AgentAnomalyDetectionServiceSettings

The base AgentAnomalyDetectionServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

ClearTrainingDataOperationsClient

public override OperationsClient ClearTrainingDataOperationsClient { get; }

The long-running operations client for ClearTrainingData.

Property Value
Type Description
OperationsClient
Overrides

CreateAgentAnomalyDetectionScopeOperationsClient

public override OperationsClient CreateAgentAnomalyDetectionScopeOperationsClient { get; }

The long-running operations client for CreateAgentAnomalyDetectionScope.

Property Value
Type Description
OperationsClient
Overrides

DeleteAgentAnomalyDetectionScopeOperationsClient

public override OperationsClient DeleteAgentAnomalyDetectionScopeOperationsClient { get; }

The long-running operations client for DeleteAgentAnomalyDetectionScope.

Property Value
Type Description
OperationsClient
Overrides

DisableMonitoredAgentOperationsClient

public override OperationsClient DisableMonitoredAgentOperationsClient { get; }

The long-running operations client for DisableMonitoredAgent.

Property Value
Type Description
OperationsClient
Overrides

EnableMonitoredAgentOperationsClient

public override OperationsClient EnableMonitoredAgentOperationsClient { get; }

The long-running operations client for EnableMonitoredAgent.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override AgentAnomalyDetectionService.AgentAnomalyDetectionServiceClient GrpcClient { get; }

The underlying gRPC AgentAnomalyDetectionService client

Property Value
Type Description
AgentAnomalyDetectionServiceAgentAnomalyDetectionServiceClient
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

Methods

AggregateAnalyzedSessions(AggregateAnalyzedSessionsRequest, CallSettings)

public override PagedEnumerable<AggregateAnalyzedSessionsResponse, AggregateAnalyzedSessionsResponse.Types.AgentAggregate> AggregateAnalyzedSessions(AggregateAnalyzedSessionsRequest request, CallSettings callSettings = null)

Aggregates AnalyzedSessions across MonitoredAgents.

To aggregate across all MonitoredAgents in a location, use the following format for the parent field: projects/{project}/locations/{location}/monitoredAgents/-

Parameters
Name Description
request AggregateAnalyzedSessionsRequest

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
PagedEnumerableAggregateAnalyzedSessionsResponseAggregateAnalyzedSessionsResponseTypesAgentAggregate

A pageable sequence of AggregateAnalyzedSessionsResponse.Types.AgentAggregate resources.

Overrides

AggregateAnalyzedSessionsAsync(AggregateAnalyzedSessionsRequest, CallSettings)

public override PagedAsyncEnumerable<AggregateAnalyzedSessionsResponse, AggregateAnalyzedSessionsResponse.Types.AgentAggregate> AggregateAnalyzedSessionsAsync(AggregateAnalyzedSessionsRequest request, CallSettings callSettings = null)

Aggregates AnalyzedSessions across MonitoredAgents.

To aggregate across all MonitoredAgents in a location, use the following format for the parent field: projects/{project}/locations/{location}/monitoredAgents/-

Parameters
Name Description
request AggregateAnalyzedSessionsRequest

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
PagedAsyncEnumerableAggregateAnalyzedSessionsResponseAggregateAnalyzedSessionsResponseTypesAgentAggregate

A pageable asynchronous sequence of AggregateAnalyzedSessionsResponse.Types.AgentAggregate resources.

Overrides

ClearTrainingData(ClearTrainingDataRequest, CallSettings)

public override Operation<ClearTrainingDataResponse, ClearTrainingDataOperationMetadata> ClearTrainingData(ClearTrainingDataRequest request, CallSettings callSettings = null)

Clears (purges) the trained model artifacts derived from a MonitoredAgent's data. The purged model is rebuilt by the next scheduled training run.

To clear every MonitoredAgent in a location's scope, use the - wildcard agent segment for the name field: projects/{project}/locations/{location}/monitoredAgents/-

This is the on-demand data-deletion path for customers who have deleted the underlying logs / observability data a model was trained on. It deletes only the derived model artifacts (it does NOT delete the scope or stop monitoring). To stop monitoring an agent entirely, disable it via DisableMonitoredAgent.

Parameters
Name Description
request ClearTrainingDataRequest

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
OperationClearTrainingDataResponseClearTrainingDataOperationMetadata

The RPC response.

Overrides

ClearTrainingDataAsync(ClearTrainingDataRequest, CallSettings)

public override Task<Operation<ClearTrainingDataResponse, ClearTrainingDataOperationMetadata>> ClearTrainingDataAsync(ClearTrainingDataRequest request, CallSettings callSettings = null)

Clears (purges) the trained model artifacts derived from a MonitoredAgent's data. The purged model is rebuilt by the next scheduled training run.

To clear every MonitoredAgent in a location's scope, use the - wildcard agent segment for the name field: projects/{project}/locations/{location}/monitoredAgents/-

This is the on-demand data-deletion path for customers who have deleted the underlying logs / observability data a model was trained on. It deletes only the derived model artifacts (it does NOT delete the scope or stop monitoring). To stop monitoring an agent entirely, disable it via DisableMonitoredAgent.

Parameters
Name Description
request ClearTrainingDataRequest

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
TaskOperationClearTrainingDataResponseClearTrainingDataOperationMetadata

A Task containing the RPC response.

Overrides

CreateAgentAnomalyDetectionScope(CreateAgentAnomalyDetectionScopeRequest, CallSettings)

public override Operation<AgentAnomalyDetectionScope, CreateAgentAnomalyDetectionScopeOperationMetadata> CreateAgentAnomalyDetectionScope(CreateAgentAnomalyDetectionScopeRequest request, CallSettings callSettings = null)

Creates a new AgentAnomalyDetectionScope.

Parameters
Name Description
request CreateAgentAnomalyDetectionScopeRequest

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
OperationAgentAnomalyDetectionScopeCreateAgentAnomalyDetectionScopeOperationMetadata

The RPC response.

Overrides

CreateAgentAnomalyDetectionScopeAsync(CreateAgentAnomalyDetectionScopeRequest, CallSettings)

public override Task<Operation<AgentAnomalyDetectionScope, CreateAgentAnomalyDetectionScopeOperationMetadata>> CreateAgentAnomalyDetectionScopeAsync(CreateAgentAnomalyDetectionScopeRequest request, CallSettings callSettings = null)

Creates a new AgentAnomalyDetectionScope.

Parameters
Name Description
request CreateAgentAnomalyDetectionScopeRequest

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
TaskOperationAgentAnomalyDetectionScopeCreateAgentAnomalyDetectionScopeOperationMetadata

A Task containing the RPC response.

Overrides

DeleteAgentAnomalyDetectionScope(DeleteAgentAnomalyDetectionScopeRequest, CallSettings)

public override Operation<Empty, DeleteAgentAnomalyDetectionScopeOperationMetadata> DeleteAgentAnomalyDetectionScope(DeleteAgentAnomalyDetectionScopeRequest request, CallSettings callSettings = null)

Deletes a specific AgentAnomalyDetectionScope.

Parameters
Name Description
request DeleteAgentAnomalyDetectionScopeRequest

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
OperationEmptyDeleteAgentAnomalyDetectionScopeOperationMetadata

The RPC response.

Overrides

DeleteAgentAnomalyDetectionScopeAsync(DeleteAgentAnomalyDetectionScopeRequest, CallSettings)

public override Task<Operation<Empty, DeleteAgentAnomalyDetectionScopeOperationMetadata>> DeleteAgentAnomalyDetectionScopeAsync(DeleteAgentAnomalyDetectionScopeRequest request, CallSettings callSettings = null)

Deletes a specific AgentAnomalyDetectionScope.

Parameters
Name Description
request DeleteAgentAnomalyDetectionScopeRequest

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
TaskOperationEmptyDeleteAgentAnomalyDetectionScopeOperationMetadata

A Task containing the RPC response.

Overrides

DisableMonitoredAgent(DisableMonitoredAgentRequest, CallSettings)

public override Operation<MonitoredAgent, DisableMonitoredAgentOperationMetadata> DisableMonitoredAgent(DisableMonitoredAgentRequest request, CallSettings callSettings = null)

Disables a specific MonitoredAgent.

Parameters
Name Description
request DisableMonitoredAgentRequest

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
OperationMonitoredAgentDisableMonitoredAgentOperationMetadata

The RPC response.

Overrides

DisableMonitoredAgentAsync(DisableMonitoredAgentRequest, CallSettings)

public override Task<Operation<MonitoredAgent, DisableMonitoredAgentOperationMetadata>> DisableMonitoredAgentAsync(DisableMonitoredAgentRequest request, CallSettings callSettings = null)

Disables a specific MonitoredAgent.

Parameters
Name Description
request DisableMonitoredAgentRequest

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
TaskOperationMonitoredAgentDisableMonitoredAgentOperationMetadata

A Task containing the RPC response.

Overrides

EnableMonitoredAgent(EnableMonitoredAgentRequest, CallSettings)

public override Operation<MonitoredAgent, EnableMonitoredAgentOperationMetadata> EnableMonitoredAgent(EnableMonitoredAgentRequest request, CallSettings callSettings = null)

Enables a specific MonitoredAgent.

Parameters
Name Description
request EnableMonitoredAgentRequest

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
OperationMonitoredAgentEnableMonitoredAgentOperationMetadata

The RPC response.

Overrides

EnableMonitoredAgentAsync(EnableMonitoredAgentRequest, CallSettings)

public override Task<Operation<MonitoredAgent, EnableMonitoredAgentOperationMetadata>> EnableMonitoredAgentAsync(EnableMonitoredAgentRequest request, CallSettings callSettings = null)

Enables a specific MonitoredAgent.

Parameters
Name Description
request EnableMonitoredAgentRequest

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
TaskOperationMonitoredAgentEnableMonitoredAgentOperationMetadata

A Task containing the RPC response.

Overrides

GetAgentAnomalyDetectionScope(GetAgentAnomalyDetectionScopeRequest, CallSettings)

public override AgentAnomalyDetectionScope GetAgentAnomalyDetectionScope(GetAgentAnomalyDetectionScopeRequest request, CallSettings callSettings = null)

Gets the details of a specific AgentAnomalyDetectionScope.

Parameters
Name Description
request GetAgentAnomalyDetectionScopeRequest

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
AgentAnomalyDetectionScope

The RPC response.

Overrides

GetAgentAnomalyDetectionScopeAsync(GetAgentAnomalyDetectionScopeRequest, CallSettings)

public override Task<AgentAnomalyDetectionScope> GetAgentAnomalyDetectionScopeAsync(GetAgentAnomalyDetectionScopeRequest request, CallSettings callSettings = null)

Gets the details of a specific AgentAnomalyDetectionScope.

Parameters
Name Description
request GetAgentAnomalyDetectionScopeRequest

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
TaskAgentAnomalyDetectionScope

A Task containing the RPC response.

Overrides

GetAnalyzedInvocation(GetAnalyzedInvocationRequest, CallSettings)

public override AnalyzedInvocation GetAnalyzedInvocation(GetAnalyzedInvocationRequest request, CallSettings callSettings = null)

Gets the details of a specific AnalyzedInvocation.

Parameters
Name Description
request GetAnalyzedInvocationRequest

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
AnalyzedInvocation

The RPC response.

Overrides

GetAnalyzedInvocationAsync(GetAnalyzedInvocationRequest, CallSettings)

public override Task<AnalyzedInvocation> GetAnalyzedInvocationAsync(GetAnalyzedInvocationRequest request, CallSettings callSettings = null)

Gets the details of a specific AnalyzedInvocation.

Parameters
Name Description
request GetAnalyzedInvocationRequest

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
TaskAnalyzedInvocation

A Task containing the RPC response.

Overrides

GetAnalyzedSession(GetAnalyzedSessionRequest, CallSettings)

public override AnalyzedSession GetAnalyzedSession(GetAnalyzedSessionRequest request, CallSettings callSettings = null)

Gets the details of a specific AnalyzedSession.

Parameters
Name Description
request GetAnalyzedSessionRequest

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
AnalyzedSession

The RPC response.

Overrides

GetAnalyzedSessionAsync(GetAnalyzedSessionRequest, CallSettings)

public override Task<AnalyzedSession> GetAnalyzedSessionAsync(GetAnalyzedSessionRequest request, CallSettings callSettings = null)

Gets the details of a specific AnalyzedSession.

Parameters
Name Description
request GetAnalyzedSessionRequest

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
TaskAnalyzedSession

A Task containing the RPC response.

Overrides

GetMonitoredAgent(GetMonitoredAgentRequest, CallSettings)

public override MonitoredAgent GetMonitoredAgent(GetMonitoredAgentRequest request, CallSettings callSettings = null)

Gets the details of a specific MonitoredAgent.

Parameters
Name Description
request GetMonitoredAgentRequest

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
MonitoredAgent

The RPC response.

Overrides

GetMonitoredAgentAsync(GetMonitoredAgentRequest, CallSettings)

public override Task<MonitoredAgent> GetMonitoredAgentAsync(GetMonitoredAgentRequest request, CallSettings callSettings = null)

Gets the details of a specific MonitoredAgent.

Parameters
Name Description
request GetMonitoredAgentRequest

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
TaskMonitoredAgent

A Task containing the RPC response.

Overrides

ListAgentAnomalyDetectionScopes(ListAgentAnomalyDetectionScopesRequest, CallSettings)

public override PagedEnumerable<ListAgentAnomalyDetectionScopesResponse, AgentAnomalyDetectionScope> ListAgentAnomalyDetectionScopes(ListAgentAnomalyDetectionScopesRequest request, CallSettings callSettings = null)

Lists AgentAnomalyDetectionScopes in a Location.

Parameters
Name Description
request ListAgentAnomalyDetectionScopesRequest

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
PagedEnumerableListAgentAnomalyDetectionScopesResponseAgentAnomalyDetectionScope

A pageable sequence of AgentAnomalyDetectionScope resources.

Overrides

ListAgentAnomalyDetectionScopesAsync(ListAgentAnomalyDetectionScopesRequest, CallSettings)

public override PagedAsyncEnumerable<ListAgentAnomalyDetectionScopesResponse, AgentAnomalyDetectionScope> ListAgentAnomalyDetectionScopesAsync(ListAgentAnomalyDetectionScopesRequest request, CallSettings callSettings = null)

Lists AgentAnomalyDetectionScopes in a Location.

Parameters
Name Description
request ListAgentAnomalyDetectionScopesRequest

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
PagedAsyncEnumerableListAgentAnomalyDetectionScopesResponseAgentAnomalyDetectionScope

A pageable asynchronous sequence of AgentAnomalyDetectionScope resources.

Overrides

ListAnalyzedInvocations(ListAnalyzedInvocationsRequest, CallSettings)

public override PagedEnumerable<ListAnalyzedInvocationsResponse, AnalyzedInvocation> ListAnalyzedInvocations(ListAnalyzedInvocationsRequest request, CallSettings callSettings = null)

Lists AnalyzedInvocations in a MonitoredAgent's AnalyzedSession.

Parameters
Name Description
request ListAnalyzedInvocationsRequest

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
PagedEnumerableListAnalyzedInvocationsResponseAnalyzedInvocation

A pageable sequence of AnalyzedInvocation resources.

Overrides

ListAnalyzedInvocationsAsync(ListAnalyzedInvocationsRequest, CallSettings)

public override PagedAsyncEnumerable<ListAnalyzedInvocationsResponse, AnalyzedInvocation> ListAnalyzedInvocationsAsync(ListAnalyzedInvocationsRequest request, CallSettings callSettings = null)

Lists AnalyzedInvocations in a MonitoredAgent's AnalyzedSession.

Parameters
Name Description
request ListAnalyzedInvocationsRequest

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
PagedAsyncEnumerableListAnalyzedInvocationsResponseAnalyzedInvocation

A pageable asynchronous sequence of AnalyzedInvocation resources.

Overrides

ListAnalyzedSessions(ListAnalyzedSessionsRequest, CallSettings)

public override PagedEnumerable<ListAnalyzedSessionsResponse, AnalyzedSession> ListAnalyzedSessions(ListAnalyzedSessionsRequest request, CallSettings callSettings = null)

Lists AnalyzedSessions in a MonitoredAgent.

Parameters
Name Description
request ListAnalyzedSessionsRequest

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
PagedEnumerableListAnalyzedSessionsResponseAnalyzedSession

A pageable sequence of AnalyzedSession resources.

Overrides

ListAnalyzedSessionsAsync(ListAnalyzedSessionsRequest, CallSettings)

public override PagedAsyncEnumerable<ListAnalyzedSessionsResponse, AnalyzedSession> ListAnalyzedSessionsAsync(ListAnalyzedSessionsRequest request, CallSettings callSettings = null)

Lists AnalyzedSessions in a MonitoredAgent.

Parameters
Name Description
request ListAnalyzedSessionsRequest

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
PagedAsyncEnumerableListAnalyzedSessionsResponseAnalyzedSession

A pageable asynchronous sequence of AnalyzedSession resources.

Overrides

ListMonitoredAgents(ListMonitoredAgentsRequest, CallSettings)

public override PagedEnumerable<ListMonitoredAgentsResponse, MonitoredAgent> ListMonitoredAgents(ListMonitoredAgentsRequest request, CallSettings callSettings = null)

Lists MonitoredAgents in a specific Location.

Parameters
Name Description
request ListMonitoredAgentsRequest

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
PagedEnumerableListMonitoredAgentsResponseMonitoredAgent

A pageable sequence of MonitoredAgent resources.

Overrides

ListMonitoredAgentsAsync(ListMonitoredAgentsRequest, CallSettings)

public override PagedAsyncEnumerable<ListMonitoredAgentsResponse, MonitoredAgent> ListMonitoredAgentsAsync(ListMonitoredAgentsRequest request, CallSettings callSettings = null)

Lists MonitoredAgents in a specific Location.

Parameters
Name Description
request ListMonitoredAgentsRequest

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
PagedAsyncEnumerableListMonitoredAgentsResponseMonitoredAgent

A pageable asynchronous sequence of MonitoredAgent resources.

Overrides