    public sealed class InternalServerConfig.Types.DeniedConsumer : IMessage<InternalServerConfig.Types.DeniedConsumer>, IEquatable<InternalServerConfig.Types.DeniedConsumer>, IDeepCloneable<InternalServerConfig.Types.DeniedConsumer>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud FTP v1 API class InternalServerConfig.Types.DeniedConsumer.

A consumer project or network that is denied to connect to the server via
PSC.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Ftp.V1.dll

## Constructors

### DeniedConsumer()

    public DeniedConsumer()

### DeniedConsumer(DeniedConsumer)

    public DeniedConsumer(InternalServerConfig.Types.DeniedConsumer other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ftp.V1/latest/Google.Cloud.Ftp.V1.InternalServerConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ftp.V1/latest/Google.Cloud.Ftp.V1.InternalServerConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ftp.V1/latest/Google.Cloud.Ftp.V1.InternalServerConfig.Types.DeniedConsumer` |

## Properties

### ConsumerTypeCase

    public InternalServerConfig.Types.DeniedConsumer.ConsumerTypeOneofCase ConsumerTypeCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ftp.V1/latest/Google.Cloud.Ftp.V1.InternalServerConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ftp.V1/latest/Google.Cloud.Ftp.V1.InternalServerConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ftp.V1/latest/Google.Cloud.Ftp.V1.InternalServerConfig.Types.DeniedConsumerhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ftp.V1/latest/Google.Cloud.Ftp.V1.InternalServerConfig.Types.DeniedConsumer.ConsumerTypeOneofCase` |   |

### HasProject

    public bool HasProject { get; }

Gets whether the "project" field is set

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

### Project

    public string Project { get; set; }

The project ID or number of the consumer project.
Must be in the format: `projects/{project}`.

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

### ProjectAsProjectName

    public ProjectName ProjectAsProjectName { get; set; }

[ProjectName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.ProjectName.html)-typed view over the [Project](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ftp.V1/latest/Google.Cloud.Ftp.V1.InternalServerConfig.Types.DeniedConsumer#Google_Cloud_Ftp_V1_InternalServerConfig_Types_DeniedConsumer_Project) resource name property.

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