@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,410 +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.iam.v1;
18
-
19
- import "google/type/expr.proto";
20
-
21
- option cc_enable_arenas = true;
22
- option csharp_namespace = "Google.Cloud.Iam.V1";
23
- option go_package = "cloud.google.com/go/iam/apiv1/iampb;iampb";
24
- option java_multiple_files = true;
25
- option java_outer_classname = "PolicyProto";
26
- option java_package = "com.google.iam.v1";
27
- option php_namespace = "Google\\Cloud\\Iam\\V1";
28
-
29
- // An Identity and Access Management (IAM) policy, which specifies access
30
- // controls for Google Cloud resources.
31
- //
32
- //
33
- // A `Policy` is a collection of `bindings`. A `binding` binds one or more
34
- // `members`, or principals, to a single `role`. Principals can be user
35
- // accounts, service accounts, Google groups, and domains (such as G Suite). A
36
- // `role` is a named list of permissions; each `role` can be an IAM predefined
37
- // role or a user-created custom role.
38
- //
39
- // For some types of Google Cloud resources, a `binding` can also specify a
40
- // `condition`, which is a logical expression that allows access to a resource
41
- // only if the expression evaluates to `true`. A condition can add constraints
42
- // based on attributes of the request, the resource, or both. To learn which
43
- // resources support conditions in their IAM policies, see the
44
- // [IAM
45
- // documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
46
- //
47
- // **JSON example:**
48
- //
49
- // ```
50
- // {
51
- // "bindings": [
52
- // {
53
- // "role": "roles/resourcemanager.organizationAdmin",
54
- // "members": [
55
- // "user:mike@example.com",
56
- // "group:admins@example.com",
57
- // "domain:google.com",
58
- // "serviceAccount:my-project-id@appspot.gserviceaccount.com"
59
- // ]
60
- // },
61
- // {
62
- // "role": "roles/resourcemanager.organizationViewer",
63
- // "members": [
64
- // "user:eve@example.com"
65
- // ],
66
- // "condition": {
67
- // "title": "expirable access",
68
- // "description": "Does not grant access after Sep 2020",
69
- // "expression": "request.time <
70
- // timestamp('2020-10-01T00:00:00.000Z')",
71
- // }
72
- // }
73
- // ],
74
- // "etag": "BwWWja0YfJA=",
75
- // "version": 3
76
- // }
77
- // ```
78
- //
79
- // **YAML example:**
80
- //
81
- // ```
82
- // bindings:
83
- // - members:
84
- // - user:mike@example.com
85
- // - group:admins@example.com
86
- // - domain:google.com
87
- // - serviceAccount:my-project-id@appspot.gserviceaccount.com
88
- // role: roles/resourcemanager.organizationAdmin
89
- // - members:
90
- // - user:eve@example.com
91
- // role: roles/resourcemanager.organizationViewer
92
- // condition:
93
- // title: expirable access
94
- // description: Does not grant access after Sep 2020
95
- // expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
96
- // etag: BwWWja0YfJA=
97
- // version: 3
98
- // ```
99
- //
100
- // For a description of IAM and its features, see the
101
- // [IAM documentation](https://cloud.google.com/iam/docs/).
102
- message Policy {
103
- // Specifies the format of the policy.
104
- //
105
- // Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
106
- // are rejected.
107
- //
108
- // Any operation that affects conditional role bindings must specify version
109
- // `3`. This requirement applies to the following operations:
110
- //
111
- // * Getting a policy that includes a conditional role binding
112
- // * Adding a conditional role binding to a policy
113
- // * Changing a conditional role binding in a policy
114
- // * Removing any role binding, with or without a condition, from a policy
115
- // that includes conditions
116
- //
117
- // **Important:** If you use IAM Conditions, you must include the `etag` field
118
- // whenever you call `setIamPolicy`. If you omit this field, then IAM allows
119
- // you to overwrite a version `3` policy with a version `1` policy, and all of
120
- // the conditions in the version `3` policy are lost.
121
- //
122
- // If a policy does not include any conditions, operations on that policy may
123
- // specify any valid version or leave the field unset.
124
- //
125
- // To learn which resources support conditions in their IAM policies, see the
126
- // [IAM
127
- // documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
128
- int32 version = 1;
129
-
130
- // Associates a list of `members`, or principals, with a `role`. Optionally,
131
- // may specify a `condition` that determines how and when the `bindings` are
132
- // applied. Each of the `bindings` must contain at least one principal.
133
- //
134
- // The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
135
- // of these principals can be Google groups. Each occurrence of a principal
136
- // counts towards these limits. For example, if the `bindings` grant 50
137
- // different roles to `user:alice@example.com`, and not to any other
138
- // principal, then you can add another 1,450 principals to the `bindings` in
139
- // the `Policy`.
140
- repeated Binding bindings = 4;
141
-
142
- // Specifies cloud audit logging configuration for this policy.
143
- repeated AuditConfig audit_configs = 6;
144
-
145
- // `etag` is used for optimistic concurrency control as a way to help
146
- // prevent simultaneous updates of a policy from overwriting each other.
147
- // It is strongly suggested that systems make use of the `etag` in the
148
- // read-modify-write cycle to perform policy updates in order to avoid race
149
- // conditions: An `etag` is returned in the response to `getIamPolicy`, and
150
- // systems are expected to put that etag in the request to `setIamPolicy` to
151
- // ensure that their change will be applied to the same version of the policy.
152
- //
153
- // **Important:** If you use IAM Conditions, you must include the `etag` field
154
- // whenever you call `setIamPolicy`. If you omit this field, then IAM allows
155
- // you to overwrite a version `3` policy with a version `1` policy, and all of
156
- // the conditions in the version `3` policy are lost.
157
- bytes etag = 3;
158
- }
159
-
160
- // Associates `members`, or principals, with a `role`.
161
- message Binding {
162
- // Role that is assigned to the list of `members`, or principals.
163
- // For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
164
- string role = 1;
165
-
166
- // Specifies the principals requesting access for a Google Cloud resource.
167
- // `members` can have the following values:
168
- //
169
- // * `allUsers`: A special identifier that represents anyone who is
170
- // on the internet; with or without a Google account.
171
- //
172
- // * `allAuthenticatedUsers`: A special identifier that represents anyone
173
- // who is authenticated with a Google account or a service account.
174
- //
175
- // * `user:{emailid}`: An email address that represents a specific Google
176
- // account. For example, `alice@example.com` .
177
- //
178
- //
179
- // * `serviceAccount:{emailid}`: An email address that represents a service
180
- // account. For example, `my-other-app@appspot.gserviceaccount.com`.
181
- //
182
- // * `group:{emailid}`: An email address that represents a Google group.
183
- // For example, `admins@example.com`.
184
- //
185
- // * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
186
- // identifier) representing a user that has been recently deleted. For
187
- // example, `alice@example.com?uid=123456789012345678901`. If the user is
188
- // recovered, this value reverts to `user:{emailid}` and the recovered user
189
- // retains the role in the binding.
190
- //
191
- // * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
192
- // unique identifier) representing a service account that has been recently
193
- // deleted. For example,
194
- // `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
195
- // If the service account is undeleted, this value reverts to
196
- // `serviceAccount:{emailid}` and the undeleted service account retains the
197
- // role in the binding.
198
- //
199
- // * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
200
- // identifier) representing a Google group that has been recently
201
- // deleted. For example, `admins@example.com?uid=123456789012345678901`. If
202
- // the group is recovered, this value reverts to `group:{emailid}` and the
203
- // recovered group retains the role in the binding.
204
- //
205
- //
206
- // * `domain:{domain}`: The G Suite domain (primary) that represents all the
207
- // users of that domain. For example, `google.com` or `example.com`.
208
- //
209
- //
210
- repeated string members = 2;
211
-
212
- // The condition that is associated with this binding.
213
- //
214
- // If the condition evaluates to `true`, then this binding applies to the
215
- // current request.
216
- //
217
- // If the condition evaluates to `false`, then this binding does not apply to
218
- // the current request. However, a different role binding might grant the same
219
- // role to one or more of the principals in this binding.
220
- //
221
- // To learn which resources support conditions in their IAM policies, see the
222
- // [IAM
223
- // documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
224
- google.type.Expr condition = 3;
225
- }
226
-
227
- // Specifies the audit configuration for a service.
228
- // The configuration determines which permission types are logged, and what
229
- // identities, if any, are exempted from logging.
230
- // An AuditConfig must have one or more AuditLogConfigs.
231
- //
232
- // If there are AuditConfigs for both `allServices` and a specific service,
233
- // the union of the two AuditConfigs is used for that service: the log_types
234
- // specified in each AuditConfig are enabled, and the exempted_members in each
235
- // AuditLogConfig are exempted.
236
- //
237
- // Example Policy with multiple AuditConfigs:
238
- //
239
- // {
240
- // "audit_configs": [
241
- // {
242
- // "service": "allServices",
243
- // "audit_log_configs": [
244
- // {
245
- // "log_type": "DATA_READ",
246
- // "exempted_members": [
247
- // "user:jose@example.com"
248
- // ]
249
- // },
250
- // {
251
- // "log_type": "DATA_WRITE"
252
- // },
253
- // {
254
- // "log_type": "ADMIN_READ"
255
- // }
256
- // ]
257
- // },
258
- // {
259
- // "service": "sampleservice.googleapis.com",
260
- // "audit_log_configs": [
261
- // {
262
- // "log_type": "DATA_READ"
263
- // },
264
- // {
265
- // "log_type": "DATA_WRITE",
266
- // "exempted_members": [
267
- // "user:aliya@example.com"
268
- // ]
269
- // }
270
- // ]
271
- // }
272
- // ]
273
- // }
274
- //
275
- // For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
276
- // logging. It also exempts `jose@example.com` from DATA_READ logging, and
277
- // `aliya@example.com` from DATA_WRITE logging.
278
- message AuditConfig {
279
- // Specifies a service that will be enabled for audit logging.
280
- // For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
281
- // `allServices` is a special value that covers all services.
282
- string service = 1;
283
-
284
- // The configuration for logging of each type of permission.
285
- repeated AuditLogConfig audit_log_configs = 3;
286
- }
287
-
288
- // Provides the configuration for logging a type of permissions.
289
- // Example:
290
- //
291
- // {
292
- // "audit_log_configs": [
293
- // {
294
- // "log_type": "DATA_READ",
295
- // "exempted_members": [
296
- // "user:jose@example.com"
297
- // ]
298
- // },
299
- // {
300
- // "log_type": "DATA_WRITE"
301
- // }
302
- // ]
303
- // }
304
- //
305
- // This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
306
- // jose@example.com from DATA_READ logging.
307
- message AuditLogConfig {
308
- // The list of valid permission types for which logging can be configured.
309
- // Admin writes are always logged, and are not configurable.
310
- enum LogType {
311
- // Default case. Should never be this.
312
- LOG_TYPE_UNSPECIFIED = 0;
313
-
314
- // Admin reads. Example: CloudIAM getIamPolicy
315
- ADMIN_READ = 1;
316
-
317
- // Data writes. Example: CloudSQL Users create
318
- DATA_WRITE = 2;
319
-
320
- // Data reads. Example: CloudSQL Users list
321
- DATA_READ = 3;
322
- }
323
-
324
- // The log type that this config enables.
325
- LogType log_type = 1;
326
-
327
- // Specifies the identities that do not cause logging for this type of
328
- // permission.
329
- // Follows the same format of
330
- // [Binding.members][google.iam.v1.Binding.members].
331
- repeated string exempted_members = 2;
332
- }
333
-
334
- // The difference delta between two policies.
335
- message PolicyDelta {
336
- // The delta for Bindings between two policies.
337
- repeated BindingDelta binding_deltas = 1;
338
-
339
- // The delta for AuditConfigs between two policies.
340
- repeated AuditConfigDelta audit_config_deltas = 2;
341
- }
342
-
343
- // One delta entry for Binding. Each individual change (only one member in each
344
- // entry) to a binding will be a separate entry.
345
- message BindingDelta {
346
- // The type of action performed on a Binding in a policy.
347
- enum Action {
348
- // Unspecified.
349
- ACTION_UNSPECIFIED = 0;
350
-
351
- // Addition of a Binding.
352
- ADD = 1;
353
-
354
- // Removal of a Binding.
355
- REMOVE = 2;
356
- }
357
-
358
- // The action that was performed on a Binding.
359
- // Required
360
- Action action = 1;
361
-
362
- // Role that is assigned to `members`.
363
- // For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
364
- // Required
365
- string role = 2;
366
-
367
- // A single identity requesting access for a Google Cloud resource.
368
- // Follows the same format of Binding.members.
369
- // Required
370
- string member = 3;
371
-
372
- // The condition that is associated with this binding.
373
- google.type.Expr condition = 4;
374
- }
375
-
376
- // One delta entry for AuditConfig. Each individual change (only one
377
- // exempted_member in each entry) to a AuditConfig will be a separate entry.
378
- message AuditConfigDelta {
379
- // The type of action performed on an audit configuration in a policy.
380
- enum Action {
381
- // Unspecified.
382
- ACTION_UNSPECIFIED = 0;
383
-
384
- // Addition of an audit configuration.
385
- ADD = 1;
386
-
387
- // Removal of an audit configuration.
388
- REMOVE = 2;
389
- }
390
-
391
- // The action that was performed on an audit configuration in a policy.
392
- // Required
393
- Action action = 1;
394
-
395
- // Specifies a service that was configured for Cloud Audit Logging.
396
- // For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
397
- // `allServices` is a special value that covers all services.
398
- // Required
399
- string service = 2;
400
-
401
- // A single identity that is exempted from "data access" audit
402
- // logging for the `service` specified above.
403
- // Follows the same format of Binding.members.
404
- string exempted_member = 3;
405
-
406
- // Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
407
- // enabled, and cannot be configured.
408
- // Required
409
- string log_type = 4;
410
- }
@@ -1,95 +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.logging.type;
18
-
19
- import "google/protobuf/duration.proto";
20
-
21
- option csharp_namespace = "Google.Cloud.Logging.Type";
22
- option go_package = "google.golang.org/genproto/googleapis/logging/type;ltype";
23
- option java_multiple_files = true;
24
- option java_outer_classname = "HttpRequestProto";
25
- option java_package = "com.google.logging.type";
26
- option php_namespace = "Google\\Cloud\\Logging\\Type";
27
- option ruby_package = "Google::Cloud::Logging::Type";
28
-
29
- // A common proto for logging HTTP requests. Only contains semantics
30
- // defined by the HTTP specification. Product-specific logging
31
- // information MUST be defined in a separate message.
32
- message HttpRequest {
33
- // The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`.
34
- string request_method = 1;
35
-
36
- // The scheme (http, https), the host name, the path and the query
37
- // portion of the URL that was requested.
38
- // Example: `"http://example.com/some/info?color=red"`.
39
- string request_url = 2;
40
-
41
- // The size of the HTTP request message in bytes, including the request
42
- // headers and the request body.
43
- int64 request_size = 3;
44
-
45
- // The response code indicating the status of response.
46
- // Examples: 200, 404.
47
- int32 status = 4;
48
-
49
- // The size of the HTTP response message sent back to the client, in bytes,
50
- // including the response headers and the response body.
51
- int64 response_size = 5;
52
-
53
- // The user agent sent by the client. Example:
54
- // `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET
55
- // CLR 1.0.3705)"`.
56
- string user_agent = 6;
57
-
58
- // The IP address (IPv4 or IPv6) of the client that issued the HTTP
59
- // request. This field can include port information. Examples:
60
- // `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`.
61
- string remote_ip = 7;
62
-
63
- // The IP address (IPv4 or IPv6) of the origin server that the request was
64
- // sent to. This field can include port information. Examples:
65
- // `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`.
66
- string server_ip = 13;
67
-
68
- // The referer URL of the request, as defined in
69
- // [HTTP/1.1 Header Field
70
- // Definitions](https://datatracker.ietf.org/doc/html/rfc2616#section-14.36).
71
- string referer = 8;
72
-
73
- // The request processing latency on the server, from the time the request was
74
- // received until the response was sent.
75
- google.protobuf.Duration latency = 14;
76
-
77
- // Whether or not a cache lookup was attempted.
78
- bool cache_lookup = 11;
79
-
80
- // Whether or not an entity was served from cache
81
- // (with or without validation).
82
- bool cache_hit = 9;
83
-
84
- // Whether or not the response was validated with the origin server before
85
- // being served from cache. This field is only meaningful if `cache_hit` is
86
- // True.
87
- bool cache_validated_with_origin_server = 10;
88
-
89
- // The number of HTTP response bytes inserted into cache. Set only when a
90
- // cache fill was attempted.
91
- int64 cache_fill_bytes = 12;
92
-
93
- // Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket"
94
- string protocol = 15;
95
- }
@@ -1,71 +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.logging.type;
18
-
19
- option csharp_namespace = "Google.Cloud.Logging.Type";
20
- option go_package = "google.golang.org/genproto/googleapis/logging/type;ltype";
21
- option java_multiple_files = true;
22
- option java_outer_classname = "LogSeverityProto";
23
- option java_package = "com.google.logging.type";
24
- option objc_class_prefix = "GLOG";
25
- option php_namespace = "Google\\Cloud\\Logging\\Type";
26
- option ruby_package = "Google::Cloud::Logging::Type";
27
-
28
- // The severity of the event described in a log entry, expressed as one of the
29
- // standard severity levels listed below. For your reference, the levels are
30
- // assigned the listed numeric values. The effect of using numeric values other
31
- // than those listed is undefined.
32
- //
33
- // You can filter for log entries by severity. For example, the following
34
- // filter expression will match log entries with severities `INFO`, `NOTICE`,
35
- // and `WARNING`:
36
- //
37
- // severity > DEBUG AND severity <= WARNING
38
- //
39
- // If you are writing log entries, you should map other severity encodings to
40
- // one of these standard levels. For example, you might map all of Java's FINE,
41
- // FINER, and FINEST levels to `LogSeverity.DEBUG`. You can preserve the
42
- // original severity level in the log entry payload if you wish.
43
- enum LogSeverity {
44
- // (0) The log entry has no assigned severity level.
45
- DEFAULT = 0;
46
-
47
- // (100) Debug or trace information.
48
- DEBUG = 100;
49
-
50
- // (200) Routine information, such as ongoing status or performance.
51
- INFO = 200;
52
-
53
- // (300) Normal but significant events, such as start up, shut down, or
54
- // a configuration change.
55
- NOTICE = 300;
56
-
57
- // (400) Warning events might cause problems.
58
- WARNING = 400;
59
-
60
- // (500) Error events are likely to cause problems.
61
- ERROR = 500;
62
-
63
- // (600) Critical events cause more severe problems or outages.
64
- CRITICAL = 600;
65
-
66
- // (700) A person must take an action immediately.
67
- ALERT = 700;
68
-
69
- // (800) One or more systems are unusable.
70
- EMERGENCY = 800;
71
- }