google-cloud-license_manager-v1 0.a → 0.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.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +154 -8
  5. data/lib/google/cloud/license_manager/v1/bindings_override.rb +75 -0
  6. data/lib/google/cloud/license_manager/v1/license_manager/client.rb +1831 -0
  7. data/lib/google/cloud/license_manager/v1/license_manager/credentials.rb +47 -0
  8. data/lib/google/cloud/license_manager/v1/license_manager/operations.rb +813 -0
  9. data/lib/google/cloud/license_manager/v1/license_manager/paths.rb +107 -0
  10. data/lib/google/cloud/license_manager/v1/license_manager/rest/client.rb +1722 -0
  11. data/lib/google/cloud/license_manager/v1/license_manager/rest/operations.rb +914 -0
  12. data/lib/google/cloud/license_manager/v1/license_manager/rest/service_stub.rb +878 -0
  13. data/lib/google/cloud/license_manager/v1/license_manager/rest.rb +54 -0
  14. data/lib/google/cloud/license_manager/v1/license_manager.rb +56 -0
  15. data/lib/google/cloud/license_manager/v1/rest.rb +38 -0
  16. data/lib/google/cloud/license_manager/v1/version.rb +7 -2
  17. data/lib/google/cloud/license_manager/v1.rb +45 -0
  18. data/lib/google/cloud/licensemanager/v1/api_entities_pb.rb +58 -0
  19. data/lib/google/cloud/licensemanager/v1/licensemanager_pb.rb +74 -0
  20. data/lib/google/cloud/licensemanager/v1/licensemanager_services_pb.rb +69 -0
  21. data/lib/google-cloud-license_manager-v1.rb +21 -0
  22. data/proto_docs/README.md +4 -0
  23. data/proto_docs/google/api/client.rb +473 -0
  24. data/proto_docs/google/api/field_behavior.rb +85 -0
  25. data/proto_docs/google/api/field_info.rb +88 -0
  26. data/proto_docs/google/api/launch_stage.rb +71 -0
  27. data/proto_docs/google/api/resource.rb +227 -0
  28. data/proto_docs/google/cloud/licensemanager/v1/api_entities.rb +297 -0
  29. data/proto_docs/google/cloud/licensemanager/v1/licensemanager.rb +400 -0
  30. data/proto_docs/google/longrunning/operations.rb +173 -0
  31. data/proto_docs/google/protobuf/any.rb +145 -0
  32. data/proto_docs/google/protobuf/duration.rb +98 -0
  33. data/proto_docs/google/protobuf/empty.rb +34 -0
  34. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  35. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  36. data/proto_docs/google/rpc/status.rb +48 -0
  37. metadata +84 -9
@@ -0,0 +1,400 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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 LicenseManager
23
+ module V1
24
+ # Message for requesting list of Configurations
25
+ # @!attribute [rw] parent
26
+ # @return [::String]
27
+ # Required. Parent value for ListConfigurationsRequest
28
+ # @!attribute [rw] page_size
29
+ # @return [::Integer]
30
+ # Optional. Requested page size. Server may return fewer items than
31
+ # requested. If unspecified, server will pick an appropriate default.
32
+ # @!attribute [rw] page_token
33
+ # @return [::String]
34
+ # Optional. A token identifying a page of results the server should return.
35
+ # @!attribute [rw] filter
36
+ # @return [::String]
37
+ # Optional. Filtering results
38
+ # @!attribute [rw] order_by
39
+ # @return [::String]
40
+ # Optional. Hint for how to order the results
41
+ class ListConfigurationsRequest
42
+ include ::Google::Protobuf::MessageExts
43
+ extend ::Google::Protobuf::MessageExts::ClassMethods
44
+ end
45
+
46
+ # Message for response to listing Configurations
47
+ # @!attribute [rw] configurations
48
+ # @return [::Array<::Google::Cloud::LicenseManager::V1::Configuration>]
49
+ # The list of Configuration
50
+ # @!attribute [rw] next_page_token
51
+ # @return [::String]
52
+ # A token identifying a page of results the server should return.
53
+ # @!attribute [rw] unreachable
54
+ # @return [::Array<::String>]
55
+ # Locations that could not be reached.
56
+ class ListConfigurationsResponse
57
+ include ::Google::Protobuf::MessageExts
58
+ extend ::Google::Protobuf::MessageExts::ClassMethods
59
+ end
60
+
61
+ # Message for getting a Configuration
62
+ # @!attribute [rw] name
63
+ # @return [::String]
64
+ # Required. Name of the resource
65
+ class GetConfigurationRequest
66
+ include ::Google::Protobuf::MessageExts
67
+ extend ::Google::Protobuf::MessageExts::ClassMethods
68
+ end
69
+
70
+ # Message for creating a Configuration
71
+ # @!attribute [rw] parent
72
+ # @return [::String]
73
+ # Required. Value for parent.
74
+ # @!attribute [rw] configuration_id
75
+ # @return [::String]
76
+ # Required. Id of the requesting object
77
+ # @!attribute [rw] configuration
78
+ # @return [::Google::Cloud::LicenseManager::V1::Configuration]
79
+ # Required. The resource being created
80
+ # @!attribute [rw] request_id
81
+ # @return [::String]
82
+ # Optional. An optional request ID to identify requests. Specify a unique
83
+ # request ID so that if you must retry your request, the server will know to
84
+ # ignore the request if it has already been completed. The server will
85
+ # guarantee that for at least 60 minutes since the first request.
86
+ #
87
+ # For example, consider a situation where you make an initial request and the
88
+ # request times out. If you make the request again with the same request
89
+ # ID, the server can check if original operation with the same request ID
90
+ # was received, and if so, will ignore the second request. This prevents
91
+ # clients from accidentally creating duplicate commitments.
92
+ #
93
+ # The request ID must be a valid UUID with the exception that zero UUID is
94
+ # not supported (00000000-0000-0000-0000-000000000000).
95
+ class CreateConfigurationRequest
96
+ include ::Google::Protobuf::MessageExts
97
+ extend ::Google::Protobuf::MessageExts::ClassMethods
98
+ end
99
+
100
+ # Message for updating a Configuration
101
+ # @!attribute [rw] update_mask
102
+ # @return [::Google::Protobuf::FieldMask]
103
+ # Optional. Field mask is used to specify the fields to be overwritten in the
104
+ # Configuration resource by the update.
105
+ # The fields specified in the update_mask are relative to the resource, not
106
+ # the full request. A field will be overwritten if it is in the mask. If the
107
+ # user does not provide a mask then all fields will be overwritten.
108
+ # @!attribute [rw] configuration
109
+ # @return [::Google::Cloud::LicenseManager::V1::Configuration]
110
+ # Required. The resource being updated
111
+ # @!attribute [rw] request_id
112
+ # @return [::String]
113
+ # Optional. An optional request ID to identify requests. Specify a unique
114
+ # request ID so that if you must retry your request, the server will know to
115
+ # ignore the request if it has already been completed. The server will
116
+ # guarantee that for at least 60 minutes since the first request.
117
+ #
118
+ # For example, consider a situation where you make an initial request and the
119
+ # request times out. If you make the request again with the same request
120
+ # ID, the server can check if original operation with the same request ID
121
+ # was received, and if so, will ignore the second request. This prevents
122
+ # clients from accidentally creating duplicate commitments.
123
+ #
124
+ # The request ID must be a valid UUID with the exception that zero UUID is
125
+ # not supported (00000000-0000-0000-0000-000000000000).
126
+ class UpdateConfigurationRequest
127
+ include ::Google::Protobuf::MessageExts
128
+ extend ::Google::Protobuf::MessageExts::ClassMethods
129
+ end
130
+
131
+ # Message for deleting a Configuration
132
+ # @!attribute [rw] name
133
+ # @return [::String]
134
+ # Required. Name of the resource
135
+ # @!attribute [rw] request_id
136
+ # @return [::String]
137
+ # Optional. An optional request ID to identify requests. Specify a unique
138
+ # request ID so that if you must retry your request, the server will know to
139
+ # ignore the request if it has already been completed. The server will
140
+ # guarantee that for at least 60 minutes after the first request.
141
+ #
142
+ # For example, consider a situation where you make an initial request and the
143
+ # request times out. If you make the request again with the same request
144
+ # ID, the server can check if original operation with the same request ID
145
+ # was received, and if so, will ignore the second request. This prevents
146
+ # clients from accidentally creating duplicate commitments.
147
+ #
148
+ # The request ID must be a valid UUID with the exception that zero UUID is
149
+ # not supported (00000000-0000-0000-0000-000000000000).
150
+ class DeleteConfigurationRequest
151
+ include ::Google::Protobuf::MessageExts
152
+ extend ::Google::Protobuf::MessageExts::ClassMethods
153
+ end
154
+
155
+ # Message for requesting list of Instances
156
+ # @!attribute [rw] parent
157
+ # @return [::String]
158
+ # Required. Parent value for ListInstancesRequest
159
+ # @!attribute [rw] page_size
160
+ # @return [::Integer]
161
+ # Optional. Requested page size. Server may return fewer items than
162
+ # requested. If unspecified, server will pick an appropriate default.
163
+ # @!attribute [rw] page_token
164
+ # @return [::String]
165
+ # Optional. A token identifying a page of results the server should return.
166
+ # @!attribute [rw] filter
167
+ # @return [::String]
168
+ # Optional. Filtering results
169
+ # @!attribute [rw] order_by
170
+ # @return [::String]
171
+ # Optional. Hint for how to order the results
172
+ class ListInstancesRequest
173
+ include ::Google::Protobuf::MessageExts
174
+ extend ::Google::Protobuf::MessageExts::ClassMethods
175
+ end
176
+
177
+ # Message for response to listing Instances
178
+ # @!attribute [rw] instances
179
+ # @return [::Array<::Google::Cloud::LicenseManager::V1::Instance>]
180
+ # The list of Instance
181
+ # @!attribute [rw] next_page_token
182
+ # @return [::String]
183
+ # A token identifying a page of results the server should return.
184
+ # @!attribute [rw] unreachable
185
+ # @return [::Array<::String>]
186
+ # Locations that could not be reached.
187
+ class ListInstancesResponse
188
+ include ::Google::Protobuf::MessageExts
189
+ extend ::Google::Protobuf::MessageExts::ClassMethods
190
+ end
191
+
192
+ # Message for getting a Instance
193
+ # @!attribute [rw] name
194
+ # @return [::String]
195
+ # Required. Name of the resource
196
+ class GetInstanceRequest
197
+ include ::Google::Protobuf::MessageExts
198
+ extend ::Google::Protobuf::MessageExts::ClassMethods
199
+ end
200
+
201
+ # Message for requesting license usage per configuration.
202
+ # @!attribute [rw] name
203
+ # @return [::String]
204
+ # Required. The resource path of the Configuration.
205
+ # @!attribute [rw] start_time
206
+ # @return [::Google::Protobuf::Timestamp]
207
+ # Required. The start time for retrieving the usage. If not specified, we
208
+ # will use the first day of the current billing period.
209
+ # @!attribute [rw] end_time
210
+ # @return [::Google::Protobuf::Timestamp]
211
+ # Required. The end time for retrieving the usage. If not specified, we will
212
+ # use the last day of the current billing period.
213
+ class QueryConfigurationLicenseUsageRequest
214
+ include ::Google::Protobuf::MessageExts
215
+ extend ::Google::Protobuf::MessageExts::ClassMethods
216
+ end
217
+
218
+ # Message for response to get the license usage per configuration.
219
+ # @!attribute [rw] user_count_usage
220
+ # @return [::Google::Cloud::LicenseManager::V1::UserCountUsage]
221
+ # Usage information for license types which use user-count billing.
222
+ class QueryConfigurationLicenseUsageResponse
223
+ include ::Google::Protobuf::MessageExts
224
+ extend ::Google::Protobuf::MessageExts::ClassMethods
225
+ end
226
+
227
+ # Message for deactivating a Configuration.
228
+ # @!attribute [rw] name
229
+ # @return [::String]
230
+ # Required. Name of the resource.
231
+ # @!attribute [rw] request_id
232
+ # @return [::String]
233
+ # Optional. An optional request ID to identify requests. Specify a unique
234
+ # request ID so that if you must retry your request, the server will know to
235
+ # ignore the request if it has already been completed. The server will
236
+ # guarantee that for at least 60 minutes after the first request.
237
+ #
238
+ # For example, consider a situation where you make an initial request and
239
+ # the request times out. If you make the request again with the same request
240
+ # ID, the server can check if original operation with the same request ID
241
+ # was received, and if so, will ignore the second request. This prevents
242
+ # clients from accidentally creating duplicate commitments.
243
+ #
244
+ # The request ID must be a valid UUID with the exception that zero UUID is
245
+ # not supported (00000000-0000-0000-0000-000000000000).
246
+ class DeactivateConfigurationRequest
247
+ include ::Google::Protobuf::MessageExts
248
+ extend ::Google::Protobuf::MessageExts::ClassMethods
249
+ end
250
+
251
+ # Message for resuming a Configuration.
252
+ # @!attribute [rw] name
253
+ # @return [::String]
254
+ # Required. Name of the resource.
255
+ # @!attribute [rw] request_id
256
+ # @return [::String]
257
+ # Optional. An optional request ID to identify requests. Specify a unique
258
+ # request ID so that if you must retry your request, the server will know to
259
+ # ignore the request if it has already been completed. The server will
260
+ # guarantee that for at least 60 minutes after the first request.
261
+ #
262
+ # For example, consider a situation where you make an initial request and
263
+ # the request times out. If you make the request again with the same request
264
+ # ID, the server can check if original operation with the same request ID
265
+ # was received, and if so, will ignore the second request. This prevents
266
+ # clients from accidentally creating duplicate commitments.
267
+ #
268
+ # The request ID must be a valid UUID with the exception that zero UUID is
269
+ # not supported (00000000-0000-0000-0000-000000000000).
270
+ class ReactivateConfigurationRequest
271
+ include ::Google::Protobuf::MessageExts
272
+ extend ::Google::Protobuf::MessageExts::ClassMethods
273
+ end
274
+
275
+ # Message for requesting aggregate of Usage per configuration.
276
+ # @!attribute [rw] name
277
+ # @return [::String]
278
+ # Required. Parent value for AggregateUsageRequest
279
+ # @!attribute [rw] page_size
280
+ # @return [::Integer]
281
+ # Optional. Requested page size. Server may return fewer items than
282
+ # requested. If unspecified, server will pick an appropriate default.
283
+ # @!attribute [rw] page_token
284
+ # @return [::String]
285
+ # Optional. A token identifying a page of results the server should return.
286
+ # @!attribute [rw] filter
287
+ # @return [::String]
288
+ # Optional. Filtering results
289
+ # @!attribute [rw] order_by
290
+ # @return [::String]
291
+ # Optional. Hint for how to order the results
292
+ # @!attribute [rw] start_time
293
+ # @return [::Google::Protobuf::Timestamp]
294
+ # Required. Licenses are purchased per month - so usage track needs start
295
+ # time of a month.
296
+ # @!attribute [rw] end_time
297
+ # @return [::Google::Protobuf::Timestamp]
298
+ # Required. Usage track is always for a month. This parameter is for the end
299
+ # time of the month.
300
+ class AggregateUsageRequest
301
+ include ::Google::Protobuf::MessageExts
302
+ extend ::Google::Protobuf::MessageExts::ClassMethods
303
+ end
304
+
305
+ # Message for response for aggregating usage count
306
+ # @!attribute [rw] usages
307
+ # @return [::Array<::Google::Cloud::LicenseManager::V1::Usage>]
308
+ # The aggregated records of usage per configuration
309
+ # @!attribute [rw] next_page_token
310
+ # @return [::String]
311
+ # A token identifying a page of results the server should return.
312
+ # @!attribute [rw] unreachable
313
+ # @return [::Array<::String>]
314
+ # Locations that could not be reached.
315
+ class AggregateUsageResponse
316
+ include ::Google::Protobuf::MessageExts
317
+ extend ::Google::Protobuf::MessageExts::ClassMethods
318
+ end
319
+
320
+ # Message for requesting list of Products
321
+ # @!attribute [rw] parent
322
+ # @return [::String]
323
+ # Required. Parent value for ListProductsRequest
324
+ # @!attribute [rw] page_size
325
+ # @return [::Integer]
326
+ # Optional. Requested page size. Server may return fewer items than
327
+ # requested. If unspecified, server will pick an appropriate default.
328
+ # @!attribute [rw] page_token
329
+ # @return [::String]
330
+ # Optional. A token identifying a page of results the server should return.
331
+ # @!attribute [rw] filter
332
+ # @return [::String]
333
+ # Optional. Filtering results
334
+ # @!attribute [rw] order_by
335
+ # @return [::String]
336
+ # Optional. Hint for how to order the results
337
+ class ListProductsRequest
338
+ include ::Google::Protobuf::MessageExts
339
+ extend ::Google::Protobuf::MessageExts::ClassMethods
340
+ end
341
+
342
+ # Message for response to listing Products
343
+ # @!attribute [rw] products
344
+ # @return [::Array<::Google::Cloud::LicenseManager::V1::Product>]
345
+ # The list of Product
346
+ # @!attribute [rw] next_page_token
347
+ # @return [::String]
348
+ # A token identifying a page of results the server should return.
349
+ # @!attribute [rw] unreachable
350
+ # @return [::Array<::String>]
351
+ # Locations that could not be reached.
352
+ class ListProductsResponse
353
+ include ::Google::Protobuf::MessageExts
354
+ extend ::Google::Protobuf::MessageExts::ClassMethods
355
+ end
356
+
357
+ # Message for getting a Product
358
+ # @!attribute [rw] name
359
+ # @return [::String]
360
+ # Required. Name of the resource
361
+ class GetProductRequest
362
+ include ::Google::Protobuf::MessageExts
363
+ extend ::Google::Protobuf::MessageExts::ClassMethods
364
+ end
365
+
366
+ # Represents the metadata of the long-running operation.
367
+ # @!attribute [r] create_time
368
+ # @return [::Google::Protobuf::Timestamp]
369
+ # Output only. The time the operation was created.
370
+ # @!attribute [r] end_time
371
+ # @return [::Google::Protobuf::Timestamp]
372
+ # Output only. The time the operation finished running.
373
+ # @!attribute [r] target
374
+ # @return [::String]
375
+ # Output only. Server-defined resource path for the target of the operation.
376
+ # @!attribute [r] verb
377
+ # @return [::String]
378
+ # Output only. Name of the verb executed by the operation.
379
+ # @!attribute [r] status_message
380
+ # @return [::String]
381
+ # Output only. Human-readable status of the operation, if any.
382
+ # @!attribute [r] requested_cancellation
383
+ # @return [::Boolean]
384
+ # Output only. Identifies whether the user has requested cancellation
385
+ # of the operation. Operations that have been cancelled successfully
386
+ # have
387
+ # {::Google::Longrunning::Operation#error google.longrunning.Operation.error}
388
+ # value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
389
+ # corresponding to `Code.CANCELLED`.
390
+ # @!attribute [r] api_version
391
+ # @return [::String]
392
+ # Output only. API version used to start the operation.
393
+ class OperationMetadata
394
+ include ::Google::Protobuf::MessageExts
395
+ extend ::Google::Protobuf::MessageExts::ClassMethods
396
+ end
397
+ end
398
+ end
399
+ end
400
+ end
@@ -0,0 +1,173 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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 Longrunning
22
+ # This resource represents a long-running operation that is the result of a
23
+ # network API call.
24
+ # @!attribute [rw] name
25
+ # @return [::String]
26
+ # The server-assigned name, which is only unique within the same service that
27
+ # originally returns it. If you use the default HTTP mapping, the
28
+ # `name` should be a resource name ending with `operations/{unique_id}`.
29
+ # @!attribute [rw] metadata
30
+ # @return [::Google::Protobuf::Any]
31
+ # Service-specific metadata associated with the operation. It typically
32
+ # contains progress information and common metadata such as create time.
33
+ # Some services might not provide such metadata. Any method that returns a
34
+ # long-running operation should document the metadata type, if any.
35
+ # @!attribute [rw] done
36
+ # @return [::Boolean]
37
+ # If the value is `false`, it means the operation is still in progress.
38
+ # If `true`, the operation is completed, and either `error` or `response` is
39
+ # available.
40
+ # @!attribute [rw] error
41
+ # @return [::Google::Rpc::Status]
42
+ # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
45
+ # @!attribute [rw] response
46
+ # @return [::Google::Protobuf::Any]
47
+ # The normal, successful response of the operation. If the original
48
+ # method returns no data on success, such as `Delete`, the response is
49
+ # `google.protobuf.Empty`. If the original method is standard
50
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
51
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
52
+ # is the original method name. For example, if the original method name
53
+ # is `TakeSnapshot()`, the inferred response type is
54
+ # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
57
+ class Operation
58
+ include ::Google::Protobuf::MessageExts
59
+ extend ::Google::Protobuf::MessageExts::ClassMethods
60
+ end
61
+
62
+ # The request message for
63
+ # Operations.GetOperation.
64
+ # @!attribute [rw] name
65
+ # @return [::String]
66
+ # The name of the operation resource.
67
+ class GetOperationRequest
68
+ include ::Google::Protobuf::MessageExts
69
+ extend ::Google::Protobuf::MessageExts::ClassMethods
70
+ end
71
+
72
+ # The request message for
73
+ # Operations.ListOperations.
74
+ # @!attribute [rw] name
75
+ # @return [::String]
76
+ # The name of the operation's parent resource.
77
+ # @!attribute [rw] filter
78
+ # @return [::String]
79
+ # The standard list filter.
80
+ # @!attribute [rw] page_size
81
+ # @return [::Integer]
82
+ # The standard list page size.
83
+ # @!attribute [rw] page_token
84
+ # @return [::String]
85
+ # The standard list page token.
86
+ class ListOperationsRequest
87
+ include ::Google::Protobuf::MessageExts
88
+ extend ::Google::Protobuf::MessageExts::ClassMethods
89
+ end
90
+
91
+ # The response message for
92
+ # Operations.ListOperations.
93
+ # @!attribute [rw] operations
94
+ # @return [::Array<::Google::Longrunning::Operation>]
95
+ # A list of operations that matches the specified filter in the request.
96
+ # @!attribute [rw] next_page_token
97
+ # @return [::String]
98
+ # The standard List next-page token.
99
+ class ListOperationsResponse
100
+ include ::Google::Protobuf::MessageExts
101
+ extend ::Google::Protobuf::MessageExts::ClassMethods
102
+ end
103
+
104
+ # The request message for
105
+ # Operations.CancelOperation.
106
+ # @!attribute [rw] name
107
+ # @return [::String]
108
+ # The name of the operation resource to be cancelled.
109
+ class CancelOperationRequest
110
+ include ::Google::Protobuf::MessageExts
111
+ extend ::Google::Protobuf::MessageExts::ClassMethods
112
+ end
113
+
114
+ # The request message for
115
+ # Operations.DeleteOperation.
116
+ # @!attribute [rw] name
117
+ # @return [::String]
118
+ # The name of the operation resource to be deleted.
119
+ class DeleteOperationRequest
120
+ include ::Google::Protobuf::MessageExts
121
+ extend ::Google::Protobuf::MessageExts::ClassMethods
122
+ end
123
+
124
+ # The request message for
125
+ # Operations.WaitOperation.
126
+ # @!attribute [rw] name
127
+ # @return [::String]
128
+ # The name of the operation resource to wait on.
129
+ # @!attribute [rw] timeout
130
+ # @return [::Google::Protobuf::Duration]
131
+ # The maximum duration to wait before timing out. If left blank, the wait
132
+ # will be at most the time permitted by the underlying HTTP/RPC protocol.
133
+ # If RPC context deadline is also specified, the shorter one will be used.
134
+ class WaitOperationRequest
135
+ include ::Google::Protobuf::MessageExts
136
+ extend ::Google::Protobuf::MessageExts::ClassMethods
137
+ end
138
+
139
+ # A message representing the message types used by a long-running operation.
140
+ #
141
+ # Example:
142
+ #
143
+ # rpc Export(ExportRequest) returns (google.longrunning.Operation) {
144
+ # option (google.longrunning.operation_info) = {
145
+ # response_type: "ExportResponse"
146
+ # metadata_type: "ExportMetadata"
147
+ # };
148
+ # }
149
+ # @!attribute [rw] response_type
150
+ # @return [::String]
151
+ # Required. The message name of the primary return type for this
152
+ # long-running operation.
153
+ # This type will be used to deserialize the LRO's response.
154
+ #
155
+ # If the response is in a different package from the rpc, a fully-qualified
156
+ # message name must be used (e.g. `google.protobuf.Struct`).
157
+ #
158
+ # Note: Altering this value constitutes a breaking change.
159
+ # @!attribute [rw] metadata_type
160
+ # @return [::String]
161
+ # Required. The message name of the metadata type for this long-running
162
+ # operation.
163
+ #
164
+ # If the response is in a different package from the rpc, a fully-qualified
165
+ # message name must be used (e.g. `google.protobuf.Struct`).
166
+ #
167
+ # Note: Altering this value constitutes a breaking change.
168
+ class OperationInfo
169
+ include ::Google::Protobuf::MessageExts
170
+ extend ::Google::Protobuf::MessageExts::ClassMethods
171
+ end
172
+ end
173
+ end