@hyperlane-xyz/cli 16.2.0 → 17.0.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 (191) hide show
  1. package/cli-bundle/index.js +1228 -506
  2. package/cli-bundle/prebuilds/linux-x64/node.napi.glibc.node +0 -0
  3. package/cli-bundle/prebuilds/linux-x64/node.napi.glibc1.node +0 -0
  4. package/package.json +5 -5
  5. package/cli-bundle/798.index.js +0 -169715
  6. package/cli-bundle/proto/channelz.proto +0 -564
  7. package/cli-bundle/protos/compute_operations.d.ts +0 -7304
  8. package/cli-bundle/protos/compute_operations.js +0 -1
  9. package/cli-bundle/protos/compute_operations.json +0 -1
  10. package/cli-bundle/protos/google/api/annotations.proto +0 -31
  11. package/cli-bundle/protos/google/api/apikeys/v2/apikeys.proto +0 -288
  12. package/cli-bundle/protos/google/api/apikeys/v2/resources.proto +0 -175
  13. package/cli-bundle/protos/google/api/auth.proto +0 -237
  14. package/cli-bundle/protos/google/api/backend.proto +0 -185
  15. package/cli-bundle/protos/google/api/billing.proto +0 -77
  16. package/cli-bundle/protos/google/api/client.proto +0 -427
  17. package/cli-bundle/protos/google/api/cloudquotas/v1/cloudquotas.proto +0 -322
  18. package/cli-bundle/protos/google/api/cloudquotas/v1/resources.proto +0 -311
  19. package/cli-bundle/protos/google/api/config_change.proto +0 -84
  20. package/cli-bundle/protos/google/api/consumer.proto +0 -82
  21. package/cli-bundle/protos/google/api/context.proto +0 -90
  22. package/cli-bundle/protos/google/api/control.proto +0 -41
  23. package/cli-bundle/protos/google/api/distribution.proto +0 -213
  24. package/cli-bundle/protos/google/api/documentation.proto +0 -168
  25. package/cli-bundle/protos/google/api/endpoint.proto +0 -73
  26. package/cli-bundle/protos/google/api/error_reason.proto +0 -589
  27. package/cli-bundle/protos/google/api/expr/conformance/v1alpha1/conformance_service.proto +0 -183
  28. package/cli-bundle/protos/google/api/expr/v1alpha1/checked.proto +0 -343
  29. package/cli-bundle/protos/google/api/expr/v1alpha1/eval.proto +0 -118
  30. package/cli-bundle/protos/google/api/expr/v1alpha1/explain.proto +0 -53
  31. package/cli-bundle/protos/google/api/expr/v1alpha1/syntax.proto +0 -400
  32. package/cli-bundle/protos/google/api/expr/v1alpha1/value.proto +0 -115
  33. package/cli-bundle/protos/google/api/expr/v1beta1/decl.proto +0 -84
  34. package/cli-bundle/protos/google/api/expr/v1beta1/eval.proto +0 -125
  35. package/cli-bundle/protos/google/api/expr/v1beta1/expr.proto +0 -265
  36. package/cli-bundle/protos/google/api/expr/v1beta1/source.proto +0 -62
  37. package/cli-bundle/protos/google/api/expr/v1beta1/value.proto +0 -114
  38. package/cli-bundle/protos/google/api/field_behavior.proto +0 -104
  39. package/cli-bundle/protos/google/api/field_info.proto +0 -79
  40. package/cli-bundle/protos/google/api/http.proto +0 -379
  41. package/cli-bundle/protos/google/api/httpbody.proto +0 -81
  42. package/cli-bundle/protos/google/api/label.proto +0 -48
  43. package/cli-bundle/protos/google/api/launch_stage.proto +0 -72
  44. package/cli-bundle/protos/google/api/log.proto +0 -54
  45. package/cli-bundle/protos/google/api/logging.proto +0 -81
  46. package/cli-bundle/protos/google/api/metric.proto +0 -268
  47. package/cli-bundle/protos/google/api/monitored_resource.proto +0 -130
  48. package/cli-bundle/protos/google/api/monitoring.proto +0 -107
  49. package/cli-bundle/protos/google/api/policy.proto +0 -85
  50. package/cli-bundle/protos/google/api/quota.proto +0 -184
  51. package/cli-bundle/protos/google/api/resource.proto +0 -238
  52. package/cli-bundle/protos/google/api/routing.proto +0 -461
  53. package/cli-bundle/protos/google/api/service.proto +0 -191
  54. package/cli-bundle/protos/google/api/servicecontrol/v1/check_error.proto +0 -124
  55. package/cli-bundle/protos/google/api/servicecontrol/v1/distribution.proto +0 -166
  56. package/cli-bundle/protos/google/api/servicecontrol/v1/http_request.proto +0 -93
  57. package/cli-bundle/protos/google/api/servicecontrol/v1/log_entry.proto +0 -126
  58. package/cli-bundle/protos/google/api/servicecontrol/v1/metric_value.proto +0 -81
  59. package/cli-bundle/protos/google/api/servicecontrol/v1/operation.proto +0 -123
  60. package/cli-bundle/protos/google/api/servicecontrol/v1/quota_controller.proto +0 -245
  61. package/cli-bundle/protos/google/api/servicecontrol/v1/service_controller.proto +0 -260
  62. package/cli-bundle/protos/google/api/servicecontrol/v2/service_controller.proto +0 -196
  63. package/cli-bundle/protos/google/api/servicemanagement/v1/resources.proto +0 -295
  64. package/cli-bundle/protos/google/api/servicemanagement/v1/servicemanager.proto +0 -508
  65. package/cli-bundle/protos/google/api/serviceusage/v1/resources.proto +0 -130
  66. package/cli-bundle/protos/google/api/serviceusage/v1/serviceusage.proto +0 -305
  67. package/cli-bundle/protos/google/api/serviceusage/v1beta1/resources.proto +0 -458
  68. package/cli-bundle/protos/google/api/serviceusage/v1beta1/serviceusage.proto +0 -793
  69. package/cli-bundle/protos/google/api/source_info.proto +0 -31
  70. package/cli-bundle/protos/google/api/system_parameter.proto +0 -96
  71. package/cli-bundle/protos/google/api/usage.proto +0 -96
  72. package/cli-bundle/protos/google/api/visibility.proto +0 -113
  73. package/cli-bundle/protos/google/cloud/location/locations.proto +0 -108
  74. package/cli-bundle/protos/google/iam/v1/iam_policy.proto +0 -155
  75. package/cli-bundle/protos/google/iam/v1/logging/audit_data.proto +0 -33
  76. package/cli-bundle/protos/google/iam/v1/options.proto +0 -48
  77. package/cli-bundle/protos/google/iam/v1/policy.proto +0 -410
  78. package/cli-bundle/protos/google/logging/type/http_request.proto +0 -95
  79. package/cli-bundle/protos/google/logging/type/log_severity.proto +0 -71
  80. package/cli-bundle/protos/google/longrunning/operations.proto +0 -247
  81. package/cli-bundle/protos/google/monitoring/v3/alert.proto +0 -669
  82. package/cli-bundle/protos/google/monitoring/v3/alert_service.proto +0 -256
  83. package/cli-bundle/protos/google/monitoring/v3/common.proto +0 -488
  84. package/cli-bundle/protos/google/monitoring/v3/dropped_labels.proto +0 -46
  85. package/cli-bundle/protos/google/monitoring/v3/group.proto +0 -90
  86. package/cli-bundle/protos/google/monitoring/v3/group_service.proto +0 -290
  87. package/cli-bundle/protos/google/monitoring/v3/metric.proto +0 -239
  88. package/cli-bundle/protos/google/monitoring/v3/metric_service.proto +0 -522
  89. package/cli-bundle/protos/google/monitoring/v3/mutation_record.proto +0 -36
  90. package/cli-bundle/protos/google/monitoring/v3/notification.proto +0 -195
  91. package/cli-bundle/protos/google/monitoring/v3/notification_service.proto +0 -448
  92. package/cli-bundle/protos/google/monitoring/v3/query_service.proto +0 -48
  93. package/cli-bundle/protos/google/monitoring/v3/service.proto +0 -457
  94. package/cli-bundle/protos/google/monitoring/v3/service_service.proto +0 -352
  95. package/cli-bundle/protos/google/monitoring/v3/snooze.proto +0 -78
  96. package/cli-bundle/protos/google/monitoring/v3/snooze_service.proto +0 -210
  97. package/cli-bundle/protos/google/monitoring/v3/span_context.proto +0 -45
  98. package/cli-bundle/protos/google/monitoring/v3/uptime.proto +0 -564
  99. package/cli-bundle/protos/google/monitoring/v3/uptime_service.proto +0 -259
  100. package/cli-bundle/protos/google/protobuf/any.proto +0 -162
  101. package/cli-bundle/protos/google/protobuf/api.proto +0 -207
  102. package/cli-bundle/protos/google/protobuf/bridge/message_set.proto +0 -76
  103. package/cli-bundle/protos/google/protobuf/compiler/plugin.proto +0 -180
  104. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_code.proto +0 -77
  105. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_code_proto2.proto +0 -78
  106. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_code_proto2_import.proto +0 -12
  107. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_pkg_explicit.proto +0 -16
  108. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_pkg_explicit_legacy.proto +0 -16
  109. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_pkg_implicit.proto +0 -14
  110. package/cli-bundle/protos/google/protobuf/cpp_features.proto +0 -45
  111. package/cli-bundle/protos/google/protobuf/descriptor.proto +0 -1225
  112. package/cli-bundle/protos/google/protobuf/duration.proto +0 -115
  113. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_enum.proto +0 -26
  114. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_group.proto +0 -18
  115. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_import.proto +0 -16
  116. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_inline_comments.proto +0 -33
  117. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_multiline_comments.proto +0 -33
  118. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_optional.proto +0 -65
  119. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_packed.proto +0 -14
  120. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_proto3_enum.proto +0 -18
  121. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_required.proto +0 -47
  122. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_unpacked.proto +0 -19
  123. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_utf8_disabled.proto +0 -16
  124. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_utf8_lite.proto +0 -17
  125. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_utf8_verify.proto +0 -14
  126. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_enum.proto +0 -26
  127. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_implicit.proto +0 -65
  128. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_import.proto +0 -16
  129. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_optional.proto +0 -47
  130. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_packed.proto +0 -20
  131. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_unpacked.proto +0 -19
  132. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_utf8_strict.proto +0 -15
  133. package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto2.proto +0 -129
  134. package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto2_lite.proto +0 -19
  135. package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto2_utf8_disabled.proto +0 -18
  136. package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto3.proto +0 -32
  137. package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto3_utf8_disabled.proto +0 -18
  138. package/cli-bundle/protos/google/protobuf/editions/golden/simple_proto2.proto +0 -14
  139. package/cli-bundle/protos/google/protobuf/editions/golden/simple_proto2_import.proto +0 -16
  140. package/cli-bundle/protos/google/protobuf/editions/golden/simple_proto3.proto +0 -14
  141. package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto2.proto +0 -91
  142. package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto2_lite.proto +0 -20
  143. package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto2_utf8_disabled.proto +0 -19
  144. package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto3.proto +0 -25
  145. package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto3_utf8_disabled.proto +0 -19
  146. package/cli-bundle/protos/google/protobuf/empty.proto +0 -51
  147. package/cli-bundle/protos/google/protobuf/field_mask.proto +0 -245
  148. package/cli-bundle/protos/google/protobuf/sample_messages_edition.proto +0 -427
  149. package/cli-bundle/protos/google/protobuf/source_context.proto +0 -48
  150. package/cli-bundle/protos/google/protobuf/struct.proto +0 -95
  151. package/cli-bundle/protos/google/protobuf/timestamp.proto +0 -144
  152. package/cli-bundle/protos/google/protobuf/type.proto +0 -193
  153. package/cli-bundle/protos/google/protobuf/util/json_format.proto +0 -116
  154. package/cli-bundle/protos/google/protobuf/util/json_format_proto3.proto +0 -301
  155. package/cli-bundle/protos/google/protobuf/wrappers.proto +0 -123
  156. package/cli-bundle/protos/google/rpc/code.proto +0 -186
  157. package/cli-bundle/protos/google/rpc/context/attribute_context.proto +0 -344
  158. package/cli-bundle/protos/google/rpc/context/audit_context.proto +0 -49
  159. package/cli-bundle/protos/google/rpc/error_details.proto +0 -285
  160. package/cli-bundle/protos/google/rpc/http.proto +0 -64
  161. package/cli-bundle/protos/google/rpc/status.proto +0 -49
  162. package/cli-bundle/protos/google/type/calendar_period.proto +0 -56
  163. package/cli-bundle/protos/google/type/color.proto +0 -174
  164. package/cli-bundle/protos/google/type/date.proto +0 -52
  165. package/cli-bundle/protos/google/type/datetime.proto +0 -104
  166. package/cli-bundle/protos/google/type/dayofweek.proto +0 -50
  167. package/cli-bundle/protos/google/type/decimal.proto +0 -95
  168. package/cli-bundle/protos/google/type/expr.proto +0 -73
  169. package/cli-bundle/protos/google/type/fraction.proto +0 -33
  170. package/cli-bundle/protos/google/type/interval.proto +0 -46
  171. package/cli-bundle/protos/google/type/latlng.proto +0 -37
  172. package/cli-bundle/protos/google/type/localized_text.proto +0 -36
  173. package/cli-bundle/protos/google/type/money.proto +0 -42
  174. package/cli-bundle/protos/google/type/month.proto +0 -65
  175. package/cli-bundle/protos/google/type/phone_number.proto +0 -113
  176. package/cli-bundle/protos/google/type/postal_address.proto +0 -134
  177. package/cli-bundle/protos/google/type/quaternion.proto +0 -94
  178. package/cli-bundle/protos/google/type/timeofday.proto +0 -44
  179. package/cli-bundle/protos/http.d.ts +0 -347
  180. package/cli-bundle/protos/http.js +0 -1
  181. package/cli-bundle/protos/iam_service.d.ts +0 -5035
  182. package/cli-bundle/protos/iam_service.js +0 -1
  183. package/cli-bundle/protos/iam_service.json +0 -1
  184. package/cli-bundle/protos/locations.d.ts +0 -4060
  185. package/cli-bundle/protos/locations.js +0 -1
  186. package/cli-bundle/protos/locations.json +0 -1
  187. package/cli-bundle/protos/operations.d.ts +0 -4783
  188. package/cli-bundle/protos/operations.js +0 -1
  189. package/cli-bundle/protos/operations.json +0 -1
  190. package/cli-bundle/protos/status.json +0 -1
  191. package/cli-bundle/worker2.js +0 -174
@@ -1,247 +0,0 @@
1
- // Copyright 2020 Google LLC
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
-
15
- syntax = "proto3";
16
-
17
- package google.longrunning;
18
-
19
- import "google/api/annotations.proto";
20
- import "google/api/client.proto";
21
- import "google/protobuf/any.proto";
22
- import "google/protobuf/duration.proto";
23
- import "google/protobuf/empty.proto";
24
- import "google/rpc/status.proto";
25
- import "google/protobuf/descriptor.proto";
26
-
27
- option cc_enable_arenas = true;
28
- option csharp_namespace = "Google.LongRunning";
29
- option go_package = "cloud.google.com/go/longrunning/autogen/longrunningpb;longrunningpb";
30
- option java_multiple_files = true;
31
- option java_outer_classname = "OperationsProto";
32
- option java_package = "com.google.longrunning";
33
- option php_namespace = "Google\\LongRunning";
34
-
35
- extend google.protobuf.MethodOptions {
36
- // Additional information regarding long-running operations.
37
- // In particular, this specifies the types that are returned from
38
- // long-running operations.
39
- //
40
- // Required for methods that return `google.longrunning.Operation`; invalid
41
- // otherwise.
42
- google.longrunning.OperationInfo operation_info = 1049;
43
- }
44
-
45
- // Manages long-running operations with an API service.
46
- //
47
- // When an API method normally takes long time to complete, it can be designed
48
- // to return [Operation][google.longrunning.Operation] to the client, and the client can use this
49
- // interface to receive the real response asynchronously by polling the
50
- // operation resource, or pass the operation resource to another API (such as
51
- // Google Cloud Pub/Sub API) to receive the response. Any API service that
52
- // returns long-running operations should implement the `Operations` interface
53
- // so developers can have a consistent client experience.
54
- service Operations {
55
- option (google.api.default_host) = "longrunning.googleapis.com";
56
-
57
- // Lists operations that match the specified filter in the request. If the
58
- // server doesn't support this method, it returns `UNIMPLEMENTED`.
59
- //
60
- // NOTE: the `name` binding allows API services to override the binding
61
- // to use different resource name schemes, such as `users/*/operations`. To
62
- // override the binding, API services can add a binding such as
63
- // `"/v1/{name=users/*}/operations"` to their service configuration.
64
- // For backwards compatibility, the default name includes the operations
65
- // collection id, however overriding users must ensure the name binding
66
- // is the parent resource, without the operations collection id.
67
- rpc ListOperations(ListOperationsRequest) returns (ListOperationsResponse) {
68
- option (google.api.http) = {
69
- get: "/v1/{name=operations}"
70
- };
71
- option (google.api.method_signature) = "name,filter";
72
- }
73
-
74
- // Gets the latest state of a long-running operation. Clients can use this
75
- // method to poll the operation result at intervals as recommended by the API
76
- // service.
77
- rpc GetOperation(GetOperationRequest) returns (Operation) {
78
- option (google.api.http) = {
79
- get: "/v1/{name=operations/**}"
80
- };
81
- option (google.api.method_signature) = "name";
82
- }
83
-
84
- // Deletes a long-running operation. This method indicates that the client is
85
- // no longer interested in the operation result. It does not cancel the
86
- // operation. If the server doesn't support this method, it returns
87
- // `google.rpc.Code.UNIMPLEMENTED`.
88
- rpc DeleteOperation(DeleteOperationRequest) returns (google.protobuf.Empty) {
89
- option (google.api.http) = {
90
- delete: "/v1/{name=operations/**}"
91
- };
92
- option (google.api.method_signature) = "name";
93
- }
94
-
95
- // Starts asynchronous cancellation on a long-running operation. The server
96
- // makes a best effort to cancel the operation, but success is not
97
- // guaranteed. If the server doesn't support this method, it returns
98
- // `google.rpc.Code.UNIMPLEMENTED`. Clients can use
99
- // [Operations.GetOperation][google.longrunning.Operations.GetOperation] or
100
- // other methods to check whether the cancellation succeeded or whether the
101
- // operation completed despite cancellation. On successful cancellation,
102
- // the operation is not deleted; instead, it becomes an operation with
103
- // an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
104
- // corresponding to `Code.CANCELLED`.
105
- rpc CancelOperation(CancelOperationRequest) returns (google.protobuf.Empty) {
106
- option (google.api.http) = {
107
- post: "/v1/{name=operations/**}:cancel"
108
- body: "*"
109
- };
110
- option (google.api.method_signature) = "name";
111
- }
112
-
113
- // Waits until the specified long-running operation is done or reaches at most
114
- // a specified timeout, returning the latest state. If the operation is
115
- // already done, the latest state is immediately returned. If the timeout
116
- // specified is greater than the default HTTP/RPC timeout, the HTTP/RPC
117
- // timeout is used. If the server does not support this method, it returns
118
- // `google.rpc.Code.UNIMPLEMENTED`.
119
- // Note that this method is on a best-effort basis. It may return the latest
120
- // state before the specified timeout (including immediately), meaning even an
121
- // immediate response is no guarantee that the operation is done.
122
- rpc WaitOperation(WaitOperationRequest) returns (Operation) {
123
- }
124
- }
125
-
126
- // This resource represents a long-running operation that is the result of a
127
- // network API call.
128
- message Operation {
129
- // The server-assigned name, which is only unique within the same service that
130
- // originally returns it. If you use the default HTTP mapping, the
131
- // `name` should be a resource name ending with `operations/{unique_id}`.
132
- string name = 1;
133
-
134
- // Service-specific metadata associated with the operation. It typically
135
- // contains progress information and common metadata such as create time.
136
- // Some services might not provide such metadata. Any method that returns a
137
- // long-running operation should document the metadata type, if any.
138
- google.protobuf.Any metadata = 2;
139
-
140
- // If the value is `false`, it means the operation is still in progress.
141
- // If `true`, the operation is completed, and either `error` or `response` is
142
- // available.
143
- bool done = 3;
144
-
145
- // The operation result, which can be either an `error` or a valid `response`.
146
- // If `done` == `false`, neither `error` nor `response` is set.
147
- // If `done` == `true`, exactly one of `error` or `response` is set.
148
- oneof result {
149
- // The error result of the operation in case of failure or cancellation.
150
- google.rpc.Status error = 4;
151
-
152
- // The normal response of the operation in case of success. If the original
153
- // method returns no data on success, such as `Delete`, the response is
154
- // `google.protobuf.Empty`. If the original method is standard
155
- // `Get`/`Create`/`Update`, the response should be the resource. For other
156
- // methods, the response should have the type `XxxResponse`, where `Xxx`
157
- // is the original method name. For example, if the original method name
158
- // is `TakeSnapshot()`, the inferred response type is
159
- // `TakeSnapshotResponse`.
160
- google.protobuf.Any response = 5;
161
- }
162
- }
163
-
164
- // The request message for [Operations.GetOperation][google.longrunning.Operations.GetOperation].
165
- message GetOperationRequest {
166
- // The name of the operation resource.
167
- string name = 1;
168
- }
169
-
170
- // The request message for [Operations.ListOperations][google.longrunning.Operations.ListOperations].
171
- message ListOperationsRequest {
172
- // The name of the operation's parent resource.
173
- string name = 4;
174
-
175
- // The standard list filter.
176
- string filter = 1;
177
-
178
- // The standard list page size.
179
- int32 page_size = 2;
180
-
181
- // The standard list page token.
182
- string page_token = 3;
183
- }
184
-
185
- // The response message for [Operations.ListOperations][google.longrunning.Operations.ListOperations].
186
- message ListOperationsResponse {
187
- // A list of operations that matches the specified filter in the request.
188
- repeated Operation operations = 1;
189
-
190
- // The standard List next-page token.
191
- string next_page_token = 2;
192
- }
193
-
194
- // The request message for [Operations.CancelOperation][google.longrunning.Operations.CancelOperation].
195
- message CancelOperationRequest {
196
- // The name of the operation resource to be cancelled.
197
- string name = 1;
198
- }
199
-
200
- // The request message for [Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation].
201
- message DeleteOperationRequest {
202
- // The name of the operation resource to be deleted.
203
- string name = 1;
204
- }
205
-
206
- // The request message for [Operations.WaitOperation][google.longrunning.Operations.WaitOperation].
207
- message WaitOperationRequest {
208
- // The name of the operation resource to wait on.
209
- string name = 1;
210
-
211
- // The maximum duration to wait before timing out. If left blank, the wait
212
- // will be at most the time permitted by the underlying HTTP/RPC protocol.
213
- // If RPC context deadline is also specified, the shorter one will be used.
214
- google.protobuf.Duration timeout = 2;
215
- }
216
-
217
- // A message representing the message types used by a long-running operation.
218
- //
219
- // Example:
220
- //
221
- // rpc LongRunningRecognize(LongRunningRecognizeRequest)
222
- // returns (google.longrunning.Operation) {
223
- // option (google.longrunning.operation_info) = {
224
- // response_type: "LongRunningRecognizeResponse"
225
- // metadata_type: "LongRunningRecognizeMetadata"
226
- // };
227
- // }
228
- message OperationInfo {
229
- // Required. The message name of the primary return type for this
230
- // long-running operation.
231
- // This type will be used to deserialize the LRO's response.
232
- //
233
- // If the response is in a different package from the rpc, a fully-qualified
234
- // message name must be used (e.g. `google.protobuf.Struct`).
235
- //
236
- // Note: Altering this value constitutes a breaking change.
237
- string response_type = 1;
238
-
239
- // Required. The message name of the metadata type for this long-running
240
- // operation.
241
- //
242
- // If the response is in a different package from the rpc, a fully-qualified
243
- // message name must be used (e.g. `google.protobuf.Struct`).
244
- //
245
- // Note: Altering this value constitutes a breaking change.
246
- string metadata_type = 2;
247
- }