2.23.0 (latest) 2.22.0 2.21.0 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the Cloud Build v1 API class GitHubEnterpriseSecrets.

GitHubEnterpriseSecrets represents the names of all necessary secrets in
Secret Manager for a GitHub Enterprise server.
Format is: projects/\<project number\>/secrets/\<secret name\>.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[GitHubEnterpriseSecrets](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.GitHubEnterpriseSecrets.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GitHubEnterpriseSecrets](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.GitHubEnterpriseSecrets.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[GitHubEnterpriseSecrets](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.GitHubEnterpriseSecrets.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.CloudBuild.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.md.txt)

## Assembly

Google.Cloud.CloudBuild.V1.dll

## Constructors

### GitHubEnterpriseSecrets()

    public GitHubEnterpriseSecrets()

### GitHubEnterpriseSecrets(GitHubEnterpriseSecrets)

    public GitHubEnterpriseSecrets(GitHubEnterpriseSecrets other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `GitHubEnterpriseSecrets` |

## Properties

### OauthClientIdVersionName

    public string OauthClientIdVersionName { get; set; }

The resource name for the OAuth client ID secret version in Secret Manager.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### OauthClientIdVersionNameAsSecretVersionName

    public SecretVersionName OauthClientIdVersionNameAsSecretVersionName { get; set; }

[SecretVersionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.SecretVersionName.md.txt)-typed view over the [OauthClientIdVersionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.GitHubEnterpriseSecrets.md.txt#Google_Cloud_CloudBuild_V1_GitHubEnterpriseSecrets_OauthClientIdVersionName) resource name
property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `SecretVersionName` |   |

### OauthSecretVersionName

    public string OauthSecretVersionName { get; set; }

The resource name for the OAuth secret secret version in Secret Manager.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### OauthSecretVersionNameAsSecretVersionName

    public SecretVersionName OauthSecretVersionNameAsSecretVersionName { get; set; }

[SecretVersionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.SecretVersionName.md.txt)-typed view over the [OauthSecretVersionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.GitHubEnterpriseSecrets.md.txt#Google_Cloud_CloudBuild_V1_GitHubEnterpriseSecrets_OauthSecretVersionName) resource name
property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `SecretVersionName` |   |

### PrivateKeyVersionName

    public string PrivateKeyVersionName { get; set; }

The resource name for the private key secret version.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### PrivateKeyVersionNameAsSecretVersionName

    public SecretVersionName PrivateKeyVersionNameAsSecretVersionName { get; set; }

[SecretVersionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.SecretVersionName.md.txt)-typed view over the [PrivateKeyVersionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.GitHubEnterpriseSecrets.md.txt#Google_Cloud_CloudBuild_V1_GitHubEnterpriseSecrets_PrivateKeyVersionName) resource name
property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `SecretVersionName` |   |

### WebhookSecretVersionName

    public string WebhookSecretVersionName { get; set; }

The resource name for the webhook secret secret version in Secret Manager.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### WebhookSecretVersionNameAsSecretVersionName

    public SecretVersionName WebhookSecretVersionNameAsSecretVersionName { get; set; }

[SecretVersionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.SecretVersionName.md.txt)-typed view over the [WebhookSecretVersionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.GitHubEnterpriseSecrets.md.txt#Google_Cloud_CloudBuild_V1_GitHubEnterpriseSecrets_WebhookSecretVersionName) resource name
property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `SecretVersionName` |   |