@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,290 +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/monitored_resource.proto";
23
- import "google/api/resource.proto";
24
- import "google/monitoring/v3/common.proto";
25
- import "google/monitoring/v3/group.proto";
26
- import "google/protobuf/empty.proto";
27
-
28
- option csharp_namespace = "Google.Cloud.Monitoring.V3";
29
- option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb";
30
- option java_multiple_files = true;
31
- option java_outer_classname = "GroupServiceProto";
32
- option java_package = "com.google.monitoring.v3";
33
- option php_namespace = "Google\\Cloud\\Monitoring\\V3";
34
- option ruby_package = "Google::Cloud::Monitoring::V3";
35
-
36
- // The Group API lets you inspect and manage your
37
- // [groups](#google.monitoring.v3.Group).
38
- //
39
- // A group is a named filter that is used to identify
40
- // a collection of monitored resources. Groups are typically used to
41
- // mirror the physical and/or logical topology of the environment.
42
- // Because group membership is computed dynamically, monitored
43
- // resources that are started in the future are automatically placed
44
- // in matching groups. By using a group to name monitored resources in,
45
- // for example, an alert policy, the target of that alert policy is
46
- // updated automatically as monitored resources are added and removed
47
- // from the infrastructure.
48
- service GroupService {
49
- option (google.api.default_host) = "monitoring.googleapis.com";
50
- option (google.api.oauth_scopes) =
51
- "https://www.googleapis.com/auth/cloud-platform,"
52
- "https://www.googleapis.com/auth/monitoring,"
53
- "https://www.googleapis.com/auth/monitoring.read";
54
-
55
- // Lists the existing groups.
56
- rpc ListGroups(ListGroupsRequest) returns (ListGroupsResponse) {
57
- option (google.api.http) = {
58
- get: "/v3/{name=projects/*}/groups"
59
- };
60
- option (google.api.method_signature) = "name";
61
- }
62
-
63
- // Gets a single group.
64
- rpc GetGroup(GetGroupRequest) returns (Group) {
65
- option (google.api.http) = {
66
- get: "/v3/{name=projects/*/groups/*}"
67
- };
68
- option (google.api.method_signature) = "name";
69
- }
70
-
71
- // Creates a new group.
72
- rpc CreateGroup(CreateGroupRequest) returns (Group) {
73
- option (google.api.http) = {
74
- post: "/v3/{name=projects/*}/groups"
75
- body: "group"
76
- };
77
- option (google.api.method_signature) = "name,group";
78
- }
79
-
80
- // Updates an existing group.
81
- // You can change any group attributes except `name`.
82
- rpc UpdateGroup(UpdateGroupRequest) returns (Group) {
83
- option (google.api.http) = {
84
- put: "/v3/{group.name=projects/*/groups/*}"
85
- body: "group"
86
- };
87
- option (google.api.method_signature) = "group";
88
- }
89
-
90
- // Deletes an existing group.
91
- rpc DeleteGroup(DeleteGroupRequest) returns (google.protobuf.Empty) {
92
- option (google.api.http) = {
93
- delete: "/v3/{name=projects/*/groups/*}"
94
- };
95
- option (google.api.method_signature) = "name";
96
- }
97
-
98
- // Lists the monitored resources that are members of a group.
99
- rpc ListGroupMembers(ListGroupMembersRequest) returns (ListGroupMembersResponse) {
100
- option (google.api.http) = {
101
- get: "/v3/{name=projects/*/groups/*}/members"
102
- };
103
- option (google.api.method_signature) = "name";
104
- }
105
- }
106
-
107
- // The `ListGroup` request.
108
- message ListGroupsRequest {
109
- // Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
110
- // whose groups are to be listed. The format is:
111
- //
112
- // projects/[PROJECT_ID_OR_NUMBER]
113
- string name = 7 [
114
- (google.api.field_behavior) = REQUIRED,
115
- (google.api.resource_reference) = {
116
- child_type: "monitoring.googleapis.com/Group"
117
- }
118
- ];
119
-
120
- // An optional filter consisting of a single group name. The filters limit
121
- // the groups returned based on their parent-child relationship with the
122
- // specified group. If no filter is specified, all groups are returned.
123
- oneof filter {
124
- // A group name. The format is:
125
- //
126
- // projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
127
- //
128
- // Returns groups whose `parent_name` field contains the group
129
- // name. If no groups have this parent, the results are empty.
130
- string children_of_group = 2 [(google.api.resource_reference) = {
131
- type: "monitoring.googleapis.com/Group"
132
- }];
133
-
134
- // A group name. The format is:
135
- //
136
- // projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
137
- //
138
- // Returns groups that are ancestors of the specified group.
139
- // The groups are returned in order, starting with the immediate parent and
140
- // ending with the most distant ancestor. If the specified group has no
141
- // immediate parent, the results are empty.
142
- string ancestors_of_group = 3 [(google.api.resource_reference) = {
143
- type: "monitoring.googleapis.com/Group"
144
- }];
145
-
146
- // A group name. The format is:
147
- //
148
- // projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
149
- //
150
- // Returns the descendants of the specified group. This is a superset of
151
- // the results returned by the `children_of_group` filter, and includes
152
- // children-of-children, and so forth.
153
- string descendants_of_group = 4 [(google.api.resource_reference) = {
154
- type: "monitoring.googleapis.com/Group"
155
- }];
156
- }
157
-
158
- // A positive number that is the maximum number of results to return.
159
- int32 page_size = 5;
160
-
161
- // If this field is not empty then it must contain the `next_page_token` value
162
- // returned by a previous call to this method. Using this field causes the
163
- // method to return additional results from the previous method call.
164
- string page_token = 6;
165
- }
166
-
167
- // The `ListGroups` response.
168
- message ListGroupsResponse {
169
- // The groups that match the specified filters.
170
- repeated Group group = 1;
171
-
172
- // If there are more results than have been returned, then this field is set
173
- // to a non-empty value. To see the additional results,
174
- // use that value as `page_token` in the next call to this method.
175
- string next_page_token = 2;
176
- }
177
-
178
- // The `GetGroup` request.
179
- message GetGroupRequest {
180
- // Required. The group to retrieve. The format is:
181
- //
182
- // projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
183
- string name = 3 [
184
- (google.api.field_behavior) = REQUIRED,
185
- (google.api.resource_reference) = {
186
- type: "monitoring.googleapis.com/Group"
187
- }
188
- ];
189
- }
190
-
191
- // The `CreateGroup` request.
192
- message CreateGroupRequest {
193
- // Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
194
- // which to create the group. The format is:
195
- //
196
- // projects/[PROJECT_ID_OR_NUMBER]
197
- string name = 4 [
198
- (google.api.field_behavior) = REQUIRED,
199
- (google.api.resource_reference) = {
200
- child_type: "monitoring.googleapis.com/Group"
201
- }
202
- ];
203
-
204
- // Required. A group definition. It is an error to define the `name` field because
205
- // the system assigns the name.
206
- Group group = 2 [(google.api.field_behavior) = REQUIRED];
207
-
208
- // If true, validate this request but do not create the group.
209
- bool validate_only = 3;
210
- }
211
-
212
- // The `UpdateGroup` request.
213
- message UpdateGroupRequest {
214
- // Required. The new definition of the group. All fields of the existing group,
215
- // excepting `name`, are replaced with the corresponding fields of this group.
216
- Group group = 2 [(google.api.field_behavior) = REQUIRED];
217
-
218
- // If true, validate this request but do not update the existing group.
219
- bool validate_only = 3;
220
- }
221
-
222
- // The `DeleteGroup` request. The default behavior is to be able to delete a
223
- // single group without any descendants.
224
- message DeleteGroupRequest {
225
- // Required. The group to delete. The format is:
226
- //
227
- // projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
228
- string name = 3 [
229
- (google.api.field_behavior) = REQUIRED,
230
- (google.api.resource_reference) = {
231
- type: "monitoring.googleapis.com/Group"
232
- }
233
- ];
234
-
235
- // If this field is true, then the request means to delete a group with all
236
- // its descendants. Otherwise, the request means to delete a group only when
237
- // it has no descendants. The default value is false.
238
- bool recursive = 4;
239
- }
240
-
241
- // The `ListGroupMembers` request.
242
- message ListGroupMembersRequest {
243
- // Required. The group whose members are listed. The format is:
244
- //
245
- // projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
246
- string name = 7 [
247
- (google.api.field_behavior) = REQUIRED,
248
- (google.api.resource_reference) = {
249
- type: "monitoring.googleapis.com/Group"
250
- }
251
- ];
252
-
253
- // A positive number that is the maximum number of results to return.
254
- int32 page_size = 3;
255
-
256
- // If this field is not empty then it must contain the `next_page_token` value
257
- // returned by a previous call to this method. Using this field causes the
258
- // method to return additional results from the previous method call.
259
- string page_token = 4;
260
-
261
- // An optional [list
262
- // filter](https://cloud.google.com/monitoring/api/learn_more#filtering)
263
- // describing the members to be returned. The filter may reference the type,
264
- // labels, and metadata of monitored resources that comprise the group. For
265
- // example, to return only resources representing Compute Engine VM instances,
266
- // use this filter:
267
- //
268
- // `resource.type = "gce_instance"`
269
- string filter = 5;
270
-
271
- // An optional time interval for which results should be returned. Only
272
- // members that were part of the group during the specified interval are
273
- // included in the response. If no interval is provided then the group
274
- // membership over the last minute is returned.
275
- TimeInterval interval = 6;
276
- }
277
-
278
- // The `ListGroupMembers` response.
279
- message ListGroupMembersResponse {
280
- // A set of monitored resources in the group.
281
- repeated google.api.MonitoredResource members = 1;
282
-
283
- // If there are more results than have been returned, then this field is
284
- // set to a non-empty value. To see the additional results, use that value as
285
- // `page_token` in the next call to this method.
286
- string next_page_token = 2;
287
-
288
- // The total number of elements matching this request.
289
- int32 total_size = 3;
290
- }
@@ -1,239 +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/label.proto";
20
- import "google/api/metric.proto";
21
- import "google/api/monitored_resource.proto";
22
- import "google/monitoring/v3/common.proto";
23
-
24
- option csharp_namespace = "Google.Cloud.Monitoring.V3";
25
- option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb";
26
- option java_multiple_files = true;
27
- option java_outer_classname = "MetricProto";
28
- option java_package = "com.google.monitoring.v3";
29
- option php_namespace = "Google\\Cloud\\Monitoring\\V3";
30
- option ruby_package = "Google::Cloud::Monitoring::V3";
31
-
32
- // A single data point in a time series.
33
- message Point {
34
- // The time interval to which the data point applies. For `GAUGE` metrics,
35
- // the start time is optional, but if it is supplied, it must equal the
36
- // end time. For `DELTA` metrics, the start
37
- // and end time should specify a non-zero interval, with subsequent points
38
- // specifying contiguous and non-overlapping intervals. For `CUMULATIVE`
39
- // metrics, the start and end time should specify a non-zero interval, with
40
- // subsequent points specifying the same start time and increasing end times,
41
- // until an event resets the cumulative value to zero and sets a new start
42
- // time for the following points.
43
- TimeInterval interval = 1;
44
-
45
- // The value of the data point.
46
- TypedValue value = 2;
47
- }
48
-
49
- // A collection of data points that describes the time-varying values
50
- // of a metric. A time series is identified by a combination of a
51
- // fully-specified monitored resource and a fully-specified metric.
52
- // This type is used for both listing and creating time series.
53
- message TimeSeries {
54
- // The associated metric. A fully-specified metric used to identify the time
55
- // series.
56
- google.api.Metric metric = 1;
57
-
58
- // The associated monitored resource. Custom metrics can use only certain
59
- // monitored resource types in their time series data. For more information,
60
- // see [Monitored resources for custom
61
- // metrics](https://cloud.google.com/monitoring/custom-metrics/creating-metrics#custom-metric-resources).
62
- google.api.MonitoredResource resource = 2;
63
-
64
- // Output only. The associated monitored resource metadata. When reading a
65
- // time series, this field will include metadata labels that are explicitly
66
- // named in the reduction. When creating a time series, this field is ignored.
67
- google.api.MonitoredResourceMetadata metadata = 7;
68
-
69
- // The metric kind of the time series. When listing time series, this metric
70
- // kind might be different from the metric kind of the associated metric if
71
- // this time series is an alignment or reduction of other time series.
72
- //
73
- // When creating a time series, this field is optional. If present, it must be
74
- // the same as the metric kind of the associated metric. If the associated
75
- // metric's descriptor must be auto-created, then this field specifies the
76
- // metric kind of the new descriptor and must be either `GAUGE` (the default)
77
- // or `CUMULATIVE`.
78
- google.api.MetricDescriptor.MetricKind metric_kind = 3;
79
-
80
- // The value type of the time series. When listing time series, this value
81
- // type might be different from the value type of the associated metric if
82
- // this time series is an alignment or reduction of other time series.
83
- //
84
- // When creating a time series, this field is optional. If present, it must be
85
- // the same as the type of the data in the `points` field.
86
- google.api.MetricDescriptor.ValueType value_type = 4;
87
-
88
- // The data points of this time series. When listing time series, points are
89
- // returned in reverse time order.
90
- //
91
- // When creating a time series, this field must contain exactly one point and
92
- // the point's type must be the same as the value type of the associated
93
- // metric. If the associated metric's descriptor must be auto-created, then
94
- // the value type of the descriptor is determined by the point's type, which
95
- // must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
96
- repeated Point points = 5;
97
-
98
- // The units in which the metric value is reported. It is only applicable
99
- // if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
100
- // defines the representation of the stored metric values.
101
- string unit = 8;
102
- }
103
-
104
- // A descriptor for the labels and points in a time series.
105
- message TimeSeriesDescriptor {
106
- // A descriptor for the value columns in a data point.
107
- message ValueDescriptor {
108
- // The value key.
109
- string key = 1;
110
-
111
- // The value type.
112
- google.api.MetricDescriptor.ValueType value_type = 2;
113
-
114
- // The value stream kind.
115
- google.api.MetricDescriptor.MetricKind metric_kind = 3;
116
-
117
- // The unit in which `time_series` point values are reported. `unit`
118
- // follows the UCUM format for units as seen in
119
- // https://unitsofmeasure.org/ucum.html.
120
- // `unit` is only valid if `value_type` is INTEGER, DOUBLE, DISTRIBUTION.
121
- string unit = 4;
122
- }
123
-
124
- // Descriptors for the labels.
125
- repeated google.api.LabelDescriptor label_descriptors = 1;
126
-
127
- // Descriptors for the point data value columns.
128
- repeated ValueDescriptor point_descriptors = 5;
129
- }
130
-
131
- // Represents the values of a time series associated with a
132
- // TimeSeriesDescriptor.
133
- message TimeSeriesData {
134
- // A point's value columns and time interval. Each point has one or more
135
- // point values corresponding to the entries in `point_descriptors` field in
136
- // the TimeSeriesDescriptor associated with this object.
137
- message PointData {
138
- // The values that make up the point.
139
- repeated TypedValue values = 1;
140
-
141
- // The time interval associated with the point.
142
- TimeInterval time_interval = 2;
143
- }
144
-
145
- // The values of the labels in the time series identifier, given in the same
146
- // order as the `label_descriptors` field of the TimeSeriesDescriptor
147
- // associated with this object. Each value must have a value of the type
148
- // given in the corresponding entry of `label_descriptors`.
149
- repeated LabelValue label_values = 1;
150
-
151
- // The points in the time series.
152
- repeated PointData point_data = 2;
153
- }
154
-
155
- // A label value.
156
- message LabelValue {
157
- // The label value can be a bool, int64, or string.
158
- oneof value {
159
- // A bool label value.
160
- bool bool_value = 1;
161
-
162
- // An int64 label value.
163
- int64 int64_value = 2;
164
-
165
- // A string label value.
166
- string string_value = 3;
167
- }
168
- }
169
-
170
- // An error associated with a query in the time series query language format.
171
- message QueryError {
172
- // The location of the time series query language text that this error applies
173
- // to.
174
- TextLocator locator = 1;
175
-
176
- // The error message.
177
- string message = 2;
178
- }
179
-
180
- // A locator for text. Indicates a particular part of the text of a request or
181
- // of an object referenced in the request.
182
- //
183
- // For example, suppose the request field `text` contains:
184
- //
185
- // text: "The quick brown fox jumps over the lazy dog."
186
- //
187
- // Then the locator:
188
- //
189
- // source: "text"
190
- // start_position {
191
- // line: 1
192
- // column: 17
193
- // }
194
- // end_position {
195
- // line: 1
196
- // column: 19
197
- // }
198
- //
199
- // refers to the part of the text: "fox".
200
- message TextLocator {
201
- // The position of a byte within the text.
202
- message Position {
203
- // The line, starting with 1, where the byte is positioned.
204
- int32 line = 1;
205
-
206
- // The column within the line, starting with 1, where the byte is
207
- // positioned. This is a byte index even though the text is UTF-8.
208
- int32 column = 2;
209
- }
210
-
211
- // The source of the text. The source may be a field in the request, in which
212
- // case its format is the format of the
213
- // google.rpc.BadRequest.FieldViolation.field field in
214
- // https://cloud.google.com/apis/design/errors#error_details. It may also be
215
- // be a source other than the request field (e.g. a macro definition
216
- // referenced in the text of the query), in which case this is the name of
217
- // the source (e.g. the macro name).
218
- string source = 1;
219
-
220
- // The position of the first byte within the text.
221
- Position start_position = 2;
222
-
223
- // The position of the last byte within the text.
224
- Position end_position = 3;
225
-
226
- // If `source`, `start_position`, and `end_position` describe a call on
227
- // some object (e.g. a macro in the time series query language text) and a
228
- // location is to be designated in that object's text, `nested_locator`
229
- // identifies the location within that object.
230
- TextLocator nested_locator = 4;
231
-
232
- // When `nested_locator` is set, this field gives the reason for the nesting.
233
- // Usually, the reason is a macro invocation. In that case, the macro name
234
- // (including the leading '@') signals the location of the macro call
235
- // in the text and a macro argument name (including the leading '$') signals
236
- // the location of the macro argument inside the macro body that got
237
- // substituted away.
238
- string nesting_reason = 5;
239
- }