Class GetServiceAccountKeyRequest (1.0.0)

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

The service account key get by id request.

Inheritance

Object > GetServiceAccountKeyRequest

Namespace

Google.Cloud.Iam.Admin.V1

Assembly

Google.Cloud.Iam.Admin.V1.dll

Constructors

GetServiceAccountKeyRequest()

public GetServiceAccountKeyRequest()

GetServiceAccountKeyRequest(GetServiceAccountKeyRequest)

public GetServiceAccountKeyRequest(GetServiceAccountKeyRequest other)
Parameter
NameDescription
otherGetServiceAccountKeyRequest

Properties

KeyName

public KeyName KeyName { get; set; }

KeyName-typed view over the Name resource name property.

Property Value
TypeDescription
KeyName

Name

public string Name { get; set; }

Required. The resource name of the service account key in the following format: projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}.

Using - as a wildcard for the PROJECT_ID will infer the project from the account. The ACCOUNT value can be the email address or the unique_id of the service account.

Property Value
TypeDescription
String

PublicKeyType

public ServiceAccountPublicKeyType PublicKeyType { get; set; }

The output format of the public key requested. X509_PEM is the default output format.

Property Value
TypeDescription
ServiceAccountPublicKeyType