google-cloud-batch-v1 0.10.1 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/batch/v1/batch_pb.rb +1 -1
- data/lib/google/cloud/batch/v1/batch_service/client.rb +4 -1
- data/lib/google/cloud/batch/v1/batch_service/rest/client.rb +4 -1
- data/lib/google/cloud/batch/v1/job_pb.rb +1 -1
- data/lib/google/cloud/batch/v1/version.rb +1 -1
- data/proto_docs/google/cloud/batch/v1/batch.rb +4 -0
- data/proto_docs/google/cloud/batch/v1/job.rb +44 -16
- data/proto_docs/google/iam/v1/policy.rb +8 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 775597ff1af909199e7781922b9efdaa569857bec3a19fcef992e6b53dc0050b
|
|
4
|
+
data.tar.gz: ed6cf4413d3fd299d8b4bb3ccbca635fc07fe57acd121b3dfec71bdf0e00a32c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d5993dd86af1fc057d2bb5d3f7649f7e7f41e0fb83787b9997a0f53882f267816fa2d99eebb9055d9613382f33be49db6cc365cab5e2291dfad4ab7897b31876
|
|
7
|
+
data.tar.gz: bc444ed4971784690572814b506b8f9d25590044f7ea1557cd969cc7584d702f85590c47d8497ad82a8b5702aec0eef9a230e57664633e059904003ecf2d2c8f
|
|
@@ -15,7 +15,7 @@ require 'google/protobuf/empty_pb'
|
|
|
15
15
|
require 'google/protobuf/timestamp_pb'
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
descriptor_data = "\n!google/cloud/batch/v1/batch.proto\x12\x15google.cloud.batch.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/cloud/batch/v1/job.proto\x1a google/cloud/batch/v1/task.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9b\x01\n\x10\x43reateJobRequest\x12\x30\n\x06parent\x18\x01 \x01(\tB \xe0\x41\x02\xfa\x41\x1a\x12\x18\x62\x61tch.googleapis.com/Job\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12,\n\x03job\x18\x03 \x01(\x0b\x32\x1a.google.cloud.batch.v1.JobB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"?\n\rGetJobRequest\x12.\n\x04name\x18\x01 \x01(\tB \xe0\x41\x02\xfa\x41\x1a\n\x18\x62\x61tch.googleapis.com/Job\"N\n\x10\x44\x65leteJobRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x06reason\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"
|
|
18
|
+
descriptor_data = "\n!google/cloud/batch/v1/batch.proto\x12\x15google.cloud.batch.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/cloud/batch/v1/job.proto\x1a google/cloud/batch/v1/task.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9b\x01\n\x10\x43reateJobRequest\x12\x30\n\x06parent\x18\x01 \x01(\tB \xe0\x41\x02\xfa\x41\x1a\x12\x18\x62\x61tch.googleapis.com/Job\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12,\n\x03job\x18\x03 \x01(\x0b\x32\x1a.google.cloud.batch.v1.JobB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"?\n\rGetJobRequest\x12.\n\x04name\x18\x01 \x01(\tB \xe0\x41\x02\xfa\x41\x1a\n\x18\x62\x61tch.googleapis.com/Job\"N\n\x10\x44\x65leteJobRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x06reason\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"o\n\x0fListJobsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"j\n\x10ListJobsResponse\x12(\n\x04jobs\x18\x01 \x03(\x0b\x32\x1a.google.cloud.batch.v1.Job\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x81\x01\n\x10ListTasksRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x62\x61tch.googleapis.com/TaskGroup\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"m\n\x11ListTasksResponse\x12*\n\x05tasks\x18\x01 \x03(\x0b\x32\x1b.google.cloud.batch.v1.Task\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"A\n\x0eGetTaskRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x62\x61tch.googleapis.com/Task\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x32\xb6\x08\n\x0c\x42\x61tchService\x12\x9b\x01\n\tCreateJob\x12\'.google.cloud.batch.v1.CreateJobRequest\x1a\x1a.google.cloud.batch.v1.Job\"I\x82\xd3\xe4\x93\x02/\"(/v1/{parent=projects/*/locations/*}/jobs:\x03job\xda\x41\x11parent,job,job_id\x12\x83\x01\n\x06GetJob\x12$.google.cloud.batch.v1.GetJobRequest\x1a\x1a.google.cloud.batch.v1.Job\"7\x82\xd3\xe4\x93\x02*\x12(/v1/{name=projects/*/locations/*/jobs/*}\xda\x41\x04name\x12\xcf\x01\n\tDeleteJob\x12\'.google.cloud.batch.v1.DeleteJobRequest\x1a\x1d.google.longrunning.Operation\"z\x82\xd3\xe4\x93\x02**(/v1/{name=projects/*/locations/*/jobs/*}\xda\x41\x04name\xca\x41@\n\x15google.protobuf.Empty\x12\'google.cloud.batch.v1.OperationMetadata\x12\x96\x01\n\x08ListJobs\x12&.google.cloud.batch.v1.ListJobsRequest\x1a\'.google.cloud.batch.v1.ListJobsResponse\"9\x82\xd3\xe4\x93\x02*\x12(/v1/{parent=projects/*/locations/*}/jobs\xda\x41\x06parent\x12\x9b\x01\n\x07GetTask\x12%.google.cloud.batch.v1.GetTaskRequest\x1a\x1b.google.cloud.batch.v1.Task\"L\x82\xd3\xe4\x93\x02?\x12=/v1/{name=projects/*/locations/*/jobs/*/taskGroups/*/tasks/*}\xda\x41\x04name\x12\xae\x01\n\tListTasks\x12\'.google.cloud.batch.v1.ListTasksRequest\x1a(.google.cloud.batch.v1.ListTasksResponse\"N\x82\xd3\xe4\x93\x02?\x12=/v1/{parent=projects/*/locations/*/jobs/*/taskGroups/*}/tasks\xda\x41\x06parent\x1aH\xca\x41\x14\x62\x61tch.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xab\x01\n\x19\x63om.google.cloud.batch.v1B\nBatchProtoP\x01Z/cloud.google.com/go/batch/apiv1/batchpb;batchpb\xa2\x02\x03GCB\xaa\x02\x15Google.Cloud.Batch.V1\xca\x02\x15Google\\Cloud\\Batch\\V1\xea\x02\x18Google::Cloud::Batch::V1b\x06proto3"
|
|
19
19
|
|
|
20
20
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
21
21
|
|
|
@@ -516,7 +516,7 @@ module Google
|
|
|
516
516
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
517
517
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
518
518
|
#
|
|
519
|
-
# @overload list_jobs(parent: nil, filter: nil, page_size: nil, page_token: nil)
|
|
519
|
+
# @overload list_jobs(parent: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil)
|
|
520
520
|
# Pass arguments to `list_jobs` via keyword arguments. Note that at
|
|
521
521
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
522
522
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -525,6 +525,9 @@ module Google
|
|
|
525
525
|
# Parent path.
|
|
526
526
|
# @param filter [::String]
|
|
527
527
|
# List filter.
|
|
528
|
+
# @param order_by [::String]
|
|
529
|
+
# Optional. Sort results. Supported are "name", "name desc", "create_time",
|
|
530
|
+
# and "create_time desc".
|
|
528
531
|
# @param page_size [::Integer]
|
|
529
532
|
# Page size.
|
|
530
533
|
# @param page_token [::String]
|
|
@@ -432,7 +432,7 @@ module Google
|
|
|
432
432
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
433
433
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
434
434
|
#
|
|
435
|
-
# @overload list_jobs(parent: nil, filter: nil, page_size: nil, page_token: nil)
|
|
435
|
+
# @overload list_jobs(parent: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil)
|
|
436
436
|
# Pass arguments to `list_jobs` via keyword arguments. Note that at
|
|
437
437
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
438
438
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -441,6 +441,9 @@ module Google
|
|
|
441
441
|
# Parent path.
|
|
442
442
|
# @param filter [::String]
|
|
443
443
|
# List filter.
|
|
444
|
+
# @param order_by [::String]
|
|
445
|
+
# Optional. Sort results. Supported are "name", "name desc", "create_time",
|
|
446
|
+
# and "create_time desc".
|
|
444
447
|
# @param page_size [::Integer]
|
|
445
448
|
# Page size.
|
|
446
449
|
# @param page_token [::String]
|
|
@@ -11,7 +11,7 @@ require 'google/protobuf/duration_pb'
|
|
|
11
11
|
require 'google/protobuf/timestamp_pb'
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
descriptor_data = "\n\x1fgoogle/cloud/batch/v1/job.proto\x12\x15google.cloud.batch.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/cloud/batch/v1/task.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x90\x05\n\x03Job\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x08priority\x18\x03 \x01(\x03\x12:\n\x0btask_groups\x18\x04 \x03(\x0b\x32 .google.cloud.batch.v1.TaskGroupB\x03\xe0\x41\x02\x12\x42\n\x11\x61llocation_policy\x18\x07 \x01(\x0b\x32\'.google.cloud.batch.v1.AllocationPolicy\x12\x36\n\x06labels\x18\x08 \x03(\x0b\x32&.google.cloud.batch.v1.Job.LabelsEntry\x12\x35\n\x06status\x18\t \x01(\x0b\x32 .google.cloud.batch.v1.JobStatusB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x36\n\x0blogs_policy\x18\r \x01(\x0b\x32!.google.cloud.batch.v1.LogsPolicy\x12=\n\rnotifications\x18\x0e \x03(\x0b\x32&.google.cloud.batch.v1.JobNotification\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:Q\xea\x41N\n\x18\x62\x61tch.googleapis.com/Job\x12\x32projects/{project}/locations/{location}/jobs/{job}\"\xac\x01\n\nLogsPolicy\x12\x42\n\x0b\x64\x65stination\x18\x01 \x01(\x0e\x32-.google.cloud.batch.v1.LogsPolicy.Destination\x12\x11\n\tlogs_path\x18\x02 \x01(\t\"G\n\x0b\x44\x65stination\x12\x1b\n\x17\x44\x45STINATION_UNSPECIFIED\x10\x00\x12\x11\n\rCLOUD_LOGGING\x10\x01\x12\x08\n\x04PATH\x10\x02\"\x80\x07\n\tJobStatus\x12\x35\n\x05state\x18\x01 \x01(\x0e\x32&.google.cloud.batch.v1.JobStatus.State\x12\x39\n\rstatus_events\x18\x02 \x03(\x0b\x32\".google.cloud.batch.v1.StatusEvent\x12\x45\n\x0btask_groups\x18\x04 \x03(\x0b\x32\x30.google.cloud.batch.v1.JobStatus.TaskGroupsEntry\x12/\n\x0crun_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\xd1\x01\n\x0eInstanceStatus\x12\x14\n\x0cmachine_type\x18\x01 \x01(\t\x12U\n\x12provisioning_model\x18\x02 \x01(\x0e\x32\x39.google.cloud.batch.v1.AllocationPolicy.ProvisioningModel\x12\x11\n\ttask_pack\x18\x03 \x01(\x03\x12?\n\tboot_disk\x18\x04 \x01(\x0b\x32,.google.cloud.batch.v1.AllocationPolicy.Disk\x1a\xd2\x01\n\x0fTaskGroupStatus\x12L\n\x06\x63ounts\x18\x01 \x03(\x0b\x32<.google.cloud.batch.v1.JobStatus.TaskGroupStatus.CountsEntry\x12\x42\n\tinstances\x18\x02 \x03(\x0b\x32/.google.cloud.batch.v1.JobStatus.InstanceStatus\x1a-\n\x0b\x43ountsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\x1a\x63\n\x0fTaskGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12?\n\x05value\x18\x02 \x01(\x0b\x32\x30.google.cloud.batch.v1.JobStatus.TaskGroupStatus:\x02\x38\x01\"{\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06QUEUED\x10\x01\x12\r\n\tSCHEDULED\x10\x02\x12\x0b\n\x07RUNNING\x10\x03\x12\r\n\tSUCCEEDED\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\x12\x18\n\x14\x44\x45LETION_IN_PROGRESS\x10\x06\"\xfc\x02\n\x0fJobNotification\x12\x14\n\x0cpubsub_topic\x18\x01 \x01(\t\x12?\n\x07message\x18\x02 \x01(\x0b\x32..google.cloud.batch.v1.JobNotification.Message\x1a\xc4\x01\n\x07Message\x12\x39\n\x04type\x18\x01 \x01(\x0e\x32+.google.cloud.batch.v1.JobNotification.Type\x12=\n\rnew_job_state\x18\x02 \x01(\x0e\x32&.google.cloud.batch.v1.JobStatus.State\x12?\n\x0enew_task_state\x18\x03 \x01(\x0e\x32\'.google.cloud.batch.v1.TaskStatus.State\"K\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11JOB_STATE_CHANGED\x10\x01\x12\x16\n\x12TASK_STATE_CHANGED\x10\x02\"\
|
|
14
|
+
descriptor_data = "\n\x1fgoogle/cloud/batch/v1/job.proto\x12\x15google.cloud.batch.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/cloud/batch/v1/task.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x90\x05\n\x03Job\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x08priority\x18\x03 \x01(\x03\x12:\n\x0btask_groups\x18\x04 \x03(\x0b\x32 .google.cloud.batch.v1.TaskGroupB\x03\xe0\x41\x02\x12\x42\n\x11\x61llocation_policy\x18\x07 \x01(\x0b\x32\'.google.cloud.batch.v1.AllocationPolicy\x12\x36\n\x06labels\x18\x08 \x03(\x0b\x32&.google.cloud.batch.v1.Job.LabelsEntry\x12\x35\n\x06status\x18\t \x01(\x0b\x32 .google.cloud.batch.v1.JobStatusB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x36\n\x0blogs_policy\x18\r \x01(\x0b\x32!.google.cloud.batch.v1.LogsPolicy\x12=\n\rnotifications\x18\x0e \x03(\x0b\x32&.google.cloud.batch.v1.JobNotification\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:Q\xea\x41N\n\x18\x62\x61tch.googleapis.com/Job\x12\x32projects/{project}/locations/{location}/jobs/{job}\"\xac\x01\n\nLogsPolicy\x12\x42\n\x0b\x64\x65stination\x18\x01 \x01(\x0e\x32-.google.cloud.batch.v1.LogsPolicy.Destination\x12\x11\n\tlogs_path\x18\x02 \x01(\t\"G\n\x0b\x44\x65stination\x12\x1b\n\x17\x44\x45STINATION_UNSPECIFIED\x10\x00\x12\x11\n\rCLOUD_LOGGING\x10\x01\x12\x08\n\x04PATH\x10\x02\"\x80\x07\n\tJobStatus\x12\x35\n\x05state\x18\x01 \x01(\x0e\x32&.google.cloud.batch.v1.JobStatus.State\x12\x39\n\rstatus_events\x18\x02 \x03(\x0b\x32\".google.cloud.batch.v1.StatusEvent\x12\x45\n\x0btask_groups\x18\x04 \x03(\x0b\x32\x30.google.cloud.batch.v1.JobStatus.TaskGroupsEntry\x12/\n\x0crun_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\xd1\x01\n\x0eInstanceStatus\x12\x14\n\x0cmachine_type\x18\x01 \x01(\t\x12U\n\x12provisioning_model\x18\x02 \x01(\x0e\x32\x39.google.cloud.batch.v1.AllocationPolicy.ProvisioningModel\x12\x11\n\ttask_pack\x18\x03 \x01(\x03\x12?\n\tboot_disk\x18\x04 \x01(\x0b\x32,.google.cloud.batch.v1.AllocationPolicy.Disk\x1a\xd2\x01\n\x0fTaskGroupStatus\x12L\n\x06\x63ounts\x18\x01 \x03(\x0b\x32<.google.cloud.batch.v1.JobStatus.TaskGroupStatus.CountsEntry\x12\x42\n\tinstances\x18\x02 \x03(\x0b\x32/.google.cloud.batch.v1.JobStatus.InstanceStatus\x1a-\n\x0b\x43ountsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\x1a\x63\n\x0fTaskGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12?\n\x05value\x18\x02 \x01(\x0b\x32\x30.google.cloud.batch.v1.JobStatus.TaskGroupStatus:\x02\x38\x01\"{\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06QUEUED\x10\x01\x12\r\n\tSCHEDULED\x10\x02\x12\x0b\n\x07RUNNING\x10\x03\x12\r\n\tSUCCEEDED\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\x12\x18\n\x14\x44\x45LETION_IN_PROGRESS\x10\x06\"\xfc\x02\n\x0fJobNotification\x12\x14\n\x0cpubsub_topic\x18\x01 \x01(\t\x12?\n\x07message\x18\x02 \x01(\x0b\x32..google.cloud.batch.v1.JobNotification.Message\x1a\xc4\x01\n\x07Message\x12\x39\n\x04type\x18\x01 \x01(\x0e\x32+.google.cloud.batch.v1.JobNotification.Type\x12=\n\rnew_job_state\x18\x02 \x01(\x0e\x32&.google.cloud.batch.v1.JobStatus.State\x12?\n\x0enew_task_state\x18\x03 \x01(\x0e\x32\'.google.cloud.batch.v1.TaskStatus.State\"K\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11JOB_STATE_CHANGED\x10\x01\x12\x16\n\x12TASK_STATE_CHANGED\x10\x02\"\x8f\x0e\n\x10\x41llocationPolicy\x12H\n\x08location\x18\x01 \x01(\x0b\x32\x36.google.cloud.batch.v1.AllocationPolicy.LocationPolicy\x12S\n\tinstances\x18\x08 \x03(\x0b\x32@.google.cloud.batch.v1.AllocationPolicy.InstancePolicyOrTemplate\x12>\n\x0fservice_account\x18\t \x01(\x0b\x32%.google.cloud.batch.v1.ServiceAccount\x12\x43\n\x06labels\x18\x06 \x03(\x0b\x32\x33.google.cloud.batch.v1.AllocationPolicy.LabelsEntry\x12\x46\n\x07network\x18\x07 \x01(\x0b\x32\x35.google.cloud.batch.v1.AllocationPolicy.NetworkPolicy\x12J\n\tplacement\x18\n \x01(\x0b\x32\x37.google.cloud.batch.v1.AllocationPolicy.PlacementPolicy\x1a+\n\x0eLocationPolicy\x12\x19\n\x11\x61llowed_locations\x18\x01 \x03(\t\x1aq\n\x04\x44isk\x12\x0f\n\x05image\x18\x04 \x01(\tH\x00\x12\x12\n\x08snapshot\x18\x05 \x01(\tH\x00\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0f\n\x07size_gb\x18\x02 \x01(\x03\x12\x16\n\x0e\x64isk_interface\x18\x06 \x01(\tB\r\n\x0b\x64\x61ta_source\x1a\x8a\x01\n\x0c\x41ttachedDisk\x12@\n\x08new_disk\x18\x01 \x01(\x0b\x32,.google.cloud.batch.v1.AllocationPolicy.DiskH\x00\x12\x17\n\rexisting_disk\x18\x02 \x01(\tH\x00\x12\x13\n\x0b\x64\x65vice_name\x18\x03 \x01(\tB\n\n\x08\x61ttached\x1ah\n\x0b\x41\x63\x63\x65lerator\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\x12\x1f\n\x13install_gpu_drivers\x18\x03 \x01(\x08\x42\x02\x18\x01\x12\x1b\n\x0e\x64river_version\x18\x04 \x01(\tB\x03\xe0\x41\x01\x1a\xe8\x02\n\x0eInstancePolicy\x12\x14\n\x0cmachine_type\x18\x02 \x01(\t\x12\x18\n\x10min_cpu_platform\x18\x03 \x01(\t\x12U\n\x12provisioning_model\x18\x04 \x01(\x0e\x32\x39.google.cloud.batch.v1.AllocationPolicy.ProvisioningModel\x12I\n\x0c\x61\x63\x63\x65lerators\x18\x05 \x03(\x0b\x32\x33.google.cloud.batch.v1.AllocationPolicy.Accelerator\x12?\n\tboot_disk\x18\x08 \x01(\x0b\x32,.google.cloud.batch.v1.AllocationPolicy.Disk\x12\x43\n\x05\x64isks\x18\x06 \x03(\x0b\x32\x34.google.cloud.batch.v1.AllocationPolicy.AttachedDisk\x1a\xb1\x01\n\x18InstancePolicyOrTemplate\x12H\n\x06policy\x18\x01 \x01(\x0b\x32\x36.google.cloud.batch.v1.AllocationPolicy.InstancePolicyH\x00\x12\x1b\n\x11instance_template\x18\x02 \x01(\tH\x00\x12\x1b\n\x13install_gpu_drivers\x18\x03 \x01(\x08\x42\x11\n\x0fpolicy_template\x1aW\n\x10NetworkInterface\x12\x0f\n\x07network\x18\x01 \x01(\t\x12\x12\n\nsubnetwork\x18\x02 \x01(\t\x12\x1e\n\x16no_external_ip_address\x18\x03 \x01(\x08\x1a\x65\n\rNetworkPolicy\x12T\n\x12network_interfaces\x18\x01 \x03(\x0b\x32\x38.google.cloud.batch.v1.AllocationPolicy.NetworkInterface\x1a<\n\x0fPlacementPolicy\x12\x13\n\x0b\x63ollocation\x18\x01 \x01(\t\x12\x14\n\x0cmax_distance\x18\x02 \x01(\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"`\n\x11ProvisioningModel\x12\"\n\x1ePROVISIONING_MODEL_UNSPECIFIED\x10\x00\x12\x0c\n\x08STANDARD\x10\x01\x12\x08\n\x04SPOT\x10\x02\x12\x0f\n\x0bPREEMPTIBLE\x10\x03\"\xad\x04\n\tTaskGroup\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x37\n\ttask_spec\x18\x03 \x01(\x0b\x32\x1f.google.cloud.batch.v1.TaskSpecB\x03\xe0\x41\x02\x12\x12\n\ntask_count\x18\x04 \x01(\x03\x12\x13\n\x0bparallelism\x18\x05 \x01(\x03\x12L\n\x11scheduling_policy\x18\x06 \x01(\x0e\x32\x31.google.cloud.batch.v1.TaskGroup.SchedulingPolicy\x12=\n\x11task_environments\x18\t \x03(\x0b\x32\".google.cloud.batch.v1.Environment\x12\x1b\n\x13task_count_per_node\x18\n \x01(\x03\x12\x1a\n\x12require_hosts_file\x18\x0b \x01(\x08\x12\x16\n\x0epermissive_ssh\x18\x0c \x01(\x08\"\\\n\x10SchedulingPolicy\x12!\n\x1dSCHEDULING_POLICY_UNSPECIFIED\x10\x00\x12\x17\n\x13\x41S_SOON_AS_POSSIBLE\x10\x01\x12\x0c\n\x08IN_ORDER\x10\x02:o\xea\x41l\n\x1e\x62\x61tch.googleapis.com/TaskGroup\x12Jprojects/{project}/locations/{location}/jobs/{job}/taskGroups/{task_group}\"/\n\x0eServiceAccount\x12\r\n\x05\x65mail\x18\x01 \x01(\t\x12\x0e\n\x06scopes\x18\x02 \x03(\tB\xa9\x01\n\x19\x63om.google.cloud.batch.v1B\x08JobProtoP\x01Z/cloud.google.com/go/batch/apiv1/batchpb;batchpb\xa2\x02\x03GCB\xaa\x02\x15Google.Cloud.Batch.V1\xca\x02\x15Google\\Cloud\\Batch\\V1\xea\x02\x18Google::Cloud::Batch::V1b\x06proto3"
|
|
15
15
|
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
17
17
|
|
|
@@ -103,6 +103,10 @@ module Google
|
|
|
103
103
|
# @!attribute [rw] filter
|
|
104
104
|
# @return [::String]
|
|
105
105
|
# List filter.
|
|
106
|
+
# @!attribute [rw] order_by
|
|
107
|
+
# @return [::String]
|
|
108
|
+
# Optional. Sort results. Supported are "name", "name desc", "create_time",
|
|
109
|
+
# and "create_time desc".
|
|
106
110
|
# @!attribute [rw] page_size
|
|
107
111
|
# @return [::Integer]
|
|
108
112
|
# Page size.
|
|
@@ -310,21 +310,24 @@ module Google
|
|
|
310
310
|
# https://cloud.google.com/compute/docs/disks#localssds.
|
|
311
311
|
# @!attribute [rw] image
|
|
312
312
|
# @return [::String]
|
|
313
|
-
# Name of
|
|
313
|
+
# Name of an image used as the data source.
|
|
314
314
|
# For example, the following are all valid URLs:
|
|
315
315
|
#
|
|
316
316
|
# * Specify the image by its family name:
|
|
317
|
-
# projects
|
|
317
|
+
# <pre><code>projects/<var
|
|
318
|
+
# class="apiparam">project</var>/global/images/family/<var
|
|
319
|
+
# class="apiparam">image_family</var></code></pre>
|
|
318
320
|
# * Specify the image version:
|
|
319
|
-
# projects
|
|
320
|
-
#
|
|
321
|
+
# <pre>projects/<var
|
|
322
|
+
# class="apiparam">project</var>/global/images/<var
|
|
323
|
+
# class="apiparam">image_version</var></code></pre>
|
|
321
324
|
# You can also use Batch customized image in short names.
|
|
322
325
|
# The following image values are supported for a boot disk:
|
|
323
326
|
#
|
|
324
|
-
# *
|
|
325
|
-
# *
|
|
326
|
-
# *
|
|
327
|
-
# *
|
|
327
|
+
# * `batch-debian`: use Batch Debian images.
|
|
328
|
+
# * `batch-centos`: use Batch CentOS images.
|
|
329
|
+
# * `batch-cos`: use Batch Container-Optimized images.
|
|
330
|
+
# * `batch-hpc-centos`: use Batch HPC CentOS images.
|
|
328
331
|
# @!attribute [rw] snapshot
|
|
329
332
|
# @return [::String]
|
|
330
333
|
# Name of a snapshot used as the data source.
|
|
@@ -386,6 +389,15 @@ module Google
|
|
|
386
389
|
# @!attribute [rw] install_gpu_drivers
|
|
387
390
|
# @return [::Boolean]
|
|
388
391
|
# Deprecated: please use instances[0].install_gpu_drivers instead.
|
|
392
|
+
# @!attribute [rw] driver_version
|
|
393
|
+
# @return [::String]
|
|
394
|
+
# Optional. The NVIDIA GPU driver version that should be installed for this
|
|
395
|
+
# type.
|
|
396
|
+
#
|
|
397
|
+
# You can define the specific driver version such as "470.103.01",
|
|
398
|
+
# following the driver version requirements in
|
|
399
|
+
# https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver.
|
|
400
|
+
# Batch will install the specific accelerator driver if qualified.
|
|
389
401
|
class Accelerator
|
|
390
402
|
include ::Google::Protobuf::MessageExts
|
|
391
403
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -436,6 +448,12 @@ module Google
|
|
|
436
448
|
# third party location and install them for GPUs specified in
|
|
437
449
|
# policy.accelerators or instance_template on their behalf. Default is
|
|
438
450
|
# false.
|
|
451
|
+
#
|
|
452
|
+
# For Container-Optimized Image cases, Batch will install the
|
|
453
|
+
# accelerator driver following milestones of
|
|
454
|
+
# https://cloud.google.com/container-optimized-os/docs/release-notes. For
|
|
455
|
+
# non Container-Optimized Image cases, following
|
|
456
|
+
# https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
|
|
439
457
|
class InstancePolicyOrTemplate
|
|
440
458
|
include ::Google::Protobuf::MessageExts
|
|
441
459
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -448,20 +466,30 @@ module Google
|
|
|
448
466
|
# You can specify the network as a full or partial URL.
|
|
449
467
|
#
|
|
450
468
|
# For example, the following are all valid URLs:
|
|
451
|
-
#
|
|
452
|
-
#
|
|
453
|
-
#
|
|
454
|
-
#
|
|
469
|
+
# <pre><code>https://www.googleapis.com/compute/v1/projects/<var
|
|
470
|
+
# class="apiparam">project</var>/global/networks/<var
|
|
471
|
+
# class="apiparam">network</var></code></pre>
|
|
472
|
+
# <pre><code>projects/<var
|
|
473
|
+
# class="apiparam">project</var>/global/networks/<var
|
|
474
|
+
# class="apiparam">network</var></code></pre>
|
|
475
|
+
# <pre><code>global/networks/<var
|
|
476
|
+
# class="apiparam">network</var></code></pre>
|
|
455
477
|
# @!attribute [rw] subnetwork
|
|
456
478
|
# @return [::String]
|
|
457
479
|
# The URL of an existing subnetwork resource in the network.
|
|
458
480
|
# You can specify the subnetwork as a full or partial URL.
|
|
459
481
|
#
|
|
460
482
|
# For example, the following are all valid URLs:
|
|
461
|
-
#
|
|
462
|
-
#
|
|
463
|
-
#
|
|
464
|
-
#
|
|
483
|
+
# <pre><code>https://www.googleapis.com/compute/v1/projects/<var
|
|
484
|
+
# class="apiparam">project</var>/regions/<var
|
|
485
|
+
# class="apiparam">region</var>/subnetworks/<var
|
|
486
|
+
# class="apiparam">subnetwork</var></code></pre>
|
|
487
|
+
# <pre><code>projects/<var class="apiparam">project</var>/regions/<var
|
|
488
|
+
# class="apiparam">region</var>/subnetworks/<var
|
|
489
|
+
# class="apiparam">subnetwork</var></code></pre>
|
|
490
|
+
# <pre><code>regions/<var
|
|
491
|
+
# class="apiparam">region</var>/subnetworks/<var
|
|
492
|
+
# class="apiparam">subnetwork</var></code></pre>
|
|
465
493
|
# @!attribute [rw] no_external_ip_address
|
|
466
494
|
# @return [::Boolean]
|
|
467
495
|
# Default is false (with an external IP address). Required if
|
|
@@ -40,6 +40,7 @@ module Google
|
|
|
40
40
|
#
|
|
41
41
|
# **JSON example:**
|
|
42
42
|
#
|
|
43
|
+
# ```
|
|
43
44
|
# {
|
|
44
45
|
# "bindings": [
|
|
45
46
|
# {
|
|
@@ -67,9 +68,11 @@ module Google
|
|
|
67
68
|
# "etag": "BwWWja0YfJA=",
|
|
68
69
|
# "version": 3
|
|
69
70
|
# }
|
|
71
|
+
# ```
|
|
70
72
|
#
|
|
71
73
|
# **YAML example:**
|
|
72
74
|
#
|
|
75
|
+
# ```
|
|
73
76
|
# bindings:
|
|
74
77
|
# - members:
|
|
75
78
|
# - user:mike@example.com
|
|
@@ -86,6 +89,7 @@ module Google
|
|
|
86
89
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
87
90
|
# etag: BwWWja0YfJA=
|
|
88
91
|
# version: 3
|
|
92
|
+
# ```
|
|
89
93
|
#
|
|
90
94
|
# For a description of IAM and its features, see the
|
|
91
95
|
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
@@ -157,7 +161,7 @@ module Google
|
|
|
157
161
|
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
|
158
162
|
# @!attribute [rw] members
|
|
159
163
|
# @return [::Array<::String>]
|
|
160
|
-
# Specifies the principals requesting access for a Cloud
|
|
164
|
+
# Specifies the principals requesting access for a Google Cloud resource.
|
|
161
165
|
# `members` can have the following values:
|
|
162
166
|
#
|
|
163
167
|
# * `allUsers`: A special identifier that represents anyone who is
|
|
@@ -267,8 +271,8 @@ module Google
|
|
|
267
271
|
# }
|
|
268
272
|
#
|
|
269
273
|
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
|
270
|
-
# logging. It also exempts jose@example.com from DATA_READ logging, and
|
|
271
|
-
# aliya@example.com from DATA_WRITE logging.
|
|
274
|
+
# logging. It also exempts `jose@example.com` from DATA_READ logging, and
|
|
275
|
+
# `aliya@example.com` from DATA_WRITE logging.
|
|
272
276
|
# @!attribute [rw] service
|
|
273
277
|
# @return [::String]
|
|
274
278
|
# Specifies a service that will be enabled for audit logging.
|
|
@@ -356,7 +360,7 @@ module Google
|
|
|
356
360
|
# Required
|
|
357
361
|
# @!attribute [rw] member
|
|
358
362
|
# @return [::String]
|
|
359
|
-
# A single identity requesting access for a Cloud
|
|
363
|
+
# A single identity requesting access for a Google Cloud resource.
|
|
360
364
|
# Follows the same format of Binding.members.
|
|
361
365
|
# Required
|
|
362
366
|
# @!attribute [rw] condition
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-batch-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.10.
|
|
4
|
+
version: 0.10.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-08-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|