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.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +44 -0
  3. data/lib/google/api/annotations_pb.rb +1 -1
  4. data/lib/google/api/auth_pb.rb +1 -1
  5. data/lib/google/api/backend_pb.rb +1 -1
  6. data/lib/google/api/billing_pb.rb +1 -1
  7. data/lib/google/api/client_pb.rb +73 -12
  8. data/lib/google/api/config_change_pb.rb +1 -1
  9. data/lib/google/api/consumer_pb.rb +1 -1
  10. data/lib/google/api/context_pb.rb +5 -3
  11. data/lib/google/api/control_pb.rb +1 -1
  12. data/lib/google/api/distribution_pb.rb +1 -1
  13. data/lib/google/api/documentation_pb.rb +4 -4
  14. data/lib/google/api/endpoint_pb.rb +6 -10
  15. data/lib/google/api/error_reason_pb.rb +35 -2
  16. data/lib/google/api/field_behavior_pb.rb +1 -1
  17. data/lib/google/api/field_info_pb.rb +36 -8
  18. data/lib/google/api/http_pb.rb +22 -31
  19. data/lib/google/api/httpbody_pb.rb +2 -3
  20. data/lib/google/api/label_pb.rb +2 -3
  21. data/lib/google/api/launch_stage_pb.rb +1 -1
  22. data/lib/google/api/log_pb.rb +1 -1
  23. data/lib/google/api/logging_pb.rb +1 -1
  24. data/lib/google/api/metric_pb.rb +22 -2
  25. data/lib/google/api/monitored_resource_pb.rb +2 -3
  26. data/lib/google/api/monitoring_pb.rb +1 -1
  27. data/lib/google/api/policy_pb.rb +4 -7
  28. data/lib/google/api/quota_pb.rb +3 -3
  29. data/lib/google/api/resource_pb.rb +9 -5
  30. data/lib/google/api/routing_pb.rb +2 -2
  31. data/lib/google/api/service_pb.rb +1 -1
  32. data/lib/google/api/source_info_pb.rb +1 -1
  33. data/lib/google/api/system_parameter_pb.rb +1 -1
  34. data/lib/google/api/usage_pb.rb +1 -1
  35. data/lib/google/api/visibility_pb.rb +2 -3
  36. data/lib/google/logging/type/http_request_pb.rb +1 -1
  37. data/lib/google/logging/type/log_severity_pb.rb +1 -1
  38. data/lib/google/longrunning/operations_pb.rb +36 -37
  39. data/lib/google/rpc/code_pb.rb +1 -1
  40. data/lib/google/rpc/context/attribute_context_pb.rb +3 -2
  41. data/lib/google/rpc/context/audit_context_pb.rb +2 -3
  42. data/lib/google/rpc/error_details_pb.rb +83 -5
  43. data/lib/google/rpc/http_pb.rb +1 -1
  44. data/lib/google/rpc/status_pb.rb +1 -1
  45. data/lib/google/type/calendar_period_pb.rb +1 -1
  46. data/lib/google/type/color_pb.rb +1 -1
  47. data/lib/google/type/date_pb.rb +1 -1
  48. data/lib/google/type/datetime_pb.rb +1 -1
  49. data/lib/google/type/dayofweek_pb.rb +1 -1
  50. data/lib/google/type/decimal_pb.rb +1 -1
  51. data/lib/google/type/expr_pb.rb +1 -1
  52. data/lib/google/type/fraction_pb.rb +1 -1
  53. data/lib/google/type/interval_pb.rb +1 -1
  54. data/lib/google/type/latlng_pb.rb +1 -1
  55. data/lib/google/type/localized_text_pb.rb +1 -1
  56. data/lib/google/type/money_pb.rb +1 -1
  57. data/lib/google/type/month_pb.rb +1 -1
  58. data/lib/google/type/phone_number_pb.rb +1 -1
  59. data/lib/google/type/postal_address_pb.rb +1 -1
  60. data/lib/google/type/quaternion_pb.rb +1 -1
  61. data/lib/google/type/timeofday_pb.rb +1 -1
  62. data/lib/googleapis/common/protos/types/version.rb +1 -1
  63. metadata +12 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b4ad0697309797e8a416adc4e3b67e60dafe64e4d7b9526dc8c978382fe6a497
4
- data.tar.gz: 2b761f003d0cdceefc5687691c0b9f1a8a4a89ab1aaa3beec3132d17d27972b0
3
+ metadata.gz: eba88c3f524b318d8adf53b02f78002043cc06ea5e247e2eea08d4ff988c2270
4
+ data.tar.gz: 43d23c1a23f65ce93769836c88c135cb4843583af4c195ab8cfc0bffeea844ee
5
5
  SHA512:
6
- metadata.gz: 3dd2c3fc703a3527e84c3f5c8b7532ef0736c22f57ba389ff1f1cd8c674ba6da8dc67dfc4016384a8bd36ed6c08c79b69779f38c0b431b39b5423bfcb8d7b5a6
7
- data.tar.gz: 941811e1b9ec6467c79d4e4559e8ae5bdf9a7bf996f56b9833ebc55c86b8e2b9722f167659f7c61f05caf5170e72f1899297dfc375882f9a28f53f45b6e8d8b4
6
+ metadata.gz: 1b65d5eb8d6c420bbca2aa79922a806296ea87bf6469e5ddecff26ed50ae68127c899f12c4f44f0a49b3530dbd6baf56518104fbbcb19c20851221eb6d107fc2
7
+ data.tar.gz: 73522cbc556411327f0d720dbd4ea5d4ae4e87b43484c310f8c1105aa17de934bbff0e18abf6c86cf3a70c0fc0bdfa08f7541e8e8f4d2b42c59035ae3e2c657a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,49 @@
1
1
  # Release History
2
2
 
3
+ ### 1.20.0 (2025-04-29)
4
+
5
+ #### Features
6
+
7
+ * Automated update of googleapis-common-protos-types ([#374](https://github.com/googleapis/common-protos-ruby/issues/374))
8
+ * drop ruby 3.0 from CI and update baseline types gems to 3.1 ([#375](https://github.com/googleapis/common-protos-ruby/issues/375))
9
+
10
+ ### 1.19.0 (2025-03-13)
11
+
12
+ #### Features
13
+
14
+ * Automated update of googleapis-common-protos-types ([#351](https://github.com/googleapis/common-protos-ruby/issues/351))
15
+ * Update minimum required Ruby to 3.0 ([#354](https://github.com/googleapis/common-protos-ruby/issues/354))
16
+
17
+ ### 1.18.0 (2025-01-14)
18
+
19
+ #### Features
20
+
21
+ * Added a few additional client generation settings
22
+ * Added MetricDescriptorMetadata#time_series_resource_hierarchy_level
23
+ * Added MISSING_ORIGIN and OVERLOADED_CREDENTIALS error reasons
24
+ * Added reason and localized_message fields to FieldViolation
25
+
26
+ ### 1.17.0 (2025-01-09)
27
+
28
+ #### Features
29
+
30
+ * Added PythonSettings#experimental_features ([#336](https://github.com/googleapis/common-protos-ruby/issues/336))
31
+
32
+ ### 1.16.0 (2024-09-11)
33
+
34
+ #### Features
35
+
36
+ * Added referenced types to Google::Api::FieldInfo
37
+ #### Documentation
38
+
39
+ * Various improvements to reference documentation
40
+
41
+ ### 1.15.0 (2024-06-11)
42
+
43
+ #### Features
44
+
45
+ * Support for google-protobuf 4.x ([#315](https://github.com/googleapis/common-protos-ruby/issues/315))
46
+
3
47
  ### 1.14.0 (2024-03-16)
4
48
 
5
49
  #### Features
@@ -42,7 +42,7 @@ end
42
42
 
43
43
  #### Source proto file: google/api/annotations.proto ####
44
44
  #
45
- # // Copyright 2015 Google LLC
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.
@@ -44,7 +44,7 @@ end
44
44
 
45
45
  #### Source proto file: google/api/auth.proto ####
46
46
  #
47
- # // Copyright 2023 Google LLC
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.
@@ -41,7 +41,7 @@ end
41
41
 
42
42
  #### Source proto file: google/api/backend.proto ####
43
43
  #
44
- # // Copyright 2023 Google LLC
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.
@@ -40,7 +40,7 @@ end
40
40
 
41
41
  #### Source proto file: google/api/billing.proto ####
42
42
  #
43
- # // Copyright 2023 Google LLC
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.
@@ -9,7 +9,7 @@ require 'google/protobuf/descriptor_pb'
9
9
  require 'google/protobuf/duration_pb'
10
10
 
11
11
 
12
- descriptor_data = "\n\x17google/api/client.proto\x12\ngoogle.api\x1a\x1dgoogle/api/launch_stage.proto\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/duration.proto\"t\n\x16\x43ommonLanguageSettings\x12\x1e\n\x12reference_docs_uri\x18\x01 \x01(\tB\x02\x18\x01\x12:\n\x0c\x64\x65stinations\x18\x02 \x03(\x0e\x32$.google.api.ClientLibraryDestination\"\xfb\x03\n\x15\x43lientLibrarySettings\x12\x0f\n\x07version\x18\x01 \x01(\t\x12-\n\x0claunch_stage\x18\x02 \x01(\x0e\x32\x17.google.api.LaunchStage\x12\x1a\n\x12rest_numeric_enums\x18\x03 \x01(\x08\x12/\n\rjava_settings\x18\x15 \x01(\x0b\x32\x18.google.api.JavaSettings\x12-\n\x0c\x63pp_settings\x18\x16 \x01(\x0b\x32\x17.google.api.CppSettings\x12-\n\x0cphp_settings\x18\x17 \x01(\x0b\x32\x17.google.api.PhpSettings\x12\x33\n\x0fpython_settings\x18\x18 \x01(\x0b\x32\x1a.google.api.PythonSettings\x12/\n\rnode_settings\x18\x19 \x01(\x0b\x32\x18.google.api.NodeSettings\x12\x33\n\x0f\x64otnet_settings\x18\x1a \x01(\x0b\x32\x1a.google.api.DotnetSettings\x12/\n\rruby_settings\x18\x1b \x01(\x0b\x32\x18.google.api.RubySettings\x12+\n\x0bgo_settings\x18\x1c \x01(\x0b\x32\x16.google.api.GoSettings\"\xa8\x03\n\nPublishing\x12\x33\n\x0fmethod_settings\x18\x02 \x03(\x0b\x32\x1a.google.api.MethodSettings\x12\x15\n\rnew_issue_uri\x18\x65 \x01(\t\x12\x19\n\x11\x64ocumentation_uri\x18\x66 \x01(\t\x12\x16\n\x0e\x61pi_short_name\x18g \x01(\t\x12\x14\n\x0cgithub_label\x18h \x01(\t\x12\x1e\n\x16\x63odeowner_github_teams\x18i \x03(\t\x12\x16\n\x0e\x64oc_tag_prefix\x18j \x01(\t\x12;\n\x0corganization\x18k \x01(\x0e\x32%.google.api.ClientLibraryOrganization\x12;\n\x10library_settings\x18m \x03(\x0b\x32!.google.api.ClientLibrarySettings\x12)\n!proto_reference_documentation_uri\x18n \x01(\t\x12(\n rest_reference_documentation_uri\x18o \x01(\t\"\xe3\x01\n\x0cJavaSettings\x12\x17\n\x0flibrary_package\x18\x01 \x01(\t\x12L\n\x13service_class_names\x18\x02 \x03(\x0b\x32/.google.api.JavaSettings.ServiceClassNamesEntry\x12\x32\n\x06\x63ommon\x18\x03 \x01(\x0b\x32\".google.api.CommonLanguageSettings\x1a\x38\n\x16ServiceClassNamesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"A\n\x0b\x43ppSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\"A\n\x0bPhpSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\"D\n\x0ePythonSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\"B\n\x0cNodeSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\"\xaa\x03\n\x0e\x44otnetSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\x12I\n\x10renamed_services\x18\x02 \x03(\x0b\x32/.google.api.DotnetSettings.RenamedServicesEntry\x12K\n\x11renamed_resources\x18\x03 \x03(\x0b\x32\x30.google.api.DotnetSettings.RenamedResourcesEntry\x12\x19\n\x11ignored_resources\x18\x04 \x03(\t\x12 \n\x18\x66orced_namespace_aliases\x18\x05 \x03(\t\x12\x1e\n\x16handwritten_signatures\x18\x06 \x03(\t\x1a\x36\n\x14RenamedServicesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x37\n\x15RenamedResourcesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"B\n\x0cRubySettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\"@\n\nGoSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\"\xcf\x02\n\x0eMethodSettings\x12\x10\n\x08selector\x18\x01 \x01(\t\x12<\n\x0clong_running\x18\x02 \x01(\x0b\x32&.google.api.MethodSettings.LongRunning\x12\x1d\n\x15\x61uto_populated_fields\x18\x03 \x03(\t\x1a\xcd\x01\n\x0bLongRunning\x12\x35\n\x12initial_poll_delay\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1d\n\x15poll_delay_multiplier\x18\x02 \x01(\x02\x12\x31\n\x0emax_poll_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12total_poll_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration*\xa3\x01\n\x19\x43lientLibraryOrganization\x12+\n\'CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED\x10\x00\x12\t\n\x05\x43LOUD\x10\x01\x12\x07\n\x03\x41\x44S\x10\x02\x12\n\n\x06PHOTOS\x10\x03\x12\x0f\n\x0bSTREET_VIEW\x10\x04\x12\x0c\n\x08SHOPPING\x10\x05\x12\x07\n\x03GEO\x10\x06\x12\x11\n\rGENERATIVE_AI\x10\x07*g\n\x18\x43lientLibraryDestination\x12*\n&CLIENT_LIBRARY_DESTINATION_UNSPECIFIED\x10\x00\x12\n\n\x06GITHUB\x10\n\x12\x13\n\x0fPACKAGE_MANAGER\x10\x14:9\n\x10method_signature\x12\x1e.google.protobuf.MethodOptions\x18\x9b\x08 \x03(\t:6\n\x0c\x64\x65\x66\x61ult_host\x12\x1f.google.protobuf.ServiceOptions\x18\x99\x08 \x01(\t:6\n\x0coauth_scopes\x12\x1f.google.protobuf.ServiceOptions\x18\x9a\x08 \x01(\t:8\n\x0b\x61pi_version\x12\x1f.google.protobuf.ServiceOptions\x18\xc1\xba\xab\xfa\x01 \x01(\tBi\n\x0e\x63om.google.apiB\x0b\x43lientProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPIb\x06proto3"
12
+ descriptor_data = "\n\x17google/api/client.proto\x12\ngoogle.api\x1a\x1dgoogle/api/launch_stage.proto\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/duration.proto\"\xbe\x01\n\x16\x43ommonLanguageSettings\x12\x1e\n\x12reference_docs_uri\x18\x01 \x01(\tB\x02\x18\x01\x12:\n\x0c\x64\x65stinations\x18\x02 \x03(\x0e\x32$.google.api.ClientLibraryDestination\x12H\n\x1aselective_gapic_generation\x18\x03 \x01(\x0b\x32$.google.api.SelectiveGapicGeneration\"\xfb\x03\n\x15\x43lientLibrarySettings\x12\x0f\n\x07version\x18\x01 \x01(\t\x12-\n\x0claunch_stage\x18\x02 \x01(\x0e\x32\x17.google.api.LaunchStage\x12\x1a\n\x12rest_numeric_enums\x18\x03 \x01(\x08\x12/\n\rjava_settings\x18\x15 \x01(\x0b\x32\x18.google.api.JavaSettings\x12-\n\x0c\x63pp_settings\x18\x16 \x01(\x0b\x32\x17.google.api.CppSettings\x12-\n\x0cphp_settings\x18\x17 \x01(\x0b\x32\x17.google.api.PhpSettings\x12\x33\n\x0fpython_settings\x18\x18 \x01(\x0b\x32\x1a.google.api.PythonSettings\x12/\n\rnode_settings\x18\x19 \x01(\x0b\x32\x18.google.api.NodeSettings\x12\x33\n\x0f\x64otnet_settings\x18\x1a \x01(\x0b\x32\x1a.google.api.DotnetSettings\x12/\n\rruby_settings\x18\x1b \x01(\x0b\x32\x18.google.api.RubySettings\x12+\n\x0bgo_settings\x18\x1c \x01(\x0b\x32\x16.google.api.GoSettings\"\xa8\x03\n\nPublishing\x12\x33\n\x0fmethod_settings\x18\x02 \x03(\x0b\x32\x1a.google.api.MethodSettings\x12\x15\n\rnew_issue_uri\x18\x65 \x01(\t\x12\x19\n\x11\x64ocumentation_uri\x18\x66 \x01(\t\x12\x16\n\x0e\x61pi_short_name\x18g \x01(\t\x12\x14\n\x0cgithub_label\x18h \x01(\t\x12\x1e\n\x16\x63odeowner_github_teams\x18i \x03(\t\x12\x16\n\x0e\x64oc_tag_prefix\x18j \x01(\t\x12;\n\x0corganization\x18k \x01(\x0e\x32%.google.api.ClientLibraryOrganization\x12;\n\x10library_settings\x18m \x03(\x0b\x32!.google.api.ClientLibrarySettings\x12)\n!proto_reference_documentation_uri\x18n \x01(\t\x12(\n rest_reference_documentation_uri\x18o \x01(\t\"\xe3\x01\n\x0cJavaSettings\x12\x17\n\x0flibrary_package\x18\x01 \x01(\t\x12L\n\x13service_class_names\x18\x02 \x03(\x0b\x32/.google.api.JavaSettings.ServiceClassNamesEntry\x12\x32\n\x06\x63ommon\x18\x03 \x01(\x0b\x32\".google.api.CommonLanguageSettings\x1a\x38\n\x16ServiceClassNamesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"A\n\x0b\x43ppSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\"A\n\x0bPhpSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\"\x9b\x02\n\x0ePythonSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\x12N\n\x15\x65xperimental_features\x18\x02 \x01(\x0b\x32/.google.api.PythonSettings.ExperimentalFeatures\x1a\x84\x01\n\x14\x45xperimentalFeatures\x12\x1d\n\x15rest_async_io_enabled\x18\x01 \x01(\x08\x12\'\n\x1fprotobuf_pythonic_types_enabled\x18\x02 \x01(\x08\x12$\n\x1cunversioned_package_disabled\x18\x03 \x01(\x08\"B\n\x0cNodeSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\"\xaa\x03\n\x0e\x44otnetSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\x12I\n\x10renamed_services\x18\x02 \x03(\x0b\x32/.google.api.DotnetSettings.RenamedServicesEntry\x12K\n\x11renamed_resources\x18\x03 \x03(\x0b\x32\x30.google.api.DotnetSettings.RenamedResourcesEntry\x12\x19\n\x11ignored_resources\x18\x04 \x03(\t\x12 \n\x18\x66orced_namespace_aliases\x18\x05 \x03(\t\x12\x1e\n\x16handwritten_signatures\x18\x06 \x03(\t\x1a\x36\n\x14RenamedServicesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x37\n\x15RenamedResourcesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"B\n\x0cRubySettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\"\xbf\x01\n\nGoSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\x12\x45\n\x10renamed_services\x18\x02 \x03(\x0b\x32+.google.api.GoSettings.RenamedServicesEntry\x1a\x36\n\x14RenamedServicesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xcf\x02\n\x0eMethodSettings\x12\x10\n\x08selector\x18\x01 \x01(\t\x12<\n\x0clong_running\x18\x02 \x01(\x0b\x32&.google.api.MethodSettings.LongRunning\x12\x1d\n\x15\x61uto_populated_fields\x18\x03 \x03(\t\x1a\xcd\x01\n\x0bLongRunning\x12\x35\n\x12initial_poll_delay\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1d\n\x15poll_delay_multiplier\x18\x02 \x01(\x02\x12\x31\n\x0emax_poll_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12total_poll_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\"Q\n\x18SelectiveGapicGeneration\x12\x0f\n\x07methods\x18\x01 \x03(\t\x12$\n\x1cgenerate_omitted_as_internal\x18\x02 \x01(\x08*\xa3\x01\n\x19\x43lientLibraryOrganization\x12+\n\'CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED\x10\x00\x12\t\n\x05\x43LOUD\x10\x01\x12\x07\n\x03\x41\x44S\x10\x02\x12\n\n\x06PHOTOS\x10\x03\x12\x0f\n\x0bSTREET_VIEW\x10\x04\x12\x0c\n\x08SHOPPING\x10\x05\x12\x07\n\x03GEO\x10\x06\x12\x11\n\rGENERATIVE_AI\x10\x07*g\n\x18\x43lientLibraryDestination\x12*\n&CLIENT_LIBRARY_DESTINATION_UNSPECIFIED\x10\x00\x12\n\n\x06GITHUB\x10\n\x12\x13\n\x0fPACKAGE_MANAGER\x10\x14:9\n\x10method_signature\x12\x1e.google.protobuf.MethodOptions\x18\x9b\x08 \x03(\t:6\n\x0c\x64\x65\x66\x61ult_host\x12\x1f.google.protobuf.ServiceOptions\x18\x99\x08 \x01(\t:6\n\x0coauth_scopes\x12\x1f.google.protobuf.ServiceOptions\x18\x9a\x08 \x01(\t:8\n\x0b\x61pi_version\x12\x1f.google.protobuf.ServiceOptions\x18\xc1\xba\xab\xfa\x01 \x01(\tBi\n\x0e\x63om.google.apiB\x0b\x43lientProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPIb\x06proto3"
13
13
 
14
14
  pool = Google::Protobuf::DescriptorPool.generated_pool
15
15
 
@@ -45,12 +45,14 @@ module Google
45
45
  CppSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.CppSettings").msgclass
46
46
  PhpSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.PhpSettings").msgclass
47
47
  PythonSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.PythonSettings").msgclass
48
+ PythonSettings::ExperimentalFeatures = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.PythonSettings.ExperimentalFeatures").msgclass
48
49
  NodeSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.NodeSettings").msgclass
49
50
  DotnetSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.DotnetSettings").msgclass
50
51
  RubySettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.RubySettings").msgclass
51
52
  GoSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.GoSettings").msgclass
52
53
  MethodSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MethodSettings").msgclass
53
54
  MethodSettings::LongRunning = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MethodSettings.LongRunning").msgclass
55
+ SelectiveGapicGeneration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.SelectiveGapicGeneration").msgclass
54
56
  ClientLibraryOrganization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ClientLibraryOrganization").enummodule
55
57
  ClientLibraryDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ClientLibraryDestination").enummodule
56
58
  end
@@ -58,7 +60,7 @@ end
58
60
 
59
61
  #### Source proto file: google/api/client.proto ####
60
62
  #
61
- # // Copyright 2023 Google LLC
63
+ # // Copyright 2025 Google LLC
62
64
  # //
63
65
  # // Licensed under the Apache License, Version 2.0 (the "License");
64
66
  # // you may not use this file except in compliance with the License.
@@ -184,6 +186,9 @@ end
184
186
  #
185
187
  # // The destination where API teams want this client library to be published.
186
188
  # repeated ClientLibraryDestination destinations = 2;
189
+ #
190
+ # // Configuration for which RPCs should be generated in the GAPIC client.
191
+ # SelectiveGapicGeneration selective_gapic_generation = 3;
187
192
  # }
188
193
  #
189
194
  # // Details about how and where to publish client libraries.
@@ -323,8 +328,34 @@ end
323
328
  #
324
329
  # // Settings for Python client libraries.
325
330
  # message PythonSettings {
331
+ # // Experimental features to be included during client library generation.
332
+ # // These fields will be deprecated once the feature graduates and is enabled
333
+ # // by default.
334
+ # message ExperimentalFeatures {
335
+ # // Enables generation of asynchronous REST clients if `rest` transport is
336
+ # // enabled. By default, asynchronous REST clients will not be generated.
337
+ # // This feature will be enabled by default 1 month after launching the
338
+ # // feature in preview packages.
339
+ # bool rest_async_io_enabled = 1;
340
+ #
341
+ # // Enables generation of protobuf code using new types that are more
342
+ # // Pythonic which are included in `protobuf>=5.29.x`. This feature will be
343
+ # // enabled by default 1 month after launching the feature in preview
344
+ # // packages.
345
+ # bool protobuf_pythonic_types_enabled = 2;
346
+ #
347
+ # // Disables generation of an unversioned Python package for this client
348
+ # // library. This means that the module names will need to be versioned in
349
+ # // import statements. For example `import google.cloud.library_v2` instead
350
+ # // of `import google.cloud.library`.
351
+ # bool unversioned_package_disabled = 3;
352
+ # }
353
+ #
326
354
  # // Some settings.
327
355
  # CommonLanguageSettings common = 1;
356
+ #
357
+ # // Experimental features to be included during client library generation.
358
+ # ExperimentalFeatures experimental_features = 2;
328
359
  # }
329
360
  #
330
361
  # // Settings for Node client libraries.
@@ -379,6 +410,16 @@ end
379
410
  # message GoSettings {
380
411
  # // Some settings.
381
412
  # CommonLanguageSettings common = 1;
413
+ #
414
+ # // Map of service names to renamed services. Keys are the package relative
415
+ # // service names and values are the name to be used for the service client
416
+ # // and call options.
417
+ # //
418
+ # // publishing:
419
+ # // go_settings:
420
+ # // renamed_services:
421
+ # // Publisher: TopicAdmin
422
+ # map<string, string> renamed_services = 2;
382
423
  # }
383
424
  #
384
425
  # // Describes the generator configuration for a method.
@@ -409,6 +450,13 @@ end
409
450
  #
410
451
  # // The fully qualified name of the method, for which the options below apply.
411
452
  # // This is used to find the method to apply the options.
453
+ # //
454
+ # // Example:
455
+ # //
456
+ # // publishing:
457
+ # // method_settings:
458
+ # // - selector: google.storage.control.v2.StorageControl.CreateFolder
459
+ # // # method settings for CreateFolder...
412
460
  # string selector = 1;
413
461
  #
414
462
  # // Describes settings to use for long-running operations when generating
@@ -417,17 +465,14 @@ end
417
465
  # //
418
466
  # // Example of a YAML configuration::
419
467
  # //
420
- # // publishing:
421
- # // method_settings:
468
+ # // publishing:
469
+ # // method_settings:
422
470
  # // - selector: google.cloud.speech.v2.Speech.BatchRecognize
423
471
  # // long_running:
424
- # // initial_poll_delay:
425
- # // seconds: 60 # 1 minute
472
+ # // initial_poll_delay: 60s # 1 minute
426
473
  # // poll_delay_multiplier: 1.5
427
- # // max_poll_delay:
428
- # // seconds: 360 # 6 minutes
429
- # // total_poll_timeout:
430
- # // seconds: 54000 # 90 minutes
474
+ # // max_poll_delay: 360s # 6 minutes
475
+ # // total_poll_timeout: 54000s # 90 minutes
431
476
  # LongRunning long_running = 2;
432
477
  #
433
478
  # // List of top-level fields of the request message, that should be
@@ -436,8 +481,8 @@ end
436
481
  # //
437
482
  # // Example of a YAML configuration:
438
483
  # //
439
- # // publishing:
440
- # // method_settings:
484
+ # // publishing:
485
+ # // method_settings:
441
486
  # // - selector: google.example.v1.ExampleService.CreateExample
442
487
  # // auto_populated_fields:
443
488
  # // - request_id
@@ -485,3 +530,19 @@ end
485
530
  # // Publish the library to package managers like nuget.org and npmjs.com.
486
531
  # PACKAGE_MANAGER = 20;
487
532
  # }
533
+ #
534
+ # // This message is used to configure the generation of a subset of the RPCs in
535
+ # // a service for client libraries.
536
+ # message SelectiveGapicGeneration {
537
+ # // An allowlist of the fully qualified names of RPCs that should be included
538
+ # // on public client surfaces.
539
+ # repeated string methods = 1;
540
+ #
541
+ # // Setting this to true indicates to the client generators that methods
542
+ # // that would be excluded from the generation should instead be generated
543
+ # // in a way that indicates these methods should not be consumed by
544
+ # // end users. How this is expressed is up to individual language
545
+ # // implementations to decide. Some examples may be: added annotations,
546
+ # // obfuscated identifiers, or other language idiomatic patterns.
547
+ # bool generate_omitted_as_internal = 2;
548
+ # }
@@ -41,7 +41,7 @@ end
41
41
 
42
42
  #### Source proto file: google/api/config_change.proto ####
43
43
  #
44
- # // Copyright 2023 Google LLC
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.
@@ -41,7 +41,7 @@ end
41
41
 
42
42
  #### Source proto file: google/api/consumer.proto ####
43
43
  #
44
- # // Copyright 2016 Google LLC
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.
@@ -40,7 +40,7 @@ end
40
40
 
41
41
  #### Source proto file: google/api/context.proto ####
42
42
  #
43
- # // Copyright 2023 Google LLC
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.
@@ -116,10 +116,12 @@ end
116
116
  # // details.
117
117
  # string selector = 1;
118
118
  #
119
- # // A list of full type names of requested contexts.
119
+ # // A list of full type names of requested contexts, only the requested context
120
+ # // will be made available to the backend.
120
121
  # repeated string requested = 2;
121
122
  #
122
- # // A list of full type names of provided contexts.
123
+ # // A list of full type names of provided contexts. It is used to support
124
+ # // propagating HTTP headers and ETags from the response extension.
123
125
  # repeated string provided = 3;
124
126
  #
125
127
  # // A list of full type names or extension IDs of extensions allowed in grpc
@@ -42,7 +42,7 @@ end
42
42
 
43
43
  #### Source proto file: google/api/control.proto ####
44
44
  #
45
- # // Copyright 2023 Google LLC
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.
@@ -50,7 +50,7 @@ end
50
50
 
51
51
  #### Source proto file: google/api/distribution.proto ####
52
52
  #
53
- # // Copyright 2023 Google LLC
53
+ # // Copyright 2025 Google LLC
54
54
  # //
55
55
  # // Licensed under the Apache License, Version 2.0 (the "License");
56
56
  # // you may not use this file except in compliance with the License.
@@ -41,7 +41,7 @@ end
41
41
 
42
42
  #### Source proto file: google/api/documentation.proto ####
43
43
  #
44
- # // Copyright 2023 Google LLC
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.
@@ -200,9 +200,9 @@ end
200
200
  # // `[Java][Tutorial.Java]`.
201
201
  # string name = 1;
202
202
  #
203
- # // The Markdown content of the page. You can use <code>&#40;== include {path}
204
- # // ==&#41;</code> to include content from a Markdown file. The content can be
205
- # // used to produce the documentation page such as HTML format page.
203
+ # // The Markdown content of the page. You can use ```(== include {path}
204
+ # // ==)``` to include content from a Markdown file. The content can be used
205
+ # // to produce the documentation page such as HTML format page.
206
206
  # string content = 2;
207
207
  #
208
208
  # // Subpages of this page. The order of subpages specified here will be
@@ -5,7 +5,7 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
 
8
- descriptor_data = "\n\x19google/api/endpoint.proto\x12\ngoogle.api\"Q\n\x08\x45ndpoint\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x07\x61liases\x18\x02 \x03(\tB\x02\x18\x01\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"
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
10
  pool = Google::Protobuf::DescriptorPool.generated_pool
11
11
 
@@ -39,7 +39,7 @@ end
39
39
 
40
40
  #### Source proto file: google/api/endpoint.proto ####
41
41
  #
42
- # // Copyright 2023 Google LLC
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.
@@ -88,14 +88,10 @@ end
88
88
  # // The canonical name of this endpoint.
89
89
  # string name = 1;
90
90
  #
91
- # // Unimplemented. Dot not use.
92
- # //
93
- # // DEPRECATED: This field is no longer supported. Instead of using aliases,
94
- # // please specify multiple [google.api.Endpoint][google.api.Endpoint] for each
95
- # // of the intended aliases.
96
- # //
97
- # // Additional names that this endpoint will be hosted on.
98
- # repeated string aliases = 2 [deprecated = true];
91
+ # // Aliases for this endpoint, these will be served by the same UrlMap as the
92
+ # // parent endpoint, and will be provisioned in the GCP stack for the Regional
93
+ # // Endpoints.
94
+ # repeated string aliases = 2;
99
95
  #
100
96
  # // The specification of an Internet routable address of API frontend that will
101
97
  # // handle requests to this [API
@@ -5,7 +5,7 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
 
8
- descriptor_data = "\n\x1dgoogle/api/error_reason.proto\x12\ngoogle.api*\x8a\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\x42p\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*\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"
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/api/error_reason.proto ####
41
41
  #
42
- # // Copyright 2023 Google LLC
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.
@@ -627,4 +627,37 @@ end
627
627
  # // "locations/asia-northeast3" violates at least one location policy.
628
628
  # // The troubleshooting guidance is provided in the Help links.
629
629
  # LOCATION_POLICY_VIOLATED = 31;
630
+ #
631
+ # // The request is denied because origin request header is missing.
632
+ # //
633
+ # // Example of an ErrorInfo when
634
+ # // accessing "pubsub.googleapis.com" service with an empty "Origin" request
635
+ # // header.
636
+ # //
637
+ # // {
638
+ # // reason: "MISSING_ORIGIN"
639
+ # // domain: "googleapis.com"
640
+ # // metadata {
641
+ # // "consumer":"projects/123456"
642
+ # // "service": "pubsub.googleapis.com"
643
+ # // }
644
+ # // }
645
+ # MISSING_ORIGIN = 33;
646
+ #
647
+ # // The request is denied because the request contains more than one credential
648
+ # // type that are individually acceptable, but not together. The customer
649
+ # // should retry their request with only one set of credentials.
650
+ # //
651
+ # // Example of an ErrorInfo when
652
+ # // accessing "pubsub.googleapis.com" service with overloaded credentials.
653
+ # //
654
+ # // {
655
+ # // reason: "OVERLOADED_CREDENTIALS"
656
+ # // domain: "googleapis.com"
657
+ # // metadata {
658
+ # // "consumer":"projects/123456"
659
+ # // "service": "pubsub.googleapis.com"
660
+ # // }
661
+ # // }
662
+ # OVERLOADED_CREDENTIALS = 34;
630
663
  # }
@@ -41,7 +41,7 @@ end
41
41
 
42
42
  #### Source proto file: google/api/field_behavior.proto ####
43
43
  #
44
- # // Copyright 2023 Google LLC
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.
@@ -7,7 +7,7 @@ require 'google/protobuf'
7
7
  require 'google/protobuf/descriptor_pb'
8
8
 
9
9
 
10
- descriptor_data = "\n\x1bgoogle/api/field_info.proto\x12\ngoogle.api\x1a google/protobuf/descriptor.proto\"\x8c\x01\n\tFieldInfo\x12,\n\x06\x66ormat\x18\x01 \x01(\x0e\x32\x1c.google.api.FieldInfo.Format\"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: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"
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
12
  pool = Google::Protobuf::DescriptorPool.generated_pool
13
13
 
@@ -37,12 +37,13 @@ module Google
37
37
  module Api
38
38
  FieldInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.FieldInfo").msgclass
39
39
  FieldInfo::Format = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.FieldInfo.Format").enummodule
40
+ TypeReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.TypeReference").msgclass
40
41
  end
41
42
  end
42
43
 
43
44
  #### Source proto file: google/api/field_info.proto ####
44
45
  #
45
- # // Copyright 2023 Google LLC
46
+ # // Copyright 2025 Google LLC
46
47
  # //
47
48
  # // Licensed under the Apache License, Version 2.0 (the "License");
48
49
  # // you may not use this file except in compliance with the License.
@@ -73,12 +74,19 @@ end
73
74
  # //
74
75
  # // Examples:
75
76
  # //
76
- # // string request_id = 1 [(google.api.field_info).format = UUID4];
77
- # // string old_ip_address = 2 [(google.api.field_info).format = IPV4];
78
- # // string new_ip_address = 3 [(google.api.field_info).format = IPV6];
79
- # // string actual_ip_address = 4 [
80
- # // (google.api.field_info).format = IPV4_OR_IPV6
81
- # // ];
77
+ # // string request_id = 1 [(google.api.field_info).format = UUID4];
78
+ # // string old_ip_address = 2 [(google.api.field_info).format = IPV4];
79
+ # // string new_ip_address = 3 [(google.api.field_info).format = IPV6];
80
+ # // string actual_ip_address = 4 [
81
+ # // (google.api.field_info).format = IPV4_OR_IPV6
82
+ # // ];
83
+ # // google.protobuf.Any generic_field = 5 [
84
+ # // (google.api.field_info).referenced_types = {type_name: "ActualType"},
85
+ # // (google.api.field_info).referenced_types = {type_name: "OtherType"},
86
+ # // ];
87
+ # // google.protobuf.Any generic_user_input = 5 [
88
+ # // (google.api.field_info).referenced_types = {type_name: "*"},
89
+ # // ];
82
90
  # google.api.FieldInfo field_info = 291403980;
83
91
  # }
84
92
  #
@@ -120,4 +128,24 @@ end
120
128
  # // any API consumer, just documents the API's format for the field it is
121
129
  # // applied to.
122
130
  # Format format = 1;
131
+ #
132
+ # // The type(s) that the annotated, generic field may represent.
133
+ # //
134
+ # // Currently, this must only be used on fields of type `google.protobuf.Any`.
135
+ # // Supporting other generic types may be considered in the future.
136
+ # repeated TypeReference referenced_types = 2;
137
+ # }
138
+ #
139
+ # // A reference to a message type, for use in [FieldInfo][google.api.FieldInfo].
140
+ # message TypeReference {
141
+ # // The name of the type that the annotated, generic field may represent.
142
+ # // If the type is in the same protobuf package, the value can be the simple
143
+ # // message name e.g., `"MyMessage"`. Otherwise, the value must be the
144
+ # // fully-qualified message name e.g., `"google.library.v1.Book"`.
145
+ # //
146
+ # // If the type(s) are unknown to the service (e.g. the field accepts generic
147
+ # // user input), use the wildcard `"*"` to denote this behavior.
148
+ # //
149
+ # // See [AIP-202](https://google.aip.dev/202#type-references) for more details.
150
+ # string type_name = 1;
123
151
  # }