Compute Engine v1 API - Class ServiceAccount (2.9.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

GoogleCloudGoogle.Cloud.ComputeV1

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
bool

Scopes

public RepeatedField<string> Scopes { get; }

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

Property Value
TypeDescription
RepeatedFieldstring