# Cloud Security Compliance v1 API - Class CreateFrameworkAuditRequest (1.0.0-beta05)

1.0.0-beta05 (latest) 1.0.0-beta04

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

Reference documentation and code samples for the Cloud Security Compliance v1 API class CreateFrameworkAuditRequest.

The request message for \[CreateFrameworkAudit\]\[\].

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.CloudSecurityCompliance.V1.dll

## Constructors

### CreateFrameworkAuditRequest()

    public CreateFrameworkAuditRequest()

### CreateFrameworkAuditRequest(CreateFrameworkAuditRequest)

    public CreateFrameworkAuditRequest(CreateFrameworkAuditRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.CreateFrameworkAuditRequest` |

## Properties

### FrameworkAudit

    public FrameworkAudit FrameworkAudit { get; set; }

Required. The framework audit to create.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.FrameworkAudit` |   |

### FrameworkAuditId

    public string FrameworkAuditId { get; set; }

Optional. The ID to use for the framework audit. The ID becomes the final
component of the framework audit's full resource name.

The ID must be between 4-63 characters, and valid characters
are `\[a-z][0-9]-\`.

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

### Parent

    public string Parent { get; set; }

Required. The parent resource where this framework audit is created.

Supported formats are the following:

- `organizations/{organization_id}/locations/{location}`
- `folders/{folder_id}/locations/{location}`
- `projects/{project_id}/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.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.CreateFrameworkAuditRequest#Google_Cloud_CloudSecurityCompliance_V1_CreateFrameworkAuditRequest_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` |   |

### ParentAsOrganizationLocationName

    public OrganizationLocationName ParentAsOrganizationLocationName { get; set; }

[OrganizationLocationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.OrganizationLocationName)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.CreateFrameworkAuditRequest#Google_Cloud_CloudSecurityCompliance_V1_CreateFrameworkAuditRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.OrganizationLocationName` |   |

### ParentAsResourceName

    public IResourceName ParentAsResourceName { get; set; }

[IResourceName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.IResourceName.html)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.CreateFrameworkAuditRequest#Google_Cloud_CloudSecurityCompliance_V1_CreateFrameworkAuditRequest_Parent) resource name property.

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