@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,522 +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/metric.proto";
23
- import "google/api/monitored_resource.proto";
24
- import "google/api/resource.proto";
25
- import "google/monitoring/v3/common.proto";
26
- import "google/monitoring/v3/metric.proto";
27
- import "google/protobuf/empty.proto";
28
- import "google/rpc/status.proto";
29
-
30
- option csharp_namespace = "Google.Cloud.Monitoring.V3";
31
- option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb";
32
- option java_multiple_files = true;
33
- option java_outer_classname = "MetricServiceProto";
34
- option java_package = "com.google.monitoring.v3";
35
- option php_namespace = "Google\\Cloud\\Monitoring\\V3";
36
- option ruby_package = "Google::Cloud::Monitoring::V3";
37
- option (google.api.resource_definition) = {
38
- type: "monitoring.googleapis.com/MetricDescriptor"
39
- pattern: "projects/{project}/metricDescriptors/{metric_descriptor=**}"
40
- pattern: "organizations/{organization}/metricDescriptors/{metric_descriptor=**}"
41
- pattern: "folders/{folder}/metricDescriptors/{metric_descriptor=**}"
42
- pattern: "*"
43
- history: ORIGINALLY_SINGLE_PATTERN
44
- };
45
- option (google.api.resource_definition) = {
46
- type: "monitoring.googleapis.com/MonitoredResourceDescriptor"
47
- pattern: "projects/{project}/monitoredResourceDescriptors/{monitored_resource_descriptor}"
48
- pattern: "organizations/{organization}/monitoredResourceDescriptors/{monitored_resource_descriptor}"
49
- pattern: "folders/{folder}/monitoredResourceDescriptors/{monitored_resource_descriptor}"
50
- pattern: "*"
51
- history: ORIGINALLY_SINGLE_PATTERN
52
- };
53
- option (google.api.resource_definition) = {
54
- type: "monitoring.googleapis.com/Workspace"
55
- pattern: "projects/{project}"
56
- pattern: "workspaces/{workspace}"
57
- };
58
- option (google.api.resource_definition) = {
59
- type: "monitoring.googleapis.com/TimeSeries"
60
- pattern: "projects/{project}/timeSeries/{time_series}"
61
- pattern: "organizations/{organization}/timeSeries/{time_series}"
62
- pattern: "folders/{folder}/timeSeries/{time_series}"
63
- };
64
-
65
- // Manages metric descriptors, monitored resource descriptors, and
66
- // time series data.
67
- service MetricService {
68
- option (google.api.default_host) = "monitoring.googleapis.com";
69
- option (google.api.oauth_scopes) =
70
- "https://www.googleapis.com/auth/cloud-platform,"
71
- "https://www.googleapis.com/auth/monitoring,"
72
- "https://www.googleapis.com/auth/monitoring.read,"
73
- "https://www.googleapis.com/auth/monitoring.write";
74
-
75
- // Lists monitored resource descriptors that match a filter. This method does not require a Workspace.
76
- rpc ListMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest) returns (ListMonitoredResourceDescriptorsResponse) {
77
- option (google.api.http) = {
78
- get: "/v3/{name=projects/*}/monitoredResourceDescriptors"
79
- };
80
- option (google.api.method_signature) = "name";
81
- }
82
-
83
- // Gets a single monitored resource descriptor. This method does not require a Workspace.
84
- rpc GetMonitoredResourceDescriptor(GetMonitoredResourceDescriptorRequest) returns (google.api.MonitoredResourceDescriptor) {
85
- option (google.api.http) = {
86
- get: "/v3/{name=projects/*/monitoredResourceDescriptors/**}"
87
- };
88
- option (google.api.method_signature) = "name";
89
- }
90
-
91
- // Lists metric descriptors that match a filter. This method does not require a Workspace.
92
- rpc ListMetricDescriptors(ListMetricDescriptorsRequest) returns (ListMetricDescriptorsResponse) {
93
- option (google.api.http) = {
94
- get: "/v3/{name=projects/*}/metricDescriptors"
95
- };
96
- option (google.api.method_signature) = "name";
97
- }
98
-
99
- // Gets a single metric descriptor. This method does not require a Workspace.
100
- rpc GetMetricDescriptor(GetMetricDescriptorRequest) returns (google.api.MetricDescriptor) {
101
- option (google.api.http) = {
102
- get: "/v3/{name=projects/*/metricDescriptors/**}"
103
- };
104
- option (google.api.method_signature) = "name";
105
- }
106
-
107
- // Creates a new metric descriptor.
108
- // The creation is executed asynchronously and callers may check the returned
109
- // operation to track its progress.
110
- // User-created metric descriptors define
111
- // [custom metrics](https://cloud.google.com/monitoring/custom-metrics).
112
- rpc CreateMetricDescriptor(CreateMetricDescriptorRequest) returns (google.api.MetricDescriptor) {
113
- option (google.api.http) = {
114
- post: "/v3/{name=projects/*}/metricDescriptors"
115
- body: "metric_descriptor"
116
- };
117
- option (google.api.method_signature) = "name,metric_descriptor";
118
- }
119
-
120
- // Deletes a metric descriptor. Only user-created
121
- // [custom metrics](https://cloud.google.com/monitoring/custom-metrics) can be
122
- // deleted.
123
- rpc DeleteMetricDescriptor(DeleteMetricDescriptorRequest) returns (google.protobuf.Empty) {
124
- option (google.api.http) = {
125
- delete: "/v3/{name=projects/*/metricDescriptors/**}"
126
- };
127
- option (google.api.method_signature) = "name";
128
- }
129
-
130
- // Lists time series that match a filter. This method does not require a Workspace.
131
- rpc ListTimeSeries(ListTimeSeriesRequest) returns (ListTimeSeriesResponse) {
132
- option (google.api.http) = {
133
- get: "/v3/{name=projects/*}/timeSeries"
134
- additional_bindings {
135
- get: "/v3/{name=organizations/*}/timeSeries"
136
- }
137
- additional_bindings {
138
- get: "/v3/{name=folders/*}/timeSeries"
139
- }
140
- };
141
- option (google.api.method_signature) = "name,filter,interval,view";
142
- }
143
-
144
- // Creates or adds data to one or more time series.
145
- // The response is empty if all time series in the request were written.
146
- // If any time series could not be written, a corresponding failure message is
147
- // included in the error response.
148
- rpc CreateTimeSeries(CreateTimeSeriesRequest) returns (google.protobuf.Empty) {
149
- option (google.api.http) = {
150
- post: "/v3/{name=projects/*}/timeSeries"
151
- body: "*"
152
- };
153
- option (google.api.method_signature) = "name,time_series";
154
- }
155
-
156
- // Creates or adds data to one or more service time series. A service time
157
- // series is a time series for a metric from a Google Cloud service. The
158
- // response is empty if all time series in the request were written. If any
159
- // time series could not be written, a corresponding failure message is
160
- // included in the error response. This endpoint rejects writes to
161
- // user-defined metrics.
162
- // This method is only for use by Google Cloud services. Use
163
- // [projects.timeSeries.create][google.monitoring.v3.MetricService.CreateTimeSeries]
164
- // instead.
165
- rpc CreateServiceTimeSeries(CreateTimeSeriesRequest) returns (google.protobuf.Empty) {
166
- option (google.api.http) = {
167
- post: "/v3/{name=projects/*}/timeSeries:createService"
168
- body: "*"
169
- };
170
- option (google.api.method_signature) = "name,time_series";
171
- }
172
- }
173
-
174
- // The `ListMonitoredResourceDescriptors` request.
175
- message ListMonitoredResourceDescriptorsRequest {
176
- // Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
177
- // which to execute the request. The format is:
178
- //
179
- // projects/[PROJECT_ID_OR_NUMBER]
180
- string name = 5 [
181
- (google.api.field_behavior) = REQUIRED,
182
- (google.api.resource_reference) = {
183
- child_type: "monitoring.googleapis.com/MonitoredResourceDescriptor"
184
- }
185
- ];
186
-
187
- // An optional [filter](https://cloud.google.com/monitoring/api/v3/filters)
188
- // describing the descriptors to be returned. The filter can reference the
189
- // descriptor's type and labels. For example, the following filter returns
190
- // only Google Compute Engine descriptors that have an `id` label:
191
- //
192
- // resource.type = starts_with("gce_") AND resource.label:id
193
- string filter = 2;
194
-
195
- // A positive number that is the maximum number of results to return.
196
- int32 page_size = 3;
197
-
198
- // If this field is not empty then it must contain the `nextPageToken` value
199
- // returned by a previous call to this method. Using this field causes the
200
- // method to return additional results from the previous method call.
201
- string page_token = 4;
202
- }
203
-
204
- // The `ListMonitoredResourceDescriptors` response.
205
- message ListMonitoredResourceDescriptorsResponse {
206
- // The monitored resource descriptors that are available to this project
207
- // and that match `filter`, if present.
208
- repeated google.api.MonitoredResourceDescriptor resource_descriptors = 1;
209
-
210
- // If there are more results than have been returned, then this field is set
211
- // to a non-empty value. To see the additional results,
212
- // use that value as `page_token` in the next call to this method.
213
- string next_page_token = 2;
214
- }
215
-
216
- // The `GetMonitoredResourceDescriptor` request.
217
- message GetMonitoredResourceDescriptorRequest {
218
- // Required. The monitored resource descriptor to get. The format is:
219
- //
220
- // projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
221
- //
222
- // The `[RESOURCE_TYPE]` is a predefined type, such as
223
- // `cloudsql_database`.
224
- string name = 3 [
225
- (google.api.field_behavior) = REQUIRED,
226
- (google.api.resource_reference) = {
227
- type: "monitoring.googleapis.com/MonitoredResourceDescriptor"
228
- }
229
- ];
230
- }
231
-
232
- // The `ListMetricDescriptors` request.
233
- message ListMetricDescriptorsRequest {
234
- // Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
235
- // which to execute the request. The format is:
236
- //
237
- // projects/[PROJECT_ID_OR_NUMBER]
238
- string name = 5 [
239
- (google.api.field_behavior) = REQUIRED,
240
- (google.api.resource_reference) = {
241
- child_type: "monitoring.googleapis.com/MetricDescriptor"
242
- }
243
- ];
244
-
245
- // If this field is empty, all custom and
246
- // system-defined metric descriptors are returned.
247
- // Otherwise, the [filter](https://cloud.google.com/monitoring/api/v3/filters)
248
- // specifies which metric descriptors are to be
249
- // returned. For example, the following filter matches all
250
- // [custom metrics](https://cloud.google.com/monitoring/custom-metrics):
251
- //
252
- // metric.type = starts_with("custom.googleapis.com/")
253
- string filter = 2;
254
-
255
- // A positive number that is the maximum number of results to return.
256
- int32 page_size = 3;
257
-
258
- // If this field is not empty then it must contain the `nextPageToken` value
259
- // returned by a previous call to this method. Using this field causes the
260
- // method to return additional results from the previous method call.
261
- string page_token = 4;
262
- }
263
-
264
- // The `ListMetricDescriptors` response.
265
- message ListMetricDescriptorsResponse {
266
- // The metric descriptors that are available to the project
267
- // and that match the value of `filter`, if present.
268
- repeated google.api.MetricDescriptor metric_descriptors = 1;
269
-
270
- // If there are more results than have been returned, then this field is set
271
- // to a non-empty value. To see the additional results,
272
- // use that value as `page_token` in the next call to this method.
273
- string next_page_token = 2;
274
- }
275
-
276
- // The `GetMetricDescriptor` request.
277
- message GetMetricDescriptorRequest {
278
- // Required. The metric descriptor on which to execute the request. The format is:
279
- //
280
- // projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
281
- //
282
- // An example value of `[METRIC_ID]` is
283
- // `"compute.googleapis.com/instance/disk/read_bytes_count"`.
284
- string name = 3 [
285
- (google.api.field_behavior) = REQUIRED,
286
- (google.api.resource_reference) = {
287
- type: "monitoring.googleapis.com/MetricDescriptor"
288
- }
289
- ];
290
- }
291
-
292
- // The `CreateMetricDescriptor` request.
293
- message CreateMetricDescriptorRequest {
294
- // Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
295
- // which to execute the request. The format is:
296
- // 4
297
- // projects/[PROJECT_ID_OR_NUMBER]
298
- string name = 3 [
299
- (google.api.field_behavior) = REQUIRED,
300
- (google.api.resource_reference) = {
301
- child_type: "monitoring.googleapis.com/MetricDescriptor"
302
- }
303
- ];
304
-
305
- // Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
306
- // descriptor.
307
- google.api.MetricDescriptor metric_descriptor = 2 [(google.api.field_behavior) = REQUIRED];
308
- }
309
-
310
- // The `DeleteMetricDescriptor` request.
311
- message DeleteMetricDescriptorRequest {
312
- // Required. The metric descriptor on which to execute the request. The format is:
313
- //
314
- // projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
315
- //
316
- // An example of `[METRIC_ID]` is:
317
- // `"custom.googleapis.com/my_test_metric"`.
318
- string name = 3 [
319
- (google.api.field_behavior) = REQUIRED,
320
- (google.api.resource_reference) = {
321
- type: "monitoring.googleapis.com/MetricDescriptor"
322
- }
323
- ];
324
- }
325
-
326
- // The `ListTimeSeries` request.
327
- message ListTimeSeriesRequest {
328
- // Controls which fields are returned by `ListTimeSeries`.
329
- enum TimeSeriesView {
330
- // Returns the identity of the metric(s), the time series,
331
- // and the time series data.
332
- FULL = 0;
333
-
334
- // Returns the identity of the metric and the time series resource,
335
- // but not the time series data.
336
- HEADERS = 1;
337
- }
338
-
339
- // Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name),
340
- // organization or folder on which to execute the request. The format is:
341
- //
342
- // projects/[PROJECT_ID_OR_NUMBER]
343
- // organizations/[ORGANIZATION_ID]
344
- // folders/[FOLDER_ID]
345
- string name = 10 [
346
- (google.api.field_behavior) = REQUIRED,
347
- (google.api.resource_reference) = {
348
- child_type: "monitoring.googleapis.com/TimeSeries"
349
- }
350
- ];
351
-
352
- // Required. A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
353
- // that specifies which time series should be returned. The filter must
354
- // specify a single metric type, and can additionally specify metric labels
355
- // and other information. For example:
356
- //
357
- // metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
358
- // metric.labels.instance_name = "my-instance-name"
359
- string filter = 2 [(google.api.field_behavior) = REQUIRED];
360
-
361
- // Required. The time interval for which results should be returned. Only time series
362
- // that contain data points in the specified interval are included
363
- // in the response.
364
- TimeInterval interval = 4 [(google.api.field_behavior) = REQUIRED];
365
-
366
- // Specifies the alignment of data points in individual time series as
367
- // well as how to combine the retrieved time series across specified labels.
368
- //
369
- // By default (if no `aggregation` is explicitly specified), the raw time
370
- // series data is returned.
371
- Aggregation aggregation = 5;
372
-
373
- // Apply a second aggregation after `aggregation` is applied. May only be
374
- // specified if `aggregation` is specified.
375
- Aggregation secondary_aggregation = 11;
376
-
377
- // Unsupported: must be left blank. The points in each time series are
378
- // currently returned in reverse time order (most recent to oldest).
379
- string order_by = 6;
380
-
381
- // Required. Specifies which information is returned about the time series.
382
- TimeSeriesView view = 7 [(google.api.field_behavior) = REQUIRED];
383
-
384
- // A positive number that is the maximum number of results to return. If
385
- // `page_size` is empty or more than 100,000 results, the effective
386
- // `page_size` is 100,000 results. If `view` is set to `FULL`, this is the
387
- // maximum number of `Points` returned. If `view` is set to `HEADERS`, this is
388
- // the maximum number of `TimeSeries` returned.
389
- int32 page_size = 8;
390
-
391
- // If this field is not empty then it must contain the `nextPageToken` value
392
- // returned by a previous call to this method. Using this field causes the
393
- // method to return additional results from the previous method call.
394
- string page_token = 9;
395
- }
396
-
397
- // The `ListTimeSeries` response.
398
- message ListTimeSeriesResponse {
399
- // One or more time series that match the filter included in the request.
400
- repeated TimeSeries time_series = 1;
401
-
402
- // If there are more results than have been returned, then this field is set
403
- // to a non-empty value. To see the additional results,
404
- // use that value as `page_token` in the next call to this method.
405
- string next_page_token = 2;
406
-
407
- // Query execution errors that may have caused the time series data returned
408
- // to be incomplete.
409
- repeated google.rpc.Status execution_errors = 3;
410
-
411
- // The unit in which all `time_series` point values are reported. `unit`
412
- // follows the UCUM format for units as seen in
413
- // https://unitsofmeasure.org/ucum.html.
414
- // If different `time_series` have different units (for example, because they
415
- // come from different metric types, or a unit is absent), then `unit` will be
416
- // "{not_a_unit}".
417
- string unit = 5;
418
- }
419
-
420
- // The `CreateTimeSeries` request.
421
- message CreateTimeSeriesRequest {
422
- // Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
423
- // which to execute the request. The format is:
424
- //
425
- // projects/[PROJECT_ID_OR_NUMBER]
426
- string name = 3 [
427
- (google.api.field_behavior) = REQUIRED,
428
- (google.api.resource_reference) = {
429
- type: "cloudresourcemanager.googleapis.com/Project"
430
- }
431
- ];
432
-
433
- // Required. The new data to be added to a list of time series.
434
- // Adds at most one data point to each of several time series. The new data
435
- // point must be more recent than any other point in its time series. Each
436
- // `TimeSeries` value must fully specify a unique time series by supplying
437
- // all label values for the metric and the monitored resource.
438
- //
439
- // The maximum number of `TimeSeries` objects per `Create` request is 200.
440
- repeated TimeSeries time_series = 2 [(google.api.field_behavior) = REQUIRED];
441
- }
442
-
443
- // DEPRECATED. Used to hold per-time-series error status.
444
- message CreateTimeSeriesError {
445
- // DEPRECATED. Time series ID that resulted in the `status` error.
446
- TimeSeries time_series = 1 [deprecated = true];
447
-
448
- // DEPRECATED. The status of the requested write operation for `time_series`.
449
- google.rpc.Status status = 2 [deprecated = true];
450
- }
451
-
452
- // Summary of the result of a failed request to write data to a time series.
453
- message CreateTimeSeriesSummary {
454
- // Detailed information about an error category.
455
- message Error {
456
- // The status of the requested write operation.
457
- google.rpc.Status status = 1;
458
-
459
- // The number of points that couldn't be written because of `status`.
460
- int32 point_count = 2;
461
- }
462
-
463
- // The number of points in the request.
464
- int32 total_point_count = 1;
465
-
466
- // The number of points that were successfully written.
467
- int32 success_point_count = 2;
468
-
469
- // The number of points that failed to be written. Order is not guaranteed.
470
- repeated Error errors = 3;
471
- }
472
-
473
- // The `QueryTimeSeries` request.
474
- message QueryTimeSeriesRequest {
475
- // Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
476
- // which to execute the request. The format is:
477
- //
478
- // projects/[PROJECT_ID_OR_NUMBER]
479
- string name = 1 [(google.api.field_behavior) = REQUIRED];
480
-
481
- // Required. The query in the [Monitoring Query
482
- // Language](https://cloud.google.com/monitoring/mql/reference) format.
483
- // The default time zone is in UTC.
484
- string query = 7 [(google.api.field_behavior) = REQUIRED];
485
-
486
- // A positive number that is the maximum number of time_series_data to return.
487
- int32 page_size = 9;
488
-
489
- // If this field is not empty then it must contain the `nextPageToken` value
490
- // returned by a previous call to this method. Using this field causes the
491
- // method to return additional results from the previous method call.
492
- string page_token = 10;
493
- }
494
-
495
- // The `QueryTimeSeries` response.
496
- message QueryTimeSeriesResponse {
497
- // The descriptor for the time series data.
498
- TimeSeriesDescriptor time_series_descriptor = 8;
499
-
500
- // The time series data.
501
- repeated TimeSeriesData time_series_data = 9;
502
-
503
- // If there are more results than have been returned, then this field is set
504
- // to a non-empty value. To see the additional results, use that value as
505
- // `page_token` in the next call to this method.
506
- string next_page_token = 10;
507
-
508
- // Query execution errors that may have caused the time series data returned
509
- // to be incomplete. The available data will be available in the
510
- // response.
511
- repeated google.rpc.Status partial_errors = 11;
512
- }
513
-
514
- // This is an error detail intended to be used with INVALID_ARGUMENT errors.
515
- message QueryErrorList {
516
- // Errors in parsing the time series query language text. The number of errors
517
- // in the response may be limited.
518
- repeated QueryError errors = 1;
519
-
520
- // A summary of all the errors.
521
- string error_summary = 2;
522
- }
@@ -1,36 +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/protobuf/timestamp.proto";
20
-
21
- option csharp_namespace = "Google.Cloud.Monitoring.V3";
22
- option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb";
23
- option java_multiple_files = true;
24
- option java_outer_classname = "MutationRecordProto";
25
- option java_package = "com.google.monitoring.v3";
26
- option php_namespace = "Google\\Cloud\\Monitoring\\V3";
27
- option ruby_package = "Google::Cloud::Monitoring::V3";
28
-
29
- // Describes a change made to a configuration.
30
- message MutationRecord {
31
- // When the change occurred.
32
- google.protobuf.Timestamp mutate_time = 1;
33
-
34
- // The email address of the user making the change.
35
- string mutated_by = 2;
36
- }