# Google Cloud Security Command Center Settings v1beta1 API - Class SettingsName (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.SettingsName)
- [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.SettingsName)
- [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.SettingsName)

    public sealed class SettingsName : IResourceName, IEquatable<SettingsName>

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

Resource name for the `Settings` resource.

## Inheritance

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

## Implements

[IResourceName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.IResourceName.html), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName)

## Inherited Members

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

## 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

### SettingsName(string)

    public SettingsName(string organizationId)

Constructs a new instance of a [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) class from the component parts of pattern
`organizations/{organization}/settings`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `organizationId` | `https://learn.microsoft.com/dotnet/api/system.string` The `Organization` ID. Must not be `null` or empty. |

## Properties

### ClusterId

    public string ClusterId { get; }

The `Cluster` ID. May be `null`, depending on which resource name is contained by this instance.

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

### FolderId

    public string FolderId { get; }

The `Folder` ID. May be `null`, depending on which resource name is contained by this instance.

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

### IsKnownPattern

    public bool IsKnownPattern { get; }

Whether this instance contains a resource name with a known pattern.

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

### LocationId

    public string LocationId { get; }

The `Location` ID. May be `null`, depending on which resource name is contained by this instance.

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

### OrganizationId

    public string OrganizationId { get; }

The `Organization` ID. May be `null`, depending on which resource name is contained by this
instance.

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

### ProjectId

    public string ProjectId { get; }

The `Project` ID. May be `null`, depending on which resource name is contained by this instance.

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

### RegionId

    public string RegionId { get; }

The `Region` ID. May be `null`, depending on which resource name is contained by this instance.

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

### Type

    public SettingsName.ResourceNameType Type { get; }

The [SettingsName.ResourceNameType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName.ResourceNameType) of the contained resource name.

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

### UnparsedResource

    public UnparsedResourceName UnparsedResource { get; }

The contained [UnparsedResourceName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.UnparsedResourceName.html). Only non-`null` if this instance contains an
unparsed resource name.

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

### ZoneId

    public string ZoneId { get; }

The `Zone` ID. May be `null`, depending on which resource name is contained by this instance.

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

## Methods

### Format(string)

    public static string Format(string organizationId)

Formats the IDs into the string representation of this [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) with pattern
`organizations/{organization}/settings`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `organizationId` | `https://learn.microsoft.com/dotnet/api/system.string` The `Organization` ID. Must not be `null` or empty. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` | The string representation of this [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) with pattern `organizations/{organization}/settings`. |

### FormatFolder(string)

    public static string FormatFolder(string folderId)

Formats the IDs into the string representation of this [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) with pattern
`folders/{folder}/settings`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `folderId` | `https://learn.microsoft.com/dotnet/api/system.string` The `Folder` ID. Must not be `null` or empty. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` | The string representation of this [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) with pattern `folders/{folder}/settings`. |

### FormatOrganization(string)

    public static string FormatOrganization(string organizationId)

Formats the IDs into the string representation of this [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) with pattern
`organizations/{organization}/settings`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `organizationId` | `https://learn.microsoft.com/dotnet/api/system.string` The `Organization` ID. Must not be `null` or empty. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` | The string representation of this [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) with pattern `organizations/{organization}/settings`. |

### FormatProject(string)

    public static string FormatProject(string projectId)

Formats the IDs into the string representation of this [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) with pattern
`projects/{project}/settings`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `projectId` | `https://learn.microsoft.com/dotnet/api/system.string` The `Project` ID. Must not be `null` or empty. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` | The string representation of this [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) with pattern `projects/{project}/settings` . |

### FormatProjectLocationCluster(string, string, string)

    public static string FormatProjectLocationCluster(string projectId, string locationId, string clusterId)

Formats the IDs into the string representation of this [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) with pattern
`projects/{project}/locations/{location}/clusters/{cluster}/settings`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `projectId` | `https://learn.microsoft.com/dotnet/api/system.string` The `Project` ID. Must not be `null` or empty. |
| `locationId` | `https://learn.microsoft.com/dotnet/api/system.string` The `Location` ID. Must not be `null` or empty. |
| `clusterId` | `https://learn.microsoft.com/dotnet/api/system.string` The `Cluster` ID. Must not be `null` or empty. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` | The string representation of this [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) with pattern `projects/{project}/locations/{location}/clusters/{cluster}/settings`. |

### FormatProjectRegionCluster(string, string, string)

    public static string FormatProjectRegionCluster(string projectId, string regionId, string clusterId)

Formats the IDs into the string representation of this [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) with pattern
`projects/{project}/regions/{region}/clusters/{cluster}/settings`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `projectId` | `https://learn.microsoft.com/dotnet/api/system.string` The `Project` ID. Must not be `null` or empty. |
| `regionId` | `https://learn.microsoft.com/dotnet/api/system.string` The `Region` ID. Must not be `null` or empty. |
| `clusterId` | `https://learn.microsoft.com/dotnet/api/system.string` The `Cluster` ID. Must not be `null` or empty. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` | The string representation of this [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) with pattern `projects/{project}/regions/{region}/clusters/{cluster}/settings`. |

### FormatProjectZoneCluster(string, string, string)

    public static string FormatProjectZoneCluster(string projectId, string zoneId, string clusterId)

Formats the IDs into the string representation of this [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) with pattern
`projects/{project}/zones/{zone}/clusters/{cluster}/settings`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `projectId` | `https://learn.microsoft.com/dotnet/api/system.string` The `Project` ID. Must not be `null` or empty. |
| `zoneId` | `https://learn.microsoft.com/dotnet/api/system.string` The `Zone` ID. Must not be `null` or empty. |
| `clusterId` | `https://learn.microsoft.com/dotnet/api/system.string` The `Cluster` ID. Must not be `null` or empty. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` | The string representation of this [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) with pattern `projects/{project}/zones/{zone}/clusters/{cluster}/settings`. |

### FromFolder(string)

    public static SettingsName FromFolder(string folderId)

Creates a [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) with the pattern `folders/{folder}/settings`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `folderId` | `https://learn.microsoft.com/dotnet/api/system.string` The `Folder` ID. Must not be `null` or empty. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName` | A new instance of [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) constructed from the provided ids. |

### FromOrganization(string)

    public static SettingsName FromOrganization(string organizationId)

Creates a [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) with the pattern `organizations/{organization}/settings`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `organizationId` | `https://learn.microsoft.com/dotnet/api/system.string` The `Organization` ID. Must not be `null` or empty. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName` | A new instance of [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) constructed from the provided ids. |

### FromProject(string)

    public static SettingsName FromProject(string projectId)

Creates a [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) with the pattern `projects/{project}/settings`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `projectId` | `https://learn.microsoft.com/dotnet/api/system.string` The `Project` ID. Must not be `null` or empty. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName` | A new instance of [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) constructed from the provided ids. |

### FromProjectLocationCluster(string, string, string)

    public static SettingsName FromProjectLocationCluster(string projectId, string locationId, string clusterId)

Creates a [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) with the pattern
`projects/{project}/locations/{location}/clusters/{cluster}/settings`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `projectId` | `https://learn.microsoft.com/dotnet/api/system.string` The `Project` ID. Must not be `null` or empty. |
| `locationId` | `https://learn.microsoft.com/dotnet/api/system.string` The `Location` ID. Must not be `null` or empty. |
| `clusterId` | `https://learn.microsoft.com/dotnet/api/system.string` The `Cluster` ID. Must not be `null` or empty. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName` | A new instance of [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) constructed from the provided ids. |

### FromProjectRegionCluster(string, string, string)

    public static SettingsName FromProjectRegionCluster(string projectId, string regionId, string clusterId)

Creates a [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) with the pattern
`projects/{project}/regions/{region}/clusters/{cluster}/settings`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `projectId` | `https://learn.microsoft.com/dotnet/api/system.string` The `Project` ID. Must not be `null` or empty. |
| `regionId` | `https://learn.microsoft.com/dotnet/api/system.string` The `Region` ID. Must not be `null` or empty. |
| `clusterId` | `https://learn.microsoft.com/dotnet/api/system.string` The `Cluster` ID. Must not be `null` or empty. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName` | A new instance of [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) constructed from the provided ids. |

### FromProjectZoneCluster(string, string, string)

    public static SettingsName FromProjectZoneCluster(string projectId, string zoneId, string clusterId)

Creates a [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) with the pattern
`projects/{project}/zones/{zone}/clusters/{cluster}/settings`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `projectId` | `https://learn.microsoft.com/dotnet/api/system.string` The `Project` ID. Must not be `null` or empty. |
| `zoneId` | `https://learn.microsoft.com/dotnet/api/system.string` The `Zone` ID. Must not be `null` or empty. |
| `clusterId` | `https://learn.microsoft.com/dotnet/api/system.string` The `Cluster` ID. Must not be `null` or empty. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName` | A new instance of [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) constructed from the provided ids. |

### FromUnparsed(UnparsedResourceName)

    public static SettingsName FromUnparsed(UnparsedResourceName unparsedResourceName)

Creates a [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) containing an unparsed resource name.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `unparsedResourceName` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.UnparsedResourceName.html` The unparsed resource name. Must not be `null`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName` | A new instance of [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) containing the provided `unparsedResourceName` . |

### GetHashCode()

    public override int GetHashCode()

Returns a hash code for this resource name.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |

**Overrides** [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)

### Parse(string)

    public static SettingsName Parse(string settingsName)

Parses the given resource name string into a new [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) instance.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `settingsName` | `https://learn.microsoft.com/dotnet/api/system.string` The resource name in string form. Must not be `null`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName` | The parsed [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) if successful. |

**Remarks** To parse successfully, the resource name must be formatted as one of the following:

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

<br />

### Parse(string, bool)

    public static SettingsName Parse(string settingsName, bool allowUnparsed)

Parses the given resource name string into a new [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) instance; optionally allowing an
unparseable resource name.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `settingsName` | `https://learn.microsoft.com/dotnet/api/system.string` The resource name in string form. Must not be `null`. |
| `allowUnparsed` | `https://learn.microsoft.com/dotnet/api/system.boolean` If `true` will successfully store an unparseable resource name into the [UnparsedResource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName#Google_Cloud_SecurityCenter_Settings_V1Beta1_SettingsName_UnparsedResource) property; otherwise will throw an [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) if an unparseable resource name is specified. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName` | The parsed [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) if successful. |

**Remarks** To parse successfully, the resource name must be formatted as one of the following:

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

Or may be in any format if `allowUnparsed` is `true`.

<br />

### ToString()

    public override string ToString()

The string representation of the resource name.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` | The string representation of the resource name. |

**Overrides** [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

### TryParse(string, out SettingsName)

    public static bool TryParse(string settingsName, out SettingsName result)

Tries to parse the given resource name string into a new [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) instance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `settingsName` | `https://learn.microsoft.com/dotnet/api/system.string` The resource name in string form. Must not be `null`. |
| `result` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName` When this method returns, the parsed [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName), or `null` if parsing failed. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` | `true` if the name was parsed successfully; `false` otherwise. |

**Remarks** To parse successfully, the resource name must be formatted as one of the following:

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

<br />

### TryParse(string, bool, out SettingsName)

    public static bool TryParse(string settingsName, bool allowUnparsed, out SettingsName result)

Tries to parse the given resource name string into a new [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName) instance; optionally
allowing an unparseable resource name.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `settingsName` | `https://learn.microsoft.com/dotnet/api/system.string` The resource name in string form. Must not be `null`. |
| `allowUnparsed` | `https://learn.microsoft.com/dotnet/api/system.boolean` If `true` will successfully store an unparseable resource name into the [UnparsedResource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName#Google_Cloud_SecurityCenter_Settings_V1Beta1_SettingsName_UnparsedResource) property; otherwise will throw an [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) if an unparseable resource name is specified. |
| `result` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName` When this method returns, the parsed [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName), or `null` if parsing failed. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` | `true` if the name was parsed successfully; `false` otherwise. |

**Remarks** To parse successfully, the resource name must be formatted as one of the following:

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

Or may be in any format if `allowUnparsed` is `true`.

<br />

## Operators

### operator ==(SettingsName, SettingsName)

    public static bool operator ==(SettingsName a, SettingsName b)

Determines whether two specified resource names have the same value.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `a` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName` The first resource name to compare, or null. |
| `b` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName` The second resource name to compare, or null. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` | true if the value of `a` is the same as the value of `b`; otherwise, false. |

### operator !=(SettingsName, SettingsName)

    public static bool operator !=(SettingsName a, SettingsName b)

Determines whether two specified resource names have different values.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `a` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName` The first resource name to compare, or null. |
| `b` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.SettingsName` The second resource name to compare, or null. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` | true if the value of `a` is different from the value of `b`; otherwise, false. |