public sealed class ServiceAccount : IMessage<ServiceAccount>, IEquatable<ServiceAccount>, IDeepCloneable<ServiceAccount>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class ServiceAccount.
A service account.
Implements
IMessageServiceAccount, IEquatableServiceAccount, IDeepCloneableServiceAccount, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
ServiceAccount()
public ServiceAccount()
ServiceAccount(ServiceAccount)
public ServiceAccount(ServiceAccount other)
Parameter | |
---|---|
Name | Description |
other |
ServiceAccount |
Properties
public string Email { get; set; }
Email address of the service account.
Property Value | |
---|---|
Type | Description |
string |
HasEmail
public bool HasEmail { get; }
Gets whether the "email" field is set
Property Value | |
---|---|
Type | Description |
bool |
Scopes
public RepeatedField<string> Scopes { get; }
The list of scopes to be made available for this service account.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |