googleapis-common-protos-types 1.18.0 → 1.25.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 +2 -1
- data/lib/google/api/backend_pb.rb +13 -2
- data/lib/google/api/billing_pb.rb +1 -1
- data/lib/google/api/client_pb.rb +184 -54
- 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 +1 -1
- data/lib/google/api/control_pb.rb +3 -3
- 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 +1 -1
- data/lib/google/api/error_reason_pb.rb +187 -2
- data/lib/google/api/field_behavior_pb.rb +3 -3
- data/lib/google/api/field_info_pb.rb +1 -1
- data/lib/google/api/http_pb.rb +2 -3
- data/lib/google/api/httpbody_pb.rb +1 -1
- 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 +1 -1
- 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 +2 -3
- data/lib/google/api/quota_pb.rb +1 -1
- data/lib/google/api/resource_pb.rb +2 -3
- data/lib/google/api/routing_pb.rb +9 -5
- data/lib/google/api/service_pb.rb +2 -3
- 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 +7 -27
- 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 +23 -3
- data/lib/google/rpc/code_pb.rb +1 -1
- data/lib/google/rpc/context/attribute_context_pb.rb +8 -3
- data/lib/google/rpc/context/audit_context_pb.rb +1 -1
- data/lib/google/rpc/error_details_pb.rb +71 -6
- data/lib/google/rpc/http_pb.rb +1 -1
- data/lib/google/rpc/status_pb.rb +2 -3
- data/lib/google/type/calendar_period_pb.rb +1 -1
- data/lib/google/type/color_pb.rb +10 -11
- data/lib/google/type/date_pb.rb +12 -10
- data/lib/google/type/datetime_pb.rb +18 -18
- data/lib/google/type/dayofweek_pb.rb +1 -1
- data/lib/google/type/decimal_pb.rb +12 -14
- 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 +2 -3
- data/lib/google/type/latlng_pb.rb +5 -6
- data/lib/google/type/localized_text_pb.rb +4 -4
- data/lib/google/type/money_pb.rb +2 -3
- data/lib/google/type/month_pb.rb +1 -1
- data/lib/google/type/phone_number_pb.rb +21 -16
- data/lib/google/type/postal_address_pb.rb +40 -40
- data/lib/google/type/quaternion_pb.rb +5 -5
- data/lib/google/type/timeofday_pb.rb +12 -9
- data/lib/googleapis/common/protos/types/version.rb +1 -1
- metadata +8 -14
|
@@ -6,6 +6,7 @@ require 'google/protobuf'
|
|
|
6
6
|
|
|
7
7
|
require 'google/api/annotations_pb'
|
|
8
8
|
require 'google/api/client_pb'
|
|
9
|
+
require 'google/api/field_behavior_pb'
|
|
9
10
|
require 'google/protobuf/any_pb'
|
|
10
11
|
require 'google/protobuf/descriptor_pb'
|
|
11
12
|
require 'google/protobuf/duration_pb'
|
|
@@ -13,7 +14,7 @@ require 'google/protobuf/empty_pb'
|
|
|
13
14
|
require 'google/rpc/status_pb'
|
|
14
15
|
|
|
15
16
|
|
|
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\"
|
|
17
|
+
descriptor_data = "\n#google/longrunning/operations.proto\x12\x12google.longrunning\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.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\x12\x1e\n\x16return_partial_success\x18\x05 \x01(\x08\"\x7f\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\x12\x19\n\x0bunreachable\x18\x03 \x03(\tB\x04\xe2\x41\x01\x06\"&\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\xa2\x01\n\x16\x63om.google.longrunningB\x0fOperationsProtoP\x01ZCcloud.google.com/go/longrunning/autogen/longrunningpb;longrunningpb\xa2\x02\x05GLRUN\xaa\x02\x12Google.LongRunning\xca\x02\x12Google\\LongRunningb\x06proto3"
|
|
17
18
|
|
|
18
19
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
19
20
|
|
|
@@ -57,7 +58,7 @@ end
|
|
|
57
58
|
|
|
58
59
|
#### Source proto file: google/longrunning/operations.proto ####
|
|
59
60
|
#
|
|
60
|
-
# // Copyright
|
|
61
|
+
# // Copyright 2025 Google LLC
|
|
61
62
|
# //
|
|
62
63
|
# // Licensed under the Apache License, Version 2.0 (the "License");
|
|
63
64
|
# // you may not use this file except in compliance with the License.
|
|
@@ -77,13 +78,13 @@ end
|
|
|
77
78
|
#
|
|
78
79
|
# import "google/api/annotations.proto";
|
|
79
80
|
# import "google/api/client.proto";
|
|
81
|
+
# import "google/api/field_behavior.proto";
|
|
80
82
|
# import "google/protobuf/any.proto";
|
|
81
83
|
# import "google/protobuf/descriptor.proto";
|
|
82
84
|
# import "google/protobuf/duration.proto";
|
|
83
85
|
# import "google/protobuf/empty.proto";
|
|
84
86
|
# import "google/rpc/status.proto";
|
|
85
87
|
#
|
|
86
|
-
# option cc_enable_arenas = true;
|
|
87
88
|
# option csharp_namespace = "Google.LongRunning";
|
|
88
89
|
# option go_package = "cloud.google.com/go/longrunning/autogen/longrunningpb;longrunningpb";
|
|
89
90
|
# option java_multiple_files = true;
|
|
@@ -235,6 +236,18 @@ end
|
|
|
235
236
|
#
|
|
236
237
|
# // The standard list page token.
|
|
237
238
|
# string page_token = 3;
|
|
239
|
+
#
|
|
240
|
+
# // When set to `true`, operations that are reachable are returned as normal,
|
|
241
|
+
# // and those that are unreachable are returned in the
|
|
242
|
+
# // [ListOperationsResponse.unreachable] field.
|
|
243
|
+
# //
|
|
244
|
+
# // This can only be `true` when reading across collections e.g. when `parent`
|
|
245
|
+
# // is set to `"projects/example/locations/-"`.
|
|
246
|
+
# //
|
|
247
|
+
# // This field is not by default supported and will result in an
|
|
248
|
+
# // `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
249
|
+
# // service or product specific documentation.
|
|
250
|
+
# bool return_partial_success = 5;
|
|
238
251
|
# }
|
|
239
252
|
#
|
|
240
253
|
# // The response message for
|
|
@@ -245,6 +258,13 @@ end
|
|
|
245
258
|
#
|
|
246
259
|
# // The standard List next-page token.
|
|
247
260
|
# string next_page_token = 2;
|
|
261
|
+
#
|
|
262
|
+
# // Unordered list. Unreachable resources. Populated when the request sets
|
|
263
|
+
# // `ListOperationsRequest.return_partial_success` and reads across
|
|
264
|
+
# // collections e.g. when attempting to list all resources across all supported
|
|
265
|
+
# // locations.
|
|
266
|
+
# repeated string unreachable = 3
|
|
267
|
+
# [(google.api.field_behavior) = UNORDERED_LIST];
|
|
248
268
|
# }
|
|
249
269
|
#
|
|
250
270
|
# // The request message for
|
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 2026 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.
|
|
@@ -10,7 +10,7 @@ require 'google/protobuf/struct_pb'
|
|
|
10
10
|
require 'google/protobuf/timestamp_pb'
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
descriptor_data = "\n*google/rpc/context/attribute_context.proto\x12\x12google.rpc.context\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
13
|
+
descriptor_data = "\n*google/rpc/context/attribute_context.proto\x12\x12google.rpc.context\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x93\x10\n\x10\x41ttributeContext\x12\x39\n\x06origin\x18\x07 \x01(\x0b\x32).google.rpc.context.AttributeContext.Peer\x12\x39\n\x06source\x18\x01 \x01(\x0b\x32).google.rpc.context.AttributeContext.Peer\x12>\n\x0b\x64\x65stination\x18\x02 \x01(\x0b\x32).google.rpc.context.AttributeContext.Peer\x12=\n\x07request\x18\x03 \x01(\x0b\x32,.google.rpc.context.AttributeContext.Request\x12?\n\x08response\x18\x04 \x01(\x0b\x32-.google.rpc.context.AttributeContext.Response\x12?\n\x08resource\x18\x05 \x01(\x0b\x32-.google.rpc.context.AttributeContext.Resource\x12\x35\n\x03\x61pi\x18\x06 \x01(\x0b\x32(.google.rpc.context.AttributeContext.Api\x12(\n\nextensions\x18\x08 \x03(\x0b\x32\x14.google.protobuf.Any\x1a\xbe\x01\n\x04Peer\x12\n\n\x02ip\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\x03\x12\x45\n\x06labels\x18\x06 \x03(\x0b\x32\x35.google.rpc.context.AttributeContext.Peer.LabelsEntry\x12\x11\n\tprincipal\x18\x07 \x01(\t\x12\x13\n\x0bregion_code\x18\x08 \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aL\n\x03\x41pi\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\t\x12\x10\n\x08protocol\x18\x03 \x01(\t\x12\x0f\n\x07version\x18\x04 \x01(\t\x1a\x7f\n\x04\x41uth\x12\x11\n\tprincipal\x18\x01 \x01(\t\x12\x11\n\taudiences\x18\x02 \x03(\t\x12\x11\n\tpresenter\x18\x03 \x01(\t\x12\'\n\x06\x63laims\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x15\n\raccess_levels\x18\x05 \x03(\t\x1a\xff\x02\n\x07Request\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0e\n\x06method\x18\x02 \x01(\t\x12J\n\x07headers\x18\x03 \x03(\x0b\x32\x39.google.rpc.context.AttributeContext.Request.HeadersEntry\x12\x0c\n\x04path\x18\x04 \x01(\t\x12\x0c\n\x04host\x18\x05 \x01(\t\x12\x0e\n\x06scheme\x18\x06 \x01(\t\x12\r\n\x05query\x18\x07 \x01(\t\x12(\n\x04time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04size\x18\n \x01(\x03\x12\x10\n\x08protocol\x18\x0b \x01(\t\x12\x0e\n\x06reason\x18\x0c \x01(\t\x12\x37\n\x04\x61uth\x18\r \x01(\x0b\x32).google.rpc.context.AttributeContext.Auth\x12\x0e\n\x06origin\x18\x0e \x01(\t\x1a.\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x81\x02\n\x08Response\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x03\x12\x0c\n\x04size\x18\x02 \x01(\x03\x12K\n\x07headers\x18\x03 \x03(\x0b\x32:.google.rpc.context.AttributeContext.Response.HeadersEntry\x12(\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0f\x62\x61\x63kend_latency\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a.\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x90\x04\n\x08Resource\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\x12I\n\x06labels\x18\x04 \x03(\x0b\x32\x39.google.rpc.context.AttributeContext.Resource.LabelsEntry\x12\x0b\n\x03uid\x18\x05 \x01(\t\x12S\n\x0b\x61nnotations\x18\x06 \x03(\x0b\x32>.google.rpc.context.AttributeContext.Resource.AnnotationsEntry\x12\x14\n\x0c\x64isplay_name\x18\x07 \x01(\t\x12/\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x64\x65lete_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04\x65tag\x18\x0b \x01(\t\x12\x10\n\x08location\x18\x0c \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x88\x01\n\x16\x63om.google.rpc.contextB\x15\x41ttributeContextProtoP\x01ZUgoogle.golang.org/genproto/googleapis/rpc/context/attribute_context;attribute_contextb\x06proto3"
|
|
14
14
|
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
16
16
|
|
|
@@ -56,7 +56,7 @@ end
|
|
|
56
56
|
|
|
57
57
|
#### Source proto file: google/rpc/context/attribute_context.proto ####
|
|
58
58
|
#
|
|
59
|
-
# // Copyright
|
|
59
|
+
# // Copyright 2026 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.
|
|
@@ -79,7 +79,6 @@ end
|
|
|
79
79
|
# import "google/protobuf/struct.proto";
|
|
80
80
|
# import "google/protobuf/timestamp.proto";
|
|
81
81
|
#
|
|
82
|
-
# option cc_enable_arenas = true;
|
|
83
82
|
# option go_package = "google.golang.org/genproto/googleapis/rpc/context/attribute_context;attribute_context";
|
|
84
83
|
# option java_multiple_files = true;
|
|
85
84
|
# option java_outer_classname = "AttributeContextProto";
|
|
@@ -261,6 +260,12 @@ end
|
|
|
261
260
|
# // The request authentication. May be absent for unauthenticated requests.
|
|
262
261
|
# // Derived from the HTTP request `Authorization` header or equivalent.
|
|
263
262
|
# Auth auth = 13;
|
|
263
|
+
#
|
|
264
|
+
# // The values from Origin header from the HTTP request, such as
|
|
265
|
+
# // "https://console.cloud.google.com". Modern browsers can only have one
|
|
266
|
+
# // origin. Special browsers and/or HTTP clients may require multiple
|
|
267
|
+
# // origins.
|
|
268
|
+
# string origin = 14;
|
|
264
269
|
# }
|
|
265
270
|
#
|
|
266
271
|
# // This message defines attributes for a typical network response. It
|
|
@@ -44,7 +44,7 @@ end
|
|
|
44
44
|
|
|
45
45
|
#### Source proto file: google/rpc/context/audit_context.proto ####
|
|
46
46
|
#
|
|
47
|
-
# // Copyright
|
|
47
|
+
# // Copyright 2026 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.
|
|
@@ -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 2026 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.
|
|
@@ -188,6 +188,71 @@ end
|
|
|
188
188
|
# // For example: "Service disabled" or "Daily Limit for read operations
|
|
189
189
|
# // exceeded".
|
|
190
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;
|
|
191
256
|
# }
|
|
192
257
|
#
|
|
193
258
|
# // Describes all quota violations.
|
|
@@ -253,17 +318,17 @@ end
|
|
|
253
318
|
# // In this example, in proto `field` could take one of the following values:
|
|
254
319
|
# //
|
|
255
320
|
# // * `full_name` for a violation in the `full_name` value
|
|
256
|
-
# // * `email_addresses[
|
|
321
|
+
# // * `email_addresses[0].email` for a violation in the `email` field of the
|
|
257
322
|
# // first `email_addresses` message
|
|
258
|
-
# // * `email_addresses[
|
|
323
|
+
# // * `email_addresses[2].type[1]` for a violation in the second `type`
|
|
259
324
|
# // value in the third `email_addresses` message.
|
|
260
325
|
# //
|
|
261
326
|
# // In JSON, the same values are represented as:
|
|
262
327
|
# //
|
|
263
328
|
# // * `fullName` for a violation in the `fullName` value
|
|
264
|
-
# // * `emailAddresses[
|
|
329
|
+
# // * `emailAddresses[0].email` for a violation in the `email` field of the
|
|
265
330
|
# // first `emailAddresses` message
|
|
266
|
-
# // * `emailAddresses[
|
|
331
|
+
# // * `emailAddresses[2].type[1]` for a violation in the second `type`
|
|
267
332
|
# // value in the third `emailAddresses` message.
|
|
268
333
|
# string field = 1;
|
|
269
334
|
#
|
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 2026 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
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
|
7
7
|
require 'google/protobuf/any_pb'
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
descriptor_data = "\n\x17google/rpc/status.proto\x12\ngoogle.rpc\x1a\x19google/protobuf/any.proto\"N\n\x06Status\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12%\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.
|
|
10
|
+
descriptor_data = "\n\x17google/rpc/status.proto\x12\ngoogle.rpc\x1a\x19google/protobuf/any.proto\"N\n\x06Status\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12%\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.AnyB^\n\x0e\x63om.google.rpcB\x0bStatusProtoP\x01Z7google.golang.org/genproto/googleapis/rpc/status;status\xa2\x02\x03RPCb\x06proto3"
|
|
11
11
|
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
13
13
|
|
|
@@ -42,7 +42,7 @@ end
|
|
|
42
42
|
|
|
43
43
|
#### Source proto file: google/rpc/status.proto ####
|
|
44
44
|
#
|
|
45
|
-
# // Copyright
|
|
45
|
+
# // Copyright 2026 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.
|
|
@@ -62,7 +62,6 @@ end
|
|
|
62
62
|
#
|
|
63
63
|
# import "google/protobuf/any.proto";
|
|
64
64
|
#
|
|
65
|
-
# option cc_enable_arenas = true;
|
|
66
65
|
# option go_package = "google.golang.org/genproto/googleapis/rpc/status;status";
|
|
67
66
|
# option java_multiple_files = true;
|
|
68
67
|
# option java_outer_classname = "StatusProto";
|
|
@@ -39,7 +39,7 @@ end
|
|
|
39
39
|
|
|
40
40
|
#### Source proto file: google/type/calendar_period.proto ####
|
|
41
41
|
#
|
|
42
|
-
# // Copyright
|
|
42
|
+
# // Copyright 2026 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
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
|
7
7
|
require 'google/protobuf/wrappers_pb'
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
descriptor_data = "\n\x17google/type/color.proto\x12\x0bgoogle.type\x1a\x1egoogle/protobuf/wrappers.proto\"]\n\x05\x43olor\x12\x0b\n\x03red\x18\x01 \x01(\x02\x12\r\n\x05green\x18\x02 \x01(\x02\x12\x0c\n\x04\x62lue\x18\x03 \x01(\x02\x12*\n\x05\x61lpha\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.FloatValueB
|
|
10
|
+
descriptor_data = "\n\x17google/type/color.proto\x12\x0bgoogle.type\x1a\x1egoogle/protobuf/wrappers.proto\"]\n\x05\x43olor\x12\x0b\n\x03red\x18\x01 \x01(\x02\x12\r\n\x05green\x18\x02 \x01(\x02\x12\x0c\n\x04\x62lue\x18\x03 \x01(\x02\x12*\n\x05\x61lpha\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.FloatValueB]\n\x0f\x63om.google.typeB\nColorProtoP\x01Z6google.golang.org/genproto/googleapis/type/color;color\xa2\x02\x03GTPb\x06proto3"
|
|
11
11
|
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
13
13
|
|
|
@@ -42,7 +42,7 @@ end
|
|
|
42
42
|
|
|
43
43
|
#### Source proto file: google/type/color.proto ####
|
|
44
44
|
#
|
|
45
|
-
# // Copyright
|
|
45
|
+
# // Copyright 2026 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.
|
|
@@ -62,7 +62,6 @@ end
|
|
|
62
62
|
#
|
|
63
63
|
# import "google/protobuf/wrappers.proto";
|
|
64
64
|
#
|
|
65
|
-
# option cc_enable_arenas = true;
|
|
66
65
|
# option go_package = "google.golang.org/genproto/googleapis/type/color;color";
|
|
67
66
|
# option java_multiple_files = true;
|
|
68
67
|
# option java_outer_classname = "ColorProto";
|
|
@@ -70,22 +69,22 @@ end
|
|
|
70
69
|
# option objc_class_prefix = "GTP";
|
|
71
70
|
#
|
|
72
71
|
# // Represents a color in the RGBA color space. This representation is designed
|
|
73
|
-
# // for simplicity of conversion to
|
|
72
|
+
# // for simplicity of conversion to and from color representations in various
|
|
74
73
|
# // languages over compactness. For example, the fields of this representation
|
|
75
74
|
# // can be trivially provided to the constructor of `java.awt.Color` in Java; it
|
|
76
75
|
# // can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
|
77
76
|
# // method in iOS; and, with just a little work, it can be easily formatted into
|
|
78
77
|
# // a CSS `rgba()` string in JavaScript.
|
|
79
78
|
# //
|
|
80
|
-
# // This reference page doesn't
|
|
81
|
-
# // space
|
|
82
|
-
# //
|
|
83
|
-
# // DCI-P3, BT.2020
|
|
79
|
+
# // This reference page doesn't have information about the absolute color
|
|
80
|
+
# // space that should be used to interpret the RGB value—for example, sRGB,
|
|
81
|
+
# // Adobe RGB,
|
|
82
|
+
# // DCI-P3, and BT.2020. By default, applications should assume the sRGB color
|
|
84
83
|
# // space.
|
|
85
84
|
# //
|
|
86
|
-
# // When color equality needs to be decided, implementations, unless
|
|
87
|
-
# //
|
|
88
|
-
# //
|
|
85
|
+
# // When color equality needs to be decided, implementations, unless documented
|
|
86
|
+
# // otherwise, treat two colors as equal if all their red, green, blue, and alpha
|
|
87
|
+
# // values each differ by at most `1e-5`.
|
|
89
88
|
# //
|
|
90
89
|
# // Example (Java):
|
|
91
90
|
# //
|
data/lib/google/type/date_pb.rb
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
require 'google/protobuf'
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
descriptor_data = "\n\x16google/type/date.proto\x12\x0bgoogle.type\"0\n\x04\x44\x61te\x12\x0c\n\x04year\x18\x01 \x01(\x05\x12\r\n\x05month\x18\x02 \x01(\x05\x12\x0b\n\x03\x64\x61y\x18\x03 \x01(\x05\
|
|
8
|
+
descriptor_data = "\n\x16google/type/date.proto\x12\x0bgoogle.type\"0\n\x04\x44\x61te\x12\x0c\n\x04year\x18\x01 \x01(\x05\x12\r\n\x05month\x18\x02 \x01(\x05\x12\x0b\n\x03\x64\x61y\x18\x03 \x01(\x05\x42Z\n\x0f\x63om.google.typeB\tDateProtoP\x01Z4google.golang.org/genproto/googleapis/type/date;date\xa2\x02\x03GTPb\x06proto3"
|
|
9
9
|
|
|
10
10
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
11
11
|
|
|
@@ -39,7 +39,7 @@ end
|
|
|
39
39
|
|
|
40
40
|
#### Source proto file: google/type/date.proto ####
|
|
41
41
|
#
|
|
42
|
-
# // Copyright
|
|
42
|
+
# // Copyright 2026 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.
|
|
@@ -57,7 +57,6 @@ end
|
|
|
57
57
|
#
|
|
58
58
|
# package google.type;
|
|
59
59
|
#
|
|
60
|
-
# option cc_enable_arenas = true;
|
|
61
60
|
# option go_package = "google.golang.org/genproto/googleapis/type/date;date";
|
|
62
61
|
# option java_multiple_files = true;
|
|
63
62
|
# option java_outer_classname = "DateProto";
|
|
@@ -69,14 +68,17 @@ end
|
|
|
69
68
|
# // date is relative to the Gregorian Calendar. This can represent one of the
|
|
70
69
|
# // following:
|
|
71
70
|
# //
|
|
72
|
-
# // * A full date, with non-zero year, month, and day values
|
|
73
|
-
# // * A month and day
|
|
74
|
-
# // * A year on its own, with zero month and day
|
|
75
|
-
# // * A year and month
|
|
76
|
-
# //
|
|
71
|
+
# // * A full date, with non-zero year, month, and day values.
|
|
72
|
+
# // * A month and day, with a zero year (for example, an anniversary).
|
|
73
|
+
# // * A year on its own, with a zero month and a zero day.
|
|
74
|
+
# // * A year and month, with a zero day (for example, a credit card expiration
|
|
75
|
+
# // date).
|
|
77
76
|
# //
|
|
78
|
-
# // Related types
|
|
79
|
-
# //
|
|
77
|
+
# // Related types:
|
|
78
|
+
# //
|
|
79
|
+
# // * [google.type.TimeOfDay][google.type.TimeOfDay]
|
|
80
|
+
# // * [google.type.DateTime][google.type.DateTime]
|
|
81
|
+
# // * [google.protobuf.Timestamp][google.protobuf.Timestamp]
|
|
80
82
|
# message Date {
|
|
81
83
|
# // Year of the date. Must be from 1 to 9999, or 0 to specify a date without
|
|
82
84
|
# // a year.
|
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
|
7
7
|
require 'google/protobuf/duration_pb'
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
descriptor_data = "\n\x1agoogle/type/datetime.proto\x12\x0bgoogle.type\x1a\x1egoogle/protobuf/duration.proto\"\xe0\x01\n\x08\x44\x61teTime\x12\x0c\n\x04year\x18\x01 \x01(\x05\x12\r\n\x05month\x18\x02 \x01(\x05\x12\x0b\n\x03\x64\x61y\x18\x03 \x01(\x05\x12\r\n\x05hours\x18\x04 \x01(\x05\x12\x0f\n\x07minutes\x18\x05 \x01(\x05\x12\x0f\n\x07seconds\x18\x06 \x01(\x05\x12\r\n\x05nanos\x18\x07 \x01(\x05\x12/\n\nutc_offset\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12*\n\ttime_zone\x18\t \x01(\x0b\x32\x15.google.type.TimeZoneH\x00\x42\r\n\x0btime_offset\"\'\n\x08TimeZone\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\
|
|
10
|
+
descriptor_data = "\n\x1agoogle/type/datetime.proto\x12\x0bgoogle.type\x1a\x1egoogle/protobuf/duration.proto\"\xe0\x01\n\x08\x44\x61teTime\x12\x0c\n\x04year\x18\x01 \x01(\x05\x12\r\n\x05month\x18\x02 \x01(\x05\x12\x0b\n\x03\x64\x61y\x18\x03 \x01(\x05\x12\r\n\x05hours\x18\x04 \x01(\x05\x12\x0f\n\x07minutes\x18\x05 \x01(\x05\x12\x0f\n\x07seconds\x18\x06 \x01(\x05\x12\r\n\x05nanos\x18\x07 \x01(\x05\x12/\n\nutc_offset\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12*\n\ttime_zone\x18\t \x01(\x0b\x32\x15.google.type.TimeZoneH\x00\x42\r\n\x0btime_offset\"\'\n\x08TimeZone\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\tBf\n\x0f\x63om.google.typeB\rDateTimeProtoP\x01Z<google.golang.org/genproto/googleapis/type/datetime;datetime\xa2\x02\x03GTPb\x06proto3"
|
|
11
11
|
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
13
13
|
|
|
@@ -43,7 +43,7 @@ end
|
|
|
43
43
|
|
|
44
44
|
#### Source proto file: google/type/datetime.proto ####
|
|
45
45
|
#
|
|
46
|
-
# // Copyright
|
|
46
|
+
# // Copyright 2026 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.
|
|
@@ -63,7 +63,6 @@ end
|
|
|
63
63
|
#
|
|
64
64
|
# import "google/protobuf/duration.proto";
|
|
65
65
|
#
|
|
66
|
-
# option cc_enable_arenas = true;
|
|
67
66
|
# option go_package = "google.golang.org/genproto/googleapis/type/datetime;datetime";
|
|
68
67
|
# option java_multiple_files = true;
|
|
69
68
|
# option java_outer_classname = "DateTimeProto";
|
|
@@ -83,8 +82,8 @@ end
|
|
|
83
82
|
# //
|
|
84
83
|
# // The date is relative to the Proleptic Gregorian Calendar.
|
|
85
84
|
# //
|
|
86
|
-
# // If year
|
|
87
|
-
# //
|
|
85
|
+
# // If year, month, or day are 0, the DateTime is considered not to have a
|
|
86
|
+
# // specific year, month, or day respectively.
|
|
88
87
|
# //
|
|
89
88
|
# // This type may also be used to represent a physical time if all the date and
|
|
90
89
|
# // time fields are set and either case of the `time_offset` oneof is set.
|
|
@@ -99,27 +98,28 @@ end
|
|
|
99
98
|
# // datetime without a year.
|
|
100
99
|
# int32 year = 1;
|
|
101
100
|
#
|
|
102
|
-
# //
|
|
101
|
+
# // Optional. Month of year. Must be from 1 to 12, or 0 if specifying a
|
|
102
|
+
# // datetime without a month.
|
|
103
103
|
# int32 month = 2;
|
|
104
104
|
#
|
|
105
|
-
# //
|
|
106
|
-
# // month.
|
|
105
|
+
# // Optional. Day of month. Must be from 1 to 31 and valid for the year and
|
|
106
|
+
# // month, or 0 if specifying a datetime without a day.
|
|
107
107
|
# int32 day = 3;
|
|
108
108
|
#
|
|
109
|
-
# //
|
|
110
|
-
# // may choose to allow the value "24:00:00" for
|
|
111
|
-
# // closing time.
|
|
109
|
+
# // Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults
|
|
110
|
+
# // to 0 (midnight). An API may choose to allow the value "24:00:00" for
|
|
111
|
+
# // scenarios like business closing time.
|
|
112
112
|
# int32 hours = 4;
|
|
113
113
|
#
|
|
114
|
-
# //
|
|
114
|
+
# // Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
|
|
115
115
|
# int32 minutes = 5;
|
|
116
116
|
#
|
|
117
|
-
# //
|
|
118
|
-
# // API may allow the value 60 if it allows leap-seconds.
|
|
117
|
+
# // Optional. Seconds of minutes of the time. Must normally be from 0 to 59,
|
|
118
|
+
# // defaults to 0. An API may allow the value 60 if it allows leap-seconds.
|
|
119
119
|
# int32 seconds = 6;
|
|
120
120
|
#
|
|
121
|
-
# //
|
|
122
|
-
# // 999,999,999.
|
|
121
|
+
# // Optional. Fractions of seconds in nanoseconds. Must be from 0 to
|
|
122
|
+
# // 999,999,999, defaults to 0.
|
|
123
123
|
# int32 nanos = 7;
|
|
124
124
|
#
|
|
125
125
|
# // Optional. Specifies either the UTC offset or the time zone of the DateTime.
|
|
@@ -141,9 +141,9 @@ end
|
|
|
141
141
|
# // Represents a time zone from the
|
|
142
142
|
# // [IANA Time Zone Database](https://www.iana.org/time-zones).
|
|
143
143
|
# message TimeZone {
|
|
144
|
-
# // IANA Time Zone Database time zone
|
|
144
|
+
# // IANA Time Zone Database time zone. For example "America/New_York".
|
|
145
145
|
# string id = 1;
|
|
146
146
|
#
|
|
147
|
-
# // Optional. IANA Time Zone Database version number
|
|
147
|
+
# // Optional. IANA Time Zone Database version number. For example "2019a".
|
|
148
148
|
# string version = 2;
|
|
149
149
|
# }
|
|
@@ -39,7 +39,7 @@ end
|
|
|
39
39
|
|
|
40
40
|
#### Source proto file: google/type/dayofweek.proto ####
|
|
41
41
|
#
|
|
42
|
-
# // Copyright
|
|
42
|
+
# // Copyright 2026 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.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
require 'google/protobuf'
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
descriptor_data = "\n\x19google/type/decimal.proto\x12\x0bgoogle.type\"\x18\n\x07\x44\x65\x63imal\x12\r\n\x05value\x18\x01 \x01(\
|
|
8
|
+
descriptor_data = "\n\x19google/type/decimal.proto\x12\x0bgoogle.type\"\x18\n\x07\x44\x65\x63imal\x12\r\n\x05value\x18\x01 \x01(\tBc\n\x0f\x63om.google.typeB\x0c\x44\x65\x63imalProtoP\x01Z:google.golang.org/genproto/googleapis/type/decimal;decimal\xa2\x02\x03GTPb\x06proto3"
|
|
9
9
|
|
|
10
10
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
11
11
|
|
|
@@ -39,7 +39,7 @@ end
|
|
|
39
39
|
|
|
40
40
|
#### Source proto file: google/type/decimal.proto ####
|
|
41
41
|
#
|
|
42
|
-
# // Copyright
|
|
42
|
+
# // Copyright 2026 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.
|
|
@@ -57,7 +57,6 @@ end
|
|
|
57
57
|
#
|
|
58
58
|
# package google.type;
|
|
59
59
|
#
|
|
60
|
-
# option cc_enable_arenas = true;
|
|
61
60
|
# option go_package = "google.golang.org/genproto/googleapis/type/decimal;decimal";
|
|
62
61
|
# option java_multiple_files = true;
|
|
63
62
|
# option java_outer_classname = "DecimalProto";
|
|
@@ -65,19 +64,17 @@ end
|
|
|
65
64
|
# option objc_class_prefix = "GTP";
|
|
66
65
|
#
|
|
67
66
|
# // A representation of a decimal value, such as 2.5. Clients may convert values
|
|
68
|
-
# // into language-native decimal formats, such as Java's
|
|
69
|
-
# //
|
|
70
|
-
# //
|
|
71
|
-
# // [
|
|
72
|
-
# // https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html
|
|
73
|
-
# // [decimal.Decimal]: https://docs.python.org/3/library/decimal.html
|
|
67
|
+
# // into language-native decimal formats, such as Java's
|
|
68
|
+
# // [BigDecimal](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html)
|
|
69
|
+
# // or Python's
|
|
70
|
+
# // [decimal.Decimal](https://docs.python.org/3/library/decimal.html).
|
|
74
71
|
# message Decimal {
|
|
75
72
|
# // The decimal value, as a string.
|
|
76
73
|
# //
|
|
77
74
|
# // The string representation consists of an optional sign, `+` (`U+002B`)
|
|
78
75
|
# // or `-` (`U+002D`), followed by a sequence of zero or more decimal digits
|
|
79
76
|
# // ("the integer"), optionally followed by a fraction, optionally followed
|
|
80
|
-
# // by an exponent.
|
|
77
|
+
# // by an exponent. An empty string **should** be interpreted as `0`.
|
|
81
78
|
# //
|
|
82
79
|
# // The fraction consists of a decimal point followed by zero or more decimal
|
|
83
80
|
# // digits. The string must contain at least one digit in either the integer
|
|
@@ -91,12 +88,13 @@ end
|
|
|
91
88
|
# //
|
|
92
89
|
# // - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`).
|
|
93
90
|
# // - Replacing a zero-length integer value with `0` (`.5` -> `0.5`).
|
|
94
|
-
# // - Coercing the exponent character to
|
|
95
|
-
# //
|
|
91
|
+
# // - Coercing the exponent character to upper-case, with explicit sign
|
|
92
|
+
# // (`2.5e8` -> `2.5E+8`).
|
|
93
|
+
# // - Removing an explicitly-provided zero exponent (`2.5E0` -> `2.5`).
|
|
96
94
|
# //
|
|
97
95
|
# // Services **may** perform additional normalization based on its own needs
|
|
98
96
|
# // and the internal decimal implementation selected, such as shifting the
|
|
99
|
-
# // decimal point and exponent value together (example: `2.
|
|
97
|
+
# // decimal point and exponent value together (example: `2.5E-1` <-> `0.25`).
|
|
100
98
|
# // Additionally, services **may** preserve trailing zeroes in the fraction
|
|
101
99
|
# // to indicate increased precision, but are not required to do so.
|
|
102
100
|
# //
|
|
@@ -108,7 +106,7 @@ end
|
|
|
108
106
|
# // The ENBF grammar is:
|
|
109
107
|
# //
|
|
110
108
|
# // DecimalString =
|
|
111
|
-
# // [Sign] Significand [Exponent];
|
|
109
|
+
# // '' | [Sign] Significand [Exponent];
|
|
112
110
|
# //
|
|
113
111
|
# // Sign = '+' | '-';
|
|
114
112
|
# //
|
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 2026 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 2026 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.
|