Classes
AllocationPolicy
A Job's resource allocation policy describes when, where, and how compute resources should be allocated for the Job.
AllocationPolicy.Types
Container for nested types declared in the AllocationPolicy message type.
AllocationPolicy.Types.Accelerator
Accelerator describes Compute Engine accelerators to be attached to the VM.
AllocationPolicy.Types.AttachedDisk
A new or an existing persistent disk (PD) or a local ssd attached to a VM instance.
AllocationPolicy.Types.Disk
A new persistent disk or a local ssd. A VM can only have one local SSD setting but multiple local SSD partitions. https://cloud.google.com/compute/docs/disks#pdspecs. https://cloud.google.com/compute/docs/disks#localssds.
AllocationPolicy.Types.InstancePolicy
InstancePolicy describes an instance type and resources attached to each VM created by this InstancePolicy.
AllocationPolicy.Types.InstancePolicyOrTemplate
Either an InstancePolicy or an instance template.
AllocationPolicy.Types.LocationPolicy
AllocationPolicy.Types.NetworkInterface
A network interface.
AllocationPolicy.Types.NetworkPolicy
NetworkPolicy describes VM instance network configurations.
BatchService
Google Batch Service. The service manages user submitted batch jobs and allocates Google Compute Engine VM instances to run the jobs.
BatchService.BatchServiceBase
Base class for server-side implementations of BatchService
BatchService.BatchServiceClient
Client for BatchService
BatchServiceClient
BatchService client wrapper, for convenient use.
BatchServiceClientBuilder
Builder class for BatchServiceClient to provide simple configuration of credentials, endpoint etc.
BatchServiceClientImpl
BatchService client wrapper implementation, for convenient use.
BatchServiceSettings
Settings for BatchServiceClient instances.
ComputeResource
Compute resource requirements
CreateJobRequest
CreateJob Request.
DeleteJobRequest
DeleteJob Request.
Environment
An Environment describes a collection of environment variables to set when executing Tasks.
GCS
Represents a Google Cloud Storage volume.
GetJobRequest
GetJob Request.
GetTaskRequest
Request for a single Task by name.
Job
The Cloud Batch Job description.
JobName
Resource name for the Job
resource.
JobNotification
Notification configurations.
JobNotification.Types
Container for nested types declared in the JobNotification message type.
JobNotification.Types.Message
Message details. Describe the attribute that a message should have. Without specified message attributes, no message will be sent by default.
JobStatus
Job status.
JobStatus.Types
Container for nested types declared in the JobStatus message type.
JobStatus.Types.InstanceStatus
VM instance status.
JobStatus.Types.TaskGroupStatus
Aggregated task status for a TaskGroup.
LifecyclePolicy
LifecyclePolicy describes how to deal with task failures based on different conditions.
LifecyclePolicy.Types
Container for nested types declared in the LifecyclePolicy message type.
LifecyclePolicy.Types.ActionCondition
Conditions for actions to deal with task failures.
ListJobsRequest
ListJob Request.
ListJobsResponse
ListJob Response.
ListTasksRequest
ListTasks Request.
ListTasksResponse
ListTasks Response.
LogsPolicy
LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be preserved.
LogsPolicy.Types
Container for nested types declared in the LogsPolicy message type.
NFS
Represents an NFS volume.
OperationMetadata
Represents the metadata of the long-running operation.
Runnable
Runnable describes instructions for executing a specific script or container as part of a Task.
Runnable.Types
Container for nested types declared in the Runnable message type.
Runnable.Types.Barrier
Barrier runnable blocks until all tasks in a taskgroup reach it.
Runnable.Types.Container
Container runnable.
Runnable.Types.Script
Script runnable.
ServiceAccount
Carries information about a Google Cloud service account.
StatusEvent
Status event
Task
A Cloud Batch task.
TaskExecution
This Task Execution field includes detail information for task execution procedures, based on StatusEvent types.
TaskGroup
A TaskGroup contains one or multiple Tasks that share the same Runnable but with different runtime parameters.
TaskGroupName
Resource name for the TaskGroup
resource.
TaskName
Resource name for the Task
resource.
TaskSpec
Spec of a task
TaskStatus
Status of a task
TaskStatus.Types
Container for nested types declared in the TaskStatus message type.
Volume
Volume describes a volume and parameters for it to be mounted to a VM.
Enums
AllocationPolicy.Types.AttachedDisk.AttachedOneofCase
Enum of possible cases for the "attached" oneof.
AllocationPolicy.Types.Disk.DataSourceOneofCase
Enum of possible cases for the "data_source" oneof.
AllocationPolicy.Types.InstancePolicyOrTemplate.PolicyTemplateOneofCase
Enum of possible cases for the "policy_template" oneof.
AllocationPolicy.Types.ProvisioningModel
Compute Engine VM instance provisioning model.
JobName.ResourceNameType
The possible contents of JobName.
JobNotification.Types.Type
The message type.
JobStatus.Types.State
Valid Job states.
LifecyclePolicy.Types.Action
Action on task failures based on different conditions.
LogsPolicy.Types.Destination
The destination (if any) for logs.
Runnable.ExecutableOneofCase
Enum of possible cases for the "executable" oneof.
Runnable.Types.Script.CommandOneofCase
Enum of possible cases for the "command" oneof.
TaskGroupName.ResourceNameType
The possible contents of TaskGroupName.
TaskName.ResourceNameType
The possible contents of TaskName.
TaskStatus.Types.State
Task states.
Volume.SourceOneofCase
Enum of possible cases for the "source" oneof.