Skip to content

Commit a22bd65

Browse files
committed
regenerate libraries
1 parent e4e9405 commit a22bd65

File tree

258 files changed

+13077
-2264
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

258 files changed

+13077
-2264
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -383,9 +383,6 @@ See each library's `README.md` file for more information about:
383383
- [Cloud Resource Manager API](google/cloud/resourcemanager/README.md)
384384
[[quickstart]](google/cloud/resourcemanager/quickstart/README.md)
385385
[[reference]](https://cloud.google.com/cpp/docs/reference/resourcemanager/latest)
386-
- [Resource Settings API](google/cloud/resourcesettings/README.md)
387-
[[quickstart]](google/cloud/resourcesettings/quickstart/README.md)
388-
[[reference]](https://cloud.google.com/cpp/docs/reference/resourcesettings/latest)
389386
- [Retail API](google/cloud/retail/README.md)
390387
[[quickstart]](google/cloud/retail/quickstart/README.md)
391388
[[reference]](https://cloud.google.com/cpp/docs/reference/retail/latest)

google/cloud/aiplatform/v1/llm_utility_client.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ class LlmUtilityServiceClient {
109109
/// [`future`]: @ref google::cloud::future
110110
/// [`StatusOr`]: @ref google::cloud::StatusOr
111111
/// [`Status`]: @ref google::cloud::Status
112-
/// [google.cloud.aiplatform.v1.CountTokensRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/prediction_service.proto#L619}
113-
/// [google.cloud.aiplatform.v1.CountTokensResponse]: @googleapis_reference_link{google/cloud/aiplatform/v1/prediction_service.proto#L664}
112+
/// [google.cloud.aiplatform.v1.CountTokensRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/prediction_service.proto#L620}
113+
/// [google.cloud.aiplatform.v1.CountTokensResponse]: @googleapis_reference_link{google/cloud/aiplatform/v1/prediction_service.proto#L665}
114114
///
115115
// clang-format on
116116
StatusOr<google::cloud::aiplatform::v1::CountTokensResponse> CountTokens(
@@ -140,8 +140,8 @@ class LlmUtilityServiceClient {
140140
/// [`future`]: @ref google::cloud::future
141141
/// [`StatusOr`]: @ref google::cloud::StatusOr
142142
/// [`Status`]: @ref google::cloud::Status
143-
/// [google.cloud.aiplatform.v1.CountTokensRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/prediction_service.proto#L619}
144-
/// [google.cloud.aiplatform.v1.CountTokensResponse]: @googleapis_reference_link{google/cloud/aiplatform/v1/prediction_service.proto#L664}
143+
/// [google.cloud.aiplatform.v1.CountTokensRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/prediction_service.proto#L620}
144+
/// [google.cloud.aiplatform.v1.CountTokensResponse]: @googleapis_reference_link{google/cloud/aiplatform/v1/prediction_service.proto#L665}
145145
///
146146
// clang-format on
147147
StatusOr<google::cloud::aiplatform::v1::CountTokensResponse> CountTokens(

google/cloud/aiplatform/v1/notebook_client.h

Lines changed: 46 additions & 46 deletions
Large diffs are not rendered by default.

google/cloud/aiplatform/v1/prediction_client.h

Lines changed: 37 additions & 37 deletions
Large diffs are not rendered by default.

google/cloud/batch/v1/batch_client.cc

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,43 @@ BatchServiceClient::DeleteJob(google::longrunning::Operation const& operation,
100100
return connection_->DeleteJob(operation);
101101
}
102102

103+
future<StatusOr<google::cloud::batch::v1::CancelJobResponse>>
104+
BatchServiceClient::CancelJob(std::string const& name, Options opts) {
105+
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
106+
google::cloud::batch::v1::CancelJobRequest request;
107+
request.set_name(name);
108+
return connection_->CancelJob(request);
109+
}
110+
111+
StatusOr<google::longrunning::Operation> BatchServiceClient::CancelJob(
112+
NoAwaitTag, std::string const& name, Options opts) {
113+
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
114+
google::cloud::batch::v1::CancelJobRequest request;
115+
request.set_name(name);
116+
return connection_->CancelJob(NoAwaitTag{}, request);
117+
}
118+
119+
future<StatusOr<google::cloud::batch::v1::CancelJobResponse>>
120+
BatchServiceClient::CancelJob(
121+
google::cloud::batch::v1::CancelJobRequest const& request, Options opts) {
122+
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
123+
return connection_->CancelJob(request);
124+
}
125+
126+
StatusOr<google::longrunning::Operation> BatchServiceClient::CancelJob(
127+
NoAwaitTag, google::cloud::batch::v1::CancelJobRequest const& request,
128+
Options opts) {
129+
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
130+
return connection_->CancelJob(NoAwaitTag{}, request);
131+
}
132+
133+
future<StatusOr<google::cloud::batch::v1::CancelJobResponse>>
134+
BatchServiceClient::CancelJob(google::longrunning::Operation const& operation,
135+
Options opts) {
136+
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
137+
return connection_->CancelJob(operation);
138+
}
139+
103140
StreamRange<google::cloud::batch::v1::Job> BatchServiceClient::ListJobs(
104141
std::string const& parent, Options opts) {
105142
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));

google/cloud/batch/v1/batch_client.h

Lines changed: 126 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class BatchServiceClient {
119119
/// [`future`]: @ref google::cloud::future
120120
/// [`StatusOr`]: @ref google::cloud::StatusOr
121121
/// [`Status`]: @ref google::cloud::Status
122-
/// [google.cloud.batch.v1.CreateJobRequest]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L102}
122+
/// [google.cloud.batch.v1.CreateJobRequest]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L115}
123123
/// [google.cloud.batch.v1.Job]: @googleapis_reference_link{google/cloud/batch/v1/job.proto#L35}
124124
///
125125
// clang-format on
@@ -150,7 +150,7 @@ class BatchServiceClient {
150150
/// [`future`]: @ref google::cloud::future
151151
/// [`StatusOr`]: @ref google::cloud::StatusOr
152152
/// [`Status`]: @ref google::cloud::Status
153-
/// [google.cloud.batch.v1.CreateJobRequest]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L102}
153+
/// [google.cloud.batch.v1.CreateJobRequest]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L115}
154154
/// [google.cloud.batch.v1.Job]: @googleapis_reference_link{google/cloud/batch/v1/job.proto#L35}
155155
///
156156
// clang-format on
@@ -176,7 +176,7 @@ class BatchServiceClient {
176176
/// [`future`]: @ref google::cloud::future
177177
/// [`StatusOr`]: @ref google::cloud::StatusOr
178178
/// [`Status`]: @ref google::cloud::Status
179-
/// [google.cloud.batch.v1.GetJobRequest]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L141}
179+
/// [google.cloud.batch.v1.GetJobRequest]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L154}
180180
/// [google.cloud.batch.v1.Job]: @googleapis_reference_link{google/cloud/batch/v1/job.proto#L35}
181181
///
182182
// clang-format on
@@ -206,7 +206,7 @@ class BatchServiceClient {
206206
/// [`future`]: @ref google::cloud::future
207207
/// [`StatusOr`]: @ref google::cloud::StatusOr
208208
/// [`Status`]: @ref google::cloud::Status
209-
/// [google.cloud.batch.v1.GetJobRequest]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L141}
209+
/// [google.cloud.batch.v1.GetJobRequest]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L154}
210210
/// [google.cloud.batch.v1.Job]: @googleapis_reference_link{google/cloud/batch/v1/job.proto#L35}
211211
///
212212
// clang-format on
@@ -239,8 +239,8 @@ class BatchServiceClient {
239239
/// [`future`]: @ref google::cloud::future
240240
/// [`StatusOr`]: @ref google::cloud::StatusOr
241241
/// [`Status`]: @ref google::cloud::Status
242-
/// [google.cloud.batch.v1.DeleteJobRequest]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L150}
243-
/// [google.cloud.batch.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L248}
242+
/// [google.cloud.batch.v1.DeleteJobRequest]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L163}
243+
/// [google.cloud.batch.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L291}
244244
///
245245
// clang-format on
246246
future<StatusOr<google::cloud::batch::v1::OperationMetadata>> DeleteJob(
@@ -291,8 +291,8 @@ class BatchServiceClient {
291291
/// [`future`]: @ref google::cloud::future
292292
/// [`StatusOr`]: @ref google::cloud::StatusOr
293293
/// [`Status`]: @ref google::cloud::Status
294-
/// [google.cloud.batch.v1.DeleteJobRequest]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L150}
295-
/// [google.cloud.batch.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L248}
294+
/// [google.cloud.batch.v1.DeleteJobRequest]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L163}
295+
/// [google.cloud.batch.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L291}
296296
///
297297
// clang-format on
298298
future<StatusOr<google::cloud::batch::v1::OperationMetadata>> DeleteJob(
@@ -326,6 +326,118 @@ class BatchServiceClient {
326326
future<StatusOr<google::cloud::batch::v1::OperationMetadata>> DeleteJob(
327327
google::longrunning::Operation const& operation, Options opts = {});
328328

329+
// clang-format off
330+
///
331+
/// Cancel a Job.
332+
///
333+
/// @param name Required. Job name.
334+
/// @param opts Optional. Override the class-level options, such as retry and
335+
/// backoff policies.
336+
/// @return A [`future`] that becomes satisfied when the LRO
337+
/// ([Long Running Operation]) completes or the polling policy in effect
338+
/// for this call is exhausted. The future is satisfied with an error if
339+
/// the LRO completes with an error or the polling policy is exhausted.
340+
/// In this case the [`StatusOr`] returned by the future contains the
341+
/// error. If the LRO completes successfully the value of the future
342+
/// contains the LRO's result. For this RPC the result is a
343+
/// [google.cloud.batch.v1.CancelJobResponse] proto message.
344+
/// The C++ class representing this message is created by Protobuf, using
345+
/// the [Protobuf mapping rules].
346+
///
347+
/// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
348+
/// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
349+
/// [Long Running Operation]: https://google.aip.dev/151
350+
/// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
351+
/// [`future`]: @ref google::cloud::future
352+
/// [`StatusOr`]: @ref google::cloud::StatusOr
353+
/// [`Status`]: @ref google::cloud::Status
354+
/// [google.cloud.batch.v1.CancelJobRequest]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L187}
355+
/// [google.cloud.batch.v1.CancelJobResponse]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L214}
356+
///
357+
// clang-format on
358+
future<StatusOr<google::cloud::batch::v1::CancelJobResponse>> CancelJob(
359+
std::string const& name, Options opts = {});
360+
361+
// clang-format off
362+
///
363+
/// @copybrief CancelJob
364+
///
365+
/// Specifying the [`NoAwaitTag`] immediately returns the
366+
/// [`google::longrunning::Operation`] that corresponds to the Long Running
367+
/// Operation that has been started. No polling for operation status occurs.
368+
///
369+
/// [`NoAwaitTag`]: @ref google::cloud::NoAwaitTag
370+
///
371+
// clang-format on
372+
StatusOr<google::longrunning::Operation> CancelJob(NoAwaitTag,
373+
std::string const& name,
374+
Options opts = {});
375+
376+
// clang-format off
377+
///
378+
/// Cancel a Job.
379+
///
380+
/// @param request Unary RPCs, such as the one wrapped by this
381+
/// function, receive a single `request` proto message which includes all
382+
/// the inputs for the RPC. In this case, the proto message is a
383+
/// [google.cloud.batch.v1.CancelJobRequest].
384+
/// Proto messages are converted to C++ classes by Protobuf, using the
385+
/// [Protobuf mapping rules].
386+
/// @param opts Optional. Override the class-level options, such as retry and
387+
/// backoff policies.
388+
/// @return A [`future`] that becomes satisfied when the LRO
389+
/// ([Long Running Operation]) completes or the polling policy in effect
390+
/// for this call is exhausted. The future is satisfied with an error if
391+
/// the LRO completes with an error or the polling policy is exhausted.
392+
/// In this case the [`StatusOr`] returned by the future contains the
393+
/// error. If the LRO completes successfully the value of the future
394+
/// contains the LRO's result. For this RPC the result is a
395+
/// [google.cloud.batch.v1.CancelJobResponse] proto message.
396+
/// The C++ class representing this message is created by Protobuf, using
397+
/// the [Protobuf mapping rules].
398+
///
399+
/// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
400+
/// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
401+
/// [Long Running Operation]: https://google.aip.dev/151
402+
/// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
403+
/// [`future`]: @ref google::cloud::future
404+
/// [`StatusOr`]: @ref google::cloud::StatusOr
405+
/// [`Status`]: @ref google::cloud::Status
406+
/// [google.cloud.batch.v1.CancelJobRequest]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L187}
407+
/// [google.cloud.batch.v1.CancelJobResponse]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L214}
408+
///
409+
// clang-format on
410+
future<StatusOr<google::cloud::batch::v1::CancelJobResponse>> CancelJob(
411+
google::cloud::batch::v1::CancelJobRequest const& request,
412+
Options opts = {});
413+
414+
// clang-format off
415+
///
416+
/// @copybrief CancelJob
417+
///
418+
/// Specifying the [`NoAwaitTag`] immediately returns the
419+
/// [`google::longrunning::Operation`] that corresponds to the Long Running
420+
/// Operation that has been started. No polling for operation status occurs.
421+
///
422+
/// [`NoAwaitTag`]: @ref google::cloud::NoAwaitTag
423+
///
424+
// clang-format on
425+
StatusOr<google::longrunning::Operation> CancelJob(
426+
NoAwaitTag, google::cloud::batch::v1::CancelJobRequest const& request,
427+
Options opts = {});
428+
429+
// clang-format off
430+
///
431+
/// @copybrief CancelJob
432+
///
433+
/// This method accepts a `google::longrunning::Operation` that corresponds
434+
/// to a previously started Long Running Operation (LRO) and polls the status
435+
/// of the LRO in the background.
436+
///
437+
// clang-format on
438+
future<StatusOr<google::cloud::batch::v1::CancelJobResponse>> CancelJob(
439+
google::longrunning::Operation const& operation, Options opts = {});
440+
329441
// clang-format off
330442
///
331443
/// List all Jobs for a project within a region.
@@ -354,7 +466,7 @@ class BatchServiceClient {
354466
/// [`StatusOr`]: @ref google::cloud::StatusOr
355467
/// [`Status`]: @ref google::cloud::Status
356468
/// [google.cloud.batch.v1.Job]: @googleapis_reference_link{google/cloud/batch/v1/job.proto#L35}
357-
/// [google.cloud.batch.v1.ListJobsRequest]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L174}
469+
/// [google.cloud.batch.v1.ListJobsRequest]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L217}
358470
///
359471
// clang-format on
360472
StreamRange<google::cloud::batch::v1::Job> ListJobs(std::string const& parent,
@@ -393,7 +505,7 @@ class BatchServiceClient {
393505
/// [`StatusOr`]: @ref google::cloud::StatusOr
394506
/// [`Status`]: @ref google::cloud::Status
395507
/// [google.cloud.batch.v1.Job]: @googleapis_reference_link{google/cloud/batch/v1/job.proto#L35}
396-
/// [google.cloud.batch.v1.ListJobsRequest]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L174}
508+
/// [google.cloud.batch.v1.ListJobsRequest]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L217}
397509
///
398510
// clang-format on
399511
StreamRange<google::cloud::batch::v1::Job> ListJobs(
@@ -417,7 +529,7 @@ class BatchServiceClient {
417529
/// [`future`]: @ref google::cloud::future
418530
/// [`StatusOr`]: @ref google::cloud::StatusOr
419531
/// [`Status`]: @ref google::cloud::Status
420-
/// [google.cloud.batch.v1.GetTaskRequest]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L239}
532+
/// [google.cloud.batch.v1.GetTaskRequest]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L282}
421533
/// [google.cloud.batch.v1.Task]: @googleapis_reference_link{google/cloud/batch/v1/task.proto#L437}
422534
///
423535
// clang-format on
@@ -447,7 +559,7 @@ class BatchServiceClient {
447559
/// [`future`]: @ref google::cloud::future
448560
/// [`StatusOr`]: @ref google::cloud::StatusOr
449561
/// [`Status`]: @ref google::cloud::Status
450-
/// [google.cloud.batch.v1.GetTaskRequest]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L239}
562+
/// [google.cloud.batch.v1.GetTaskRequest]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L282}
451563
/// [google.cloud.batch.v1.Task]: @googleapis_reference_link{google/cloud/batch/v1/task.proto#L437}
452564
///
453565
// clang-format on
@@ -484,7 +596,7 @@ class BatchServiceClient {
484596
/// [`future`]: @ref google::cloud::future
485597
/// [`StatusOr`]: @ref google::cloud::StatusOr
486598
/// [`Status`]: @ref google::cloud::Status
487-
/// [google.cloud.batch.v1.ListTasksRequest]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L205}
599+
/// [google.cloud.batch.v1.ListTasksRequest]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L248}
488600
/// [google.cloud.batch.v1.Task]: @googleapis_reference_link{google/cloud/batch/v1/task.proto#L437}
489601
///
490602
// clang-format on
@@ -523,7 +635,7 @@ class BatchServiceClient {
523635
/// [`future`]: @ref google::cloud::future
524636
/// [`StatusOr`]: @ref google::cloud::StatusOr
525637
/// [`Status`]: @ref google::cloud::Status
526-
/// [google.cloud.batch.v1.ListTasksRequest]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L205}
638+
/// [google.cloud.batch.v1.ListTasksRequest]: @googleapis_reference_link{google/cloud/batch/v1/batch.proto#L248}
527639
/// [google.cloud.batch.v1.Task]: @googleapis_reference_link{google/cloud/batch/v1/task.proto#L437}
528640
///
529641
// clang-format on

google/cloud/batch/v1/batch_connection.cc

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,27 @@ BatchServiceConnection::DeleteJob(google::longrunning::Operation const&) {
6969
Status(StatusCode::kUnimplemented, "not implemented"));
7070
}
7171

72+
future<StatusOr<google::cloud::batch::v1::CancelJobResponse>>
73+
BatchServiceConnection::CancelJob(
74+
google::cloud::batch::v1::CancelJobRequest const&) {
75+
return google::cloud::make_ready_future<
76+
StatusOr<google::cloud::batch::v1::CancelJobResponse>>(
77+
Status(StatusCode::kUnimplemented, "not implemented"));
78+
}
79+
80+
StatusOr<google::longrunning::Operation> BatchServiceConnection::CancelJob(
81+
NoAwaitTag, google::cloud::batch::v1::CancelJobRequest const&) {
82+
return StatusOr<google::longrunning::Operation>(
83+
Status(StatusCode::kUnimplemented, "not implemented"));
84+
}
85+
86+
future<StatusOr<google::cloud::batch::v1::CancelJobResponse>>
87+
BatchServiceConnection::CancelJob(google::longrunning::Operation const&) {
88+
return google::cloud::make_ready_future<
89+
StatusOr<google::cloud::batch::v1::CancelJobResponse>>(
90+
Status(StatusCode::kUnimplemented, "not implemented"));
91+
}
92+
7293
StreamRange<google::cloud::batch::v1::Job> BatchServiceConnection::ListJobs(
7394
google::cloud::batch::v1::
7495
ListJobsRequest) { // NOLINT(performance-unnecessary-value-param)

google/cloud/batch/v1/batch_connection.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,15 @@ class BatchServiceConnection {
201201
virtual future<StatusOr<google::cloud::batch::v1::OperationMetadata>>
202202
DeleteJob(google::longrunning::Operation const& operation);
203203

204+
virtual future<StatusOr<google::cloud::batch::v1::CancelJobResponse>>
205+
CancelJob(google::cloud::batch::v1::CancelJobRequest const& request);
206+
207+
virtual StatusOr<google::longrunning::Operation> CancelJob(
208+
NoAwaitTag, google::cloud::batch::v1::CancelJobRequest const& request);
209+
210+
virtual future<StatusOr<google::cloud::batch::v1::CancelJobResponse>>
211+
CancelJob(google::longrunning::Operation const& operation);
212+
204213
virtual StreamRange<google::cloud::batch::v1::Job> ListJobs(
205214
google::cloud::batch::v1::ListJobsRequest request);
206215

google/cloud/batch/v1/batch_connection_idempotency_policy.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ Idempotency BatchServiceConnectionIdempotencyPolicy::DeleteJob(
4949
return Idempotency::kNonIdempotent;
5050
}
5151

52+
Idempotency BatchServiceConnectionIdempotencyPolicy::CancelJob(
53+
google::cloud::batch::v1::CancelJobRequest const&) {
54+
return Idempotency::kNonIdempotent;
55+
}
56+
5257
Idempotency BatchServiceConnectionIdempotencyPolicy::ListJobs(
5358
google::cloud::batch::v1::ListJobsRequest) { // NOLINT
5459
return Idempotency::kIdempotent;

google/cloud/batch/v1/batch_connection_idempotency_policy.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ class BatchServiceConnectionIdempotencyPolicy {
4848
virtual google::cloud::Idempotency DeleteJob(
4949
google::cloud::batch::v1::DeleteJobRequest const& request);
5050

51+
virtual google::cloud::Idempotency CancelJob(
52+
google::cloud::batch::v1::CancelJobRequest const& request);
53+
5154
virtual google::cloud::Idempotency ListJobs(
5255
google::cloud::batch::v1::ListJobsRequest request);
5356

0 commit comments

Comments
 (0)