# Cloud Controls Partner v1 API - Class PartnerPermissions (1.3.0)

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

- [1.3.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudControlsPartner.V1/latest/Google.Cloud.CloudControlsPartner.V1.PartnerPermissions)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudControlsPartner.V1/1.2.0/Google.Cloud.CloudControlsPartner.V1.PartnerPermissions)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudControlsPartner.V1/1.1.0/Google.Cloud.CloudControlsPartner.V1.PartnerPermissions)
- [1.0.0-beta02](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudControlsPartner.V1/1.0.0-beta02/Google.Cloud.CloudControlsPartner.V1.PartnerPermissions)

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

Reference documentation and code samples for the Cloud Controls Partner v1 API class PartnerPermissions.

The permissions granted to the partner for a workload

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.CloudControlsPartner.V1.dll

## Constructors

### PartnerPermissions()

    public PartnerPermissions()

### PartnerPermissions(PartnerPermissions)

    public PartnerPermissions(PartnerPermissions other)

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

## Properties

### Name

    public string Name { get; set; }

Identifier. Format:
`organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`

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

### PartnerPermissionsName

    public PartnerPermissionsName PartnerPermissionsName { get; set; }

[PartnerPermissionsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudControlsPartner.V1/latest/Google.Cloud.CloudControlsPartner.V1.PartnerPermissionsName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudControlsPartner.V1/latest/Google.Cloud.CloudControlsPartner.V1.PartnerPermissions#Google_Cloud_CloudControlsPartner_V1_PartnerPermissions_Name) resource name property.

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

### PartnerPermissions_

    public RepeatedField<PartnerPermissions.Types.Permission> PartnerPermissions_ { get; }

The partner permissions granted for the workload

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudControlsPartner.V1/latest/Google.Cloud.CloudControlsPartner.V1.PartnerPermissionshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudControlsPartner.V1/latest/Google.Cloud.CloudControlsPartner.V1.PartnerPermissions.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudControlsPartner.V1/latest/Google.Cloud.CloudControlsPartner.V1.PartnerPermissions.Types.Permission` |   |