public java.lang.String getServiceAccountScopes(int index) {
          return serviceAccountScopes_.get(index);
        }
<pre>
Optional. Scopes to grant to the
[service_account][google.cloud.workstations.v1beta.WorkstationConfig.Host.GceInstance.service_account].
Various scopes are automatically added based on feature usage. When
specified, users of workstations under this configuration must have
`iam.serviceAccounts.actAs` on the service account.
</pre>

<code>
repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL];
</code>

@param index The index of the element to return.
@return The serviceAccountScopes at the given index.
java-workstations/proto-google-cloud-workstations-v1beta/src/main/java/com/google/cloud/workstations/v1beta/WorkstationConfig.java