# Migrate for Compute Engine V1 API - Class Google::Cloud::VMMigration::V1::ServiceAccount (v2.9.0)

2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.1 2.4.0 2.3.0 2.2.0 2.1.1 2.0.0 1.3.0 1.2.0 1.1.0 1.0.2 0.9.0 0.8.2 0.7.0 0.6.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::ServiceAccount.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #email

    def email() -> ::String

**Returns**

- (::String) --- Required. The email address of the service account.

### #email=

    def email=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The email address of the service account.
**Returns**

- (::String) --- Required. The email address of the service account.

### #scopes

    def scopes() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Optional. The list of scopes to be made available for this service account.

### #scopes=

    def scopes=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Optional. The list of scopes to be made available for this service account.
**Returns**

- (::Array\<::String\>) --- Optional. The list of scopes to be made available for this service account.