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

1.0.0-beta05 (latest) 1.0.0-beta04

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

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

The reference of a framework, in one of the following formats:

- `organizations/{organization}/locations/{location}/frameworks/{framework}`
- `projects/{project}/locations/{location}/frameworks/{framework}`.

The only supported location is `global`.

## Inheritance

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

## Implements

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

### FrameworkReference()

    public FrameworkReference()

### FrameworkReference(FrameworkReference)

    public FrameworkReference(FrameworkReference other)

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

## Properties

### Framework

    public string Framework { get; set; }

Required. The major version of the framework. If not specified, the version
corresponds to the latest version of the framework.

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

### FrameworkAsFrameworkName

    public FrameworkName FrameworkAsFrameworkName { get; set; }

[FrameworkName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.FrameworkName)-typed view over the [Framework](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.FrameworkReference#Google_Cloud_CloudSecurityCompliance_V1_FrameworkReference_Framework) resource name property.

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

### HasMajorRevisionId

    public bool HasMajorRevisionId { get; }

Gets whether the "major_revision_id" field is set

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

### MajorRevisionId

    public long MajorRevisionId { get; set; }

Optional. The major version of the framework. If not specified, the version
corresponds to the latest version of the framework.

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