Skip to content

Commit 2da4e3e

Browse files
fix!: [batch] remove deprecated field enableOslogin (#10257)
* fix!: remove deprecated field enableOslogin PiperOrigin-RevId: 599921345 Source-Link: googleapis/googleapis@7cdfb2d Source-Link: https://github.com/googleapis/googleapis-gen/commit/170f3b7d43801613fb1e1431c77c88253e5a96ce Copy-Tag: eyJwIjoiamF2YS1iYXRjaC8uT3dsQm90LnlhbWwiLCJoIjoiMTcwZjNiN2Q0MzgwMTYxM2ZiMWUxNDMxYzc3Yzg4MjUzZTVhOTZjZSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 088774b commit 2da4e3e

File tree

7 files changed

+118
-267
lines changed

7 files changed

+118
-267
lines changed

java-batch/google-cloud-batch/src/main/resources/META-INF/native-image/com.google.cloud.batch.v1alpha/reflect-config.json

+27
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,33 @@
116116
"allDeclaredClasses": true,
117117
"allPublicClasses": true
118118
},
119+
{
120+
"name": "com.google.api.FieldInfo",
121+
"queryAllDeclaredConstructors": true,
122+
"queryAllPublicConstructors": true,
123+
"queryAllDeclaredMethods": true,
124+
"allPublicMethods": true,
125+
"allDeclaredClasses": true,
126+
"allPublicClasses": true
127+
},
128+
{
129+
"name": "com.google.api.FieldInfo$Builder",
130+
"queryAllDeclaredConstructors": true,
131+
"queryAllPublicConstructors": true,
132+
"queryAllDeclaredMethods": true,
133+
"allPublicMethods": true,
134+
"allDeclaredClasses": true,
135+
"allPublicClasses": true
136+
},
137+
{
138+
"name": "com.google.api.FieldInfo$Format",
139+
"queryAllDeclaredConstructors": true,
140+
"queryAllPublicConstructors": true,
141+
"queryAllDeclaredMethods": true,
142+
"allPublicMethods": true,
143+
"allDeclaredClasses": true,
144+
"allPublicClasses": true
145+
},
119146
{
120147
"name": "com.google.api.GoSettings",
121148
"queryAllDeclaredConstructors": true,

java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/BatchProto.java

+72-69
Original file line numberDiff line numberDiff line change
@@ -75,75 +75,76 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
7575
"\n&google/cloud/batch/v1alpha/batch.proto"
7676
+ "\022\032google.cloud.batch.v1alpha\032\034google/api"
7777
+ "/annotations.proto\032\027google/api/client.pr"
78-
+ "oto\032\037google/api/field_behavior.proto\032\031go"
79-
+ "ogle/api/resource.proto\032$google/cloud/ba"
80-
+ "tch/v1alpha/job.proto\032%google/cloud/batc"
81-
+ "h/v1alpha/task.proto\032#google/longrunning"
82-
+ "/operations.proto\032\033google/protobuf/empty"
83-
+ ".proto\032\037google/protobuf/timestamp.proto\""
84-
+ "\243\001\n\020CreateJobRequest\0221\n\006parent\030\001 \001(\tB!\342A"
85-
+ "\001\002\372A\032\022\030batch.googleapis.com/Job\022\016\n\006job_i"
86-
+ "d\030\002 \001(\t\0222\n\003job\030\003 \001(\0132\037.google.cloud.batc"
87-
+ "h.v1alpha.JobB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB"
88-
+ "\004\342A\001\001\"@\n\rGetJobRequest\022/\n\004name\030\001 \001(\tB!\342A"
89-
+ "\001\002\372A\032\n\030batch.googleapis.com/Job\"P\n\020Delet"
90-
+ "eJobRequest\022\014\n\004name\030\001 \001(\t\022\024\n\006reason\030\002 \001("
91-
+ "\tB\004\342A\001\001\022\030\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\"p\n\017Lis"
92-
+ "tJobsRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030\004"
93-
+ " \001(\t\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\022\021\n\tpage_siz"
94-
+ "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"o\n\020ListJobsR"
95-
+ "esponse\022-\n\004jobs\030\001 \003(\0132\037.google.cloud.bat"
96-
+ "ch.v1alpha.Job\022\027\n\017next_page_token\030\002 \001(\t\022"
97-
+ "\023\n\013unreachable\030\003 \003(\t\"\224\001\n\020ListTasksReques"
98-
+ "t\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \n\036batch.google"
99-
+ "apis.com/TaskGroup\022\016\n\006filter\030\002 \001(\t\022\020\n\010or"
100-
+ "der_by\030\005 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_"
101-
+ "token\030\004 \001(\t\"r\n\021ListTasksResponse\022/\n\005task"
102-
+ "s\030\001 \003(\0132 .google.cloud.batch.v1alpha.Tas"
103-
+ "k\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachabl"
104-
+ "e\030\003 \003(\t\"B\n\016GetTaskRequest\0220\n\004name\030\001 \001(\tB"
105-
+ "\"\342A\001\002\372A\033\n\031batch.googleapis.com/Task\"\207\002\n\021"
106-
+ "OperationMetadata\0225\n\013create_time\030\001 \001(\0132\032"
107-
+ ".google.protobuf.TimestampB\004\342A\001\003\0222\n\010end_"
108-
+ "time\030\002 \001(\0132\032.google.protobuf.TimestampB\004"
109-
+ "\342A\001\003\022\024\n\006target\030\003 \001(\tB\004\342A\001\003\022\022\n\004verb\030\004 \001(\t"
110-
+ "B\004\342A\001\003\022\034\n\016status_message\030\005 \001(\tB\004\342A\001\003\022$\n\026"
111-
+ "requested_cancellation\030\006 \001(\010B\004\342A\001\003\022\031\n\013ap"
112-
+ "i_version\030\007 \001(\tB\004\342A\001\0032\221\t\n\014BatchService\022\252"
113-
+ "\001\n\tCreateJob\022,.google.cloud.batch.v1alph"
114-
+ "a.CreateJobRequest\032\037.google.cloud.batch."
115-
+ "v1alpha.Job\"N\332A\021parent,job,job_id\202\323\344\223\0024\""
116-
+ "-/v1alpha/{parent=projects/*/locations/*"
117-
+ "}/jobs:\003job\022\222\001\n\006GetJob\022).google.cloud.ba"
118-
+ "tch.v1alpha.GetJobRequest\032\037.google.cloud"
119-
+ ".batch.v1alpha.Job\"<\332A\004name\202\323\344\223\002/\022-/v1al"
120-
+ "pha/{name=projects/*/locations/*/jobs/*}"
121-
+ "\022\337\001\n\tDeleteJob\022,.google.cloud.batch.v1al"
122-
+ "pha.DeleteJobRequest\032\035.google.longrunnin"
123-
+ "g.Operation\"\204\001\312AE\n\025google.protobuf.Empty"
124-
+ "\022,google.cloud.batch.v1alpha.OperationMe"
125-
+ "tadata\332A\004name\202\323\344\223\002/*-/v1alpha/{name=proj"
126-
+ "ects/*/locations/*/jobs/*}\022\245\001\n\010ListJobs\022"
127-
+ "+.google.cloud.batch.v1alpha.ListJobsReq"
128-
+ "uest\032,.google.cloud.batch.v1alpha.ListJo"
129-
+ "bsResponse\">\332A\006parent\202\323\344\223\002/\022-/v1alpha/{p"
130-
+ "arent=projects/*/locations/*}/jobs\022\252\001\n\007G"
131-
+ "etTask\022*.google.cloud.batch.v1alpha.GetT"
132-
+ "askRequest\032 .google.cloud.batch.v1alpha."
133-
+ "Task\"Q\332A\004name\202\323\344\223\002D\022B/v1alpha/{name=proj"
134-
+ "ects/*/locations/*/jobs/*/taskGroups/*/t"
135-
+ "asks/*}\022\275\001\n\tListTasks\022,.google.cloud.bat"
136-
+ "ch.v1alpha.ListTasksRequest\032-.google.clo"
137-
+ "ud.batch.v1alpha.ListTasksResponse\"S\332A\006p"
138-
+ "arent\202\323\344\223\002D\022B/v1alpha/{parent=projects/*"
139-
+ "/locations/*/jobs/*/taskGroups/*}/tasks\032"
140-
+ "H\312A\024batch.googleapis.com\322A.https://www.g"
141-
+ "oogleapis.com/auth/cloud-platformB\304\001\n\036co"
142-
+ "m.google.cloud.batch.v1alphaB\nBatchProto"
143-
+ "P\001Z4cloud.google.com/go/batch/apiv1alpha"
144-
+ "/batchpb;batchpb\242\002\003GCB\252\002\032Google.Cloud.Ba"
145-
+ "tch.V1Alpha\312\002\032Google\\Cloud\\Batch\\V1alpha"
146-
+ "\352\002\035Google::Cloud::Batch::V1alphab\006proto3"
78+
+ "oto\032\037google/api/field_behavior.proto\032\033go"
79+
+ "ogle/api/field_info.proto\032\031google/api/re"
80+
+ "source.proto\032$google/cloud/batch/v1alpha"
81+
+ "/job.proto\032%google/cloud/batch/v1alpha/t"
82+
+ "ask.proto\032#google/longrunning/operations"
83+
+ ".proto\032\033google/protobuf/empty.proto\032\037goo"
84+
+ "gle/protobuf/timestamp.proto\"\243\001\n\020CreateJ"
85+
+ "obRequest\0221\n\006parent\030\001 \001(\tB!\342A\001\002\372A\032\022\030batc"
86+
+ "h.googleapis.com/Job\022\016\n\006job_id\030\002 \001(\t\0222\n\003"
87+
+ "job\030\003 \001(\0132\037.google.cloud.batch.v1alpha.J"
88+
+ "obB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\"@\n\rGe"
89+
+ "tJobRequest\022/\n\004name\030\001 \001(\tB!\342A\001\002\372A\032\n\030batc"
90+
+ "h.googleapis.com/Job\"P\n\020DeleteJobRequest"
91+
+ "\022\014\n\004name\030\001 \001(\t\022\024\n\006reason\030\002 \001(\tB\004\342A\001\001\022\030\n\n"
92+
+ "request_id\030\004 \001(\tB\004\342A\001\001\"p\n\017ListJobsReques"
93+
+ "t\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030\004 \001(\t\022\026\n\010ord"
94+
+ "er_by\030\005 \001(\tB\004\342A\001\001\022\021\n\tpage_size\030\002 \001(\005\022\022\n\n"
95+
+ "page_token\030\003 \001(\t\"o\n\020ListJobsResponse\022-\n\004"
96+
+ "jobs\030\001 \003(\0132\037.google.cloud.batch.v1alpha."
97+
+ "Job\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreacha"
98+
+ "ble\030\003 \003(\t\"\224\001\n\020ListTasksRequest\0227\n\006parent"
99+
+ "\030\001 \001(\tB\'\342A\001\002\372A \n\036batch.googleapis.com/Ta"
100+
+ "skGroup\022\016\n\006filter\030\002 \001(\t\022\020\n\010order_by\030\005 \001("
101+
+ "\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t"
102+
+ "\"r\n\021ListTasksResponse\022/\n\005tasks\030\001 \003(\0132 .g"
103+
+ "oogle.cloud.batch.v1alpha.Task\022\027\n\017next_p"
104+
+ "age_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"B\n\016"
105+
+ "GetTaskRequest\0220\n\004name\030\001 \001(\tB\"\342A\001\002\372A\033\n\031b"
106+
+ "atch.googleapis.com/Task\"\207\002\n\021OperationMe"
107+
+ "tadata\0225\n\013create_time\030\001 \001(\0132\032.google.pro"
108+
+ "tobuf.TimestampB\004\342A\001\003\0222\n\010end_time\030\002 \001(\0132"
109+
+ "\032.google.protobuf.TimestampB\004\342A\001\003\022\024\n\006tar"
110+
+ "get\030\003 \001(\tB\004\342A\001\003\022\022\n\004verb\030\004 \001(\tB\004\342A\001\003\022\034\n\016s"
111+
+ "tatus_message\030\005 \001(\tB\004\342A\001\003\022$\n\026requested_c"
112+
+ "ancellation\030\006 \001(\010B\004\342A\001\003\022\031\n\013api_version\030\007"
113+
+ " \001(\tB\004\342A\001\0032\221\t\n\014BatchService\022\252\001\n\tCreateJo"
114+
+ "b\022,.google.cloud.batch.v1alpha.CreateJob"
115+
+ "Request\032\037.google.cloud.batch.v1alpha.Job"
116+
+ "\"N\332A\021parent,job,job_id\202\323\344\223\0024\"-/v1alpha/{"
117+
+ "parent=projects/*/locations/*}/jobs:\003job"
118+
+ "\022\222\001\n\006GetJob\022).google.cloud.batch.v1alpha"
119+
+ ".GetJobRequest\032\037.google.cloud.batch.v1al"
120+
+ "pha.Job\"<\332A\004name\202\323\344\223\002/\022-/v1alpha/{name=p"
121+
+ "rojects/*/locations/*/jobs/*}\022\337\001\n\tDelete"
122+
+ "Job\022,.google.cloud.batch.v1alpha.DeleteJ"
123+
+ "obRequest\032\035.google.longrunning.Operation"
124+
+ "\"\204\001\312AE\n\025google.protobuf.Empty\022,google.cl"
125+
+ "oud.batch.v1alpha.OperationMetadata\332A\004na"
126+
+ "me\202\323\344\223\002/*-/v1alpha/{name=projects/*/loca"
127+
+ "tions/*/jobs/*}\022\245\001\n\010ListJobs\022+.google.cl"
128+
+ "oud.batch.v1alpha.ListJobsRequest\032,.goog"
129+
+ "le.cloud.batch.v1alpha.ListJobsResponse\""
130+
+ ">\332A\006parent\202\323\344\223\002/\022-/v1alpha/{parent=proje"
131+
+ "cts/*/locations/*}/jobs\022\252\001\n\007GetTask\022*.go"
132+
+ "ogle.cloud.batch.v1alpha.GetTaskRequest\032"
133+
+ " .google.cloud.batch.v1alpha.Task\"Q\332A\004na"
134+
+ "me\202\323\344\223\002D\022B/v1alpha/{name=projects/*/loca"
135+
+ "tions/*/jobs/*/taskGroups/*/tasks/*}\022\275\001\n"
136+
+ "\tListTasks\022,.google.cloud.batch.v1alpha."
137+
+ "ListTasksRequest\032-.google.cloud.batch.v1"
138+
+ "alpha.ListTasksResponse\"S\332A\006parent\202\323\344\223\002D"
139+
+ "\022B/v1alpha/{parent=projects/*/locations/"
140+
+ "*/jobs/*/taskGroups/*}/tasks\032H\312A\024batch.g"
141+
+ "oogleapis.com\322A.https://www.googleapis.c"
142+
+ "om/auth/cloud-platformB\304\001\n\036com.google.cl"
143+
+ "oud.batch.v1alphaB\nBatchProtoP\001Z4cloud.g"
144+
+ "oogle.com/go/batch/apiv1alpha/batchpb;ba"
145+
+ "tchpb\242\002\003GCB\252\002\032Google.Cloud.Batch.V1Alpha"
146+
+ "\312\002\032Google\\Cloud\\Batch\\V1alpha\352\002\035Google::"
147+
+ "Cloud::Batch::V1alphab\006proto3"
147148
};
148149
descriptor =
149150
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -152,6 +153,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
152153
com.google.api.AnnotationsProto.getDescriptor(),
153154
com.google.api.ClientProto.getDescriptor(),
154155
com.google.api.FieldBehaviorProto.getDescriptor(),
156+
com.google.api.FieldInfoProto.getDescriptor(),
155157
com.google.api.ResourceProto.getDescriptor(),
156158
com.google.cloud.batch.v1alpha.JobProto.getDescriptor(),
157159
com.google.cloud.batch.v1alpha.TaskProto.getDescriptor(),
@@ -251,6 +253,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
251253
com.google.api.AnnotationsProto.getDescriptor();
252254
com.google.api.ClientProto.getDescriptor();
253255
com.google.api.FieldBehaviorProto.getDescriptor();
256+
com.google.api.FieldInfoProto.getDescriptor();
254257
com.google.api.ResourceProto.getDescriptor();
255258
com.google.cloud.batch.v1alpha.JobProto.getDescriptor();
256259
com.google.cloud.batch.v1alpha.TaskProto.getDescriptor();

java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/JobProto.java

+15-17
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
285285
+ "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"`\n"
286286
+ "\021ProvisioningModel\022\"\n\036PROVISIONING_MODEL"
287287
+ "_UNSPECIFIED\020\000\022\014\n\010STANDARD\020\001\022\010\n\004SPOT\020\002\022\017"
288-
+ "\n\013PREEMPTIBLE\020\003\"\270\006\n\tTaskGroup\022\022\n\004name\030\001 "
288+
+ "\n\013PREEMPTIBLE\020\003\"\230\006\n\tTaskGroup\022\022\n\004name\030\001 "
289289
+ "\001(\tB\004\342A\001\003\022=\n\ttask_spec\030\003 \001(\0132$.google.cl"
290290
+ "oud.batch.v1alpha.TaskSpecB\004\342A\001\002\022\022\n\ntask"
291291
+ "_count\030\004 \001(\003\022\023\n\013parallelism\030\005 \001(\003\022Q\n\021sch"
@@ -298,21 +298,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
298298
+ "\003(\0132\'.google.cloud.batch.v1alpha.Environ"
299299
+ "ment\022\033\n\023task_count_per_node\030\n \001(\003\022\032\n\022req"
300300
+ "uire_hosts_file\030\013 \001(\010\022\026\n\016permissive_ssh\030"
301-
+ "\014 \001(\010\022\036\n\016enable_oslogin\030\r \001(\010B\006\030\001\342A\001\001\022\035\n"
302-
+ "\017run_as_non_root\030\016 \001(\010B\004\342A\001\001\032-\n\013LabelsEn"
303-
+ "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\\\n\020S"
304-
+ "chedulingPolicy\022!\n\035SCHEDULING_POLICY_UNS"
305-
+ "PECIFIED\020\000\022\027\n\023AS_SOON_AS_POSSIBLE\020\001\022\014\n\010I"
306-
+ "N_ORDER\020\002:o\352Al\n\036batch.googleapis.com/Tas"
307-
+ "kGroup\022Jprojects/{project}/locations/{lo"
308-
+ "cation}/jobs/{job}/taskGroups/{task_grou"
309-
+ "p}\"/\n\016ServiceAccount\022\r\n\005email\030\001 \001(\t\022\016\n\006s"
310-
+ "copes\030\002 \003(\tB\302\001\n\036com.google.cloud.batch.v"
311-
+ "1alphaB\010JobProtoP\001Z4cloud.google.com/go/"
312-
+ "batch/apiv1alpha/batchpb;batchpb\242\002\003GCB\252\002"
313-
+ "\032Google.Cloud.Batch.V1Alpha\312\002\032Google\\Clo"
314-
+ "ud\\Batch\\V1alpha\352\002\035Google::Cloud::Batch:"
315-
+ ":V1alphab\006proto3"
301+
+ "\014 \001(\010\022\035\n\017run_as_non_root\030\016 \001(\010B\004\342A\001\001\032-\n\013"
302+
+ "LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:"
303+
+ "\0028\001\"\\\n\020SchedulingPolicy\022!\n\035SCHEDULING_PO"
304+
+ "LICY_UNSPECIFIED\020\000\022\027\n\023AS_SOON_AS_POSSIBL"
305+
+ "E\020\001\022\014\n\010IN_ORDER\020\002:o\352Al\n\036batch.googleapis"
306+
+ ".com/TaskGroup\022Jprojects/{project}/locat"
307+
+ "ions/{location}/jobs/{job}/taskGroups/{t"
308+
+ "ask_group}\"/\n\016ServiceAccount\022\r\n\005email\030\001 "
309+
+ "\001(\t\022\016\n\006scopes\030\002 \003(\tB\302\001\n\036com.google.cloud"
310+
+ ".batch.v1alphaB\010JobProtoP\001Z4cloud.google"
311+
+ ".com/go/batch/apiv1alpha/batchpb;batchpb"
312+
+ "\242\002\003GCB\252\002\032Google.Cloud.Batch.V1Alpha\312\002\032Go"
313+
+ "ogle\\Cloud\\Batch\\V1alpha\352\002\035Google::Cloud"
314+
+ "::Batch::V1alphab\006proto3"
316315
};
317316
descriptor =
318317
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -595,7 +594,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
595594
"TaskCountPerNode",
596595
"RequireHostsFile",
597596
"PermissiveSsh",
598-
"EnableOslogin",
599597
"RunAsNonRoot",
600598
});
601599
internal_static_google_cloud_batch_v1alpha_TaskGroup_LabelsEntry_descriptor =

0 commit comments

Comments
 (0)