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.
Implements
IMessageGetServiceAccountKeyRequest, IEquatableGetServiceAccountKeyRequest, IDeepCloneableGetServiceAccountKeyRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Iam.Admin.V1Assembly
Google.Cloud.Iam.Admin.V1.dll
Constructors
GetServiceAccountKeyRequest()
public GetServiceAccountKeyRequest()
GetServiceAccountKeyRequest(GetServiceAccountKeyRequest)
public GetServiceAccountKeyRequest(GetServiceAccountKeyRequest other)
Parameter | |
---|---|
Name | Description |
other |
GetServiceAccountKeyRequest |
Properties
KeyName
public KeyName KeyName { get; set; }
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ServiceAccountPublicKeyType |