# Model Armor v1beta API - Class ModelArmorClientImpl (1.0.0-beta06)

1.0.0-beta06 (latest) 1.0.0-beta05

    public sealed class ModelArmorClientImpl : ModelArmorClient

Reference documentation and code samples for the Model Armor v1beta API class ModelArmorClientImpl.

ModelArmor client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [ModelArmorClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient) \> ModelArmorClientImpl

## Inherited Members

[ModelArmorClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_DefaultEndpoint) [ModelArmorClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_DefaultScopes) [ModelArmorClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_ServiceMetadata) [ModelArmorClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_CreateAsync_System_Threading_CancellationToken_) [ModelArmorClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_Create) [ModelArmorClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_ShutdownDefaultChannelsAsync) [ModelArmorClient.ListTemplates(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_ListTemplates_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [ModelArmorClient.ListTemplatesAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_ListTemplatesAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [ModelArmorClient.ListTemplates(LocationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_ListTemplates_Google_Api_Gax_ResourceNames_LocationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [ModelArmorClient.ListTemplatesAsync(LocationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_ListTemplatesAsync_Google_Api_Gax_ResourceNames_LocationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [ModelArmorClient.GetTemplateAsync(GetTemplateRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_GetTemplateAsync_Google_Cloud_ModelArmor_V1Beta_GetTemplateRequest_System_Threading_CancellationToken_) [ModelArmorClient.GetTemplate(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_GetTemplate_System_String_Google_Api_Gax_Grpc_CallSettings_) [ModelArmorClient.GetTemplateAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_GetTemplateAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [ModelArmorClient.GetTemplateAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_GetTemplateAsync_System_String_System_Threading_CancellationToken_) [ModelArmorClient.GetTemplate(TemplateName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_GetTemplate_Google_Cloud_ModelArmor_V1Beta_TemplateName_Google_Api_Gax_Grpc_CallSettings_) [ModelArmorClient.GetTemplateAsync(TemplateName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_GetTemplateAsync_Google_Cloud_ModelArmor_V1Beta_TemplateName_Google_Api_Gax_Grpc_CallSettings_) [ModelArmorClient.GetTemplateAsync(TemplateName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_GetTemplateAsync_Google_Cloud_ModelArmor_V1Beta_TemplateName_System_Threading_CancellationToken_) [ModelArmorClient.CreateTemplateAsync(CreateTemplateRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_CreateTemplateAsync_Google_Cloud_ModelArmor_V1Beta_CreateTemplateRequest_System_Threading_CancellationToken_) [ModelArmorClient.CreateTemplate(string, Template, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_CreateTemplate_System_String_Google_Cloud_ModelArmor_V1Beta_Template_System_String_Google_Api_Gax_Grpc_CallSettings_) [ModelArmorClient.CreateTemplateAsync(string, Template, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_CreateTemplateAsync_System_String_Google_Cloud_ModelArmor_V1Beta_Template_System_String_Google_Api_Gax_Grpc_CallSettings_) [ModelArmorClient.CreateTemplateAsync(string, Template, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_CreateTemplateAsync_System_String_Google_Cloud_ModelArmor_V1Beta_Template_System_String_System_Threading_CancellationToken_) [ModelArmorClient.CreateTemplate(LocationName, Template, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_CreateTemplate_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_ModelArmor_V1Beta_Template_System_String_Google_Api_Gax_Grpc_CallSettings_) [ModelArmorClient.CreateTemplateAsync(LocationName, Template, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_CreateTemplateAsync_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_ModelArmor_V1Beta_Template_System_String_Google_Api_Gax_Grpc_CallSettings_) [ModelArmorClient.CreateTemplateAsync(LocationName, Template, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_CreateTemplateAsync_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_ModelArmor_V1Beta_Template_System_String_System_Threading_CancellationToken_) [ModelArmorClient.UpdateTemplateAsync(UpdateTemplateRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_UpdateTemplateAsync_Google_Cloud_ModelArmor_V1Beta_UpdateTemplateRequest_System_Threading_CancellationToken_) [ModelArmorClient.UpdateTemplate(Template, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_UpdateTemplate_Google_Cloud_ModelArmor_V1Beta_Template_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [ModelArmorClient.UpdateTemplateAsync(Template, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_UpdateTemplateAsync_Google_Cloud_ModelArmor_V1Beta_Template_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [ModelArmorClient.UpdateTemplateAsync(Template, FieldMask, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_UpdateTemplateAsync_Google_Cloud_ModelArmor_V1Beta_Template_Google_Protobuf_WellKnownTypes_FieldMask_System_Threading_CancellationToken_) [ModelArmorClient.DeleteTemplateAsync(DeleteTemplateRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_DeleteTemplateAsync_Google_Cloud_ModelArmor_V1Beta_DeleteTemplateRequest_System_Threading_CancellationToken_) [ModelArmorClient.DeleteTemplate(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_DeleteTemplate_System_String_Google_Api_Gax_Grpc_CallSettings_) [ModelArmorClient.DeleteTemplateAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_DeleteTemplateAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [ModelArmorClient.DeleteTemplateAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_DeleteTemplateAsync_System_String_System_Threading_CancellationToken_) [ModelArmorClient.DeleteTemplate(TemplateName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_DeleteTemplate_Google_Cloud_ModelArmor_V1Beta_TemplateName_Google_Api_Gax_Grpc_CallSettings_) [ModelArmorClient.DeleteTemplateAsync(TemplateName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_DeleteTemplateAsync_Google_Cloud_ModelArmor_V1Beta_TemplateName_Google_Api_Gax_Grpc_CallSettings_) [ModelArmorClient.DeleteTemplateAsync(TemplateName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_DeleteTemplateAsync_Google_Cloud_ModelArmor_V1Beta_TemplateName_System_Threading_CancellationToken_) [ModelArmorClient.GetFloorSettingAsync(GetFloorSettingRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_GetFloorSettingAsync_Google_Cloud_ModelArmor_V1Beta_GetFloorSettingRequest_System_Threading_CancellationToken_) [ModelArmorClient.GetFloorSetting(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_GetFloorSetting_System_String_Google_Api_Gax_Grpc_CallSettings_) [ModelArmorClient.GetFloorSettingAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_GetFloorSettingAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [ModelArmorClient.GetFloorSettingAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_GetFloorSettingAsync_System_String_System_Threading_CancellationToken_) [ModelArmorClient.GetFloorSetting(FloorSettingName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_GetFloorSetting_Google_Cloud_ModelArmor_V1Beta_FloorSettingName_Google_Api_Gax_Grpc_CallSettings_) [ModelArmorClient.GetFloorSettingAsync(FloorSettingName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_GetFloorSettingAsync_Google_Cloud_ModelArmor_V1Beta_FloorSettingName_Google_Api_Gax_Grpc_CallSettings_) [ModelArmorClient.GetFloorSettingAsync(FloorSettingName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_GetFloorSettingAsync_Google_Cloud_ModelArmor_V1Beta_FloorSettingName_System_Threading_CancellationToken_) [ModelArmorClient.UpdateFloorSettingAsync(UpdateFloorSettingRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_UpdateFloorSettingAsync_Google_Cloud_ModelArmor_V1Beta_UpdateFloorSettingRequest_System_Threading_CancellationToken_) [ModelArmorClient.UpdateFloorSetting(FloorSetting, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_UpdateFloorSetting_Google_Cloud_ModelArmor_V1Beta_FloorSetting_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [ModelArmorClient.UpdateFloorSettingAsync(FloorSetting, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_UpdateFloorSettingAsync_Google_Cloud_ModelArmor_V1Beta_FloorSetting_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [ModelArmorClient.UpdateFloorSettingAsync(FloorSetting, FieldMask, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_UpdateFloorSettingAsync_Google_Cloud_ModelArmor_V1Beta_FloorSetting_Google_Protobuf_WellKnownTypes_FieldMask_System_Threading_CancellationToken_) [ModelArmorClient.SanitizeUserPromptAsync(SanitizeUserPromptRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_SanitizeUserPromptAsync_Google_Cloud_ModelArmor_V1Beta_SanitizeUserPromptRequest_System_Threading_CancellationToken_) [ModelArmorClient.SanitizeModelResponseAsync(SanitizeModelResponseRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_SanitizeModelResponseAsync_Google_Cloud_ModelArmor_V1Beta_SanitizeModelResponseRequest_System_Threading_CancellationToken_) [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.ModelArmor.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta)

## Assembly

Google.Cloud.ModelArmor.V1Beta.dll

## Remarks

Service describing handlers for resources

## Constructors

### ModelArmorClientImpl(ModelArmorClient, ModelArmorSettings, ILogger)

    public ModelArmorClientImpl(ModelArmor.ModelArmorClient grpcClient, ModelArmorSettings settings, ILogger logger)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmor.ModelArmorClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorSettings` The base [ModelArmorSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### GrpcClient

    public override ModelArmor.ModelArmorClient GrpcClient { get; }

The underlying gRPC ModelArmor client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmor.ModelArmorClient` |   |

**Overrides** [ModelArmorClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_GrpcClient)

### LocationsClient

    public override LocationsClient LocationsClient { get; }

The [LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html` |   |

**Overrides** [ModelArmorClient.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_LocationsClient)

## Methods

### CreateTemplate(CreateTemplateRequest, CallSettings)

    public override Template CreateTemplate(CreateTemplateRequest request, CallSettings callSettings = null)

Creates a new Template in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.CreateTemplateRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.Template` | The RPC response. |

**Overrides** [ModelArmorClient.CreateTemplate(CreateTemplateRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_CreateTemplate_Google_Cloud_ModelArmor_V1Beta_CreateTemplateRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateTemplateAsync(CreateTemplateRequest, CallSettings)

    public override Task<Template> CreateTemplateAsync(CreateTemplateRequest request, CallSettings callSettings = null)

Creates a new Template in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.CreateTemplateRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.Template` | A Task containing the RPC response. |

**Overrides** [ModelArmorClient.CreateTemplateAsync(CreateTemplateRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_CreateTemplateAsync_Google_Cloud_ModelArmor_V1Beta_CreateTemplateRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteTemplate(DeleteTemplateRequest, CallSettings)

    public override void DeleteTemplate(DeleteTemplateRequest request, CallSettings callSettings = null)

Deletes a single Template.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.DeleteTemplateRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

**Overrides** [ModelArmorClient.DeleteTemplate(DeleteTemplateRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_DeleteTemplate_Google_Cloud_ModelArmor_V1Beta_DeleteTemplateRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteTemplateAsync(DeleteTemplateRequest, CallSettings)

    public override Task DeleteTemplateAsync(DeleteTemplateRequest request, CallSettings callSettings = null)

Deletes a single Template.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.DeleteTemplateRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Overrides** [ModelArmorClient.DeleteTemplateAsync(DeleteTemplateRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_DeleteTemplateAsync_Google_Cloud_ModelArmor_V1Beta_DeleteTemplateRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetFloorSetting(GetFloorSettingRequest, CallSettings)

    public override FloorSetting GetFloorSetting(GetFloorSettingRequest request, CallSettings callSettings = null)

Gets details of a single floor setting of a project

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.GetFloorSettingRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.FloorSetting` | The RPC response. |

**Overrides** [ModelArmorClient.GetFloorSetting(GetFloorSettingRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_GetFloorSetting_Google_Cloud_ModelArmor_V1Beta_GetFloorSettingRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetFloorSettingAsync(GetFloorSettingRequest, CallSettings)

    public override Task<FloorSetting> GetFloorSettingAsync(GetFloorSettingRequest request, CallSettings callSettings = null)

Gets details of a single floor setting of a project

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.GetFloorSettingRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.FloorSetting` | A Task containing the RPC response. |

**Overrides** [ModelArmorClient.GetFloorSettingAsync(GetFloorSettingRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_GetFloorSettingAsync_Google_Cloud_ModelArmor_V1Beta_GetFloorSettingRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetTemplate(GetTemplateRequest, CallSettings)

    public override Template GetTemplate(GetTemplateRequest request, CallSettings callSettings = null)

Gets details of a single Template.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.GetTemplateRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.Template` | The RPC response. |

**Overrides** [ModelArmorClient.GetTemplate(GetTemplateRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_GetTemplate_Google_Cloud_ModelArmor_V1Beta_GetTemplateRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetTemplateAsync(GetTemplateRequest, CallSettings)

    public override Task<Template> GetTemplateAsync(GetTemplateRequest request, CallSettings callSettings = null)

Gets details of a single Template.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.GetTemplateRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.Template` | A Task containing the RPC response. |

**Overrides** [ModelArmorClient.GetTemplateAsync(GetTemplateRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_GetTemplateAsync_Google_Cloud_ModelArmor_V1Beta_GetTemplateRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListTemplates(ListTemplatesRequest, CallSettings)

    public override PagedEnumerable<ListTemplatesResponse, Template> ListTemplates(ListTemplatesRequest request, CallSettings callSettings = null)

Lists Templates in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ListTemplatesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ListTemplatesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.Template` | A pageable sequence of [Template](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.Template) resources. |

**Overrides** [ModelArmorClient.ListTemplates(ListTemplatesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_ListTemplates_Google_Cloud_ModelArmor_V1Beta_ListTemplatesRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListTemplatesAsync(ListTemplatesRequest, CallSettings)

    public override PagedAsyncEnumerable<ListTemplatesResponse, Template> ListTemplatesAsync(ListTemplatesRequest request, CallSettings callSettings = null)

Lists Templates in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ListTemplatesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ListTemplatesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.Template` | A pageable asynchronous sequence of [Template](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.Template) resources. |

**Overrides** [ModelArmorClient.ListTemplatesAsync(ListTemplatesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_ListTemplatesAsync_Google_Cloud_ModelArmor_V1Beta_ListTemplatesRequest_Google_Api_Gax_Grpc_CallSettings_)

### SanitizeModelResponse(SanitizeModelResponseRequest, CallSettings)

    public override SanitizeModelResponseResponse SanitizeModelResponse(SanitizeModelResponseRequest request, CallSettings callSettings = null)

Sanitizes Model Response.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.SanitizeModelResponseRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.SanitizeModelResponseResponse` | The RPC response. |

**Overrides** [ModelArmorClient.SanitizeModelResponse(SanitizeModelResponseRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_SanitizeModelResponse_Google_Cloud_ModelArmor_V1Beta_SanitizeModelResponseRequest_Google_Api_Gax_Grpc_CallSettings_)

### SanitizeModelResponseAsync(SanitizeModelResponseRequest, CallSettings)

    public override Task<SanitizeModelResponseResponse> SanitizeModelResponseAsync(SanitizeModelResponseRequest request, CallSettings callSettings = null)

Sanitizes Model Response.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.SanitizeModelResponseRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.SanitizeModelResponseResponse` | A Task containing the RPC response. |

**Overrides** [ModelArmorClient.SanitizeModelResponseAsync(SanitizeModelResponseRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_SanitizeModelResponseAsync_Google_Cloud_ModelArmor_V1Beta_SanitizeModelResponseRequest_Google_Api_Gax_Grpc_CallSettings_)

### SanitizeUserPrompt(SanitizeUserPromptRequest, CallSettings)

    public override SanitizeUserPromptResponse SanitizeUserPrompt(SanitizeUserPromptRequest request, CallSettings callSettings = null)

Sanitizes User Prompt.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.SanitizeUserPromptRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.SanitizeUserPromptResponse` | The RPC response. |

**Overrides** [ModelArmorClient.SanitizeUserPrompt(SanitizeUserPromptRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_SanitizeUserPrompt_Google_Cloud_ModelArmor_V1Beta_SanitizeUserPromptRequest_Google_Api_Gax_Grpc_CallSettings_)

### SanitizeUserPromptAsync(SanitizeUserPromptRequest, CallSettings)

    public override Task<SanitizeUserPromptResponse> SanitizeUserPromptAsync(SanitizeUserPromptRequest request, CallSettings callSettings = null)

Sanitizes User Prompt.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.SanitizeUserPromptRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.SanitizeUserPromptResponse` | A Task containing the RPC response. |

**Overrides** [ModelArmorClient.SanitizeUserPromptAsync(SanitizeUserPromptRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_SanitizeUserPromptAsync_Google_Cloud_ModelArmor_V1Beta_SanitizeUserPromptRequest_Google_Api_Gax_Grpc_CallSettings_)

### StreamSanitizeModelResponse(CallSettings, BidirectionalStreamingSettings)

    public override ModelArmorClient.StreamSanitizeModelResponseStream StreamSanitizeModelResponse(CallSettings callSettings = null, BidirectionalStreamingSettings streamingSettings = null)

Streaming version of Sanitizes Model Response.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |
| `streamingSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingSettings.html` If not null, applies streaming overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClienthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient.StreamSanitizeModelResponseStream` | The client-server stream. |

**Overrides** [ModelArmorClient.StreamSanitizeModelResponse(CallSettings, BidirectionalStreamingSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_StreamSanitizeModelResponse_Google_Api_Gax_Grpc_CallSettings_Google_Api_Gax_Grpc_BidirectionalStreamingSettings_)

### StreamSanitizeUserPrompt(CallSettings, BidirectionalStreamingSettings)

    public override ModelArmorClient.StreamSanitizeUserPromptStream StreamSanitizeUserPrompt(CallSettings callSettings = null, BidirectionalStreamingSettings streamingSettings = null)

Streaming version of Sanitize User Prompt.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |
| `streamingSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingSettings.html` If not null, applies streaming overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClienthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient.StreamSanitizeUserPromptStream` | The client-server stream. |

**Overrides** [ModelArmorClient.StreamSanitizeUserPrompt(CallSettings, BidirectionalStreamingSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_StreamSanitizeUserPrompt_Google_Api_Gax_Grpc_CallSettings_Google_Api_Gax_Grpc_BidirectionalStreamingSettings_)

### UpdateFloorSetting(UpdateFloorSettingRequest, CallSettings)

    public override FloorSetting UpdateFloorSetting(UpdateFloorSettingRequest request, CallSettings callSettings = null)

Updates the parameters of a single floor setting of a project

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.UpdateFloorSettingRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.FloorSetting` | The RPC response. |

**Overrides** [ModelArmorClient.UpdateFloorSetting(UpdateFloorSettingRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_UpdateFloorSetting_Google_Cloud_ModelArmor_V1Beta_UpdateFloorSettingRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateFloorSettingAsync(UpdateFloorSettingRequest, CallSettings)

    public override Task<FloorSetting> UpdateFloorSettingAsync(UpdateFloorSettingRequest request, CallSettings callSettings = null)

Updates the parameters of a single floor setting of a project

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.UpdateFloorSettingRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.FloorSetting` | A Task containing the RPC response. |

**Overrides** [ModelArmorClient.UpdateFloorSettingAsync(UpdateFloorSettingRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_UpdateFloorSettingAsync_Google_Cloud_ModelArmor_V1Beta_UpdateFloorSettingRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateTemplate(UpdateTemplateRequest, CallSettings)

    public override Template UpdateTemplate(UpdateTemplateRequest request, CallSettings callSettings = null)

Updates the parameters of a single Template.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.UpdateTemplateRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.Template` | The RPC response. |

**Overrides** [ModelArmorClient.UpdateTemplate(UpdateTemplateRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_UpdateTemplate_Google_Cloud_ModelArmor_V1Beta_UpdateTemplateRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateTemplateAsync(UpdateTemplateRequest, CallSettings)

    public override Task<Template> UpdateTemplateAsync(UpdateTemplateRequest request, CallSettings callSettings = null)

Updates the parameters of a single Template.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.UpdateTemplateRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.Template` | A Task containing the RPC response. |

**Overrides** [ModelArmorClient.UpdateTemplateAsync(UpdateTemplateRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.ModelArmorClient#Google_Cloud_ModelArmor_V1Beta_ModelArmorClient_UpdateTemplateAsync_Google_Cloud_ModelArmor_V1Beta_UpdateTemplateRequest_Google_Api_Gax_Grpc_CallSettings_)