google-cloud-translate-v3 1.0.0 → 1.1.0

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.
@@ -0,0 +1,487 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Translate
23
+ module V3
24
+ # Request message for ImportData.
25
+ # @!attribute [rw] dataset
26
+ # @return [::String]
27
+ # Required. Name of the dataset. In form of
28
+ # `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}`
29
+ # @!attribute [rw] input_config
30
+ # @return [::Google::Cloud::Translate::V3::DatasetInputConfig]
31
+ # Required. The config for the input content.
32
+ class ImportDataRequest
33
+ include ::Google::Protobuf::MessageExts
34
+ extend ::Google::Protobuf::MessageExts::ClassMethods
35
+ end
36
+
37
+ # Input configuration for datasets.
38
+ # @!attribute [rw] input_files
39
+ # @return [::Array<::Google::Cloud::Translate::V3::DatasetInputConfig::InputFile>]
40
+ # Files containing the sentence pairs to be imported to the dataset.
41
+ class DatasetInputConfig
42
+ include ::Google::Protobuf::MessageExts
43
+ extend ::Google::Protobuf::MessageExts::ClassMethods
44
+
45
+ # An input file.
46
+ # @!attribute [rw] usage
47
+ # @return [::String]
48
+ # Optional. Usage of the file contents. Options are TRAIN|VALIDATION|TEST,
49
+ # or UNASSIGNED (by default) for auto split.
50
+ # @!attribute [rw] gcs_source
51
+ # @return [::Google::Cloud::Translate::V3::GcsInputSource]
52
+ # Google Cloud Storage file source.
53
+ class InputFile
54
+ include ::Google::Protobuf::MessageExts
55
+ extend ::Google::Protobuf::MessageExts::ClassMethods
56
+ end
57
+ end
58
+
59
+ # Metadata of import data operation.
60
+ # @!attribute [rw] state
61
+ # @return [::Google::Cloud::Translate::V3::OperationState]
62
+ # The current state of the operation.
63
+ # @!attribute [rw] create_time
64
+ # @return [::Google::Protobuf::Timestamp]
65
+ # The creation time of the operation.
66
+ # @!attribute [rw] update_time
67
+ # @return [::Google::Protobuf::Timestamp]
68
+ # The last update time of the operation.
69
+ # @!attribute [rw] error
70
+ # @return [::Google::Rpc::Status]
71
+ # Only populated when operation doesn't succeed.
72
+ class ImportDataMetadata
73
+ include ::Google::Protobuf::MessageExts
74
+ extend ::Google::Protobuf::MessageExts::ClassMethods
75
+ end
76
+
77
+ # Request message for ExportData.
78
+ # @!attribute [rw] dataset
79
+ # @return [::String]
80
+ # Required. Name of the dataset. In form of
81
+ # `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}`
82
+ # @!attribute [rw] output_config
83
+ # @return [::Google::Cloud::Translate::V3::DatasetOutputConfig]
84
+ # Required. The config for the output content.
85
+ class ExportDataRequest
86
+ include ::Google::Protobuf::MessageExts
87
+ extend ::Google::Protobuf::MessageExts::ClassMethods
88
+ end
89
+
90
+ # Output configuration for datasets.
91
+ # @!attribute [rw] gcs_destination
92
+ # @return [::Google::Cloud::Translate::V3::GcsOutputDestination]
93
+ # Google Cloud Storage destination to write the output.
94
+ class DatasetOutputConfig
95
+ include ::Google::Protobuf::MessageExts
96
+ extend ::Google::Protobuf::MessageExts::ClassMethods
97
+ end
98
+
99
+ # Metadata of export data operation.
100
+ # @!attribute [rw] state
101
+ # @return [::Google::Cloud::Translate::V3::OperationState]
102
+ # The current state of the operation.
103
+ # @!attribute [rw] create_time
104
+ # @return [::Google::Protobuf::Timestamp]
105
+ # The creation time of the operation.
106
+ # @!attribute [rw] update_time
107
+ # @return [::Google::Protobuf::Timestamp]
108
+ # The last update time of the operation.
109
+ # @!attribute [rw] error
110
+ # @return [::Google::Rpc::Status]
111
+ # Only populated when operation doesn't succeed.
112
+ class ExportDataMetadata
113
+ include ::Google::Protobuf::MessageExts
114
+ extend ::Google::Protobuf::MessageExts::ClassMethods
115
+ end
116
+
117
+ # Request message for DeleteDataset.
118
+ # @!attribute [rw] name
119
+ # @return [::String]
120
+ # Required. The name of the dataset to delete.
121
+ class DeleteDatasetRequest
122
+ include ::Google::Protobuf::MessageExts
123
+ extend ::Google::Protobuf::MessageExts::ClassMethods
124
+ end
125
+
126
+ # Metadata of delete dataset operation.
127
+ # @!attribute [rw] state
128
+ # @return [::Google::Cloud::Translate::V3::OperationState]
129
+ # The current state of the operation.
130
+ # @!attribute [rw] create_time
131
+ # @return [::Google::Protobuf::Timestamp]
132
+ # The creation time of the operation.
133
+ # @!attribute [rw] update_time
134
+ # @return [::Google::Protobuf::Timestamp]
135
+ # The last update time of the operation.
136
+ # @!attribute [rw] error
137
+ # @return [::Google::Rpc::Status]
138
+ # Only populated when operation doesn't succeed.
139
+ class DeleteDatasetMetadata
140
+ include ::Google::Protobuf::MessageExts
141
+ extend ::Google::Protobuf::MessageExts::ClassMethods
142
+ end
143
+
144
+ # Request message for GetDataset.
145
+ # @!attribute [rw] name
146
+ # @return [::String]
147
+ # Required. The resource name of the dataset to retrieve.
148
+ class GetDatasetRequest
149
+ include ::Google::Protobuf::MessageExts
150
+ extend ::Google::Protobuf::MessageExts::ClassMethods
151
+ end
152
+
153
+ # Request message for ListDatasets.
154
+ # @!attribute [rw] parent
155
+ # @return [::String]
156
+ # Required. Name of the parent project. In form of
157
+ # `projects/{project-number-or-id}/locations/{location-id}`
158
+ # @!attribute [rw] page_size
159
+ # @return [::Integer]
160
+ # Optional. Requested page size. The server can return fewer results than
161
+ # requested.
162
+ # @!attribute [rw] page_token
163
+ # @return [::String]
164
+ # Optional. A token identifying a page of results for the server to return.
165
+ # Typically obtained from next_page_token field in the response of a
166
+ # ListDatasets call.
167
+ class ListDatasetsRequest
168
+ include ::Google::Protobuf::MessageExts
169
+ extend ::Google::Protobuf::MessageExts::ClassMethods
170
+ end
171
+
172
+ # Response message for ListDatasets.
173
+ # @!attribute [rw] datasets
174
+ # @return [::Array<::Google::Cloud::Translate::V3::Dataset>]
175
+ # The datasets read.
176
+ # @!attribute [rw] next_page_token
177
+ # @return [::String]
178
+ # A token to retrieve next page of results.
179
+ # Pass this token to the page_token field in the ListDatasetsRequest to
180
+ # obtain the corresponding page.
181
+ class ListDatasetsResponse
182
+ include ::Google::Protobuf::MessageExts
183
+ extend ::Google::Protobuf::MessageExts::ClassMethods
184
+ end
185
+
186
+ # Request message for CreateDataset.
187
+ # @!attribute [rw] parent
188
+ # @return [::String]
189
+ # Required. The project name.
190
+ # @!attribute [rw] dataset
191
+ # @return [::Google::Cloud::Translate::V3::Dataset]
192
+ # Required. The Dataset to create.
193
+ class CreateDatasetRequest
194
+ include ::Google::Protobuf::MessageExts
195
+ extend ::Google::Protobuf::MessageExts::ClassMethods
196
+ end
197
+
198
+ # Metadata of create dataset operation.
199
+ # @!attribute [rw] state
200
+ # @return [::Google::Cloud::Translate::V3::OperationState]
201
+ # The current state of the operation.
202
+ # @!attribute [rw] create_time
203
+ # @return [::Google::Protobuf::Timestamp]
204
+ # The creation time of the operation.
205
+ # @!attribute [rw] update_time
206
+ # @return [::Google::Protobuf::Timestamp]
207
+ # The last update time of the operation.
208
+ # @!attribute [rw] error
209
+ # @return [::Google::Rpc::Status]
210
+ # Only populated when operation doesn't succeed.
211
+ class CreateDatasetMetadata
212
+ include ::Google::Protobuf::MessageExts
213
+ extend ::Google::Protobuf::MessageExts::ClassMethods
214
+ end
215
+
216
+ # Request message for ListExamples.
217
+ # @!attribute [rw] parent
218
+ # @return [::String]
219
+ # Required. Name of the parent dataset. In form of
220
+ # `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}`
221
+ # @!attribute [rw] filter
222
+ # @return [::String]
223
+ # Optional. An expression for filtering the examples that will be returned.
224
+ # Example filter:
225
+ # * `usage=TRAIN`
226
+ # @!attribute [rw] page_size
227
+ # @return [::Integer]
228
+ # Optional. Requested page size. The server can return fewer results than
229
+ # requested.
230
+ # @!attribute [rw] page_token
231
+ # @return [::String]
232
+ # Optional. A token identifying a page of results for the server to return.
233
+ # Typically obtained from next_page_token field in the response of a
234
+ # ListExamples call.
235
+ class ListExamplesRequest
236
+ include ::Google::Protobuf::MessageExts
237
+ extend ::Google::Protobuf::MessageExts::ClassMethods
238
+ end
239
+
240
+ # Response message for ListExamples.
241
+ # @!attribute [rw] examples
242
+ # @return [::Array<::Google::Cloud::Translate::V3::Example>]
243
+ # The sentence pairs.
244
+ # @!attribute [rw] next_page_token
245
+ # @return [::String]
246
+ # A token to retrieve next page of results.
247
+ # Pass this token to the page_token field in the ListExamplesRequest to
248
+ # obtain the corresponding page.
249
+ class ListExamplesResponse
250
+ include ::Google::Protobuf::MessageExts
251
+ extend ::Google::Protobuf::MessageExts::ClassMethods
252
+ end
253
+
254
+ # A sentence pair.
255
+ # @!attribute [r] name
256
+ # @return [::String]
257
+ # Output only. The resource name of the example, in form of
258
+ # `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}/examples/{example_id}`
259
+ # @!attribute [rw] source_text
260
+ # @return [::String]
261
+ # Sentence in source language.
262
+ # @!attribute [rw] target_text
263
+ # @return [::String]
264
+ # Sentence in target language.
265
+ # @!attribute [r] usage
266
+ # @return [::String]
267
+ # Output only. Usage of the sentence pair. Options are TRAIN|VALIDATION|TEST.
268
+ class Example
269
+ include ::Google::Protobuf::MessageExts
270
+ extend ::Google::Protobuf::MessageExts::ClassMethods
271
+ end
272
+
273
+ # Response message for BatchTransferResources.
274
+ # @!attribute [rw] responses
275
+ # @return [::Array<::Google::Cloud::Translate::V3::BatchTransferResourcesResponse::TransferResourceResponse>]
276
+ # Responses of the transfer for individual resources.
277
+ class BatchTransferResourcesResponse
278
+ include ::Google::Protobuf::MessageExts
279
+ extend ::Google::Protobuf::MessageExts::ClassMethods
280
+
281
+ # Transfer response for a single resource.
282
+ # @!attribute [rw] source
283
+ # @return [::String]
284
+ # Full name of the resource to transfer as specified in the request.
285
+ # @!attribute [rw] target
286
+ # @return [::String]
287
+ # Full name of the new resource successfully transferred from the source
288
+ # hosted by Translation API. Target will be empty if the transfer failed.
289
+ # @!attribute [rw] error
290
+ # @return [::Google::Rpc::Status]
291
+ # The error result in case of failure.
292
+ class TransferResourceResponse
293
+ include ::Google::Protobuf::MessageExts
294
+ extend ::Google::Protobuf::MessageExts::ClassMethods
295
+ end
296
+ end
297
+
298
+ # A dataset that hosts the examples (sentence pairs) used for translation
299
+ # models.
300
+ # @!attribute [rw] name
301
+ # @return [::String]
302
+ # The resource name of the dataset, in form of
303
+ # `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}`
304
+ # @!attribute [rw] display_name
305
+ # @return [::String]
306
+ # The name of the dataset to show in the interface. The name can be
307
+ # up to 32 characters long and can consist only of ASCII Latin letters A-Z
308
+ # and a-z, underscores (_), and ASCII digits 0-9.
309
+ # @!attribute [rw] source_language_code
310
+ # @return [::String]
311
+ # The BCP-47 language code of the source language.
312
+ # @!attribute [rw] target_language_code
313
+ # @return [::String]
314
+ # The BCP-47 language code of the target language.
315
+ # @!attribute [r] example_count
316
+ # @return [::Integer]
317
+ # Output only. The number of examples in the dataset.
318
+ # @!attribute [r] train_example_count
319
+ # @return [::Integer]
320
+ # Output only. Number of training examples (sentence pairs).
321
+ # @!attribute [r] validate_example_count
322
+ # @return [::Integer]
323
+ # Output only. Number of validation examples (sentence pairs).
324
+ # @!attribute [r] test_example_count
325
+ # @return [::Integer]
326
+ # Output only. Number of test examples (sentence pairs).
327
+ # @!attribute [r] create_time
328
+ # @return [::Google::Protobuf::Timestamp]
329
+ # Output only. Timestamp when this dataset was created.
330
+ # @!attribute [r] update_time
331
+ # @return [::Google::Protobuf::Timestamp]
332
+ # Output only. Timestamp when this dataset was last updated.
333
+ class Dataset
334
+ include ::Google::Protobuf::MessageExts
335
+ extend ::Google::Protobuf::MessageExts::ClassMethods
336
+ end
337
+
338
+ # Request message for CreateModel.
339
+ # @!attribute [rw] parent
340
+ # @return [::String]
341
+ # Required. The project name, in form of
342
+ # `projects/{project}/locations/{location}`
343
+ # @!attribute [rw] model
344
+ # @return [::Google::Cloud::Translate::V3::Model]
345
+ # Required. The Model to create.
346
+ class CreateModelRequest
347
+ include ::Google::Protobuf::MessageExts
348
+ extend ::Google::Protobuf::MessageExts::ClassMethods
349
+ end
350
+
351
+ # Metadata of create model operation.
352
+ # @!attribute [rw] state
353
+ # @return [::Google::Cloud::Translate::V3::OperationState]
354
+ # The current state of the operation.
355
+ # @!attribute [rw] create_time
356
+ # @return [::Google::Protobuf::Timestamp]
357
+ # The creation time of the operation.
358
+ # @!attribute [rw] update_time
359
+ # @return [::Google::Protobuf::Timestamp]
360
+ # The last update time of the operation.
361
+ # @!attribute [rw] error
362
+ # @return [::Google::Rpc::Status]
363
+ # Only populated when operation doesn't succeed.
364
+ class CreateModelMetadata
365
+ include ::Google::Protobuf::MessageExts
366
+ extend ::Google::Protobuf::MessageExts::ClassMethods
367
+ end
368
+
369
+ # Request message for ListModels.
370
+ # @!attribute [rw] parent
371
+ # @return [::String]
372
+ # Required. Name of the parent project. In form of
373
+ # `projects/{project-number-or-id}/locations/{location-id}`
374
+ # @!attribute [rw] filter
375
+ # @return [::String]
376
+ # Optional. An expression for filtering the models that will be returned.
377
+ # Supported filter:
378
+ # `dataset_id=${dataset_id}`
379
+ # @!attribute [rw] page_size
380
+ # @return [::Integer]
381
+ # Optional. Requested page size. The server can return fewer results than
382
+ # requested.
383
+ # @!attribute [rw] page_token
384
+ # @return [::String]
385
+ # Optional. A token identifying a page of results for the server to return.
386
+ # Typically obtained from next_page_token field in the response of a
387
+ # ListModels call.
388
+ class ListModelsRequest
389
+ include ::Google::Protobuf::MessageExts
390
+ extend ::Google::Protobuf::MessageExts::ClassMethods
391
+ end
392
+
393
+ # Response message for ListModels.
394
+ # @!attribute [rw] models
395
+ # @return [::Array<::Google::Cloud::Translate::V3::Model>]
396
+ # The models read.
397
+ # @!attribute [rw] next_page_token
398
+ # @return [::String]
399
+ # A token to retrieve next page of results.
400
+ # Pass this token to the page_token field in the ListModelsRequest to
401
+ # obtain the corresponding page.
402
+ class ListModelsResponse
403
+ include ::Google::Protobuf::MessageExts
404
+ extend ::Google::Protobuf::MessageExts::ClassMethods
405
+ end
406
+
407
+ # Request message for GetModel.
408
+ # @!attribute [rw] name
409
+ # @return [::String]
410
+ # Required. The resource name of the model to retrieve.
411
+ class GetModelRequest
412
+ include ::Google::Protobuf::MessageExts
413
+ extend ::Google::Protobuf::MessageExts::ClassMethods
414
+ end
415
+
416
+ # Request message for DeleteModel.
417
+ # @!attribute [rw] name
418
+ # @return [::String]
419
+ # Required. The name of the model to delete.
420
+ class DeleteModelRequest
421
+ include ::Google::Protobuf::MessageExts
422
+ extend ::Google::Protobuf::MessageExts::ClassMethods
423
+ end
424
+
425
+ # Metadata of delete model operation.
426
+ # @!attribute [rw] state
427
+ # @return [::Google::Cloud::Translate::V3::OperationState]
428
+ # The current state of the operation.
429
+ # @!attribute [rw] create_time
430
+ # @return [::Google::Protobuf::Timestamp]
431
+ # The creation time of the operation.
432
+ # @!attribute [rw] update_time
433
+ # @return [::Google::Protobuf::Timestamp]
434
+ # The last update time of the operation.
435
+ # @!attribute [rw] error
436
+ # @return [::Google::Rpc::Status]
437
+ # Only populated when operation doesn't succeed.
438
+ class DeleteModelMetadata
439
+ include ::Google::Protobuf::MessageExts
440
+ extend ::Google::Protobuf::MessageExts::ClassMethods
441
+ end
442
+
443
+ # A trained translation model.
444
+ # @!attribute [rw] name
445
+ # @return [::String]
446
+ # The resource name of the model, in form of
447
+ # `projects/{project-number-or-id}/locations/{location_id}/models/{model_id}`
448
+ # @!attribute [rw] display_name
449
+ # @return [::String]
450
+ # The name of the model to show in the interface. The name can be
451
+ # up to 32 characters long and can consist only of ASCII Latin letters A-Z
452
+ # and a-z, underscores (_), and ASCII digits 0-9.
453
+ # @!attribute [rw] dataset
454
+ # @return [::String]
455
+ # The dataset from which the model is trained, in form of
456
+ # `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}`
457
+ # @!attribute [r] source_language_code
458
+ # @return [::String]
459
+ # Output only. The BCP-47 language code of the source language.
460
+ # @!attribute [r] target_language_code
461
+ # @return [::String]
462
+ # Output only. The BCP-47 language code of the target language.
463
+ # @!attribute [r] train_example_count
464
+ # @return [::Integer]
465
+ # Output only. Number of examples (sentence pairs) used to train the model.
466
+ # @!attribute [r] validate_example_count
467
+ # @return [::Integer]
468
+ # Output only. Number of examples (sentence pairs) used to validate the
469
+ # model.
470
+ # @!attribute [r] test_example_count
471
+ # @return [::Integer]
472
+ # Output only. Number of examples (sentence pairs) used to test the model.
473
+ # @!attribute [r] create_time
474
+ # @return [::Google::Protobuf::Timestamp]
475
+ # Output only. Timestamp when the model resource was created, which is also
476
+ # when the training started.
477
+ # @!attribute [r] update_time
478
+ # @return [::Google::Protobuf::Timestamp]
479
+ # Output only. Timestamp when this model was last updated.
480
+ class Model
481
+ include ::Google::Protobuf::MessageExts
482
+ extend ::Google::Protobuf::MessageExts::ClassMethods
483
+ end
484
+ end
485
+ end
486
+ end
487
+ end
@@ -55,6 +55,84 @@ module Google
55
55
  include ::Google::Protobuf::MessageExts
56
56
  extend ::Google::Protobuf::MessageExts::ClassMethods
57
57
  end
58
+
59
+ # Represents a single entry in a glossary.
60
+ # @!attribute [rw] name
61
+ # @return [::String]
62
+ # Identifier. The resource name of the entry.
63
+ # Format:
64
+ # `projects/*/locations/*/glossaries/*/glossaryEntries/*`
65
+ # @!attribute [rw] terms_pair
66
+ # @return [::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsPair]
67
+ # Used for an unidirectional glossary.
68
+ # @!attribute [rw] terms_set
69
+ # @return [::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsSet]
70
+ # Used for an equivalent term sets glossary.
71
+ # @!attribute [rw] description
72
+ # @return [::String]
73
+ # Describes the glossary entry.
74
+ class GlossaryEntry
75
+ include ::Google::Protobuf::MessageExts
76
+ extend ::Google::Protobuf::MessageExts::ClassMethods
77
+
78
+ # Represents a single entry for an unidirectional glossary.
79
+ # @!attribute [rw] source_term
80
+ # @return [::Google::Cloud::Translate::V3::GlossaryTerm]
81
+ # The source term is the term that will get match in the text,
82
+ # @!attribute [rw] target_term
83
+ # @return [::Google::Cloud::Translate::V3::GlossaryTerm]
84
+ # The term that will replace the match source term.
85
+ class GlossaryTermsPair
86
+ include ::Google::Protobuf::MessageExts
87
+ extend ::Google::Protobuf::MessageExts::ClassMethods
88
+ end
89
+
90
+ # Represents a single entry for an equivalent term set glossary. This is used
91
+ # for equivalent term sets where each term can be replaced by the other terms
92
+ # in the set.
93
+ # @!attribute [rw] terms
94
+ # @return [::Array<::Google::Cloud::Translate::V3::GlossaryTerm>]
95
+ # Each term in the set represents a term that can be replaced by the other
96
+ # terms.
97
+ class GlossaryTermsSet
98
+ include ::Google::Protobuf::MessageExts
99
+ extend ::Google::Protobuf::MessageExts::ClassMethods
100
+ end
101
+ end
102
+
103
+ # Represents a single glossary term
104
+ # @!attribute [rw] language_code
105
+ # @return [::String]
106
+ # The language for this glossary term.
107
+ # @!attribute [rw] text
108
+ # @return [::String]
109
+ # The text for the glossary term.
110
+ class GlossaryTerm
111
+ include ::Google::Protobuf::MessageExts
112
+ extend ::Google::Protobuf::MessageExts::ClassMethods
113
+ end
114
+
115
+ # Possible states of long running operations.
116
+ module OperationState
117
+ # Invalid.
118
+ OPERATION_STATE_UNSPECIFIED = 0
119
+
120
+ # Request is being processed.
121
+ OPERATION_STATE_RUNNING = 1
122
+
123
+ # The operation was successful.
124
+ OPERATION_STATE_SUCCEEDED = 2
125
+
126
+ # Failed to process operation.
127
+ OPERATION_STATE_FAILED = 3
128
+
129
+ # Request is in the process of being canceled after caller invoked
130
+ # longrunning.Operations.CancelOperation on the request id.
131
+ OPERATION_STATE_CANCELLING = 4
132
+
133
+ # The operation request was successfully canceled.
134
+ OPERATION_STATE_CANCELLED = 5
135
+ end
58
136
  end
59
137
  end
60
138
  end