Identity and Access Management (IAM) v1 API - Class GetServiceAccountKeyRequest (2.1.0)

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

Reference documentation and code samples for the Identity and Access Management (IAM) v1 API class GetServiceAccountKeyRequest.

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; }

Optional. The output format of the public key. The default is TYPE_NONE, which means that the public key is not returned.

Property Value
TypeDescription
ServiceAccountPublicKeyType