Compute Engine v1 API - Class ServiceAccount (3.1.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
Name Description
other ServiceAccount

Properties

Email

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