public static interface ReasoningEngineSpec.BuildSpecOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getServiceAccount()
public abstract String getServiceAccount()Optional. The service account that Cloud Build uses to run the build.
This field is only applicable when worker_pool is specified (i.e., for
custom worker pools). If worker_pool is not specified, this field is
ignored and the build runs using the Google-managed service agent.
Format: projects/{project}/serviceAccounts/{service_account} or
{service_account}@{project}.iam.gserviceaccount.com
string service_account = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The serviceAccount. |
getServiceAccountBytes()
public abstract ByteString getServiceAccountBytes()Optional. The service account that Cloud Build uses to run the build.
This field is only applicable when worker_pool is specified (i.e., for
custom worker pools). If worker_pool is not specified, this field is
ignored and the build runs using the Google-managed service agent.
Format: projects/{project}/serviceAccounts/{service_account} or
{service_account}@{project}.iam.gserviceaccount.com
string service_account = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serviceAccount. |
getWorkerPool()
public abstract String getWorkerPool() Optional. The resource name of the Cloud Build WorkerPool to use for
the build.
Format:
projects/{project}/locations/{location}/workerPools/{worker_pool}
string worker_pool = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The workerPool. |
getWorkerPoolBytes()
public abstract ByteString getWorkerPoolBytes() Optional. The resource name of the Cloud Build WorkerPool to use for
the build.
Format:
projects/{project}/locations/{location}/workerPools/{worker_pool}
string worker_pool = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for workerPool. |