# Google Cloud Security Command Center Settings v1beta1 API - Class UpdateComponentSettingsRequest (2.0.0-beta05)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.0.0-beta05 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.UpdateComponentSettingsRequest)
- [2.0.0-beta04](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/2.0.0-beta04/Google.Cloud.SecurityCenter.Settings.V1Beta1.UpdateComponentSettingsRequest)
- [1.0.0-beta04](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/1.0.0-beta04/Google.Cloud.SecurityCenter.Settings.V1Beta1.UpdateComponentSettingsRequest)

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

Reference documentation and code samples for the Google Cloud Security Command Center Settings v1beta1 API class UpdateComponentSettingsRequest.

Request message for UpdateComponentSettings.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateComponentSettingsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.UpdateComponentSettingsRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateComponentSettingsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.UpdateComponentSettingsRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateComponentSettingsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.UpdateComponentSettingsRequest), [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.SecurityCenter.Settings.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1)

## Assembly

Google.Cloud.SecurityCenter.Settings.V1Beta1.dll

## Constructors

### UpdateComponentSettingsRequest()

    public UpdateComponentSettingsRequest()

### UpdateComponentSettingsRequest(UpdateComponentSettingsRequest)

    public UpdateComponentSettingsRequest(UpdateComponentSettingsRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.UpdateComponentSettingsRequest` |

## Properties

### ComponentSettings

    public ComponentSettings ComponentSettings { get; set; }

Required. The component settings to update.

The component settings' `name` field is used to identify the component
settings to be updated. Formats:

- `organizations/{organization}/components/{component}/settings`
- `folders/{folder}/components/{component}/settings`
- `projects/{project}/components/{component}/settings`
- `projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings`
- `projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings`
- `projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.ComponentSettings` |   |

### UpdateMask

    public FieldMask UpdateMask { get; set; }

The list of fields to be updated on the component settings resource.

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