Class ServiceAccount (2.0.0)

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

A service account.

Inheritance

Object > ServiceAccount

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

ServiceAccount()

public ServiceAccount()

ServiceAccount(ServiceAccount)

public ServiceAccount(ServiceAccount other)
Parameter
NameDescription
otherServiceAccount

Properties

Email

public string Email { get; set; }

Email address of the service account.

Property Value
TypeDescription
String

HasEmail

public bool HasEmail { get; }

Gets whether the "email" field is set

Property Value
TypeDescription
Boolean

Scopes

public RepeatedField<string> Scopes { get; }

The list of scopes to be made available for this service account.

Property Value
TypeDescription
RepeatedField<String>