@hyperlane-xyz/cli 16.2.0 → 18.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 (190) hide show
  1. package/cli-bundle/index.js +39174 -1835
  2. package/examples/submit/transactions/{alfajores-transactions.json → sepolia-transactions.json} +1 -1
  3. package/package.json +5 -5
  4. package/cli-bundle/798.index.js +0 -169715
  5. package/cli-bundle/proto/channelz.proto +0 -564
  6. package/cli-bundle/protos/compute_operations.d.ts +0 -7304
  7. package/cli-bundle/protos/compute_operations.js +0 -1
  8. package/cli-bundle/protos/compute_operations.json +0 -1
  9. package/cli-bundle/protos/google/api/annotations.proto +0 -31
  10. package/cli-bundle/protos/google/api/apikeys/v2/apikeys.proto +0 -288
  11. package/cli-bundle/protos/google/api/apikeys/v2/resources.proto +0 -175
  12. package/cli-bundle/protos/google/api/auth.proto +0 -237
  13. package/cli-bundle/protos/google/api/backend.proto +0 -185
  14. package/cli-bundle/protos/google/api/billing.proto +0 -77
  15. package/cli-bundle/protos/google/api/client.proto +0 -427
  16. package/cli-bundle/protos/google/api/cloudquotas/v1/cloudquotas.proto +0 -322
  17. package/cli-bundle/protos/google/api/cloudquotas/v1/resources.proto +0 -311
  18. package/cli-bundle/protos/google/api/config_change.proto +0 -84
  19. package/cli-bundle/protos/google/api/consumer.proto +0 -82
  20. package/cli-bundle/protos/google/api/context.proto +0 -90
  21. package/cli-bundle/protos/google/api/control.proto +0 -41
  22. package/cli-bundle/protos/google/api/distribution.proto +0 -213
  23. package/cli-bundle/protos/google/api/documentation.proto +0 -168
  24. package/cli-bundle/protos/google/api/endpoint.proto +0 -73
  25. package/cli-bundle/protos/google/api/error_reason.proto +0 -589
  26. package/cli-bundle/protos/google/api/expr/conformance/v1alpha1/conformance_service.proto +0 -183
  27. package/cli-bundle/protos/google/api/expr/v1alpha1/checked.proto +0 -343
  28. package/cli-bundle/protos/google/api/expr/v1alpha1/eval.proto +0 -118
  29. package/cli-bundle/protos/google/api/expr/v1alpha1/explain.proto +0 -53
  30. package/cli-bundle/protos/google/api/expr/v1alpha1/syntax.proto +0 -400
  31. package/cli-bundle/protos/google/api/expr/v1alpha1/value.proto +0 -115
  32. package/cli-bundle/protos/google/api/expr/v1beta1/decl.proto +0 -84
  33. package/cli-bundle/protos/google/api/expr/v1beta1/eval.proto +0 -125
  34. package/cli-bundle/protos/google/api/expr/v1beta1/expr.proto +0 -265
  35. package/cli-bundle/protos/google/api/expr/v1beta1/source.proto +0 -62
  36. package/cli-bundle/protos/google/api/expr/v1beta1/value.proto +0 -114
  37. package/cli-bundle/protos/google/api/field_behavior.proto +0 -104
  38. package/cli-bundle/protos/google/api/field_info.proto +0 -79
  39. package/cli-bundle/protos/google/api/http.proto +0 -379
  40. package/cli-bundle/protos/google/api/httpbody.proto +0 -81
  41. package/cli-bundle/protos/google/api/label.proto +0 -48
  42. package/cli-bundle/protos/google/api/launch_stage.proto +0 -72
  43. package/cli-bundle/protos/google/api/log.proto +0 -54
  44. package/cli-bundle/protos/google/api/logging.proto +0 -81
  45. package/cli-bundle/protos/google/api/metric.proto +0 -268
  46. package/cli-bundle/protos/google/api/monitored_resource.proto +0 -130
  47. package/cli-bundle/protos/google/api/monitoring.proto +0 -107
  48. package/cli-bundle/protos/google/api/policy.proto +0 -85
  49. package/cli-bundle/protos/google/api/quota.proto +0 -184
  50. package/cli-bundle/protos/google/api/resource.proto +0 -238
  51. package/cli-bundle/protos/google/api/routing.proto +0 -461
  52. package/cli-bundle/protos/google/api/service.proto +0 -191
  53. package/cli-bundle/protos/google/api/servicecontrol/v1/check_error.proto +0 -124
  54. package/cli-bundle/protos/google/api/servicecontrol/v1/distribution.proto +0 -166
  55. package/cli-bundle/protos/google/api/servicecontrol/v1/http_request.proto +0 -93
  56. package/cli-bundle/protos/google/api/servicecontrol/v1/log_entry.proto +0 -126
  57. package/cli-bundle/protos/google/api/servicecontrol/v1/metric_value.proto +0 -81
  58. package/cli-bundle/protos/google/api/servicecontrol/v1/operation.proto +0 -123
  59. package/cli-bundle/protos/google/api/servicecontrol/v1/quota_controller.proto +0 -245
  60. package/cli-bundle/protos/google/api/servicecontrol/v1/service_controller.proto +0 -260
  61. package/cli-bundle/protos/google/api/servicecontrol/v2/service_controller.proto +0 -196
  62. package/cli-bundle/protos/google/api/servicemanagement/v1/resources.proto +0 -295
  63. package/cli-bundle/protos/google/api/servicemanagement/v1/servicemanager.proto +0 -508
  64. package/cli-bundle/protos/google/api/serviceusage/v1/resources.proto +0 -130
  65. package/cli-bundle/protos/google/api/serviceusage/v1/serviceusage.proto +0 -305
  66. package/cli-bundle/protos/google/api/serviceusage/v1beta1/resources.proto +0 -458
  67. package/cli-bundle/protos/google/api/serviceusage/v1beta1/serviceusage.proto +0 -793
  68. package/cli-bundle/protos/google/api/source_info.proto +0 -31
  69. package/cli-bundle/protos/google/api/system_parameter.proto +0 -96
  70. package/cli-bundle/protos/google/api/usage.proto +0 -96
  71. package/cli-bundle/protos/google/api/visibility.proto +0 -113
  72. package/cli-bundle/protos/google/cloud/location/locations.proto +0 -108
  73. package/cli-bundle/protos/google/iam/v1/iam_policy.proto +0 -155
  74. package/cli-bundle/protos/google/iam/v1/logging/audit_data.proto +0 -33
  75. package/cli-bundle/protos/google/iam/v1/options.proto +0 -48
  76. package/cli-bundle/protos/google/iam/v1/policy.proto +0 -410
  77. package/cli-bundle/protos/google/logging/type/http_request.proto +0 -95
  78. package/cli-bundle/protos/google/logging/type/log_severity.proto +0 -71
  79. package/cli-bundle/protos/google/longrunning/operations.proto +0 -247
  80. package/cli-bundle/protos/google/monitoring/v3/alert.proto +0 -669
  81. package/cli-bundle/protos/google/monitoring/v3/alert_service.proto +0 -256
  82. package/cli-bundle/protos/google/monitoring/v3/common.proto +0 -488
  83. package/cli-bundle/protos/google/monitoring/v3/dropped_labels.proto +0 -46
  84. package/cli-bundle/protos/google/monitoring/v3/group.proto +0 -90
  85. package/cli-bundle/protos/google/monitoring/v3/group_service.proto +0 -290
  86. package/cli-bundle/protos/google/monitoring/v3/metric.proto +0 -239
  87. package/cli-bundle/protos/google/monitoring/v3/metric_service.proto +0 -522
  88. package/cli-bundle/protos/google/monitoring/v3/mutation_record.proto +0 -36
  89. package/cli-bundle/protos/google/monitoring/v3/notification.proto +0 -195
  90. package/cli-bundle/protos/google/monitoring/v3/notification_service.proto +0 -448
  91. package/cli-bundle/protos/google/monitoring/v3/query_service.proto +0 -48
  92. package/cli-bundle/protos/google/monitoring/v3/service.proto +0 -457
  93. package/cli-bundle/protos/google/monitoring/v3/service_service.proto +0 -352
  94. package/cli-bundle/protos/google/monitoring/v3/snooze.proto +0 -78
  95. package/cli-bundle/protos/google/monitoring/v3/snooze_service.proto +0 -210
  96. package/cli-bundle/protos/google/monitoring/v3/span_context.proto +0 -45
  97. package/cli-bundle/protos/google/monitoring/v3/uptime.proto +0 -564
  98. package/cli-bundle/protos/google/monitoring/v3/uptime_service.proto +0 -259
  99. package/cli-bundle/protos/google/protobuf/any.proto +0 -162
  100. package/cli-bundle/protos/google/protobuf/api.proto +0 -207
  101. package/cli-bundle/protos/google/protobuf/bridge/message_set.proto +0 -76
  102. package/cli-bundle/protos/google/protobuf/compiler/plugin.proto +0 -180
  103. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_code.proto +0 -77
  104. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_code_proto2.proto +0 -78
  105. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_code_proto2_import.proto +0 -12
  106. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_pkg_explicit.proto +0 -16
  107. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_pkg_explicit_legacy.proto +0 -16
  108. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_pkg_implicit.proto +0 -14
  109. package/cli-bundle/protos/google/protobuf/cpp_features.proto +0 -45
  110. package/cli-bundle/protos/google/protobuf/descriptor.proto +0 -1225
  111. package/cli-bundle/protos/google/protobuf/duration.proto +0 -115
  112. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_enum.proto +0 -26
  113. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_group.proto +0 -18
  114. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_import.proto +0 -16
  115. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_inline_comments.proto +0 -33
  116. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_multiline_comments.proto +0 -33
  117. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_optional.proto +0 -65
  118. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_packed.proto +0 -14
  119. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_proto3_enum.proto +0 -18
  120. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_required.proto +0 -47
  121. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_unpacked.proto +0 -19
  122. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_utf8_disabled.proto +0 -16
  123. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_utf8_lite.proto +0 -17
  124. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_utf8_verify.proto +0 -14
  125. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_enum.proto +0 -26
  126. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_implicit.proto +0 -65
  127. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_import.proto +0 -16
  128. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_optional.proto +0 -47
  129. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_packed.proto +0 -20
  130. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_unpacked.proto +0 -19
  131. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_utf8_strict.proto +0 -15
  132. package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto2.proto +0 -129
  133. package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto2_lite.proto +0 -19
  134. package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto2_utf8_disabled.proto +0 -18
  135. package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto3.proto +0 -32
  136. package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto3_utf8_disabled.proto +0 -18
  137. package/cli-bundle/protos/google/protobuf/editions/golden/simple_proto2.proto +0 -14
  138. package/cli-bundle/protos/google/protobuf/editions/golden/simple_proto2_import.proto +0 -16
  139. package/cli-bundle/protos/google/protobuf/editions/golden/simple_proto3.proto +0 -14
  140. package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto2.proto +0 -91
  141. package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto2_lite.proto +0 -20
  142. package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto2_utf8_disabled.proto +0 -19
  143. package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto3.proto +0 -25
  144. package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto3_utf8_disabled.proto +0 -19
  145. package/cli-bundle/protos/google/protobuf/empty.proto +0 -51
  146. package/cli-bundle/protos/google/protobuf/field_mask.proto +0 -245
  147. package/cli-bundle/protos/google/protobuf/sample_messages_edition.proto +0 -427
  148. package/cli-bundle/protos/google/protobuf/source_context.proto +0 -48
  149. package/cli-bundle/protos/google/protobuf/struct.proto +0 -95
  150. package/cli-bundle/protos/google/protobuf/timestamp.proto +0 -144
  151. package/cli-bundle/protos/google/protobuf/type.proto +0 -193
  152. package/cli-bundle/protos/google/protobuf/util/json_format.proto +0 -116
  153. package/cli-bundle/protos/google/protobuf/util/json_format_proto3.proto +0 -301
  154. package/cli-bundle/protos/google/protobuf/wrappers.proto +0 -123
  155. package/cli-bundle/protos/google/rpc/code.proto +0 -186
  156. package/cli-bundle/protos/google/rpc/context/attribute_context.proto +0 -344
  157. package/cli-bundle/protos/google/rpc/context/audit_context.proto +0 -49
  158. package/cli-bundle/protos/google/rpc/error_details.proto +0 -285
  159. package/cli-bundle/protos/google/rpc/http.proto +0 -64
  160. package/cli-bundle/protos/google/rpc/status.proto +0 -49
  161. package/cli-bundle/protos/google/type/calendar_period.proto +0 -56
  162. package/cli-bundle/protos/google/type/color.proto +0 -174
  163. package/cli-bundle/protos/google/type/date.proto +0 -52
  164. package/cli-bundle/protos/google/type/datetime.proto +0 -104
  165. package/cli-bundle/protos/google/type/dayofweek.proto +0 -50
  166. package/cli-bundle/protos/google/type/decimal.proto +0 -95
  167. package/cli-bundle/protos/google/type/expr.proto +0 -73
  168. package/cli-bundle/protos/google/type/fraction.proto +0 -33
  169. package/cli-bundle/protos/google/type/interval.proto +0 -46
  170. package/cli-bundle/protos/google/type/latlng.proto +0 -37
  171. package/cli-bundle/protos/google/type/localized_text.proto +0 -36
  172. package/cli-bundle/protos/google/type/money.proto +0 -42
  173. package/cli-bundle/protos/google/type/month.proto +0 -65
  174. package/cli-bundle/protos/google/type/phone_number.proto +0 -113
  175. package/cli-bundle/protos/google/type/postal_address.proto +0 -134
  176. package/cli-bundle/protos/google/type/quaternion.proto +0 -94
  177. package/cli-bundle/protos/google/type/timeofday.proto +0 -44
  178. package/cli-bundle/protos/http.d.ts +0 -347
  179. package/cli-bundle/protos/http.js +0 -1
  180. package/cli-bundle/protos/iam_service.d.ts +0 -5035
  181. package/cli-bundle/protos/iam_service.js +0 -1
  182. package/cli-bundle/protos/iam_service.json +0 -1
  183. package/cli-bundle/protos/locations.d.ts +0 -4060
  184. package/cli-bundle/protos/locations.js +0 -1
  185. package/cli-bundle/protos/locations.json +0 -1
  186. package/cli-bundle/protos/operations.d.ts +0 -4783
  187. package/cli-bundle/protos/operations.js +0 -1
  188. package/cli-bundle/protos/operations.json +0 -1
  189. package/cli-bundle/protos/status.json +0 -1
  190. package/cli-bundle/worker2.js +0 -174
@@ -1,259 +0,0 @@
1
- // Copyright 2023 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.monitoring.v3;
18
-
19
- import "google/api/annotations.proto";
20
- import "google/api/client.proto";
21
- import "google/api/field_behavior.proto";
22
- import "google/api/resource.proto";
23
- import "google/monitoring/v3/uptime.proto";
24
- import "google/protobuf/empty.proto";
25
- import "google/protobuf/field_mask.proto";
26
-
27
- option csharp_namespace = "Google.Cloud.Monitoring.V3";
28
- option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb";
29
- option java_multiple_files = true;
30
- option java_outer_classname = "UptimeServiceProto";
31
- option java_package = "com.google.monitoring.v3";
32
- option php_namespace = "Google\\Cloud\\Monitoring\\V3";
33
- option ruby_package = "Google::Cloud::Monitoring::V3";
34
-
35
- // The UptimeCheckService API is used to manage (list, create, delete, edit)
36
- // Uptime check configurations in the Cloud Monitoring product. An Uptime
37
- // check is a piece of configuration that determines which resources and
38
- // services to monitor for availability. These configurations can also be
39
- // configured interactively by navigating to the [Cloud console]
40
- // (https://console.cloud.google.com), selecting the appropriate project,
41
- // clicking on "Monitoring" on the left-hand side to navigate to Cloud
42
- // Monitoring, and then clicking on "Uptime".
43
- service UptimeCheckService {
44
- option (google.api.default_host) = "monitoring.googleapis.com";
45
- option (google.api.oauth_scopes) =
46
- "https://www.googleapis.com/auth/cloud-platform,"
47
- "https://www.googleapis.com/auth/monitoring,"
48
- "https://www.googleapis.com/auth/monitoring.read";
49
-
50
- // Lists the existing valid Uptime check configurations for the project
51
- // (leaving out any invalid configurations).
52
- rpc ListUptimeCheckConfigs(ListUptimeCheckConfigsRequest)
53
- returns (ListUptimeCheckConfigsResponse) {
54
- option (google.api.http) = {
55
- get: "/v3/{parent=projects/*}/uptimeCheckConfigs"
56
- };
57
- option (google.api.method_signature) = "parent";
58
- }
59
-
60
- // Gets a single Uptime check configuration.
61
- rpc GetUptimeCheckConfig(GetUptimeCheckConfigRequest)
62
- returns (UptimeCheckConfig) {
63
- option (google.api.http) = {
64
- get: "/v3/{name=projects/*/uptimeCheckConfigs/*}"
65
- };
66
- option (google.api.method_signature) = "name";
67
- }
68
-
69
- // Creates a new Uptime check configuration.
70
- rpc CreateUptimeCheckConfig(CreateUptimeCheckConfigRequest)
71
- returns (UptimeCheckConfig) {
72
- option (google.api.http) = {
73
- post: "/v3/{parent=projects/*}/uptimeCheckConfigs"
74
- body: "uptime_check_config"
75
- };
76
- option (google.api.method_signature) = "parent,uptime_check_config";
77
- }
78
-
79
- // Updates an Uptime check configuration. You can either replace the entire
80
- // configuration with a new one or replace only certain fields in the current
81
- // configuration by specifying the fields to be updated via `updateMask`.
82
- // Returns the updated configuration.
83
- rpc UpdateUptimeCheckConfig(UpdateUptimeCheckConfigRequest)
84
- returns (UptimeCheckConfig) {
85
- option (google.api.http) = {
86
- patch: "/v3/{uptime_check_config.name=projects/*/uptimeCheckConfigs/*}"
87
- body: "uptime_check_config"
88
- };
89
- option (google.api.method_signature) = "uptime_check_config";
90
- }
91
-
92
- // Deletes an Uptime check configuration. Note that this method will fail
93
- // if the Uptime check configuration is referenced by an alert policy or
94
- // other dependent configs that would be rendered invalid by the deletion.
95
- rpc DeleteUptimeCheckConfig(DeleteUptimeCheckConfigRequest)
96
- returns (google.protobuf.Empty) {
97
- option (google.api.http) = {
98
- delete: "/v3/{name=projects/*/uptimeCheckConfigs/*}"
99
- };
100
- option (google.api.method_signature) = "name";
101
- }
102
-
103
- // Returns the list of IP addresses that checkers run from
104
- rpc ListUptimeCheckIps(ListUptimeCheckIpsRequest)
105
- returns (ListUptimeCheckIpsResponse) {
106
- option (google.api.http) = {
107
- get: "/v3/uptimeCheckIps"
108
- };
109
- }
110
- }
111
-
112
- // The protocol for the `ListUptimeCheckConfigs` request.
113
- message ListUptimeCheckConfigsRequest {
114
- // Required. The
115
- // [project](https://cloud.google.com/monitoring/api/v3#project_name) whose
116
- // Uptime check configurations are listed. The format is:
117
- //
118
- // projects/[PROJECT_ID_OR_NUMBER]
119
- string parent = 1 [
120
- (google.api.field_behavior) = REQUIRED,
121
- (google.api.resource_reference) = {
122
- child_type: "monitoring.googleapis.com/UptimeCheckConfig"
123
- }
124
- ];
125
-
126
- // If provided, this field specifies the criteria that must be met by
127
- // uptime checks to be included in the response.
128
- //
129
- // For more details, see [Filtering
130
- // syntax](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering#filter_syntax).
131
- string filter = 2;
132
-
133
- // The maximum number of results to return in a single response. The server
134
- // may further constrain the maximum number of results returned in a single
135
- // page. If the page_size is <=0, the server will decide the number of results
136
- // to be returned.
137
- int32 page_size = 3;
138
-
139
- // If this field is not empty then it must contain the `nextPageToken` value
140
- // returned by a previous call to this method. Using this field causes the
141
- // method to return more results from the previous method call.
142
- string page_token = 4;
143
- }
144
-
145
- // The protocol for the `ListUptimeCheckConfigs` response.
146
- message ListUptimeCheckConfigsResponse {
147
- // The returned Uptime check configurations.
148
- repeated UptimeCheckConfig uptime_check_configs = 1;
149
-
150
- // This field represents the pagination token to retrieve the next page of
151
- // results. If the value is empty, it means no further results for the
152
- // request. To retrieve the next page of results, the value of the
153
- // next_page_token is passed to the subsequent List method call (in the
154
- // request message's page_token field).
155
- string next_page_token = 2;
156
-
157
- // The total number of Uptime check configurations for the project,
158
- // irrespective of any pagination.
159
- int32 total_size = 3;
160
- }
161
-
162
- // The protocol for the `GetUptimeCheckConfig` request.
163
- message GetUptimeCheckConfigRequest {
164
- // Required. The Uptime check configuration to retrieve. The format is:
165
- //
166
- // projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
167
- string name = 1 [
168
- (google.api.field_behavior) = REQUIRED,
169
- (google.api.resource_reference) = {
170
- type: "monitoring.googleapis.com/UptimeCheckConfig"
171
- }
172
- ];
173
- }
174
-
175
- // The protocol for the `CreateUptimeCheckConfig` request.
176
- message CreateUptimeCheckConfigRequest {
177
- // Required. The
178
- // [project](https://cloud.google.com/monitoring/api/v3#project_name) in which
179
- // to create the Uptime check. The format is:
180
- //
181
- // projects/[PROJECT_ID_OR_NUMBER]
182
- string parent = 1 [
183
- (google.api.field_behavior) = REQUIRED,
184
- (google.api.resource_reference) = {
185
- child_type: "monitoring.googleapis.com/UptimeCheckConfig"
186
- }
187
- ];
188
-
189
- // Required. The new Uptime check configuration.
190
- UptimeCheckConfig uptime_check_config = 2
191
- [(google.api.field_behavior) = REQUIRED];
192
- }
193
-
194
- // The protocol for the `UpdateUptimeCheckConfig` request.
195
- message UpdateUptimeCheckConfigRequest {
196
- // Optional. If present, only the listed fields in the current Uptime check
197
- // configuration are updated with values from the new configuration. If this
198
- // field is empty, then the current configuration is completely replaced with
199
- // the new configuration.
200
- google.protobuf.FieldMask update_mask = 2;
201
-
202
- // Required. If an `updateMask` has been specified, this field gives
203
- // the values for the set of fields mentioned in the `updateMask`. If an
204
- // `updateMask` has not been given, this Uptime check configuration replaces
205
- // the current configuration. If a field is mentioned in `updateMask` but
206
- // the corresponding field is omitted in this partial Uptime check
207
- // configuration, it has the effect of deleting/clearing the field from the
208
- // configuration on the server.
209
- //
210
- // The following fields can be updated: `display_name`,
211
- // `http_check`, `tcp_check`, `timeout`, `content_matchers`, and
212
- // `selected_regions`.
213
- UptimeCheckConfig uptime_check_config = 3
214
- [(google.api.field_behavior) = REQUIRED];
215
- }
216
-
217
- // The protocol for the `DeleteUptimeCheckConfig` request.
218
- message DeleteUptimeCheckConfigRequest {
219
- // Required. The Uptime check configuration to delete. The format is:
220
- //
221
- // projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
222
- string name = 1 [
223
- (google.api.field_behavior) = REQUIRED,
224
- (google.api.resource_reference) = {
225
- type: "monitoring.googleapis.com/UptimeCheckConfig"
226
- }
227
- ];
228
- }
229
-
230
- // The protocol for the `ListUptimeCheckIps` request.
231
- message ListUptimeCheckIpsRequest {
232
- // The maximum number of results to return in a single response. The server
233
- // may further constrain the maximum number of results returned in a single
234
- // page. If the page_size is <=0, the server will decide the number of results
235
- // to be returned.
236
- // NOTE: this field is not yet implemented
237
- int32 page_size = 2;
238
-
239
- // If this field is not empty then it must contain the `nextPageToken` value
240
- // returned by a previous call to this method. Using this field causes the
241
- // method to return more results from the previous method call.
242
- // NOTE: this field is not yet implemented
243
- string page_token = 3;
244
- }
245
-
246
- // The protocol for the `ListUptimeCheckIps` response.
247
- message ListUptimeCheckIpsResponse {
248
- // The returned list of IP addresses (including region and location) that the
249
- // checkers run from.
250
- repeated UptimeCheckIp uptime_check_ips = 1;
251
-
252
- // This field represents the pagination token to retrieve the next page of
253
- // results. If the value is empty, it means no further results for the
254
- // request. To retrieve the next page of results, the value of the
255
- // next_page_token is passed to the subsequent List method call (in the
256
- // request message's page_token field).
257
- // NOTE: this field is not yet implemented
258
- string next_page_token = 2;
259
- }
@@ -1,162 +0,0 @@
1
- // Protocol Buffers - Google's data interchange format
2
- // Copyright 2008 Google Inc. All rights reserved.
3
- // https://developers.google.com/protocol-buffers/
4
- //
5
- // Redistribution and use in source and binary forms, with or without
6
- // modification, are permitted provided that the following conditions are
7
- // met:
8
- //
9
- // * Redistributions of source code must retain the above copyright
10
- // notice, this list of conditions and the following disclaimer.
11
- // * Redistributions in binary form must reproduce the above
12
- // copyright notice, this list of conditions and the following disclaimer
13
- // in the documentation and/or other materials provided with the
14
- // distribution.
15
- // * Neither the name of Google Inc. nor the names of its
16
- // contributors may be used to endorse or promote products derived from
17
- // this software without specific prior written permission.
18
- //
19
- // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20
- // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21
- // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22
- // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23
- // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24
- // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25
- // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26
- // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27
- // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28
- // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
- // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
-
31
- syntax = "proto3";
32
-
33
- package google.protobuf;
34
-
35
- option go_package = "google.golang.org/protobuf/types/known/anypb";
36
- option java_package = "com.google.protobuf";
37
- option java_outer_classname = "AnyProto";
38
- option java_multiple_files = true;
39
- option objc_class_prefix = "GPB";
40
- option csharp_namespace = "Google.Protobuf.WellKnownTypes";
41
-
42
- // `Any` contains an arbitrary serialized protocol buffer message along with a
43
- // URL that describes the type of the serialized message.
44
- //
45
- // Protobuf library provides support to pack/unpack Any values in the form
46
- // of utility functions or additional generated methods of the Any type.
47
- //
48
- // Example 1: Pack and unpack a message in C++.
49
- //
50
- // Foo foo = ...;
51
- // Any any;
52
- // any.PackFrom(foo);
53
- // ...
54
- // if (any.UnpackTo(&foo)) {
55
- // ...
56
- // }
57
- //
58
- // Example 2: Pack and unpack a message in Java.
59
- //
60
- // Foo foo = ...;
61
- // Any any = Any.pack(foo);
62
- // ...
63
- // if (any.is(Foo.class)) {
64
- // foo = any.unpack(Foo.class);
65
- // }
66
- // // or ...
67
- // if (any.isSameTypeAs(Foo.getDefaultInstance())) {
68
- // foo = any.unpack(Foo.getDefaultInstance());
69
- // }
70
- //
71
- // Example 3: Pack and unpack a message in Python.
72
- //
73
- // foo = Foo(...)
74
- // any = Any()
75
- // any.Pack(foo)
76
- // ...
77
- // if any.Is(Foo.DESCRIPTOR):
78
- // any.Unpack(foo)
79
- // ...
80
- //
81
- // Example 4: Pack and unpack a message in Go
82
- //
83
- // foo := &pb.Foo{...}
84
- // any, err := anypb.New(foo)
85
- // if err != nil {
86
- // ...
87
- // }
88
- // ...
89
- // foo := &pb.Foo{}
90
- // if err := any.UnmarshalTo(foo); err != nil {
91
- // ...
92
- // }
93
- //
94
- // The pack methods provided by protobuf library will by default use
95
- // 'type.googleapis.com/full.type.name' as the type URL and the unpack
96
- // methods only use the fully qualified type name after the last '/'
97
- // in the type URL, for example "foo.bar.com/x/y.z" will yield type
98
- // name "y.z".
99
- //
100
- // JSON
101
- // ====
102
- // The JSON representation of an `Any` value uses the regular
103
- // representation of the deserialized, embedded message, with an
104
- // additional field `@type` which contains the type URL. Example:
105
- //
106
- // package google.profile;
107
- // message Person {
108
- // string first_name = 1;
109
- // string last_name = 2;
110
- // }
111
- //
112
- // {
113
- // "@type": "type.googleapis.com/google.profile.Person",
114
- // "firstName": <string>,
115
- // "lastName": <string>
116
- // }
117
- //
118
- // If the embedded message type is well-known and has a custom JSON
119
- // representation, that representation will be embedded adding a field
120
- // `value` which holds the custom JSON in addition to the `@type`
121
- // field. Example (for message [google.protobuf.Duration][]):
122
- //
123
- // {
124
- // "@type": "type.googleapis.com/google.protobuf.Duration",
125
- // "value": "1.212s"
126
- // }
127
- //
128
- message Any {
129
- // A URL/resource name that uniquely identifies the type of the serialized
130
- // protocol buffer message. This string must contain at least
131
- // one "/" character. The last segment of the URL's path must represent
132
- // the fully qualified name of the type (as in
133
- // `path/google.protobuf.Duration`). The name should be in a canonical form
134
- // (e.g., leading "." is not accepted).
135
- //
136
- // In practice, teams usually precompile into the binary all types that they
137
- // expect it to use in the context of Any. However, for URLs which use the
138
- // scheme `http`, `https`, or no scheme, one can optionally set up a type
139
- // server that maps type URLs to message definitions as follows:
140
- //
141
- // * If no scheme is provided, `https` is assumed.
142
- // * An HTTP GET on the URL must yield a [google.protobuf.Type][]
143
- // value in binary format, or produce an error.
144
- // * Applications are allowed to cache lookup results based on the
145
- // URL, or have them precompiled into a binary to avoid any
146
- // lookup. Therefore, binary compatibility needs to be preserved
147
- // on changes to types. (Use versioned type names to manage
148
- // breaking changes.)
149
- //
150
- // Note: this functionality is not currently available in the official
151
- // protobuf release, and it is not used for type URLs beginning with
152
- // type.googleapis.com. As of May 2023, there are no widely used type server
153
- // implementations and no plans to implement one.
154
- //
155
- // Schemes other than `http`, `https` (or the empty scheme) might be
156
- // used with implementation specific semantics.
157
- //
158
- string type_url = 1;
159
-
160
- // Must be a valid serialized protocol buffer of the above specified type.
161
- bytes value = 2;
162
- }
@@ -1,207 +0,0 @@
1
- // Protocol Buffers - Google's data interchange format
2
- // Copyright 2008 Google Inc. All rights reserved.
3
- // https://developers.google.com/protocol-buffers/
4
- //
5
- // Redistribution and use in source and binary forms, with or without
6
- // modification, are permitted provided that the following conditions are
7
- // met:
8
- //
9
- // * Redistributions of source code must retain the above copyright
10
- // notice, this list of conditions and the following disclaimer.
11
- // * Redistributions in binary form must reproduce the above
12
- // copyright notice, this list of conditions and the following disclaimer
13
- // in the documentation and/or other materials provided with the
14
- // distribution.
15
- // * Neither the name of Google Inc. nor the names of its
16
- // contributors may be used to endorse or promote products derived from
17
- // this software without specific prior written permission.
18
- //
19
- // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20
- // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21
- // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22
- // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23
- // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24
- // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25
- // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26
- // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27
- // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28
- // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
- // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
-
31
- syntax = "proto3";
32
-
33
- package google.protobuf;
34
-
35
- import "google/protobuf/source_context.proto";
36
- import "google/protobuf/type.proto";
37
-
38
- option java_package = "com.google.protobuf";
39
- option java_outer_classname = "ApiProto";
40
- option java_multiple_files = true;
41
- option objc_class_prefix = "GPB";
42
- option csharp_namespace = "Google.Protobuf.WellKnownTypes";
43
- option go_package = "google.golang.org/protobuf/types/known/apipb";
44
-
45
- // Api is a light-weight descriptor for an API Interface.
46
- //
47
- // Interfaces are also described as "protocol buffer services" in some contexts,
48
- // such as by the "service" keyword in a .proto file, but they are different
49
- // from API Services, which represent a concrete implementation of an interface
50
- // as opposed to simply a description of methods and bindings. They are also
51
- // sometimes simply referred to as "APIs" in other contexts, such as the name of
52
- // this message itself. See https://cloud.google.com/apis/design/glossary for
53
- // detailed terminology.
54
- message Api {
55
- // The fully qualified name of this interface, including package name
56
- // followed by the interface's simple name.
57
- string name = 1;
58
-
59
- // The methods of this interface, in unspecified order.
60
- repeated Method methods = 2;
61
-
62
- // Any metadata attached to the interface.
63
- repeated Option options = 3;
64
-
65
- // A version string for this interface. If specified, must have the form
66
- // `major-version.minor-version`, as in `1.10`. If the minor version is
67
- // omitted, it defaults to zero. If the entire version field is empty, the
68
- // major version is derived from the package name, as outlined below. If the
69
- // field is not empty, the version in the package name will be verified to be
70
- // consistent with what is provided here.
71
- //
72
- // The versioning schema uses [semantic
73
- // versioning](http://semver.org) where the major version number
74
- // indicates a breaking change and the minor version an additive,
75
- // non-breaking change. Both version numbers are signals to users
76
- // what to expect from different versions, and should be carefully
77
- // chosen based on the product plan.
78
- //
79
- // The major version is also reflected in the package name of the
80
- // interface, which must end in `v<major-version>`, as in
81
- // `google.feature.v1`. For major versions 0 and 1, the suffix can
82
- // be omitted. Zero major versions must only be used for
83
- // experimental, non-GA interfaces.
84
- //
85
- string version = 4;
86
-
87
- // Source context for the protocol buffer service represented by this
88
- // message.
89
- SourceContext source_context = 5;
90
-
91
- // Included interfaces. See [Mixin][].
92
- repeated Mixin mixins = 6;
93
-
94
- // The source syntax of the service.
95
- Syntax syntax = 7;
96
- }
97
-
98
- // Method represents a method of an API interface.
99
- message Method {
100
- // The simple name of this method.
101
- string name = 1;
102
-
103
- // A URL of the input message type.
104
- string request_type_url = 2;
105
-
106
- // If true, the request is streamed.
107
- bool request_streaming = 3;
108
-
109
- // The URL of the output message type.
110
- string response_type_url = 4;
111
-
112
- // If true, the response is streamed.
113
- bool response_streaming = 5;
114
-
115
- // Any metadata attached to the method.
116
- repeated Option options = 6;
117
-
118
- // The source syntax of this method.
119
- Syntax syntax = 7;
120
- }
121
-
122
- // Declares an API Interface to be included in this interface. The including
123
- // interface must redeclare all the methods from the included interface, but
124
- // documentation and options are inherited as follows:
125
- //
126
- // - If after comment and whitespace stripping, the documentation
127
- // string of the redeclared method is empty, it will be inherited
128
- // from the original method.
129
- //
130
- // - Each annotation belonging to the service config (http,
131
- // visibility) which is not set in the redeclared method will be
132
- // inherited.
133
- //
134
- // - If an http annotation is inherited, the path pattern will be
135
- // modified as follows. Any version prefix will be replaced by the
136
- // version of the including interface plus the [root][] path if
137
- // specified.
138
- //
139
- // Example of a simple mixin:
140
- //
141
- // package google.acl.v1;
142
- // service AccessControl {
143
- // // Get the underlying ACL object.
144
- // rpc GetAcl(GetAclRequest) returns (Acl) {
145
- // option (google.api.http).get = "/v1/{resource=**}:getAcl";
146
- // }
147
- // }
148
- //
149
- // package google.storage.v2;
150
- // service Storage {
151
- // rpc GetAcl(GetAclRequest) returns (Acl);
152
- //
153
- // // Get a data record.
154
- // rpc GetData(GetDataRequest) returns (Data) {
155
- // option (google.api.http).get = "/v2/{resource=**}";
156
- // }
157
- // }
158
- //
159
- // Example of a mixin configuration:
160
- //
161
- // apis:
162
- // - name: google.storage.v2.Storage
163
- // mixins:
164
- // - name: google.acl.v1.AccessControl
165
- //
166
- // The mixin construct implies that all methods in `AccessControl` are
167
- // also declared with same name and request/response types in
168
- // `Storage`. A documentation generator or annotation processor will
169
- // see the effective `Storage.GetAcl` method after inherting
170
- // documentation and annotations as follows:
171
- //
172
- // service Storage {
173
- // // Get the underlying ACL object.
174
- // rpc GetAcl(GetAclRequest) returns (Acl) {
175
- // option (google.api.http).get = "/v2/{resource=**}:getAcl";
176
- // }
177
- // ...
178
- // }
179
- //
180
- // Note how the version in the path pattern changed from `v1` to `v2`.
181
- //
182
- // If the `root` field in the mixin is specified, it should be a
183
- // relative path under which inherited HTTP paths are placed. Example:
184
- //
185
- // apis:
186
- // - name: google.storage.v2.Storage
187
- // mixins:
188
- // - name: google.acl.v1.AccessControl
189
- // root: acls
190
- //
191
- // This implies the following inherited HTTP annotation:
192
- //
193
- // service Storage {
194
- // // Get the underlying ACL object.
195
- // rpc GetAcl(GetAclRequest) returns (Acl) {
196
- // option (google.api.http).get = "/v2/acls/{resource=**}:getAcl";
197
- // }
198
- // ...
199
- // }
200
- message Mixin {
201
- // The fully qualified name of the interface which is included.
202
- string name = 1;
203
-
204
- // If non-empty specifies a path under which inherited HTTP paths
205
- // are rooted.
206
- string root = 2;
207
- }