Compute Engine v1 API - Class ServiceAccount (2.5.0)

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.

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>