# Certificate Authority v1 API - Class GetCertificateAuthorityRequest (3.12.0)

3.12.0 (latest) 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0

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

Reference documentation and code samples for the Certificate Authority v1 API class GetCertificateAuthorityRequest.

Request message for
\[CertificateAuthorityService.GetCertificateAuthority\]\[google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateAuthority\].

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Security.PrivateCA.V1.dll

## Constructors

### GetCertificateAuthorityRequest()

    public GetCertificateAuthorityRequest()

### GetCertificateAuthorityRequest(GetCertificateAuthorityRequest)

    public GetCertificateAuthorityRequest(GetCertificateAuthorityRequest other)

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

## Properties

### CertificateAuthorityName

    public CertificateAuthorityName CertificateAuthorityName { get; set; }

[CertificateAuthorityName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateAuthorityName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.GetCertificateAuthorityRequest#Google_Cloud_Security_PrivateCA_V1_GetCertificateAuthorityRequest_Name) resource name property.

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

### Name

    public string Name { get; set; }

Required. The
\[name\]\[google.cloud.security.privateca.v1.CertificateAuthority.name\] of the
\[CertificateAuthority\]\[google.cloud.security.privateca.v1.CertificateAuthority\]
to get.

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