googleapis-common-protos-types 1.14.0 → 1.20.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +44 -0
- data/lib/google/api/annotations_pb.rb +1 -1
- data/lib/google/api/auth_pb.rb +1 -1
- data/lib/google/api/backend_pb.rb +1 -1
- data/lib/google/api/billing_pb.rb +1 -1
- data/lib/google/api/client_pb.rb +73 -12
- data/lib/google/api/config_change_pb.rb +1 -1
- data/lib/google/api/consumer_pb.rb +1 -1
- data/lib/google/api/context_pb.rb +5 -3
- data/lib/google/api/control_pb.rb +1 -1
- data/lib/google/api/distribution_pb.rb +1 -1
- data/lib/google/api/documentation_pb.rb +4 -4
- data/lib/google/api/endpoint_pb.rb +6 -10
- data/lib/google/api/error_reason_pb.rb +35 -2
- data/lib/google/api/field_behavior_pb.rb +1 -1
- data/lib/google/api/field_info_pb.rb +36 -8
- data/lib/google/api/http_pb.rb +22 -31
- data/lib/google/api/httpbody_pb.rb +2 -3
- data/lib/google/api/label_pb.rb +2 -3
- data/lib/google/api/launch_stage_pb.rb +1 -1
- data/lib/google/api/log_pb.rb +1 -1
- data/lib/google/api/logging_pb.rb +1 -1
- data/lib/google/api/metric_pb.rb +22 -2
- data/lib/google/api/monitored_resource_pb.rb +2 -3
- data/lib/google/api/monitoring_pb.rb +1 -1
- data/lib/google/api/policy_pb.rb +4 -7
- data/lib/google/api/quota_pb.rb +3 -3
- data/lib/google/api/resource_pb.rb +9 -5
- data/lib/google/api/routing_pb.rb +2 -2
- data/lib/google/api/service_pb.rb +1 -1
- data/lib/google/api/source_info_pb.rb +1 -1
- data/lib/google/api/system_parameter_pb.rb +1 -1
- data/lib/google/api/usage_pb.rb +1 -1
- data/lib/google/api/visibility_pb.rb +2 -3
- data/lib/google/logging/type/http_request_pb.rb +1 -1
- data/lib/google/logging/type/log_severity_pb.rb +1 -1
- data/lib/google/longrunning/operations_pb.rb +36 -37
- data/lib/google/rpc/code_pb.rb +1 -1
- data/lib/google/rpc/context/attribute_context_pb.rb +3 -2
- data/lib/google/rpc/context/audit_context_pb.rb +2 -3
- data/lib/google/rpc/error_details_pb.rb +83 -5
- data/lib/google/rpc/http_pb.rb +1 -1
- data/lib/google/rpc/status_pb.rb +1 -1
- data/lib/google/type/calendar_period_pb.rb +1 -1
- data/lib/google/type/color_pb.rb +1 -1
- data/lib/google/type/date_pb.rb +1 -1
- data/lib/google/type/datetime_pb.rb +1 -1
- data/lib/google/type/dayofweek_pb.rb +1 -1
- data/lib/google/type/decimal_pb.rb +1 -1
- data/lib/google/type/expr_pb.rb +1 -1
- data/lib/google/type/fraction_pb.rb +1 -1
- data/lib/google/type/interval_pb.rb +1 -1
- data/lib/google/type/latlng_pb.rb +1 -1
- data/lib/google/type/localized_text_pb.rb +1 -1
- data/lib/google/type/money_pb.rb +1 -1
- data/lib/google/type/month_pb.rb +1 -1
- data/lib/google/type/phone_number_pb.rb +1 -1
- data/lib/google/type/postal_address_pb.rb +1 -1
- data/lib/google/type/quaternion_pb.rb +1 -1
- data/lib/google/type/timeofday_pb.rb +1 -1
- data/lib/googleapis/common/protos/types/version.rb +1 -1
- metadata +12 -9
@@ -7,13 +7,13 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/api/annotations_pb'
|
8
8
|
require 'google/api/client_pb'
|
9
9
|
require 'google/protobuf/any_pb'
|
10
|
+
require 'google/protobuf/descriptor_pb'
|
10
11
|
require 'google/protobuf/duration_pb'
|
11
12
|
require 'google/protobuf/empty_pb'
|
12
13
|
require 'google/rpc/status_pb'
|
13
|
-
require 'google/protobuf/descriptor_pb'
|
14
14
|
|
15
15
|
|
16
|
-
descriptor_data = "\n#google/longrunning/operations.proto\x12\x12google.longrunning\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x17google/rpc/status.proto\
|
16
|
+
descriptor_data = "\n#google/longrunning/operations.proto\x12\x12google.longrunning\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x19google/protobuf/any.proto\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x17google/rpc/status.proto\"\xa8\x01\n\tOperation\x12\x0c\n\x04name\x18\x01 \x01(\t\x12&\n\x08metadata\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0c\n\x04\x64one\x18\x03 \x01(\x08\x12#\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x12.google.rpc.StatusH\x00\x12(\n\x08response\x18\x05 \x01(\x0b\x32\x14.google.protobuf.AnyH\x00\x42\x08\n\x06result\"#\n\x13GetOperationRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"\\\n\x15ListOperationsRequest\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"d\n\x16ListOperationsResponse\x12\x31\n\noperations\x18\x01 \x03(\x0b\x32\x1d.google.longrunning.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"&\n\x16\x43\x61ncelOperationRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"&\n\x16\x44\x65leteOperationRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"P\n\x14WaitOperationRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12*\n\x07timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"=\n\rOperationInfo\x12\x15\n\rresponse_type\x18\x01 \x01(\t\x12\x15\n\rmetadata_type\x18\x02 \x01(\t2\xaa\x05\n\nOperations\x12\x94\x01\n\x0eListOperations\x12).google.longrunning.ListOperationsRequest\x1a*.google.longrunning.ListOperationsResponse\"+\xda\x41\x0bname,filter\x82\xd3\xe4\x93\x02\x17\x12\x15/v1/{name=operations}\x12\x7f\n\x0cGetOperation\x12\'.google.longrunning.GetOperationRequest\x1a\x1d.google.longrunning.Operation\"\'\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1a\x12\x18/v1/{name=operations/**}\x12~\n\x0f\x44\x65leteOperation\x12*.google.longrunning.DeleteOperationRequest\x1a\x16.google.protobuf.Empty\"\'\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1a*\x18/v1/{name=operations/**}\x12\x88\x01\n\x0f\x43\x61ncelOperation\x12*.google.longrunning.CancelOperationRequest\x1a\x16.google.protobuf.Empty\"1\xda\x41\x04name\x82\xd3\xe4\x93\x02$\"\x1f/v1/{name=operations/**}:cancel:\x01*\x12Z\n\rWaitOperation\x12(.google.longrunning.WaitOperationRequest\x1a\x1d.google.longrunning.Operation\"\x00\x1a\x1d\xca\x41\x1alongrunning.googleapis.com:Z\n\x0eoperation_info\x12\x1e.google.protobuf.MethodOptions\x18\x99\x08 \x01(\x0b\x32!.google.longrunning.OperationInfoB\xa5\x01\n\x16\x63om.google.longrunningB\x0fOperationsProtoP\x01ZCcloud.google.com/go/longrunning/autogen/longrunningpb;longrunningpb\xf8\x01\x01\xa2\x02\x05GLRUN\xaa\x02\x12Google.LongRunning\xca\x02\x12Google\\LongRunningb\x06proto3"
|
17
17
|
|
18
18
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
19
|
|
@@ -57,7 +57,7 @@ end
|
|
57
57
|
|
58
58
|
#### Source proto file: google/longrunning/operations.proto ####
|
59
59
|
#
|
60
|
-
# // Copyright
|
60
|
+
# // Copyright 2025 Google LLC
|
61
61
|
# //
|
62
62
|
# // Licensed under the Apache License, Version 2.0 (the "License");
|
63
63
|
# // you may not use this file except in compliance with the License.
|
@@ -78,10 +78,10 @@ end
|
|
78
78
|
# import "google/api/annotations.proto";
|
79
79
|
# import "google/api/client.proto";
|
80
80
|
# import "google/protobuf/any.proto";
|
81
|
+
# import "google/protobuf/descriptor.proto";
|
81
82
|
# import "google/protobuf/duration.proto";
|
82
83
|
# import "google/protobuf/empty.proto";
|
83
84
|
# import "google/rpc/status.proto";
|
84
|
-
# import "google/protobuf/descriptor.proto";
|
85
85
|
#
|
86
86
|
# option cc_enable_arenas = true;
|
87
87
|
# option csharp_namespace = "Google.LongRunning";
|
@@ -89,6 +89,7 @@ end
|
|
89
89
|
# option java_multiple_files = true;
|
90
90
|
# option java_outer_classname = "OperationsProto";
|
91
91
|
# option java_package = "com.google.longrunning";
|
92
|
+
# option objc_class_prefix = "GLRUN";
|
92
93
|
# option php_namespace = "Google\\LongRunning";
|
93
94
|
#
|
94
95
|
# extend google.protobuf.MethodOptions {
|
@@ -104,25 +105,17 @@ end
|
|
104
105
|
# // Manages long-running operations with an API service.
|
105
106
|
# //
|
106
107
|
# // When an API method normally takes long time to complete, it can be designed
|
107
|
-
# // to return [Operation][google.longrunning.Operation] to the client, and the
|
108
|
-
# // interface to receive the real response asynchronously by
|
109
|
-
# // operation resource, or pass the operation resource to another API
|
110
|
-
# //
|
111
|
-
# //
|
112
|
-
# //
|
108
|
+
# // to return [Operation][google.longrunning.Operation] to the client, and the
|
109
|
+
# // client can use this interface to receive the real response asynchronously by
|
110
|
+
# // polling the operation resource, or pass the operation resource to another API
|
111
|
+
# // (such as Pub/Sub API) to receive the response. Any API service that returns
|
112
|
+
# // long-running operations should implement the `Operations` interface so
|
113
|
+
# // developers can have a consistent client experience.
|
113
114
|
# service Operations {
|
114
115
|
# option (google.api.default_host) = "longrunning.googleapis.com";
|
115
116
|
#
|
116
117
|
# // Lists operations that match the specified filter in the request. If the
|
117
118
|
# // server doesn't support this method, it returns `UNIMPLEMENTED`.
|
118
|
-
# //
|
119
|
-
# // NOTE: the `name` binding allows API services to override the binding
|
120
|
-
# // to use different resource name schemes, such as `users/*/operations`. To
|
121
|
-
# // override the binding, API services can add a binding such as
|
122
|
-
# // `"/v1/{name=users/*}/operations"` to their service configuration.
|
123
|
-
# // For backwards compatibility, the default name includes the operations
|
124
|
-
# // collection id, however overriding users must ensure the name binding
|
125
|
-
# // is the parent resource, without the operations collection id.
|
126
119
|
# rpc ListOperations(ListOperationsRequest) returns (ListOperationsResponse) {
|
127
120
|
# option (google.api.http) = {
|
128
121
|
# get: "/v1/{name=operations}"
|
@@ -159,8 +152,9 @@ end
|
|
159
152
|
# // other methods to check whether the cancellation succeeded or whether the
|
160
153
|
# // operation completed despite cancellation. On successful cancellation,
|
161
154
|
# // the operation is not deleted; instead, it becomes an operation with
|
162
|
-
# // an [Operation.error][google.longrunning.Operation.error] value with a
|
163
|
-
# // corresponding to
|
155
|
+
# // an [Operation.error][google.longrunning.Operation.error] value with a
|
156
|
+
# // [google.rpc.Status.code][google.rpc.Status.code] of `1`, corresponding to
|
157
|
+
# // `Code.CANCELLED`.
|
164
158
|
# rpc CancelOperation(CancelOperationRequest) returns (google.protobuf.Empty) {
|
165
159
|
# option (google.api.http) = {
|
166
160
|
# post: "/v1/{name=operations/**}:cancel"
|
@@ -178,8 +172,7 @@ end
|
|
178
172
|
# // Note that this method is on a best-effort basis. It may return the latest
|
179
173
|
# // state before the specified timeout (including immediately), meaning even an
|
180
174
|
# // immediate response is no guarantee that the operation is done.
|
181
|
-
# rpc WaitOperation(WaitOperationRequest) returns (Operation) {
|
182
|
-
# }
|
175
|
+
# rpc WaitOperation(WaitOperationRequest) returns (Operation) {}
|
183
176
|
# }
|
184
177
|
#
|
185
178
|
# // This resource represents a long-running operation that is the result of a
|
@@ -203,12 +196,13 @@ end
|
|
203
196
|
#
|
204
197
|
# // The operation result, which can be either an `error` or a valid `response`.
|
205
198
|
# // If `done` == `false`, neither `error` nor `response` is set.
|
206
|
-
# // If `done` == `true`, exactly one of `error` or `response`
|
199
|
+
# // If `done` == `true`, exactly one of `error` or `response` can be set.
|
200
|
+
# // Some services might not provide the result.
|
207
201
|
# oneof result {
|
208
202
|
# // The error result of the operation in case of failure or cancellation.
|
209
203
|
# google.rpc.Status error = 4;
|
210
204
|
#
|
211
|
-
# // The normal response of the operation
|
205
|
+
# // The normal, successful response of the operation. If the original
|
212
206
|
# // method returns no data on success, such as `Delete`, the response is
|
213
207
|
# // `google.protobuf.Empty`. If the original method is standard
|
214
208
|
# // `Get`/`Create`/`Update`, the response should be the resource. For other
|
@@ -220,13 +214,15 @@ end
|
|
220
214
|
# }
|
221
215
|
# }
|
222
216
|
#
|
223
|
-
# // The request message for
|
217
|
+
# // The request message for
|
218
|
+
# // [Operations.GetOperation][google.longrunning.Operations.GetOperation].
|
224
219
|
# message GetOperationRequest {
|
225
220
|
# // The name of the operation resource.
|
226
221
|
# string name = 1;
|
227
222
|
# }
|
228
223
|
#
|
229
|
-
# // The request message for
|
224
|
+
# // The request message for
|
225
|
+
# // [Operations.ListOperations][google.longrunning.Operations.ListOperations].
|
230
226
|
# message ListOperationsRequest {
|
231
227
|
# // The name of the operation's parent resource.
|
232
228
|
# string name = 4;
|
@@ -241,7 +237,8 @@ end
|
|
241
237
|
# string page_token = 3;
|
242
238
|
# }
|
243
239
|
#
|
244
|
-
# // The response message for
|
240
|
+
# // The response message for
|
241
|
+
# // [Operations.ListOperations][google.longrunning.Operations.ListOperations].
|
245
242
|
# message ListOperationsResponse {
|
246
243
|
# // A list of operations that matches the specified filter in the request.
|
247
244
|
# repeated Operation operations = 1;
|
@@ -250,19 +247,22 @@ end
|
|
250
247
|
# string next_page_token = 2;
|
251
248
|
# }
|
252
249
|
#
|
253
|
-
# // The request message for
|
250
|
+
# // The request message for
|
251
|
+
# // [Operations.CancelOperation][google.longrunning.Operations.CancelOperation].
|
254
252
|
# message CancelOperationRequest {
|
255
253
|
# // The name of the operation resource to be cancelled.
|
256
254
|
# string name = 1;
|
257
255
|
# }
|
258
256
|
#
|
259
|
-
# // The request message for
|
257
|
+
# // The request message for
|
258
|
+
# // [Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation].
|
260
259
|
# message DeleteOperationRequest {
|
261
260
|
# // The name of the operation resource to be deleted.
|
262
261
|
# string name = 1;
|
263
262
|
# }
|
264
263
|
#
|
265
|
-
# // The request message for
|
264
|
+
# // The request message for
|
265
|
+
# // [Operations.WaitOperation][google.longrunning.Operations.WaitOperation].
|
266
266
|
# message WaitOperationRequest {
|
267
267
|
# // The name of the operation resource to wait on.
|
268
268
|
# string name = 1;
|
@@ -277,13 +277,12 @@ end
|
|
277
277
|
# //
|
278
278
|
# // Example:
|
279
279
|
# //
|
280
|
-
# //
|
281
|
-
# //
|
282
|
-
# //
|
283
|
-
# //
|
284
|
-
# //
|
285
|
-
# // }
|
286
|
-
# // }
|
280
|
+
# // rpc Export(ExportRequest) returns (google.longrunning.Operation) {
|
281
|
+
# // option (google.longrunning.operation_info) = {
|
282
|
+
# // response_type: "ExportResponse"
|
283
|
+
# // metadata_type: "ExportMetadata"
|
284
|
+
# // };
|
285
|
+
# // }
|
287
286
|
# message OperationInfo {
|
288
287
|
# // Required. The message name of the primary return type for this
|
289
288
|
# // long-running operation.
|
data/lib/google/rpc/code_pb.rb
CHANGED
@@ -39,7 +39,7 @@ end
|
|
39
39
|
|
40
40
|
#### Source proto file: google/rpc/code.proto ####
|
41
41
|
#
|
42
|
-
# // Copyright
|
42
|
+
# // Copyright 2025 Google LLC
|
43
43
|
# //
|
44
44
|
# // Licensed under the Apache License, Version 2.0 (the "License");
|
45
45
|
# // you may not use this file except in compliance with the License.
|
@@ -56,7 +56,7 @@ end
|
|
56
56
|
|
57
57
|
#### Source proto file: google/rpc/context/attribute_context.proto ####
|
58
58
|
#
|
59
|
-
# // Copyright
|
59
|
+
# // Copyright 2025 Google LLC
|
60
60
|
# //
|
61
61
|
# // Licensed under the Apache License, Version 2.0 (the "License");
|
62
62
|
# // you may not use this file except in compliance with the License.
|
@@ -333,7 +333,8 @@ end
|
|
333
333
|
# // may be set by external tools to store and retrieve arbitrary metadata.
|
334
334
|
# // They are not queryable and should be preserved when modifying objects.
|
335
335
|
# //
|
336
|
-
# // More info:
|
336
|
+
# // More info:
|
337
|
+
# // https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
337
338
|
# map<string, string> annotations = 6;
|
338
339
|
#
|
339
340
|
# // Mutable. The display name set by clients. Must be <= 63 characters.
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/protobuf/struct_pb'
|
8
8
|
|
9
9
|
|
10
|
-
descriptor_data = "\n&google/rpc/context/audit_context.proto\x12\x12google.rpc.context\x1a\x1cgoogle/protobuf/struct.proto\"\xc7\x01\n\x0c\x41uditContext\x12\x11\n\taudit_log\x18\x01 \x01(\x0c\x12\x31\n\x10scrubbed_request\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x32\n\x11scrubbed_response\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\x12$\n\x1cscrubbed_response_item_count\x18\x04 \x01(\x05\x12\x17\n\x0ftarget_resource\x18\x05 \x01(\
|
10
|
+
descriptor_data = "\n&google/rpc/context/audit_context.proto\x12\x12google.rpc.context\x1a\x1cgoogle/protobuf/struct.proto\"\xc7\x01\n\x0c\x41uditContext\x12\x11\n\taudit_log\x18\x01 \x01(\x0c\x12\x31\n\x10scrubbed_request\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x32\n\x11scrubbed_response\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\x12$\n\x1cscrubbed_response_item_count\x18\x04 \x01(\x05\x12\x17\n\x0ftarget_resource\x18\x05 \x01(\tBh\n\x16\x63om.google.rpc.contextB\x11\x41uditContextProtoP\x01Z9google.golang.org/genproto/googleapis/rpc/context;contextb\x06proto3"
|
11
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
13
|
|
@@ -44,7 +44,7 @@ end
|
|
44
44
|
|
45
45
|
#### Source proto file: google/rpc/context/audit_context.proto ####
|
46
46
|
#
|
47
|
-
# // Copyright
|
47
|
+
# // Copyright 2025 Google LLC
|
48
48
|
# //
|
49
49
|
# // Licensed under the Apache License, Version 2.0 (the "License");
|
50
50
|
# // you may not use this file except in compliance with the License.
|
@@ -64,7 +64,6 @@ end
|
|
64
64
|
#
|
65
65
|
# import "google/protobuf/struct.proto";
|
66
66
|
#
|
67
|
-
# option cc_enable_arenas = true;
|
68
67
|
# option go_package = "google.golang.org/genproto/googleapis/rpc/context;context";
|
69
68
|
# option java_multiple_files = true;
|
70
69
|
# option java_outer_classname = "AuditContextProto";
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/protobuf/duration_pb'
|
8
8
|
|
9
9
|
|
10
|
-
descriptor_data = "\n\x1egoogle/rpc/error_details.proto\x12\ngoogle.rpc\x1a\x1egoogle/protobuf/duration.proto\"\x93\x01\n\tErrorInfo\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x35\n\x08metadata\x18\x03 \x03(\x0b\x32#.google.rpc.ErrorInfo.MetadataEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\";\n\tRetryInfo\x12.\n\x0bretry_delay\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"2\n\tDebugInfo\x12\x15\n\rstack_entries\x18\x01 \x03(\t\x12\x0e\n\x06\x64\x65tail\x18\x02 \x01(\t\"
|
10
|
+
descriptor_data = "\n\x1egoogle/rpc/error_details.proto\x12\ngoogle.rpc\x1a\x1egoogle/protobuf/duration.proto\"\x93\x01\n\tErrorInfo\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x35\n\x08metadata\x18\x03 \x03(\x0b\x32#.google.rpc.ErrorInfo.MetadataEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\";\n\tRetryInfo\x12.\n\x0bretry_delay\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"2\n\tDebugInfo\x12\x15\n\rstack_entries\x18\x01 \x03(\t\x12\x0e\n\x06\x64\x65tail\x18\x02 \x01(\t\"\x8f\x03\n\x0cQuotaFailure\x12\x36\n\nviolations\x18\x01 \x03(\x0b\x32\".google.rpc.QuotaFailure.Violation\x1a\xc6\x02\n\tViolation\x12\x0f\n\x07subject\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x13\n\x0b\x61pi_service\x18\x03 \x01(\t\x12\x14\n\x0cquota_metric\x18\x04 \x01(\t\x12\x10\n\x08quota_id\x18\x05 \x01(\t\x12Q\n\x10quota_dimensions\x18\x06 \x03(\x0b\x32\x37.google.rpc.QuotaFailure.Violation.QuotaDimensionsEntry\x12\x13\n\x0bquota_value\x18\x07 \x01(\x03\x12\x1f\n\x12\x66uture_quota_value\x18\x08 \x01(\x03H\x00\x88\x01\x01\x1a\x36\n\x14QuotaDimensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x15\n\x13_future_quota_value\"\x95\x01\n\x13PreconditionFailure\x12=\n\nviolations\x18\x01 \x03(\x0b\x32).google.rpc.PreconditionFailure.Violation\x1a?\n\tViolation\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0f\n\x07subject\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\"\xcc\x01\n\nBadRequest\x12?\n\x10\x66ield_violations\x18\x01 \x03(\x0b\x32%.google.rpc.BadRequest.FieldViolation\x1a}\n\x0e\x46ieldViolation\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x37\n\x11localized_message\x18\x04 \x01(\x0b\x32\x1c.google.rpc.LocalizedMessage\"7\n\x0bRequestInfo\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x14\n\x0cserving_data\x18\x02 \x01(\t\"`\n\x0cResourceInfo\x12\x15\n\rresource_type\x18\x01 \x01(\t\x12\x15\n\rresource_name\x18\x02 \x01(\t\x12\r\n\x05owner\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\"V\n\x04Help\x12$\n\x05links\x18\x01 \x03(\x0b\x32\x15.google.rpc.Help.Link\x1a(\n\x04Link\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\"3\n\x10LocalizedMessage\x12\x0e\n\x06locale\x18\x01 \x01(\t\x12\x0f\n\x07message\x18\x02 \x01(\tBl\n\x0e\x63om.google.rpcB\x11\x45rrorDetailsProtoP\x01Z?google.golang.org/genproto/googleapis/rpc/errdetails;errdetails\xa2\x02\x03RPCb\x06proto3"
|
11
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
13
|
|
@@ -55,7 +55,7 @@ end
|
|
55
55
|
|
56
56
|
#### Source proto file: google/rpc/error_details.proto ####
|
57
57
|
#
|
58
|
-
# // Copyright
|
58
|
+
# // Copyright 2025 Google LLC
|
59
59
|
# //
|
60
60
|
# // Licensed under the Apache License, Version 2.0 (the "License");
|
61
61
|
# // you may not use this file except in compliance with the License.
|
@@ -123,11 +123,12 @@ end
|
|
123
123
|
#
|
124
124
|
# // Additional structured details about this error.
|
125
125
|
# //
|
126
|
-
# // Keys
|
126
|
+
# // Keys must match a regular expression of `[a-z][a-zA-Z0-9-_]+` but should
|
127
|
+
# // ideally be lowerCamelCase. Also, they must be limited to 64 characters in
|
127
128
|
# // length. When identifying the current value of an exceeded limit, the units
|
128
129
|
# // should be contained in the key, not the value. For example, rather than
|
129
|
-
# // {"instanceLimit": "100/request"}
|
130
|
-
# // {"instanceLimitPerRequest": "100"}
|
130
|
+
# // `{"instanceLimit": "100/request"}`, should be returned as,
|
131
|
+
# // `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of
|
131
132
|
# // instances that can be created in a single (batch) request.
|
132
133
|
# map<string, string> metadata = 3;
|
133
134
|
# }
|
@@ -187,6 +188,71 @@ end
|
|
187
188
|
# // For example: "Service disabled" or "Daily Limit for read operations
|
188
189
|
# // exceeded".
|
189
190
|
# string description = 2;
|
191
|
+
#
|
192
|
+
# // The API Service from which the `QuotaFailure.Violation` orginates. In
|
193
|
+
# // some cases, Quota issues originate from an API Service other than the one
|
194
|
+
# // that was called. In other words, a dependency of the called API Service
|
195
|
+
# // could be the cause of the `QuotaFailure`, and this field would have the
|
196
|
+
# // dependency API service name.
|
197
|
+
# //
|
198
|
+
# // For example, if the called API is Kubernetes Engine API
|
199
|
+
# // (container.googleapis.com), and a quota violation occurs in the
|
200
|
+
# // Kubernetes Engine API itself, this field would be
|
201
|
+
# // "container.googleapis.com". On the other hand, if the quota violation
|
202
|
+
# // occurs when the Kubernetes Engine API creates VMs in the Compute Engine
|
203
|
+
# // API (compute.googleapis.com), this field would be
|
204
|
+
# // "compute.googleapis.com".
|
205
|
+
# string api_service = 3;
|
206
|
+
#
|
207
|
+
# // The metric of the violated quota. A quota metric is a named counter to
|
208
|
+
# // measure usage, such as API requests or CPUs. When an activity occurs in a
|
209
|
+
# // service, such as Virtual Machine allocation, one or more quota metrics
|
210
|
+
# // may be affected.
|
211
|
+
# //
|
212
|
+
# // For example, "compute.googleapis.com/cpus_per_vm_family",
|
213
|
+
# // "storage.googleapis.com/internet_egress_bandwidth".
|
214
|
+
# string quota_metric = 4;
|
215
|
+
#
|
216
|
+
# // The id of the violated quota. Also know as "limit name", this is the
|
217
|
+
# // unique identifier of a quota in the context of an API service.
|
218
|
+
# //
|
219
|
+
# // For example, "CPUS-PER-VM-FAMILY-per-project-region".
|
220
|
+
# string quota_id = 5;
|
221
|
+
#
|
222
|
+
# // The dimensions of the violated quota. Every non-global quota is enforced
|
223
|
+
# // on a set of dimensions. While quota metric defines what to count, the
|
224
|
+
# // dimensions specify for what aspects the counter should be increased.
|
225
|
+
# //
|
226
|
+
# // For example, the quota "CPUs per region per VM family" enforces a limit
|
227
|
+
# // on the metric "compute.googleapis.com/cpus_per_vm_family" on dimensions
|
228
|
+
# // "region" and "vm_family". And if the violation occurred in region
|
229
|
+
# // "us-central1" and for VM family "n1", the quota_dimensions would be,
|
230
|
+
# //
|
231
|
+
# // {
|
232
|
+
# // "region": "us-central1",
|
233
|
+
# // "vm_family": "n1",
|
234
|
+
# // }
|
235
|
+
# //
|
236
|
+
# // When a quota is enforced globally, the quota_dimensions would always be
|
237
|
+
# // empty.
|
238
|
+
# map<string, string> quota_dimensions = 6;
|
239
|
+
#
|
240
|
+
# // The enforced quota value at the time of the `QuotaFailure`.
|
241
|
+
# //
|
242
|
+
# // For example, if the enforced quota value at the time of the
|
243
|
+
# // `QuotaFailure` on the number of CPUs is "10", then the value of this
|
244
|
+
# // field would reflect this quantity.
|
245
|
+
# int64 quota_value = 7;
|
246
|
+
#
|
247
|
+
# // The new quota value being rolled out at the time of the violation. At the
|
248
|
+
# // completion of the rollout, this value will be enforced in place of
|
249
|
+
# // quota_value. If no rollout is in progress at the time of the violation,
|
250
|
+
# // this field is not set.
|
251
|
+
# //
|
252
|
+
# // For example, if at the time of the violation a rollout is in progress
|
253
|
+
# // changing the number of CPUs quota from 10 to 20, 20 would be the value of
|
254
|
+
# // this field.
|
255
|
+
# optional int64 future_quota_value = 8;
|
190
256
|
# }
|
191
257
|
#
|
192
258
|
# // Describes all quota violations.
|
@@ -268,6 +334,18 @@ end
|
|
268
334
|
#
|
269
335
|
# // A description of why the request element is bad.
|
270
336
|
# string description = 2;
|
337
|
+
#
|
338
|
+
# // The reason of the field-level error. This is a constant value that
|
339
|
+
# // identifies the proximate cause of the field-level error. It should
|
340
|
+
# // uniquely identify the type of the FieldViolation within the scope of the
|
341
|
+
# // google.rpc.ErrorInfo.domain. This should be at most 63
|
342
|
+
# // characters and match a regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`,
|
343
|
+
# // which represents UPPER_SNAKE_CASE.
|
344
|
+
# string reason = 3;
|
345
|
+
#
|
346
|
+
# // Provides a localized error message for field-level errors that is safe to
|
347
|
+
# // return to the API consumer.
|
348
|
+
# LocalizedMessage localized_message = 4;
|
271
349
|
# }
|
272
350
|
#
|
273
351
|
# // Describes all violations in a client request.
|
data/lib/google/rpc/http_pb.rb
CHANGED
@@ -41,7 +41,7 @@ end
|
|
41
41
|
|
42
42
|
#### Source proto file: google/rpc/http.proto ####
|
43
43
|
#
|
44
|
-
# // Copyright
|
44
|
+
# // Copyright 2025 Google LLC
|
45
45
|
# //
|
46
46
|
# // Licensed under the Apache License, Version 2.0 (the "License");
|
47
47
|
# // you may not use this file except in compliance with the License.
|
data/lib/google/rpc/status_pb.rb
CHANGED
@@ -42,7 +42,7 @@ end
|
|
42
42
|
|
43
43
|
#### Source proto file: google/rpc/status.proto ####
|
44
44
|
#
|
45
|
-
# // Copyright
|
45
|
+
# // Copyright 2025 Google LLC
|
46
46
|
# //
|
47
47
|
# // Licensed under the Apache License, Version 2.0 (the "License");
|
48
48
|
# // you may not use this file except in compliance with the License.
|
@@ -39,7 +39,7 @@ end
|
|
39
39
|
|
40
40
|
#### Source proto file: google/type/calendar_period.proto ####
|
41
41
|
#
|
42
|
-
# // Copyright
|
42
|
+
# // Copyright 2025 Google LLC
|
43
43
|
# //
|
44
44
|
# // Licensed under the Apache License, Version 2.0 (the "License");
|
45
45
|
# // you may not use this file except in compliance with the License.
|
data/lib/google/type/color_pb.rb
CHANGED
@@ -42,7 +42,7 @@ end
|
|
42
42
|
|
43
43
|
#### Source proto file: google/type/color.proto ####
|
44
44
|
#
|
45
|
-
# // Copyright
|
45
|
+
# // Copyright 2025 Google LLC
|
46
46
|
# //
|
47
47
|
# // Licensed under the Apache License, Version 2.0 (the "License");
|
48
48
|
# // you may not use this file except in compliance with the License.
|
data/lib/google/type/date_pb.rb
CHANGED
@@ -39,7 +39,7 @@ end
|
|
39
39
|
|
40
40
|
#### Source proto file: google/type/date.proto ####
|
41
41
|
#
|
42
|
-
# // Copyright
|
42
|
+
# // Copyright 2025 Google LLC
|
43
43
|
# //
|
44
44
|
# // Licensed under the Apache License, Version 2.0 (the "License");
|
45
45
|
# // you may not use this file except in compliance with the License.
|
@@ -43,7 +43,7 @@ end
|
|
43
43
|
|
44
44
|
#### Source proto file: google/type/datetime.proto ####
|
45
45
|
#
|
46
|
-
# // Copyright
|
46
|
+
# // Copyright 2025 Google LLC
|
47
47
|
# //
|
48
48
|
# // Licensed under the Apache License, Version 2.0 (the "License");
|
49
49
|
# // you may not use this file except in compliance with the License.
|
@@ -39,7 +39,7 @@ end
|
|
39
39
|
|
40
40
|
#### Source proto file: google/type/dayofweek.proto ####
|
41
41
|
#
|
42
|
-
# // Copyright
|
42
|
+
# // Copyright 2025 Google LLC
|
43
43
|
# //
|
44
44
|
# // Licensed under the Apache License, Version 2.0 (the "License");
|
45
45
|
# // you may not use this file except in compliance with the License.
|
@@ -39,7 +39,7 @@ end
|
|
39
39
|
|
40
40
|
#### Source proto file: google/type/decimal.proto ####
|
41
41
|
#
|
42
|
-
# // Copyright
|
42
|
+
# // Copyright 2025 Google LLC
|
43
43
|
# //
|
44
44
|
# // Licensed under the Apache License, Version 2.0 (the "License");
|
45
45
|
# // you may not use this file except in compliance with the License.
|
data/lib/google/type/expr_pb.rb
CHANGED
@@ -39,7 +39,7 @@ end
|
|
39
39
|
|
40
40
|
#### Source proto file: google/type/expr.proto ####
|
41
41
|
#
|
42
|
-
# // Copyright
|
42
|
+
# // Copyright 2025 Google LLC
|
43
43
|
# //
|
44
44
|
# // Licensed under the Apache License, Version 2.0 (the "License");
|
45
45
|
# // you may not use this file except in compliance with the License.
|
@@ -39,7 +39,7 @@ end
|
|
39
39
|
|
40
40
|
#### Source proto file: google/type/fraction.proto ####
|
41
41
|
#
|
42
|
-
# // Copyright
|
42
|
+
# // Copyright 2025 Google LLC
|
43
43
|
# //
|
44
44
|
# // Licensed under the Apache License, Version 2.0 (the "License");
|
45
45
|
# // you may not use this file except in compliance with the License.
|
@@ -42,7 +42,7 @@ end
|
|
42
42
|
|
43
43
|
#### Source proto file: google/type/interval.proto ####
|
44
44
|
#
|
45
|
-
# // Copyright
|
45
|
+
# // Copyright 2025 Google LLC
|
46
46
|
# //
|
47
47
|
# // Licensed under the Apache License, Version 2.0 (the "License");
|
48
48
|
# // you may not use this file except in compliance with the License.
|
@@ -39,7 +39,7 @@ end
|
|
39
39
|
|
40
40
|
#### Source proto file: google/type/latlng.proto ####
|
41
41
|
#
|
42
|
-
# // Copyright
|
42
|
+
# // Copyright 2025 Google LLC
|
43
43
|
# //
|
44
44
|
# // Licensed under the Apache License, Version 2.0 (the "License");
|
45
45
|
# // you may not use this file except in compliance with the License.
|
@@ -39,7 +39,7 @@ end
|
|
39
39
|
|
40
40
|
#### Source proto file: google/type/localized_text.proto ####
|
41
41
|
#
|
42
|
-
# // Copyright
|
42
|
+
# // Copyright 2025 Google LLC
|
43
43
|
# //
|
44
44
|
# // Licensed under the Apache License, Version 2.0 (the "License");
|
45
45
|
# // you may not use this file except in compliance with the License.
|
data/lib/google/type/money_pb.rb
CHANGED
@@ -39,7 +39,7 @@ end
|
|
39
39
|
|
40
40
|
#### Source proto file: google/type/money.proto ####
|
41
41
|
#
|
42
|
-
# // Copyright
|
42
|
+
# // Copyright 2025 Google LLC
|
43
43
|
# //
|
44
44
|
# // Licensed under the Apache License, Version 2.0 (the "License");
|
45
45
|
# // you may not use this file except in compliance with the License.
|
data/lib/google/type/month_pb.rb
CHANGED
@@ -39,7 +39,7 @@ end
|
|
39
39
|
|
40
40
|
#### Source proto file: google/type/month.proto ####
|
41
41
|
#
|
42
|
-
# // Copyright
|
42
|
+
# // Copyright 2025 Google LLC
|
43
43
|
# //
|
44
44
|
# // Licensed under the Apache License, Version 2.0 (the "License");
|
45
45
|
# // you may not use this file except in compliance with the License.
|
@@ -40,7 +40,7 @@ end
|
|
40
40
|
|
41
41
|
#### Source proto file: google/type/phone_number.proto ####
|
42
42
|
#
|
43
|
-
# // Copyright
|
43
|
+
# // Copyright 2025 Google LLC
|
44
44
|
# //
|
45
45
|
# // Licensed under the Apache License, Version 2.0 (the "License");
|
46
46
|
# // you may not use this file except in compliance with the License.
|
@@ -39,7 +39,7 @@ end
|
|
39
39
|
|
40
40
|
#### Source proto file: google/type/postal_address.proto ####
|
41
41
|
#
|
42
|
-
# // Copyright
|
42
|
+
# // Copyright 2025 Google LLC
|
43
43
|
# //
|
44
44
|
# // Licensed under the Apache License, Version 2.0 (the "License");
|
45
45
|
# // you may not use this file except in compliance with the License.
|
@@ -39,7 +39,7 @@ end
|
|
39
39
|
|
40
40
|
#### Source proto file: google/type/quaternion.proto ####
|
41
41
|
#
|
42
|
-
# // Copyright
|
42
|
+
# // Copyright 2025 Google LLC
|
43
43
|
# //
|
44
44
|
# // Licensed under the Apache License, Version 2.0 (the "License");
|
45
45
|
# // you may not use this file except in compliance with the License.
|
@@ -39,7 +39,7 @@ end
|
|
39
39
|
|
40
40
|
#### Source proto file: google/type/timeofday.proto ####
|
41
41
|
#
|
42
|
-
# // Copyright
|
42
|
+
# // Copyright 2025 Google LLC
|
43
43
|
# //
|
44
44
|
# // Licensed under the Apache License, Version 2.0 (the "License");
|
45
45
|
# // you may not use this file except in compliance with the License.
|