public sealed class UploadServiceAccountKeyRequest : IMessage<UploadServiceAccountKeyRequest>, IEquatable<UploadServiceAccountKeyRequest>, IDeepCloneable<UploadServiceAccountKeyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Identity and Access Management (IAM) v1 API class UploadServiceAccountKeyRequest.
The service account key upload request.
Implements
IMessageUploadServiceAccountKeyRequest, IEquatableUploadServiceAccountKeyRequest, IDeepCloneableUploadServiceAccountKeyRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Iam.Admin.V1Assembly
Google.Cloud.Iam.Admin.V1.dll
Constructors
UploadServiceAccountKeyRequest()
public UploadServiceAccountKeyRequest()
UploadServiceAccountKeyRequest(UploadServiceAccountKeyRequest)
public UploadServiceAccountKeyRequest(UploadServiceAccountKeyRequest other)
Parameter | |
---|---|
Name | Description |
other | UploadServiceAccountKeyRequest |
Properties
Name
public string Name { get; set; }
The resource name of the service account in the following format:
projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}
.
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 |
PublicKeyData
public ByteString PublicKeyData { get; set; }
The public key to associate with the service account. Must be an RSA public
key that is wrapped in an X.509 v3 certificate. Include the first line,
-----BEGIN CERTIFICATE-----
, and the last line,
-----END CERTIFICATE-----
.
Property Value | |
---|---|
Type | Description |
ByteString |