googleapis-common-protos-types 1.20.0 → 1.23.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 (63) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +18 -0
  3. data/lib/google/api/annotations_pb.rb +2 -24
  4. data/lib/google/api/auth_pb.rb +4 -24
  5. data/lib/google/api/backend_pb.rb +15 -25
  6. data/lib/google/api/billing_pb.rb +3 -24
  7. data/lib/google/api/client_pb.rb +172 -78
  8. data/lib/google/api/config_change_pb.rb +3 -24
  9. data/lib/google/api/consumer_pb.rb +2 -23
  10. data/lib/google/api/context_pb.rb +3 -24
  11. data/lib/google/api/control_pb.rb +5 -27
  12. data/lib/google/api/distribution_pb.rb +3 -26
  13. data/lib/google/api/documentation_pb.rb +3 -24
  14. data/lib/google/api/endpoint_pb.rb +3 -24
  15. data/lib/google/api/error_reason_pb.rb +189 -25
  16. data/lib/google/api/field_behavior_pb.rb +3 -24
  17. data/lib/google/api/field_info_pb.rb +3 -24
  18. data/lib/google/api/http_pb.rb +3 -24
  19. data/lib/google/api/httpbody_pb.rb +3 -25
  20. data/lib/google/api/label_pb.rb +3 -24
  21. data/lib/google/api/launch_stage_pb.rb +3 -24
  22. data/lib/google/api/log_pb.rb +3 -25
  23. data/lib/google/api/logging_pb.rb +3 -24
  24. data/lib/google/api/metric_pb.rb +3 -26
  25. data/lib/google/api/monitored_resource_pb.rb +3 -26
  26. data/lib/google/api/monitoring_pb.rb +3 -24
  27. data/lib/google/api/policy_pb.rb +3 -24
  28. data/lib/google/api/quota_pb.rb +3 -24
  29. data/lib/google/api/resource_pb.rb +3 -24
  30. data/lib/google/api/routing_pb.rb +10 -27
  31. data/lib/google/api/service_pb.rb +4 -47
  32. data/lib/google/api/source_info_pb.rb +3 -25
  33. data/lib/google/api/system_parameter_pb.rb +3 -24
  34. data/lib/google/api/usage_pb.rb +9 -50
  35. data/lib/google/api/visibility_pb.rb +3 -24
  36. data/lib/google/logging/type/http_request_pb.rb +2 -24
  37. data/lib/google/logging/type/log_severity_pb.rb +2 -23
  38. data/lib/google/longrunning/operations_pb.rb +24 -28
  39. data/lib/google/rpc/code_pb.rb +3 -24
  40. data/lib/google/rpc/context/attribute_context_pb.rb +10 -30
  41. data/lib/google/rpc/context/audit_context_pb.rb +3 -25
  42. data/lib/google/rpc/error_details_pb.rb +7 -29
  43. data/lib/google/rpc/http_pb.rb +3 -24
  44. data/lib/google/rpc/status_pb.rb +4 -27
  45. data/lib/google/type/calendar_period_pb.rb +3 -24
  46. data/lib/google/type/color_pb.rb +12 -35
  47. data/lib/google/type/date_pb.rb +14 -33
  48. data/lib/google/type/datetime_pb.rb +20 -42
  49. data/lib/google/type/dayofweek_pb.rb +3 -24
  50. data/lib/google/type/decimal_pb.rb +14 -37
  51. data/lib/google/type/expr_pb.rb +3 -24
  52. data/lib/google/type/fraction_pb.rb +3 -24
  53. data/lib/google/type/interval_pb.rb +4 -27
  54. data/lib/google/type/latlng_pb.rb +7 -29
  55. data/lib/google/type/localized_text_pb.rb +6 -27
  56. data/lib/google/type/money_pb.rb +4 -26
  57. data/lib/google/type/month_pb.rb +3 -24
  58. data/lib/google/type/phone_number_pb.rb +23 -39
  59. data/lib/google/type/postal_address_pb.rb +42 -63
  60. data/lib/google/type/quaternion_pb.rb +7 -28
  61. data/lib/google/type/timeofday_pb.rb +14 -32
  62. data/lib/googleapis/common/protos/types/version.rb +1 -1
  63. metadata +7 -13
@@ -7,29 +7,8 @@ require 'google/protobuf'
7
7
 
8
8
  descriptor_data = "\n\x1egoogle/api/config_change.proto\x12\ngoogle.api\"\x97\x01\n\x0c\x43onfigChange\x12\x0f\n\x07\x65lement\x18\x01 \x01(\t\x12\x11\n\told_value\x18\x02 \x01(\t\x12\x11\n\tnew_value\x18\x03 \x01(\t\x12+\n\x0b\x63hange_type\x18\x04 \x01(\x0e\x32\x16.google.api.ChangeType\x12#\n\x07\x61\x64vices\x18\x05 \x03(\x0b\x32\x12.google.api.Advice\"\x1d\n\x06\x41\x64vice\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t*O\n\nChangeType\x12\x1b\n\x17\x43HANGE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x01\x12\x0b\n\x07REMOVED\x10\x02\x12\x0c\n\x08MODIFIED\x10\x03\x42q\n\x0e\x63om.google.apiB\x11\x43onfigChangeProtoP\x01ZCgoogle.golang.org/genproto/googleapis/api/configchange;configchange\xa2\x02\x04GAPIb\x06proto3"
9
9
 
10
- pool = Google::Protobuf::DescriptorPool.generated_pool
11
-
12
- begin
13
- pool.add_serialized_file(descriptor_data)
14
- rescue TypeError
15
- # Compatibility code: will be removed in the next major version.
16
- require 'google/protobuf/descriptor_pb'
17
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
- parsed.clear_dependency
19
- serialized = parsed.class.encode(parsed)
20
- file = pool.add_serialized_file(serialized)
21
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
- imports = [
23
- ]
24
- imports.each do |type_name, expected_filename|
25
- import_file = pool.lookup(type_name).file_descriptor
26
- if import_file.name != expected_filename
27
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
28
- end
29
- end
30
- warn "Each proto file must use a consistent fully-qualified name."
31
- warn "This will become an error in the next major version."
32
- end
10
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
33
12
 
34
13
  module Google
35
14
  module Api
@@ -41,7 +20,7 @@ end
41
20
 
42
21
  #### Source proto file: google/api/config_change.proto ####
43
22
  #
44
- # // Copyright 2025 Google LLC
23
+ # // Copyright 2026 Google LLC
45
24
  # //
46
25
  # // Licensed under the Apache License, Version 2.0 (the "License");
47
26
  # // you may not use this file except in compliance with the License.
@@ -7,29 +7,8 @@ require 'google/protobuf'
7
7
 
8
8
  descriptor_data = "\n\x19google/api/consumer.proto\x12\ngoogle.api\"=\n\x11ProjectProperties\x12(\n\nproperties\x18\x01 \x03(\x0b\x32\x14.google.api.Property\"\xac\x01\n\x08Property\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x04type\x18\x02 \x01(\x0e\x32!.google.api.Property.PropertyType\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\"L\n\x0cPropertyType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\t\n\x05INT64\x10\x01\x12\x08\n\x04\x42OOL\x10\x02\x12\n\n\x06STRING\x10\x03\x12\n\n\x06\x44OUBLE\x10\x04\x42h\n\x0e\x63om.google.apiB\rConsumerProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfigb\x06proto3"
9
9
 
10
- pool = Google::Protobuf::DescriptorPool.generated_pool
11
-
12
- begin
13
- pool.add_serialized_file(descriptor_data)
14
- rescue TypeError
15
- # Compatibility code: will be removed in the next major version.
16
- require 'google/protobuf/descriptor_pb'
17
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
- parsed.clear_dependency
19
- serialized = parsed.class.encode(parsed)
20
- file = pool.add_serialized_file(serialized)
21
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
- imports = [
23
- ]
24
- imports.each do |type_name, expected_filename|
25
- import_file = pool.lookup(type_name).file_descriptor
26
- if import_file.name != expected_filename
27
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
28
- end
29
- end
30
- warn "Each proto file must use a consistent fully-qualified name."
31
- warn "This will become an error in the next major version."
32
- end
10
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
33
12
 
34
13
  module Google
35
14
  module Api
@@ -7,29 +7,8 @@ require 'google/protobuf'
7
7
 
8
8
  descriptor_data = "\n\x18google/api/context.proto\x12\ngoogle.api\"1\n\x07\x43ontext\x12&\n\x05rules\x18\x01 \x03(\x0b\x32\x17.google.api.ContextRule\"\x8d\x01\n\x0b\x43ontextRule\x12\x10\n\x08selector\x18\x01 \x01(\t\x12\x11\n\trequested\x18\x02 \x03(\t\x12\x10\n\x08provided\x18\x03 \x03(\t\x12\"\n\x1a\x61llowed_request_extensions\x18\x04 \x03(\t\x12#\n\x1b\x61llowed_response_extensions\x18\x05 \x03(\tBn\n\x0e\x63om.google.apiB\x0c\x43ontextProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xa2\x02\x04GAPIb\x06proto3"
9
9
 
10
- pool = Google::Protobuf::DescriptorPool.generated_pool
11
-
12
- begin
13
- pool.add_serialized_file(descriptor_data)
14
- rescue TypeError
15
- # Compatibility code: will be removed in the next major version.
16
- require 'google/protobuf/descriptor_pb'
17
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
- parsed.clear_dependency
19
- serialized = parsed.class.encode(parsed)
20
- file = pool.add_serialized_file(serialized)
21
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
- imports = [
23
- ]
24
- imports.each do |type_name, expected_filename|
25
- import_file = pool.lookup(type_name).file_descriptor
26
- if import_file.name != expected_filename
27
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
28
- end
29
- end
30
- warn "Each proto file must use a consistent fully-qualified name."
31
- warn "This will become an error in the next major version."
32
- end
10
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
33
12
 
34
13
  module Google
35
14
  module Api
@@ -40,7 +19,7 @@ end
40
19
 
41
20
  #### Source proto file: google/api/context.proto ####
42
21
  #
43
- # // Copyright 2025 Google LLC
22
+ # // Copyright 2026 Google LLC
44
23
  # //
45
24
  # // Licensed under the Apache License, Version 2.0 (the "License");
46
25
  # // you may not use this file except in compliance with the License.
@@ -9,30 +9,8 @@ require 'google/api/policy_pb'
9
9
 
10
10
  descriptor_data = "\n\x18google/api/control.proto\x12\ngoogle.api\x1a\x17google/api/policy.proto\"Q\n\x07\x43ontrol\x12\x13\n\x0b\x65nvironment\x18\x01 \x01(\t\x12\x31\n\x0fmethod_policies\x18\x04 \x03(\x0b\x32\x18.google.api.MethodPolicyBn\n\x0e\x63om.google.apiB\x0c\x43ontrolProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xa2\x02\x04GAPIb\x06proto3"
11
11
 
12
- pool = Google::Protobuf::DescriptorPool.generated_pool
13
-
14
- begin
15
- pool.add_serialized_file(descriptor_data)
16
- rescue TypeError
17
- # Compatibility code: will be removed in the next major version.
18
- require 'google/protobuf/descriptor_pb'
19
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
- parsed.clear_dependency
21
- serialized = parsed.class.encode(parsed)
22
- file = pool.add_serialized_file(serialized)
23
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
- imports = [
25
- ["google.api.MethodPolicy", "google/api/policy.proto"],
26
- ]
27
- imports.each do |type_name, expected_filename|
28
- import_file = pool.lookup(type_name).file_descriptor
29
- if import_file.name != expected_filename
30
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
31
- end
32
- end
33
- warn "Each proto file must use a consistent fully-qualified name."
34
- warn "This will become an error in the next major version."
35
- end
12
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
36
14
 
37
15
  module Google
38
16
  module Api
@@ -42,7 +20,7 @@ end
42
20
 
43
21
  #### Source proto file: google/api/control.proto ####
44
22
  #
45
- # // Copyright 2025 Google LLC
23
+ # // Copyright 2026 Google LLC
46
24
  # //
47
25
  # // Licensed under the Apache License, Version 2.0 (the "License");
48
26
  # // you may not use this file except in compliance with the License.
@@ -76,8 +54,8 @@ end
76
54
  # // environment: servicecontrol.googleapis.com
77
55
  # message Control {
78
56
  # // The service controller environment to use. If empty, no control plane
79
- # // feature (like quota and billing) will be enabled. The recommended value for
80
- # // most services is servicecontrol.googleapis.com
57
+ # // features (like quota and billing) will be enabled. The recommended value
58
+ # // for most services is servicecontrol.googleapis.com.
81
59
  # string environment = 1;
82
60
  #
83
61
  # // Defines policies applying to the API methods of the service.
@@ -10,31 +10,8 @@ require 'google/protobuf/timestamp_pb'
10
10
 
11
11
  descriptor_data = "\n\x1dgoogle/api/distribution.proto\x12\ngoogle.api\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd9\x06\n\x0c\x44istribution\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x0c\n\x04mean\x18\x02 \x01(\x01\x12 \n\x18sum_of_squared_deviation\x18\x03 \x01(\x01\x12-\n\x05range\x18\x04 \x01(\x0b\x32\x1e.google.api.Distribution.Range\x12>\n\x0e\x62ucket_options\x18\x06 \x01(\x0b\x32&.google.api.Distribution.BucketOptions\x12\x15\n\rbucket_counts\x18\x07 \x03(\x03\x12\x34\n\texemplars\x18\n \x03(\x0b\x32!.google.api.Distribution.Exemplar\x1a!\n\x05Range\x12\x0b\n\x03min\x18\x01 \x01(\x01\x12\x0b\n\x03max\x18\x02 \x01(\x01\x1a\xb5\x03\n\rBucketOptions\x12G\n\x0elinear_buckets\x18\x01 \x01(\x0b\x32-.google.api.Distribution.BucketOptions.LinearH\x00\x12Q\n\x13\x65xponential_buckets\x18\x02 \x01(\x0b\x32\x32.google.api.Distribution.BucketOptions.ExponentialH\x00\x12K\n\x10\x65xplicit_buckets\x18\x03 \x01(\x0b\x32/.google.api.Distribution.BucketOptions.ExplicitH\x00\x1a\x43\n\x06Linear\x12\x1a\n\x12num_finite_buckets\x18\x01 \x01(\x05\x12\r\n\x05width\x18\x02 \x01(\x01\x12\x0e\n\x06offset\x18\x03 \x01(\x01\x1aO\n\x0b\x45xponential\x12\x1a\n\x12num_finite_buckets\x18\x01 \x01(\x05\x12\x15\n\rgrowth_factor\x18\x02 \x01(\x01\x12\r\n\x05scale\x18\x03 \x01(\x01\x1a\x1a\n\x08\x45xplicit\x12\x0e\n\x06\x62ounds\x18\x01 \x03(\x01\x42\t\n\x07options\x1as\n\x08\x45xemplar\x12\r\n\x05value\x18\x01 \x01(\x01\x12-\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12)\n\x0b\x61ttachments\x18\x03 \x03(\x0b\x32\x14.google.protobuf.AnyBq\n\x0e\x63om.google.apiB\x11\x44istributionProtoP\x01ZCgoogle.golang.org/genproto/googleapis/api/distribution;distribution\xa2\x02\x04GAPIb\x06proto3"
12
12
 
13
- pool = Google::Protobuf::DescriptorPool.generated_pool
14
-
15
- begin
16
- pool.add_serialized_file(descriptor_data)
17
- rescue TypeError
18
- # Compatibility code: will be removed in the next major version.
19
- require 'google/protobuf/descriptor_pb'
20
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
- parsed.clear_dependency
22
- serialized = parsed.class.encode(parsed)
23
- file = pool.add_serialized_file(serialized)
24
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
- imports = [
26
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
27
- ["google.protobuf.Any", "google/protobuf/any.proto"],
28
- ]
29
- imports.each do |type_name, expected_filename|
30
- import_file = pool.lookup(type_name).file_descriptor
31
- if import_file.name != expected_filename
32
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
33
- end
34
- end
35
- warn "Each proto file must use a consistent fully-qualified name."
36
- warn "This will become an error in the next major version."
37
- end
13
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
38
15
 
39
16
  module Google
40
17
  module Api
@@ -50,7 +27,7 @@ end
50
27
 
51
28
  #### Source proto file: google/api/distribution.proto ####
52
29
  #
53
- # // Copyright 2025 Google LLC
30
+ # // Copyright 2026 Google LLC
54
31
  # //
55
32
  # // Licensed under the Apache License, Version 2.0 (the "License");
56
33
  # // you may not use this file except in compliance with the License.
@@ -7,29 +7,8 @@ require 'google/protobuf'
7
7
 
8
8
  descriptor_data = "\n\x1egoogle/api/documentation.proto\x12\ngoogle.api\"\xbb\x01\n\rDocumentation\x12\x0f\n\x07summary\x18\x01 \x01(\t\x12\x1f\n\x05pages\x18\x05 \x03(\x0b\x32\x10.google.api.Page\x12,\n\x05rules\x18\x03 \x03(\x0b\x32\x1d.google.api.DocumentationRule\x12\x1e\n\x16\x64ocumentation_root_url\x18\x04 \x01(\t\x12\x18\n\x10service_root_url\x18\x06 \x01(\t\x12\x10\n\x08overview\x18\x02 \x01(\t\"[\n\x11\x44ocumentationRule\x12\x10\n\x08selector\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x1f\n\x17\x64\x65precation_description\x18\x03 \x01(\t\"I\n\x04Page\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\x12\"\n\x08subpages\x18\x03 \x03(\x0b\x32\x10.google.api.PageBt\n\x0e\x63om.google.apiB\x12\x44ocumentationProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xa2\x02\x04GAPIb\x06proto3"
9
9
 
10
- pool = Google::Protobuf::DescriptorPool.generated_pool
11
-
12
- begin
13
- pool.add_serialized_file(descriptor_data)
14
- rescue TypeError
15
- # Compatibility code: will be removed in the next major version.
16
- require 'google/protobuf/descriptor_pb'
17
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
- parsed.clear_dependency
19
- serialized = parsed.class.encode(parsed)
20
- file = pool.add_serialized_file(serialized)
21
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
- imports = [
23
- ]
24
- imports.each do |type_name, expected_filename|
25
- import_file = pool.lookup(type_name).file_descriptor
26
- if import_file.name != expected_filename
27
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
28
- end
29
- end
30
- warn "Each proto file must use a consistent fully-qualified name."
31
- warn "This will become an error in the next major version."
32
- end
10
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
33
12
 
34
13
  module Google
35
14
  module Api
@@ -41,7 +20,7 @@ end
41
20
 
42
21
  #### Source proto file: google/api/documentation.proto ####
43
22
  #
44
- # // Copyright 2025 Google LLC
23
+ # // Copyright 2026 Google LLC
45
24
  # //
46
25
  # // Licensed under the Apache License, Version 2.0 (the "License");
47
26
  # // you may not use this file except in compliance with the License.
@@ -7,29 +7,8 @@ require 'google/protobuf'
7
7
 
8
8
  descriptor_data = "\n\x19google/api/endpoint.proto\x12\ngoogle.api\"M\n\x08\x45ndpoint\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61liases\x18\x02 \x03(\t\x12\x0e\n\x06target\x18\x65 \x01(\t\x12\x12\n\nallow_cors\x18\x05 \x01(\x08\x42o\n\x0e\x63om.google.apiB\rEndpointProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xa2\x02\x04GAPIb\x06proto3"
9
9
 
10
- pool = Google::Protobuf::DescriptorPool.generated_pool
11
-
12
- begin
13
- pool.add_serialized_file(descriptor_data)
14
- rescue TypeError
15
- # Compatibility code: will be removed in the next major version.
16
- require 'google/protobuf/descriptor_pb'
17
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
- parsed.clear_dependency
19
- serialized = parsed.class.encode(parsed)
20
- file = pool.add_serialized_file(serialized)
21
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
- imports = [
23
- ]
24
- imports.each do |type_name, expected_filename|
25
- import_file = pool.lookup(type_name).file_descriptor
26
- if import_file.name != expected_filename
27
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
28
- end
29
- end
30
- warn "Each proto file must use a consistent fully-qualified name."
31
- warn "This will become an error in the next major version."
32
- end
10
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
33
12
 
34
13
  module Google
35
14
  module Api
@@ -39,7 +18,7 @@ end
39
18
 
40
19
  #### Source proto file: google/api/endpoint.proto ####
41
20
  #
42
- # // Copyright 2025 Google LLC
21
+ # // Copyright 2026 Google LLC
43
22
  # //
44
23
  # // Licensed under the Apache License, Version 2.0 (the "License");
45
24
  # // you may not use this file except in compliance with the License.
@@ -5,31 +5,10 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
 
8
- descriptor_data = "\n\x1dgoogle/api/error_reason.proto\x12\ngoogle.api*\xba\x07\n\x0b\x45rrorReason\x12\x1c\n\x18\x45RROR_REASON_UNSPECIFIED\x10\x00\x12\x14\n\x10SERVICE_DISABLED\x10\x01\x12\x14\n\x10\x42ILLING_DISABLED\x10\x02\x12\x13\n\x0f\x41PI_KEY_INVALID\x10\x03\x12\x1b\n\x17\x41PI_KEY_SERVICE_BLOCKED\x10\x04\x12!\n\x1d\x41PI_KEY_HTTP_REFERRER_BLOCKED\x10\x07\x12\x1e\n\x1a\x41PI_KEY_IP_ADDRESS_BLOCKED\x10\x08\x12\x1f\n\x1b\x41PI_KEY_ANDROID_APP_BLOCKED\x10\t\x12\x1b\n\x17\x41PI_KEY_IOS_APP_BLOCKED\x10\r\x12\x17\n\x13RATE_LIMIT_EXCEEDED\x10\x05\x12\x1b\n\x17RESOURCE_QUOTA_EXCEEDED\x10\x06\x12 \n\x1cLOCATION_TAX_POLICY_VIOLATED\x10\n\x12\x17\n\x13USER_PROJECT_DENIED\x10\x0b\x12\x16\n\x12\x43ONSUMER_SUSPENDED\x10\x0c\x12\x14\n\x10\x43ONSUMER_INVALID\x10\x0e\x12\x1c\n\x18SECURITY_POLICY_VIOLATED\x10\x0f\x12\x18\n\x14\x41\x43\x43\x45SS_TOKEN_EXPIRED\x10\x10\x12#\n\x1f\x41\x43\x43\x45SS_TOKEN_SCOPE_INSUFFICIENT\x10\x11\x12\x19\n\x15\x41\x43\x43OUNT_STATE_INVALID\x10\x12\x12!\n\x1d\x41\x43\x43\x45SS_TOKEN_TYPE_UNSUPPORTED\x10\x13\x12\x17\n\x13\x43REDENTIALS_MISSING\x10\x14\x12\x1c\n\x18RESOURCE_PROJECT_INVALID\x10\x15\x12\x1a\n\x16SESSION_COOKIE_INVALID\x10\x17\x12\x19\n\x15USER_BLOCKED_BY_ADMIN\x10\x18\x12\'\n#RESOURCE_USAGE_RESTRICTION_VIOLATED\x10\x19\x12 \n\x1cSYSTEM_PARAMETER_UNSUPPORTED\x10\x1a\x12\x1d\n\x19ORG_RESTRICTION_VIOLATION\x10\x1b\x12\"\n\x1eORG_RESTRICTION_HEADER_INVALID\x10\x1c\x12\x17\n\x13SERVICE_NOT_VISIBLE\x10\x1d\x12\x11\n\rGCP_SUSPENDED\x10\x1e\x12\x1c\n\x18LOCATION_POLICY_VIOLATED\x10\x1f\x12\x12\n\x0eMISSING_ORIGIN\x10!\x12\x1a\n\x16OVERLOADED_CREDENTIALS\x10\"Bp\n\x0e\x63om.google.apiB\x10\x45rrorReasonProtoP\x01ZCgoogle.golang.org/genproto/googleapis/api/error_reason;error_reason\xa2\x02\x04GAPIb\x06proto3"
8
+ descriptor_data = "\n\x1dgoogle/api/error_reason.proto\x12\ngoogle.api*\x92\n\n\x0b\x45rrorReason\x12\x1c\n\x18\x45RROR_REASON_UNSPECIFIED\x10\x00\x12\x14\n\x10SERVICE_DISABLED\x10\x01\x12\x14\n\x10\x42ILLING_DISABLED\x10\x02\x12\x13\n\x0f\x41PI_KEY_INVALID\x10\x03\x12\x1b\n\x17\x41PI_KEY_SERVICE_BLOCKED\x10\x04\x12!\n\x1d\x41PI_KEY_HTTP_REFERRER_BLOCKED\x10\x07\x12\x1e\n\x1a\x41PI_KEY_IP_ADDRESS_BLOCKED\x10\x08\x12\x1f\n\x1b\x41PI_KEY_ANDROID_APP_BLOCKED\x10\t\x12\x1b\n\x17\x41PI_KEY_IOS_APP_BLOCKED\x10\r\x12\x17\n\x13RATE_LIMIT_EXCEEDED\x10\x05\x12\x1b\n\x17RESOURCE_QUOTA_EXCEEDED\x10\x06\x12 \n\x1cLOCATION_TAX_POLICY_VIOLATED\x10\n\x12\x17\n\x13USER_PROJECT_DENIED\x10\x0b\x12\x16\n\x12\x43ONSUMER_SUSPENDED\x10\x0c\x12\x14\n\x10\x43ONSUMER_INVALID\x10\x0e\x12\x1c\n\x18SECURITY_POLICY_VIOLATED\x10\x0f\x12\x18\n\x14\x41\x43\x43\x45SS_TOKEN_EXPIRED\x10\x10\x12#\n\x1f\x41\x43\x43\x45SS_TOKEN_SCOPE_INSUFFICIENT\x10\x11\x12\x19\n\x15\x41\x43\x43OUNT_STATE_INVALID\x10\x12\x12!\n\x1d\x41\x43\x43\x45SS_TOKEN_TYPE_UNSUPPORTED\x10\x13\x12\x17\n\x13\x43REDENTIALS_MISSING\x10\x14\x12\x1c\n\x18RESOURCE_PROJECT_INVALID\x10\x15\x12\x1a\n\x16SESSION_COOKIE_INVALID\x10\x17\x12\x19\n\x15USER_BLOCKED_BY_ADMIN\x10\x18\x12\'\n#RESOURCE_USAGE_RESTRICTION_VIOLATED\x10\x19\x12 \n\x1cSYSTEM_PARAMETER_UNSUPPORTED\x10\x1a\x12\x1d\n\x19ORG_RESTRICTION_VIOLATION\x10\x1b\x12\"\n\x1eORG_RESTRICTION_HEADER_INVALID\x10\x1c\x12\x17\n\x13SERVICE_NOT_VISIBLE\x10\x1d\x12\x11\n\rGCP_SUSPENDED\x10\x1e\x12\x1c\n\x18LOCATION_POLICY_VIOLATED\x10\x1f\x12\x12\n\x0eMISSING_ORIGIN\x10!\x12\x1a\n\x16OVERLOADED_CREDENTIALS\x10\"\x12 \n\x1cLOCATION_ORG_POLICY_VIOLATED\x10#\x12\x1b\n\x17TLS_ORG_POLICY_VIOLATED\x10$\x12\x1b\n\x17\x45MULATOR_QUOTA_EXCEEDED\x10&\x12\"\n\x1e\x43REDENTIAL_ANDROID_APP_INVALID\x10\'\x12\x19\n\x15IAM_PERMISSION_DENIED\x10)\x12\x15\n\x11JWT_TOKEN_INVALID\x10*\x12\x1f\n\x1b\x43REDENTIAL_TYPE_UNSUPPORTED\x10+\x12\x1c\n\x18\x41\x43\x43OUNT_TYPE_UNSUPPORTED\x10,\x12\'\n#ENDPOINT_USAGE_RESTRICTION_VIOLATED\x10-\x12#\n\x1fTLS_CIPHER_RESTRICTION_VIOLATED\x10.\x12\x17\n\x13MCP_SERVER_DISABLED\x10/Bp\n\x0e\x63om.google.apiB\x10\x45rrorReasonProtoP\x01ZCgoogle.golang.org/genproto/googleapis/api/error_reason;error_reason\xa2\x02\x04GAPIb\x06proto3"
9
9
 
10
- pool = Google::Protobuf::DescriptorPool.generated_pool
11
-
12
- begin
13
- pool.add_serialized_file(descriptor_data)
14
- rescue TypeError
15
- # Compatibility code: will be removed in the next major version.
16
- require 'google/protobuf/descriptor_pb'
17
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
- parsed.clear_dependency
19
- serialized = parsed.class.encode(parsed)
20
- file = pool.add_serialized_file(serialized)
21
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
- imports = [
23
- ]
24
- imports.each do |type_name, expected_filename|
25
- import_file = pool.lookup(type_name).file_descriptor
26
- if import_file.name != expected_filename
27
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
28
- end
29
- end
30
- warn "Each proto file must use a consistent fully-qualified name."
31
- warn "This will become an error in the next major version."
32
- end
10
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
33
12
 
34
13
  module Google
35
14
  module Api
@@ -39,7 +18,7 @@ end
39
18
 
40
19
  #### Source proto file: google/api/error_reason.proto ####
41
20
  #
42
- # // Copyright 2025 Google LLC
21
+ # // Copyright 2026 Google LLC
43
22
  # //
44
23
  # // Licensed under the Apache License, Version 2.0 (the "License");
45
24
  # // you may not use this file except in compliance with the License.
@@ -660,4 +639,189 @@ end
660
639
  # // }
661
640
  # // }
662
641
  # OVERLOADED_CREDENTIALS = 34;
642
+ #
643
+ # // The request whose associated location violates the location org policy
644
+ # // restrictions when creating resources in the restricted region.
645
+ # //
646
+ # // Example of an ErrorInfo when creating the Cloud Storage Bucket in the
647
+ # // container "projects/123" under a restricted region
648
+ # // "locations/asia-northeast3":
649
+ # //
650
+ # // {
651
+ # // "reason": "LOCATION_ORG_POLICY_VIOLATED",
652
+ # // "domain": "googleapis.com",
653
+ # // "metadata": {
654
+ # // "resource": "projects/123",
655
+ # // "location": "locations/asia-northeast3"
656
+ # // }
657
+ # // }
658
+ # //
659
+ # // This response indicates creating the Cloud Storage Bucket in
660
+ # // "locations/asia-northeast3" violates the location org policy restriction.
661
+ # LOCATION_ORG_POLICY_VIOLATED = 35;
662
+ #
663
+ # // The request is denied because it access data of regulated customers using
664
+ # // TLS 1.0 and 1.1.
665
+ # //
666
+ # // Example of an ErrorInfo when accessing a GCP resource "projects/123" that
667
+ # // is restricted by TLS Version Restriction for "pubsub.googleapis.com"
668
+ # // service.
669
+ # //
670
+ # // {
671
+ # // "reason": "TLS_ORG_POLICY_VIOLATED",
672
+ # // "domain": "googleapis.com",
673
+ # // "metadata": {
674
+ # // "service": "pubsub.googleapis.com"
675
+ # // "resource": "projects/123",
676
+ # // "policyName": "constraints/gcp.restrictTLSVersion",
677
+ # // "tlsVersion": "TLS_VERSION_1"
678
+ # // }
679
+ # // }
680
+ # TLS_ORG_POLICY_VIOLATED = 36;
681
+ #
682
+ # // The request is denied because the associated project has exceeded the
683
+ # // emulator quota limit.
684
+ # //
685
+ # // Example of an ErrorInfo when the associated "projects/123" has exceeded the
686
+ # // emulator quota limit.
687
+ # //
688
+ # // {
689
+ # // "reason": "EMULATOR_QUOTA_EXCEEDED",
690
+ # // "domain": "googleapis.com",
691
+ # // "metadata": {
692
+ # // "service": "pubsub.googleapis.com"
693
+ # // "consumer": "projects/123"
694
+ # // }
695
+ # // }
696
+ # EMULATOR_QUOTA_EXCEEDED = 38;
697
+ #
698
+ # // The request is denied because the associated application credential header
699
+ # // is invalid for an Android applications.
700
+ # //
701
+ # // Example of an ErrorInfo when the request from an Android application to the
702
+ # // "pubsub.googleapis.com" with an invalid application credential header.
703
+ # //
704
+ # // {
705
+ # // "reason": "CREDENTIAL_ANDROID_APP_INVALID",
706
+ # // "domain": "googleapis.com",
707
+ # // "metadata": {
708
+ # // "service": "pubsub.googleapis.com"
709
+ # // }
710
+ # // }
711
+ # CREDENTIAL_ANDROID_APP_INVALID = 39;
712
+ #
713
+ # // The request is denied because IAM permission on resource is denied.
714
+ # //
715
+ # // Example of an ErrorInfo when the IAM permission `aiplatform.datasets.list`
716
+ # // is denied on resource `projects/123`.
717
+ # //
718
+ # // {
719
+ # // "reason": "IAM_PERMISSION_DENIED",
720
+ # // "domain": "googleapis.com",
721
+ # // "metadata": {
722
+ # // "resource": "projects/123"
723
+ # // "permission": "aiplatform.datasets.list"
724
+ # // }
725
+ # // }
726
+ # IAM_PERMISSION_DENIED = 41;
727
+ #
728
+ # // The request is denied because it contains the invalid JWT token.
729
+ # //
730
+ # // Example of an ErrorInfo when the request contains an invalid JWT token for
731
+ # // service `storage.googleapis.com`.
732
+ # //
733
+ # // {
734
+ # // "reason": "JWT_TOKEN_INVALID",
735
+ # // "domain": "googleapis.com",
736
+ # // "metadata": {
737
+ # // "service": "storage.googleapis.com"
738
+ # // }
739
+ # // }
740
+ # JWT_TOKEN_INVALID = 42;
741
+ #
742
+ # // The request is denied because it contains credential with type that is
743
+ # // unsupported.
744
+ # //
745
+ # // Example of an ErrorInfo when the request contains an unsupported credential
746
+ # // type for service `storage.googleapis.com`.
747
+ # //
748
+ # // {
749
+ # // "reason": "CREDENTIAL_TYPE_UNSUPPORTED",
750
+ # // "domain": "googleapis.com",
751
+ # // "metadata": {
752
+ # // "service": "storage.googleapis.com"
753
+ # // }
754
+ # // }
755
+ # CREDENTIAL_TYPE_UNSUPPORTED = 43;
756
+ #
757
+ # // The request is denied because it contains unsupported account type.
758
+ # //
759
+ # // Example of an ErrorInfo when the request contains an unsupported account
760
+ # // type for service `storage.googleapis.com`.
761
+ # //
762
+ # // {
763
+ # // "reason": "ACCOUNT_TYPE_UNSUPPORTED",
764
+ # // "domain": "googleapis.com",
765
+ # // "metadata": {
766
+ # // "service": "storage.googleapis.com"
767
+ # // }
768
+ # // }
769
+ # ACCOUNT_TYPE_UNSUPPORTED = 44;
770
+ #
771
+ # // The request is denied because the API endpoint is restricted by
772
+ # // administrators according to the organization policy constraint.
773
+ # // For more information see
774
+ # // https://cloud.google.com/assured-workloads/docs/restrict-endpoint-usage.
775
+ # //
776
+ # // Example of an ErrorInfo when access to Google Cloud Storage service is
777
+ # // restricted by Restrict Endpoint Usage policy:
778
+ # //
779
+ # // {
780
+ # // "reason": "ENDPOINT_USAGE_RESTRICTION_VIOLATED",
781
+ # // "domain": "googleapis.com/policies/endpointUsageRestriction",
782
+ # // "metadata": {
783
+ # // "policy_name": "constraints/gcp.restrictEndpointUsage",
784
+ # // "checked_value": "storage.googleapis.com"
785
+ # // "consumer": "organization/123"
786
+ # // "service": "storage.googleapis.com"
787
+ # // }
788
+ # // }
789
+ # ENDPOINT_USAGE_RESTRICTION_VIOLATED = 45;
790
+ #
791
+ # // The request is denied because the TLS Cipher Suite is restricted by
792
+ # // administrators according to the organization policy constraint.
793
+ # // For more information see
794
+ # // https://cloud.google.com/assured-workloads/docs/restrict-tls-cipher-suites
795
+ # //
796
+ # // Example of an ErrorInfo when access to Google Cloud BigQuery service is
797
+ # // restricted by Restrict TLS Cipher Suites policy:
798
+ # //
799
+ # // {
800
+ # // "reason": "TLS_CIPHER_RESTRICTION_VIOLATED",
801
+ # // "domain": "googleapis.com/policies/tlsCipherRestriction",
802
+ # // "metadata": {
803
+ # // "policy_name": "constraints/gcp.restrictTLSCipherSuites",
804
+ # // "checked_value": "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
805
+ # // "consumer": "organization/123"
806
+ # // "service": "bigquery.googleapis.com"
807
+ # // }
808
+ # // }
809
+ # TLS_CIPHER_RESTRICTION_VIOLATED = 46;
810
+ #
811
+ # // The request is denied because the MCP activation check fails.
812
+ # //
813
+ # // Example of an ErrorInfo when the container "projects/123" contacting
814
+ # // "pubsub.googleapis.com" service which is disabled by MCP:
815
+ # //
816
+ # // { "reason": "MCP_SERVER_DISABLED",
817
+ # // "domain": "googleapis.com",
818
+ # // "metadata": {
819
+ # // "consumer": "projects/123",
820
+ # // "service": "pubsub.googleapis.com"
821
+ # // }
822
+ # // }
823
+ # //
824
+ # // This response indicates the "pubsub.googleapis.com" has been disabled in
825
+ # // "projects/123" for MCP.
826
+ # MCP_SERVER_DISABLED = 47;
663
827
  # }
@@ -9,29 +9,8 @@ require 'google/protobuf/descriptor_pb'
9
9
 
10
10
  descriptor_data = "\n\x1fgoogle/api/field_behavior.proto\x12\ngoogle.api\x1a google/protobuf/descriptor.proto*\xb6\x01\n\rFieldBehavior\x12\x1e\n\x1a\x46IELD_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x0c\n\x08OPTIONAL\x10\x01\x12\x0c\n\x08REQUIRED\x10\x02\x12\x0f\n\x0bOUTPUT_ONLY\x10\x03\x12\x0e\n\nINPUT_ONLY\x10\x04\x12\r\n\tIMMUTABLE\x10\x05\x12\x12\n\x0eUNORDERED_LIST\x10\x06\x12\x15\n\x11NON_EMPTY_DEFAULT\x10\x07\x12\x0e\n\nIDENTIFIER\x10\x08:U\n\x0e\x66ield_behavior\x12\x1d.google.protobuf.FieldOptions\x18\x9c\x08 \x03(\x0e\x32\x19.google.api.FieldBehaviorB\x02\x10\x00\x42p\n\x0e\x63om.google.apiB\x12\x46ieldBehaviorProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPIb\x06proto3"
11
11
 
12
- pool = Google::Protobuf::DescriptorPool.generated_pool
13
-
14
- begin
15
- pool.add_serialized_file(descriptor_data)
16
- rescue TypeError
17
- # Compatibility code: will be removed in the next major version.
18
- require 'google/protobuf/descriptor_pb'
19
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
- parsed.clear_dependency
21
- serialized = parsed.class.encode(parsed)
22
- file = pool.add_serialized_file(serialized)
23
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
- imports = [
25
- ]
26
- imports.each do |type_name, expected_filename|
27
- import_file = pool.lookup(type_name).file_descriptor
28
- if import_file.name != expected_filename
29
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
30
- end
31
- end
32
- warn "Each proto file must use a consistent fully-qualified name."
33
- warn "This will become an error in the next major version."
34
- end
12
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
35
14
 
36
15
  module Google
37
16
  module Api
@@ -41,7 +20,7 @@ end
41
20
 
42
21
  #### Source proto file: google/api/field_behavior.proto ####
43
22
  #
44
- # // Copyright 2025 Google LLC
23
+ # // Copyright 2026 Google LLC
45
24
  # //
46
25
  # // Licensed under the Apache License, Version 2.0 (the "License");
47
26
  # // you may not use this file except in compliance with the License.
@@ -9,29 +9,8 @@ require 'google/protobuf/descriptor_pb'
9
9
 
10
10
  descriptor_data = "\n\x1bgoogle/api/field_info.proto\x12\ngoogle.api\x1a google/protobuf/descriptor.proto\"\xc1\x01\n\tFieldInfo\x12,\n\x06\x66ormat\x18\x01 \x01(\x0e\x32\x1c.google.api.FieldInfo.Format\x12\x33\n\x10referenced_types\x18\x02 \x03(\x0b\x32\x19.google.api.TypeReference\"Q\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\t\n\x05UUID4\x10\x01\x12\x08\n\x04IPV4\x10\x02\x12\x08\n\x04IPV6\x10\x03\x12\x10\n\x0cIPV4_OR_IPV6\x10\x04\"\"\n\rTypeReference\x12\x11\n\ttype_name\x18\x01 \x01(\t:L\n\nfield_info\x12\x1d.google.protobuf.FieldOptions\x18\xcc\xf1\xf9\x8a\x01 \x01(\x0b\x32\x15.google.api.FieldInfoBl\n\x0e\x63om.google.apiB\x0e\x46ieldInfoProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPIb\x06proto3"
11
11
 
12
- pool = Google::Protobuf::DescriptorPool.generated_pool
13
-
14
- begin
15
- pool.add_serialized_file(descriptor_data)
16
- rescue TypeError
17
- # Compatibility code: will be removed in the next major version.
18
- require 'google/protobuf/descriptor_pb'
19
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
- parsed.clear_dependency
21
- serialized = parsed.class.encode(parsed)
22
- file = pool.add_serialized_file(serialized)
23
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
- imports = [
25
- ]
26
- imports.each do |type_name, expected_filename|
27
- import_file = pool.lookup(type_name).file_descriptor
28
- if import_file.name != expected_filename
29
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
30
- end
31
- end
32
- warn "Each proto file must use a consistent fully-qualified name."
33
- warn "This will become an error in the next major version."
34
- end
12
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
35
14
 
36
15
  module Google
37
16
  module Api
@@ -43,7 +22,7 @@ end
43
22
 
44
23
  #### Source proto file: google/api/field_info.proto ####
45
24
  #
46
- # // Copyright 2025 Google LLC
25
+ # // Copyright 2026 Google LLC
47
26
  # //
48
27
  # // Licensed under the Apache License, Version 2.0 (the "License");
49
28
  # // you may not use this file except in compliance with the License.
@@ -7,29 +7,8 @@ require 'google/protobuf'
7
7
 
8
8
  descriptor_data = "\n\x15google/api/http.proto\x12\ngoogle.api\"T\n\x04Http\x12#\n\x05rules\x18\x01 \x03(\x0b\x32\x14.google.api.HttpRule\x12\'\n\x1f\x66ully_decode_reserved_expansion\x18\x02 \x01(\x08\"\x81\x02\n\x08HttpRule\x12\x10\n\x08selector\x18\x01 \x01(\t\x12\r\n\x03get\x18\x02 \x01(\tH\x00\x12\r\n\x03put\x18\x03 \x01(\tH\x00\x12\x0e\n\x04post\x18\x04 \x01(\tH\x00\x12\x10\n\x06\x64\x65lete\x18\x05 \x01(\tH\x00\x12\x0f\n\x05patch\x18\x06 \x01(\tH\x00\x12/\n\x06\x63ustom\x18\x08 \x01(\x0b\x32\x1d.google.api.CustomHttpPatternH\x00\x12\x0c\n\x04\x62ody\x18\x07 \x01(\t\x12\x15\n\rresponse_body\x18\x0c \x01(\t\x12\x31\n\x13\x61\x64\x64itional_bindings\x18\x0b \x03(\x0b\x32\x14.google.api.HttpRuleB\t\n\x07pattern\"/\n\x11\x43ustomHttpPattern\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\tBg\n\x0e\x63om.google.apiB\tHttpProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPIb\x06proto3"
9
9
 
10
- pool = Google::Protobuf::DescriptorPool.generated_pool
11
-
12
- begin
13
- pool.add_serialized_file(descriptor_data)
14
- rescue TypeError
15
- # Compatibility code: will be removed in the next major version.
16
- require 'google/protobuf/descriptor_pb'
17
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
- parsed.clear_dependency
19
- serialized = parsed.class.encode(parsed)
20
- file = pool.add_serialized_file(serialized)
21
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
- imports = [
23
- ]
24
- imports.each do |type_name, expected_filename|
25
- import_file = pool.lookup(type_name).file_descriptor
26
- if import_file.name != expected_filename
27
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
28
- end
29
- end
30
- warn "Each proto file must use a consistent fully-qualified name."
31
- warn "This will become an error in the next major version."
32
- end
10
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
33
12
 
34
13
  module Google
35
14
  module Api
@@ -41,7 +20,7 @@ end
41
20
 
42
21
  #### Source proto file: google/api/http.proto ####
43
22
  #
44
- # // Copyright 2025 Google LLC
23
+ # // Copyright 2026 Google LLC
45
24
  # //
46
25
  # // Licensed under the Apache License, Version 2.0 (the "License");
47
26
  # // you may not use this file except in compliance with the License.