public interface ServiceAccountAuthConfigOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getScopes(int index)
public abstract String getScopes(int index) Optional. The OAuth scopes to grant. If not specified, the default scope
https://www.googleapis.com/auth/cloud-platform is used.
repeated string scopes = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The scopes at the given index. |
getScopesBytes(int index)
public abstract ByteString getScopesBytes(int index) Optional. The OAuth scopes to grant. If not specified, the default scope
https://www.googleapis.com/auth/cloud-platform is used.
repeated string scopes = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the scopes at the given index. |
getScopesCount()
public abstract int getScopesCount() Optional. The OAuth scopes to grant. If not specified, the default scope
https://www.googleapis.com/auth/cloud-platform is used.
repeated string scopes = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of scopes. |
getScopesList()
public abstract List<String> getScopesList() Optional. The OAuth scopes to grant. If not specified, the default scope
https://www.googleapis.com/auth/cloud-platform is used.
repeated string scopes = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the scopes. |
getServiceAccount()
public abstract String getServiceAccount() Required. The email address of the service account used for authentication.
CES uses this service account to exchange an access token and the access
token is then sent in the Authorization header of the request.
The service account must have the
roles/iam.serviceAccountTokenCreator role granted to the
CES service agent
service-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com.
string service_account = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The serviceAccount. |
getServiceAccountBytes()
public abstract ByteString getServiceAccountBytes() Required. The email address of the service account used for authentication.
CES uses this service account to exchange an access token and the access
token is then sent in the Authorization header of the request.
The service account must have the
roles/iam.serviceAccountTokenCreator role granted to the
CES service agent
service-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com.
string service_account = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serviceAccount. |