Class UploadServiceAccountKeyRequest (1.2.0)

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

The service account key upload request.

Inheritance

Object > UploadServiceAccountKeyRequest

Namespace

Google.Cloud.Iam.Admin.V1

Assembly

Google.Cloud.Iam.Admin.V1.dll

Constructors

UploadServiceAccountKeyRequest()

public UploadServiceAccountKeyRequest()

UploadServiceAccountKeyRequest(UploadServiceAccountKeyRequest)

public UploadServiceAccountKeyRequest(UploadServiceAccountKeyRequest other)
Parameter
NameDescription
otherUploadServiceAccountKeyRequest

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
TypeDescription
String

PublicKeyData

public ByteString PublicKeyData { get; set; }

A field that allows clients to upload their own public key. If set, use this public key data to create a service account key for given service account. Please note, the expected format for this field is X509_PEM.

Property Value
TypeDescription
ByteString