1.0.0-beta13 (latest) 1.0.0-beta12

    public sealed class SetAgentOpsObservabilityRequest : IMessage<SetAgentOpsObservabilityRequest>, IEquatable<SetAgentOpsObservabilityRequest>, IDeepCloneable<SetAgentOpsObservabilityRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Data Analytics API with Gemini v1beta API class SetAgentOpsObservabilityRequest.

Request for SetAgentOpsObservability.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> SetAgentOpsObservabilityRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SetAgentOpsObservabilityRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.SetAgentOpsObservabilityRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SetAgentOpsObservabilityRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.SetAgentOpsObservabilityRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SetAgentOpsObservabilityRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.SetAgentOpsObservabilityRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.GeminiDataAnalytics.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta)

## Assembly

Google.Cloud.GeminiDataAnalytics.V1Beta.dll

## Constructors

### SetAgentOpsObservabilityRequest()

    public SetAgentOpsObservabilityRequest()

### SetAgentOpsObservabilityRequest(SetAgentOpsObservabilityRequest)

    public SetAgentOpsObservabilityRequest(SetAgentOpsObservabilityRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.SetAgentOpsObservabilityRequest` |

## Properties

### BqaaEnabled

    public bool BqaaEnabled { get; set; }

Optional. Whether BigQuery Agent Analytics is enabled.
Note: An explicit `update_mask` containing "bqaa_enabled" is required to
modify this field. If `update_mask` is omitted, this field is ignored and
an existing enabled setting cannot be disabled.

This is a project-level setting and does not by itself enable trace
logging for any individual agent. Per-agent trace logging is controlled
by `DataAgent.bigquery_agent_analytics_enabled` together with
`DataAgent.bigquery_agent_analytics_table`; an agent does not inherit
this setting.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### DataSourceType

    public string DataSourceType { get; set; }

Required. The data source type for which to set observability settings.
Examples: "bigquery", "looker"

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Parent

    public string Parent { get; set; }

Required. Parent value for SetAgentOpsObservabilityRequest.
Format: projects/{project}/locations/{location}

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ParentAsLocationName

    public LocationName ParentAsLocationName { get; set; }

[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.SetAgentOpsObservabilityRequest#Google_Cloud_GeminiDataAnalytics_V1Beta_SetAgentOpsObservabilityRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` |   |

### TelemetryEnabled

    public bool TelemetryEnabled { get; set; }

Optional. Whether to enable or disable AgentOps observability.
When update_mask is provided, this field is ignored unless specified in the
mask.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### UpdateMask

    public FieldMask UpdateMask { get; set; }

Optional. Field mask is used to specify the fields to be overwritten by the
update. The fields specified in the update_mask are relative to the
resource. A field will be overwritten if it is in the mask.

If the user does not provide a mask, only `telemetry_enabled` will be
updated (for backward compatibility with legacy callers). Note that
disabling BigQuery Agent Analytics (`bqaa_enabled = false`) requires
providing an explicit `update_mask` containing "bqaa_enabled".

Per AIP-161:

- The special wildcard value '\*' is supported to update all fields.
- Field paths should use snake_case, though camelCase equivalents (`telemetryEnabled`, `bqaaEnabled`) are accepted for REST/JSON transcoding compatibility.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` |   |