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.
Implements
IMessageServiceAccount, IEquatableServiceAccount, IDeepCloneableServiceAccount, IBufferMessage, IMessageNamespace
Google.Cloud.VMMigration.V1Assembly
Google.Cloud.VMMigration.V1.dll
Constructors
ServiceAccount()
public ServiceAccount()
ServiceAccount(ServiceAccount)
public ServiceAccount(ServiceAccount other)
Parameter | |
---|---|
Name | Description |
other |
ServiceAccount |
Properties
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 |