VM Migration v1 API - Class ServiceAccount (2.7.0)

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

Reference documentation and code samples for the VM Migration v1 API class ServiceAccount.

Service account to assign to the instance created by the machine image.

Inheritance

object > ServiceAccount

Namespace

Google.Cloud.VMMigration.V1

Assembly

Google.Cloud.VMMigration.V1.dll

Constructors

ServiceAccount()

public ServiceAccount()

ServiceAccount(ServiceAccount)

public ServiceAccount(ServiceAccount other)
Parameter
Name Description
other ServiceAccount

Properties

Email

public string Email { get; set; }

Required. The email address of the service account.

Property Value
Type Description
string

EmailAsServiceAccountName

public ServiceAccountName EmailAsServiceAccountName { get; set; }

ServiceAccountName-typed view over the Email resource name property.

Property Value
Type Description
ServiceAccountName

Scopes

public RepeatedField<string> Scopes { get; }

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

Property Value
Type Description
RepeatedFieldstring