@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,352 +0,0 @@
1
- // Copyright 2021 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/service.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 = "ServiceMonitoringServiceProto";
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 Cloud Monitoring Service-Oriented Monitoring API has endpoints for
36
- // managing and querying aspects of a workspace's services. These include the
37
- // `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy
38
- // of categorized Health Metrics.
39
- service ServiceMonitoringService {
40
- option (google.api.default_host) = "monitoring.googleapis.com";
41
- option (google.api.oauth_scopes) =
42
- "https://www.googleapis.com/auth/cloud-platform,"
43
- "https://www.googleapis.com/auth/monitoring,"
44
- "https://www.googleapis.com/auth/monitoring.read";
45
-
46
- // Create a `Service`.
47
- rpc CreateService(CreateServiceRequest) returns (Service) {
48
- option (google.api.http) = {
49
- post: "/v3/{parent=*/*}/services"
50
- body: "service"
51
- };
52
- option (google.api.method_signature) = "parent,service";
53
- }
54
-
55
- // Get the named `Service`.
56
- rpc GetService(GetServiceRequest) returns (Service) {
57
- option (google.api.http) = {
58
- get: "/v3/{name=*/*/services/*}"
59
- };
60
- option (google.api.method_signature) = "name";
61
- }
62
-
63
- // List `Service`s for this workspace.
64
- rpc ListServices(ListServicesRequest) returns (ListServicesResponse) {
65
- option (google.api.http) = {
66
- get: "/v3/{parent=*/*}/services"
67
- };
68
- option (google.api.method_signature) = "parent";
69
- }
70
-
71
- // Update this `Service`.
72
- rpc UpdateService(UpdateServiceRequest) returns (Service) {
73
- option (google.api.http) = {
74
- patch: "/v3/{service.name=*/*/services/*}"
75
- body: "service"
76
- };
77
- option (google.api.method_signature) = "service";
78
- }
79
-
80
- // Soft delete this `Service`.
81
- rpc DeleteService(DeleteServiceRequest) returns (google.protobuf.Empty) {
82
- option (google.api.http) = {
83
- delete: "/v3/{name=*/*/services/*}"
84
- };
85
- option (google.api.method_signature) = "name";
86
- }
87
-
88
- // Create a `ServiceLevelObjective` for the given `Service`.
89
- rpc CreateServiceLevelObjective(CreateServiceLevelObjectiveRequest) returns (ServiceLevelObjective) {
90
- option (google.api.http) = {
91
- post: "/v3/{parent=*/*/services/*}/serviceLevelObjectives"
92
- body: "service_level_objective"
93
- };
94
- option (google.api.method_signature) = "parent,service_level_objective";
95
- }
96
-
97
- // Get a `ServiceLevelObjective` by name.
98
- rpc GetServiceLevelObjective(GetServiceLevelObjectiveRequest) returns (ServiceLevelObjective) {
99
- option (google.api.http) = {
100
- get: "/v3/{name=*/*/services/*/serviceLevelObjectives/*}"
101
- };
102
- option (google.api.method_signature) = "name";
103
- }
104
-
105
- // List the `ServiceLevelObjective`s for the given `Service`.
106
- rpc ListServiceLevelObjectives(ListServiceLevelObjectivesRequest) returns (ListServiceLevelObjectivesResponse) {
107
- option (google.api.http) = {
108
- get: "/v3/{parent=*/*/services/*}/serviceLevelObjectives"
109
- };
110
- option (google.api.method_signature) = "parent";
111
- }
112
-
113
- // Update the given `ServiceLevelObjective`.
114
- rpc UpdateServiceLevelObjective(UpdateServiceLevelObjectiveRequest) returns (ServiceLevelObjective) {
115
- option (google.api.http) = {
116
- patch: "/v3/{service_level_objective.name=*/*/services/*/serviceLevelObjectives/*}"
117
- body: "service_level_objective"
118
- };
119
- option (google.api.method_signature) = "service_level_objective";
120
- }
121
-
122
- // Delete the given `ServiceLevelObjective`.
123
- rpc DeleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest) returns (google.protobuf.Empty) {
124
- option (google.api.http) = {
125
- delete: "/v3/{name=*/*/services/*/serviceLevelObjectives/*}"
126
- };
127
- option (google.api.method_signature) = "name";
128
- }
129
- }
130
-
131
- // The `CreateService` request.
132
- message CreateServiceRequest {
133
- // Required. Resource [name](https://cloud.google.com/monitoring/api/v3#project_name) of
134
- // the parent workspace. The format is:
135
- //
136
- // projects/[PROJECT_ID_OR_NUMBER]
137
- string parent = 1 [
138
- (google.api.field_behavior) = REQUIRED,
139
- (google.api.resource_reference) = {
140
- child_type: "monitoring.googleapis.com/Service"
141
- }
142
- ];
143
-
144
- // Optional. The Service id to use for this Service. If omitted, an id will be
145
- // generated instead. Must match the pattern `[a-z0-9\-]+`
146
- string service_id = 3;
147
-
148
- // Required. The `Service` to create.
149
- Service service = 2 [(google.api.field_behavior) = REQUIRED];
150
- }
151
-
152
- // The `GetService` request.
153
- message GetServiceRequest {
154
- // Required. Resource name of the `Service`. The format is:
155
- //
156
- // projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
157
- string name = 1 [
158
- (google.api.field_behavior) = REQUIRED,
159
- (google.api.resource_reference) = {
160
- type: "monitoring.googleapis.com/Service"
161
- }
162
- ];
163
- }
164
-
165
- // The `ListServices` request.
166
- message ListServicesRequest {
167
- // Required. Resource name of the parent containing the listed services, either a
168
- // [project](https://cloud.google.com/monitoring/api/v3#project_name) or a
169
- // Monitoring Workspace. The formats are:
170
- //
171
- // projects/[PROJECT_ID_OR_NUMBER]
172
- // workspaces/[HOST_PROJECT_ID_OR_NUMBER]
173
- string parent = 1 [
174
- (google.api.field_behavior) = REQUIRED,
175
- (google.api.resource_reference) = {
176
- child_type: "monitoring.googleapis.com/Service"
177
- }
178
- ];
179
-
180
- // A filter specifying what `Service`s to return. The filter currently
181
- // supports the following fields:
182
- //
183
- // - `identifier_case`
184
- // - `app_engine.module_id`
185
- // - `cloud_endpoints.service` (reserved for future use)
186
- // - `mesh_istio.mesh_uid`
187
- // - `mesh_istio.service_namespace`
188
- // - `mesh_istio.service_name`
189
- // - `cluster_istio.location` (deprecated)
190
- // - `cluster_istio.cluster_name` (deprecated)
191
- // - `cluster_istio.service_namespace` (deprecated)
192
- // - `cluster_istio.service_name` (deprecated)
193
- //
194
- // `identifier_case` refers to which option in the identifier oneof is
195
- // populated. For example, the filter `identifier_case = "CUSTOM"` would match
196
- // all services with a value for the `custom` field. Valid options are
197
- // "CUSTOM", "APP_ENGINE", "MESH_ISTIO", plus "CLUSTER_ISTIO" (deprecated)
198
- // and "CLOUD_ENDPOINTS" (reserved for future use).
199
- string filter = 2;
200
-
201
- // A non-negative number that is the maximum number of results to return.
202
- // When 0, use default page size.
203
- int32 page_size = 3;
204
-
205
- // If this field is not empty then it must contain the `nextPageToken` value
206
- // returned by a previous call to this method. Using this field causes the
207
- // method to return additional results from the previous method call.
208
- string page_token = 4;
209
- }
210
-
211
- // The `ListServices` response.
212
- message ListServicesResponse {
213
- // The `Service`s matching the specified filter.
214
- repeated Service services = 1;
215
-
216
- // If there are more results than have been returned, then this field is set
217
- // to a non-empty value. To see the additional results,
218
- // use that value as `page_token` in the next call to this method.
219
- string next_page_token = 2;
220
- }
221
-
222
- // The `UpdateService` request.
223
- message UpdateServiceRequest {
224
- // Required. The `Service` to draw updates from.
225
- // The given `name` specifies the resource to update.
226
- Service service = 1 [(google.api.field_behavior) = REQUIRED];
227
-
228
- // A set of field paths defining which fields to use for the update.
229
- google.protobuf.FieldMask update_mask = 2;
230
- }
231
-
232
- // The `DeleteService` request.
233
- message DeleteServiceRequest {
234
- // Required. Resource name of the `Service` to delete. The format is:
235
- //
236
- // projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
237
- string name = 1 [
238
- (google.api.field_behavior) = REQUIRED,
239
- (google.api.resource_reference) = {
240
- type: "monitoring.googleapis.com/Service"
241
- }
242
- ];
243
- }
244
-
245
- // The `CreateServiceLevelObjective` request.
246
- message CreateServiceLevelObjectiveRequest {
247
- // Required. Resource name of the parent `Service`. The format is:
248
- //
249
- // projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
250
- string parent = 1 [
251
- (google.api.field_behavior) = REQUIRED,
252
- (google.api.resource_reference) = {
253
- type: "monitoring.googleapis.com/Service"
254
- }
255
- ];
256
-
257
- // Optional. The ServiceLevelObjective id to use for this
258
- // ServiceLevelObjective. If omitted, an id will be generated instead. Must
259
- // match the pattern `[a-z0-9\-]+`
260
- string service_level_objective_id = 3;
261
-
262
- // Required. The `ServiceLevelObjective` to create.
263
- // The provided `name` will be respected if no `ServiceLevelObjective` exists
264
- // with this name.
265
- ServiceLevelObjective service_level_objective = 2 [(google.api.field_behavior) = REQUIRED];
266
- }
267
-
268
- // The `GetServiceLevelObjective` request.
269
- message GetServiceLevelObjectiveRequest {
270
- // Required. Resource name of the `ServiceLevelObjective` to get. The format is:
271
- //
272
- // projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
273
- string name = 1 [
274
- (google.api.field_behavior) = REQUIRED,
275
- (google.api.resource_reference) = {
276
- type: "monitoring.googleapis.com/ServiceLevelObjective"
277
- }
278
- ];
279
-
280
- // View of the `ServiceLevelObjective` to return. If `DEFAULT`, return the
281
- // `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
282
- // `ServiceLevelObjective` is defined in terms of a `BasicSli`, replace the
283
- // `BasicSli` with a `RequestBasedSli` spelling out how the SLI is computed.
284
- ServiceLevelObjective.View view = 2;
285
- }
286
-
287
- // The `ListServiceLevelObjectives` request.
288
- message ListServiceLevelObjectivesRequest {
289
- // Required. Resource name of the parent containing the listed SLOs, either a
290
- // project or a Monitoring Workspace. The formats are:
291
- //
292
- // projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
293
- // workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
294
- string parent = 1 [
295
- (google.api.field_behavior) = REQUIRED,
296
- (google.api.resource_reference) = {
297
- type: "monitoring.googleapis.com/Service"
298
- }
299
- ];
300
-
301
- // A filter specifying what `ServiceLevelObjective`s to return.
302
- string filter = 2;
303
-
304
- // A non-negative number that is the maximum number of results to return.
305
- // When 0, use default page size.
306
- int32 page_size = 3;
307
-
308
- // If this field is not empty then it must contain the `nextPageToken` value
309
- // returned by a previous call to this method. Using this field causes the
310
- // method to return additional results from the previous method call.
311
- string page_token = 4;
312
-
313
- // View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each
314
- // `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
315
- // `ServiceLevelObjective` is defined in terms of a `BasicSli`, replace the
316
- // `BasicSli` with a `RequestBasedSli` spelling out how the SLI is computed.
317
- ServiceLevelObjective.View view = 5;
318
- }
319
-
320
- // The `ListServiceLevelObjectives` response.
321
- message ListServiceLevelObjectivesResponse {
322
- // The `ServiceLevelObjective`s matching the specified filter.
323
- repeated ServiceLevelObjective service_level_objectives = 1;
324
-
325
- // If there are more results than have been returned, then this field is set
326
- // to a non-empty value. To see the additional results,
327
- // use that value as `page_token` in the next call to this method.
328
- string next_page_token = 2;
329
- }
330
-
331
- // The `UpdateServiceLevelObjective` request.
332
- message UpdateServiceLevelObjectiveRequest {
333
- // Required. The `ServiceLevelObjective` to draw updates from.
334
- // The given `name` specifies the resource to update.
335
- ServiceLevelObjective service_level_objective = 1 [(google.api.field_behavior) = REQUIRED];
336
-
337
- // A set of field paths defining which fields to use for the update.
338
- google.protobuf.FieldMask update_mask = 2;
339
- }
340
-
341
- // The `DeleteServiceLevelObjective` request.
342
- message DeleteServiceLevelObjectiveRequest {
343
- // Required. Resource name of the `ServiceLevelObjective` to delete. The format is:
344
- //
345
- // projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
346
- string name = 1 [
347
- (google.api.field_behavior) = REQUIRED,
348
- (google.api.resource_reference) = {
349
- type: "monitoring.googleapis.com/ServiceLevelObjective"
350
- }
351
- ];
352
- }
@@ -1,78 +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/field_behavior.proto";
20
- import "google/api/resource.proto";
21
- import "google/monitoring/v3/common.proto";
22
-
23
- option csharp_namespace = "Google.Cloud.Monitoring.V3";
24
- option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb";
25
- option java_multiple_files = true;
26
- option java_outer_classname = "SnoozeProto";
27
- option java_package = "com.google.monitoring.v3";
28
- option php_namespace = "Google\\Cloud\\Monitoring\\V3";
29
- option ruby_package = "Google::Cloud::Monitoring::V3";
30
-
31
- // A `Snooze` will prevent any alerts from being opened, and close any that
32
- // are already open. The `Snooze` will work on alerts that match the
33
- // criteria defined in the `Snooze`. The `Snooze` will be active from
34
- // `interval.start_time` through `interval.end_time`.
35
- message Snooze {
36
- option (google.api.resource) = {
37
- type: "monitoring.googleapis.com/Snooze"
38
- pattern: "projects/{project}/snoozes/{snooze}"
39
- };
40
-
41
- // Criteria specific to the `AlertPolicy`s that this `Snooze` applies to. The
42
- // `Snooze` will suppress alerts that come from one of the `AlertPolicy`s
43
- // whose names are supplied.
44
- message Criteria {
45
- // The specific `AlertPolicy` names for the alert that should be snoozed.
46
- // The format is:
47
- //
48
- // projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[POLICY_ID]
49
- //
50
- // There is a limit of 16 policies per snooze. This limit is checked during
51
- // snooze creation.
52
- repeated string policies = 1 [(google.api.resource_reference) = {
53
- type: "monitoring.googleapis.com/AlertPolicy"
54
- }];
55
- }
56
-
57
- // Required. The name of the `Snooze`. The format is:
58
- //
59
- // projects/[PROJECT_ID_OR_NUMBER]/snoozes/[SNOOZE_ID]
60
- //
61
- // The ID of the `Snooze` will be generated by the system.
62
- string name = 1 [(google.api.field_behavior) = REQUIRED];
63
-
64
- // Required. This defines the criteria for applying the `Snooze`. See
65
- // `Criteria` for more information.
66
- Criteria criteria = 3 [(google.api.field_behavior) = REQUIRED];
67
-
68
- // Required. The `Snooze` will be active from `interval.start_time` through
69
- // `interval.end_time`.
70
- // `interval.start_time` cannot be in the past. There is a 15 second clock
71
- // skew to account for the time it takes for a request to reach the API from
72
- // the UI.
73
- TimeInterval interval = 4 [(google.api.field_behavior) = REQUIRED];
74
-
75
- // Required. A display name for the `Snooze`. This can be, at most, 512
76
- // unicode characters.
77
- string display_name = 5 [(google.api.field_behavior) = REQUIRED];
78
- }
@@ -1,210 +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/snooze.proto";
24
- import "google/protobuf/field_mask.proto";
25
-
26
- option csharp_namespace = "Google.Cloud.Monitoring.V3";
27
- option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb";
28
- option java_multiple_files = true;
29
- option java_outer_classname = "SnoozeServiceProto";
30
- option java_package = "com.google.monitoring.v3";
31
- option php_namespace = "Google\\Cloud\\Monitoring\\V3";
32
- option ruby_package = "Google::Cloud::Monitoring::V3";
33
-
34
- // The SnoozeService API is used to temporarily prevent an alert policy from
35
- // generating alerts. A Snooze is a description of the criteria under which one
36
- // or more alert policies should not fire alerts for the specified duration.
37
- service SnoozeService {
38
- option (google.api.default_host) = "monitoring.googleapis.com";
39
- option (google.api.oauth_scopes) =
40
- "https://www.googleapis.com/auth/cloud-platform,"
41
- "https://www.googleapis.com/auth/monitoring,"
42
- "https://www.googleapis.com/auth/monitoring.read";
43
-
44
- // Creates a `Snooze` that will prevent alerts, which match the provided
45
- // criteria, from being opened. The `Snooze` applies for a specific time
46
- // interval.
47
- rpc CreateSnooze(CreateSnoozeRequest) returns (Snooze) {
48
- option (google.api.http) = {
49
- post: "/v3/{parent=projects/*}/snoozes"
50
- body: "snooze"
51
- };
52
- option (google.api.method_signature) = "parent,snooze";
53
- }
54
-
55
- // Lists the `Snooze`s associated with a project. Can optionally pass in
56
- // `filter`, which specifies predicates to match `Snooze`s.
57
- rpc ListSnoozes(ListSnoozesRequest) returns (ListSnoozesResponse) {
58
- option (google.api.http) = {
59
- get: "/v3/{parent=projects/*}/snoozes"
60
- };
61
- option (google.api.method_signature) = "parent";
62
- }
63
-
64
- // Retrieves a `Snooze` by `name`.
65
- rpc GetSnooze(GetSnoozeRequest) returns (Snooze) {
66
- option (google.api.http) = {
67
- get: "/v3/{name=projects/*/snoozes/*}"
68
- };
69
- option (google.api.method_signature) = "name";
70
- }
71
-
72
- // Updates a `Snooze`, identified by its `name`, with the parameters in the
73
- // given `Snooze` object.
74
- rpc UpdateSnooze(UpdateSnoozeRequest) returns (Snooze) {
75
- option (google.api.http) = {
76
- patch: "/v3/{snooze.name=projects/*/snoozes/*}"
77
- body: "snooze"
78
- };
79
- option (google.api.method_signature) = "snooze,update_mask";
80
- }
81
- }
82
-
83
- // The message definition for creating a `Snooze`. Users must provide the body
84
- // of the `Snooze` to be created but must omit the `Snooze` field, `name`.
85
- message CreateSnoozeRequest {
86
- // Required. The
87
- // [project](https://cloud.google.com/monitoring/api/v3#project_name) in which
88
- // a `Snooze` should be created. The format is:
89
- //
90
- // projects/[PROJECT_ID_OR_NUMBER]
91
- string parent = 1 [
92
- (google.api.field_behavior) = REQUIRED,
93
- (google.api.resource_reference) = {
94
- child_type: "monitoring.googleapis.com/Snooze"
95
- }
96
- ];
97
-
98
- // Required. The `Snooze` to create. Omit the `name` field, as it will be
99
- // filled in by the API.
100
- Snooze snooze = 2 [(google.api.field_behavior) = REQUIRED];
101
- }
102
-
103
- // The message definition for listing `Snooze`s associated with the given
104
- // `parent`, satisfying the optional `filter`.
105
- message ListSnoozesRequest {
106
- // Required. The
107
- // [project](https://cloud.google.com/monitoring/api/v3#project_name) whose
108
- // `Snooze`s should be listed. The format is:
109
- //
110
- // projects/[PROJECT_ID_OR_NUMBER]
111
- string parent = 1 [
112
- (google.api.field_behavior) = REQUIRED,
113
- (google.api.resource_reference) = {
114
- child_type: "monitoring.googleapis.com/Snooze"
115
- }
116
- ];
117
-
118
- // Optional. Optional filter to restrict results to the given criteria. The
119
- // following fields are supported.
120
- //
121
- // * `interval.start_time`
122
- // * `interval.end_time`
123
- //
124
- // For example:
125
- //
126
- // ```
127
- // interval.start_time > "2022-03-11T00:00:00-08:00" AND
128
- // interval.end_time < "2022-03-12T00:00:00-08:00"
129
- // ```
130
- string filter = 2 [(google.api.field_behavior) = OPTIONAL];
131
-
132
- // Optional. The maximum number of results to return for a single query. The
133
- // server may further constrain the maximum number of results returned in a
134
- // single page. The value should be in the range [1, 1000]. If the value given
135
- // is outside this range, the server will decide the number of results to be
136
- // returned.
137
- int32 page_size = 4 [(google.api.field_behavior) = OPTIONAL];
138
-
139
- // Optional. The `next_page_token` from a previous call to
140
- // `ListSnoozesRequest` to get the next page of results.
141
- string page_token = 5 [(google.api.field_behavior) = OPTIONAL];
142
- }
143
-
144
- // The results of a successful `ListSnoozes` call, containing the matching
145
- // `Snooze`s.
146
- message ListSnoozesResponse {
147
- // `Snooze`s matching this list call.
148
- repeated Snooze snoozes = 1;
149
-
150
- // Page token for repeated calls to `ListSnoozes`, to fetch additional pages
151
- // of results. If this is empty or missing, there are no more pages.
152
- string next_page_token = 2;
153
- }
154
-
155
- // The message definition for retrieving a `Snooze`. Users must specify the
156
- // field, `name`, which identifies the `Snooze`.
157
- message GetSnoozeRequest {
158
- // Required. The ID of the `Snooze` to retrieve. The format is:
159
- //
160
- // projects/[PROJECT_ID_OR_NUMBER]/snoozes/[SNOOZE_ID]
161
- string name = 1 [
162
- (google.api.field_behavior) = REQUIRED,
163
- (google.api.resource_reference) = {
164
- type: "monitoring.googleapis.com/Snooze"
165
- }
166
- ];
167
- }
168
-
169
- // The message definition for updating a `Snooze`. The field, `snooze.name`
170
- // identifies the `Snooze` to be updated. The remainder of `snooze` gives the
171
- // content the `Snooze` in question will be assigned.
172
- //
173
- // What fields can be updated depends on the start time and end time of the
174
- // `Snooze`.
175
- //
176
- // * end time is in the past: These `Snooze`s are considered
177
- // read-only and cannot be updated.
178
- // * start time is in the past and end time is in the future: `display_name`
179
- // and `interval.end_time` can be updated.
180
- // * start time is in the future: `display_name`, `interval.start_time` and
181
- // `interval.end_time` can be updated.
182
- message UpdateSnoozeRequest {
183
- // Required. The `Snooze` to update. Must have the name field present.
184
- Snooze snooze = 1 [(google.api.field_behavior) = REQUIRED];
185
-
186
- // Required. The fields to update.
187
- //
188
- // For each field listed in `update_mask`:
189
- //
190
- // * If the `Snooze` object supplied in the `UpdateSnoozeRequest` has a
191
- // value for that field, the value of the field in the existing `Snooze`
192
- // will be set to the value of the field in the supplied `Snooze`.
193
- // * If the field does not have a value in the supplied `Snooze`, the field
194
- // in the existing `Snooze` is set to its default value.
195
- //
196
- // Fields not listed retain their existing value.
197
- //
198
- // The following are the field names that are accepted in `update_mask`:
199
- //
200
- // * `display_name`
201
- // * `interval.start_time`
202
- // * `interval.end_time`
203
- //
204
- // That said, the start time and end time of the `Snooze` determines which
205
- // fields can legally be updated. Before attempting an update, users should
206
- // consult the documentation for `UpdateSnoozeRequest`, which talks about
207
- // which fields can be updated.
208
- google.protobuf.FieldMask update_mask = 2
209
- [(google.api.field_behavior) = REQUIRED];
210
- }
@@ -1,45 +0,0 @@
1
- // Copyright 2021 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
- option csharp_namespace = "Google.Cloud.Monitoring.V3";
20
- option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb";
21
- option java_multiple_files = true;
22
- option java_outer_classname = "SpanContextProto";
23
- option java_package = "com.google.monitoring.v3";
24
- option php_namespace = "Google\\Cloud\\Monitoring\\V3";
25
- option ruby_package = "Google::Cloud::Monitoring::V3";
26
-
27
- // The context of a span. This is attached to an
28
- // [Exemplar][google.api.Distribution.Exemplar]
29
- // in [Distribution][google.api.Distribution] values during aggregation.
30
- //
31
- // It contains the name of a span with format:
32
- //
33
- // projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
34
- message SpanContext {
35
- // The resource name of the span. The format is:
36
- //
37
- // projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
38
- //
39
- // `[TRACE_ID]` is a unique identifier for a trace within a project;
40
- // it is a 32-character hexadecimal encoding of a 16-byte array.
41
- //
42
- // `[SPAN_ID]` is a unique identifier for a span within a trace; it
43
- // is a 16-character hexadecimal encoding of an 8-byte array.
44
- string span_name = 1;
45
- }