You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/batch_v1.projects.locations.jobs.html
+40Lines changed: 40 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -180,6 +180,9 @@ <h3>Method Details</h3>
180
180
},
181
181
"serviceAccount": { # Carries information about a Google Cloud service account. # Service account that VMs will run as.
182
182
"email": "A String", # Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.
183
+
"scopes": [ # List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.
184
+
"A String",
185
+
],
183
186
},
184
187
},
185
188
"createTime": "A String", # Output only. When the Job was created.
@@ -222,6 +225,13 @@ <h3>Method Details</h3>
222
225
},
223
226
"instances": [ # Status of instances allocated for the TaskGroup.
224
227
{ # VM instance status.
228
+
"bootDisk": { # 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. # The VM boot disk.
229
+
"diskInterface": "A String", # Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not indicated, "NVMe" will be the default one for local ssds. We only support "SCSI" for persistent disks now.
230
+
"image": "A String", # Name of a public or custom image used as the data source. For example, the following are all valid URLs: (1) Specify the image by its family name: projects/{project}/global/images/family/{image_family} (2) Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: "batch-debian": use Batch Debian images. "batch-centos": use Batch CentOS images. "batch-cos": use Batch Container-Optimized images.
231
+
"sizeGb": "A String", # Disk size in GB. For persistent disk, this field is ignored if `data_source` is `image` or `snapshot`. For local SSD, size_gb should be a multiple of 375GB, otherwise, the final size will be the next greater multiple of 375 GB. For boot disk, Batch will calculate the boot disk size based on source image and task requirements if you do not speicify the size. If both this field and the boot_disk_mib field in task spec's compute_resource are defined, Batch will only honor this field.
232
+
"snapshot": "A String", # Name of a snapshot used as the data source.
233
+
"type": "A String", # Disk type as shown in `gcloud compute disk-types list`. For example, local SSD uses type "local-ssd". Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd" or "pd-standard".
234
+
},
225
235
"machineType": "A String", # The Compute Engine machine type.
226
236
"provisioningModel": "A String", # The VM instance provisioning model.
227
237
"taskPack": "A String", # The max number of tasks can be assigned to this instance type.
@@ -418,6 +428,9 @@ <h3>Method Details</h3>
418
428
},
419
429
"serviceAccount": { # Carries information about a Google Cloud service account. # Service account that VMs will run as.
420
430
"email": "A String", # Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.
431
+
"scopes": [ # List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.
432
+
"A String",
433
+
],
421
434
},
422
435
},
423
436
"createTime": "A String", # Output only. When the Job was created.
@@ -460,6 +473,13 @@ <h3>Method Details</h3>
460
473
},
461
474
"instances": [ # Status of instances allocated for the TaskGroup.
462
475
{ # VM instance status.
476
+
"bootDisk": { # 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. # The VM boot disk.
477
+
"diskInterface": "A String", # Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not indicated, "NVMe" will be the default one for local ssds. We only support "SCSI" for persistent disks now.
478
+
"image": "A String", # Name of a public or custom image used as the data source. For example, the following are all valid URLs: (1) Specify the image by its family name: projects/{project}/global/images/family/{image_family} (2) Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: "batch-debian": use Batch Debian images. "batch-centos": use Batch CentOS images. "batch-cos": use Batch Container-Optimized images.
479
+
"sizeGb": "A String", # Disk size in GB. For persistent disk, this field is ignored if `data_source` is `image` or `snapshot`. For local SSD, size_gb should be a multiple of 375GB, otherwise, the final size will be the next greater multiple of 375 GB. For boot disk, Batch will calculate the boot disk size based on source image and task requirements if you do not speicify the size. If both this field and the boot_disk_mib field in task spec's compute_resource are defined, Batch will only honor this field.
480
+
"snapshot": "A String", # Name of a snapshot used as the data source.
481
+
"type": "A String", # Disk type as shown in `gcloud compute disk-types list`. For example, local SSD uses type "local-ssd". Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd" or "pd-standard".
482
+
},
463
483
"machineType": "A String", # The Compute Engine machine type.
464
484
"provisioningModel": "A String", # The VM instance provisioning model.
465
485
"taskPack": "A String", # The max number of tasks can be assigned to this instance type.
@@ -698,6 +718,9 @@ <h3>Method Details</h3>
698
718
},
699
719
"serviceAccount": { # Carries information about a Google Cloud service account. # Service account that VMs will run as.
700
720
"email": "A String", # Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.
721
+
"scopes": [ # List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.
722
+
"A String",
723
+
],
701
724
},
702
725
},
703
726
"createTime": "A String", # Output only. When the Job was created.
@@ -740,6 +763,13 @@ <h3>Method Details</h3>
740
763
},
741
764
"instances": [ # Status of instances allocated for the TaskGroup.
742
765
{ # VM instance status.
766
+
"bootDisk": { # 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. # The VM boot disk.
767
+
"diskInterface": "A String", # Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not indicated, "NVMe" will be the default one for local ssds. We only support "SCSI" for persistent disks now.
768
+
"image": "A String", # Name of a public or custom image used as the data source. For example, the following are all valid URLs: (1) Specify the image by its family name: projects/{project}/global/images/family/{image_family} (2) Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: "batch-debian": use Batch Debian images. "batch-centos": use Batch CentOS images. "batch-cos": use Batch Container-Optimized images.
769
+
"sizeGb": "A String", # Disk size in GB. For persistent disk, this field is ignored if `data_source` is `image` or `snapshot`. For local SSD, size_gb should be a multiple of 375GB, otherwise, the final size will be the next greater multiple of 375 GB. For boot disk, Batch will calculate the boot disk size based on source image and task requirements if you do not speicify the size. If both this field and the boot_disk_mib field in task spec's compute_resource are defined, Batch will only honor this field.
770
+
"snapshot": "A String", # Name of a snapshot used as the data source.
771
+
"type": "A String", # Disk type as shown in `gcloud compute disk-types list`. For example, local SSD uses type "local-ssd". Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd" or "pd-standard".
772
+
},
743
773
"machineType": "A String", # The Compute Engine machine type.
744
774
"provisioningModel": "A String", # The VM instance provisioning model.
745
775
"taskPack": "A String", # The max number of tasks can be assigned to this instance type.
@@ -994,6 +1024,9 @@ <h3>Method Details</h3>
994
1024
},
995
1025
"serviceAccount": { # Carries information about a Google Cloud service account. # Service account that VMs will run as.
996
1026
"email": "A String", # Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.
1027
+
"scopes": [ # List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.
1028
+
"A String",
1029
+
],
997
1030
},
998
1031
},
999
1032
"createTime": "A String", # Output only. When the Job was created.
@@ -1036,6 +1069,13 @@ <h3>Method Details</h3>
1036
1069
},
1037
1070
"instances": [ # Status of instances allocated for the TaskGroup.
1038
1071
{ # VM instance status.
1072
+
"bootDisk": { # 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. # The VM boot disk.
1073
+
"diskInterface": "A String", # Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not indicated, "NVMe" will be the default one for local ssds. We only support "SCSI" for persistent disks now.
1074
+
"image": "A String", # Name of a public or custom image used as the data source. For example, the following are all valid URLs: (1) Specify the image by its family name: projects/{project}/global/images/family/{image_family} (2) Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: "batch-debian": use Batch Debian images. "batch-centos": use Batch CentOS images. "batch-cos": use Batch Container-Optimized images.
1075
+
"sizeGb": "A String", # Disk size in GB. For persistent disk, this field is ignored if `data_source` is `image` or `snapshot`. For local SSD, size_gb should be a multiple of 375GB, otherwise, the final size will be the next greater multiple of 375 GB. For boot disk, Batch will calculate the boot disk size based on source image and task requirements if you do not speicify the size. If both this field and the boot_disk_mib field in task spec's compute_resource are defined, Batch will only honor this field.
1076
+
"snapshot": "A String", # Name of a snapshot used as the data source.
1077
+
"type": "A String", # Disk type as shown in `gcloud compute disk-types list`. For example, local SSD uses type "local-ssd". Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd" or "pd-standard".
1078
+
},
1039
1079
"machineType": "A String", # The Compute Engine machine type.
1040
1080
"provisioningModel": "A String", # The VM instance provisioning model.
1041
1081
"taskPack": "A String", # The max number of tasks can be assigned to this instance type.
"description": "The Compute Engine machine type.",
1229
1233
"type": "string"
@@ -1906,6 +1910,13 @@
1906
1910
"email": {
1907
1911
"description": "Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.",
1908
1912
"type": "string"
1913
+
},
1914
+
"scopes": {
1915
+
"description": "List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.",
0 commit comments