# Cloud IoT v1 API - Enum RegistryCredential.CredentialOneofCase (2.2.0)

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

- [2.2.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1.RegistryCredential.CredentialOneofCase)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iot.V1/2.1.0/Google.Cloud.Iot.V1.RegistryCredential.CredentialOneofCase)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iot.V1/2.0.0/Google.Cloud.Iot.V1.RegistryCredential.CredentialOneofCase)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iot.V1/1.2.0/Google.Cloud.Iot.V1.RegistryCredential.CredentialOneofCase)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iot.V1/1.1.0/Google.Cloud.Iot.V1.RegistryCredential.CredentialOneofCase)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iot.V1/1.0.0/Google.Cloud.Iot.V1.RegistryCredential.CredentialOneofCase)

    public enum RegistryCredential.CredentialOneofCase

Reference documentation and code samples for the Cloud IoT v1 API enum RegistryCredential.CredentialOneofCase.

Enum of possible cases for the "credential" oneof.

## Namespace

[Google.Cloud.Iot.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1)

## Assembly

Google.Cloud.Iot.V1.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `None` |   |
| `PublicKeyCertificate` |   |