googleapis-common-protos-types 1.5.0 → 1.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +95 -0
  3. data/lib/google/api/annotations_pb.rb +60 -2
  4. data/lib/google/api/auth_pb.rb +264 -34
  5. data/lib/google/api/backend_pb.rb +212 -22
  6. data/lib/google/api/billing_pb.rb +104 -8
  7. data/lib/google/api/client_pb.rb +502 -77
  8. data/lib/google/api/config_change_pb.rb +111 -17
  9. data/lib/google/api/consumer_pb.rb +109 -16
  10. data/lib/google/api/context_pb.rb +119 -11
  11. data/lib/google/api/control_pb.rb +71 -4
  12. data/lib/google/api/distribution_pb.rb +242 -39
  13. data/lib/google/api/documentation_pb.rb +195 -19
  14. data/lib/google/api/endpoint_pb.rb +96 -7
  15. data/lib/google/api/error_reason_pb.rb +649 -31
  16. data/lib/google/api/field_behavior_pb.rb +131 -11
  17. data/lib/google/api/field_info_pb.rb +151 -0
  18. data/lib/google/api/http_pb.rb +398 -23
  19. data/lib/google/api/httpbody_pb.rb +108 -6
  20. data/lib/google/api/label_pb.rb +75 -11
  21. data/lib/google/api/launch_stage_pb.rb +99 -11
  22. data/lib/google/api/log_pb.rb +82 -7
  23. data/lib/google/api/logging_pb.rb +108 -9
  24. data/lib/google/api/metric_pb.rb +317 -38
  25. data/lib/google/api/monitored_resource_pb.rb +159 -17
  26. data/lib/google/api/monitoring_pb.rb +134 -9
  27. data/lib/google/api/policy_pb.rb +127 -0
  28. data/lib/google/api/quota_pb.rb +211 -21
  29. data/lib/google/api/resource_pb.rb +270 -23
  30. data/lib/google/api/routing_pb.rb +488 -8
  31. data/lib/google/api/service_pb.rb +239 -29
  32. data/lib/google/api/source_info_pb.rb +59 -4
  33. data/lib/google/api/system_parameter_pb.rb +123 -13
  34. data/lib/google/api/usage_pb.rb +123 -11
  35. data/lib/google/api/visibility_pb.rb +140 -8
  36. data/lib/google/logging/type/http_request_pb.rb +123 -18
  37. data/lib/google/logging/type/log_severity_pb.rb +98 -12
  38. data/lib/google/longrunning/operations_pb.rb +277 -38
  39. data/lib/google/rpc/code_pb.rb +213 -20
  40. data/lib/google/rpc/context/attribute_context_pb.rb +403 -0
  41. data/lib/google/rpc/context/audit_context_pb.rb +94 -0
  42. data/lib/google/rpc/error_details_pb.rb +326 -56
  43. data/lib/google/rpc/http_pb.rb +91 -17
  44. data/lib/google/rpc/status_pb.rb +77 -6
  45. data/lib/google/type/calendar_period_pb.rb +83 -11
  46. data/lib/google/type/color_pb.rb +202 -7
  47. data/lib/google/type/date_pb.rb +79 -6
  48. data/lib/google/type/datetime_pb.rb +132 -18
  49. data/lib/google/type/dayofweek_pb.rb +77 -11
  50. data/lib/google/type/decimal_pb.rb +122 -4
  51. data/lib/google/type/expr_pb.rb +100 -7
  52. data/lib/google/type/fraction_pb.rb +60 -5
  53. data/lib/google/type/interval_pb.rb +74 -5
  54. data/lib/google/type/latlng_pb.rb +64 -5
  55. data/lib/google/type/localized_text_pb.rb +63 -5
  56. data/lib/google/type/money_pb.rb +69 -6
  57. data/lib/google/type/month_pb.rb +92 -16
  58. data/lib/google/type/phone_number_pb.rb +140 -12
  59. data/lib/google/type/postal_address_pb.rb +161 -14
  60. data/lib/google/type/quaternion_pb.rb +121 -7
  61. data/lib/google/type/timeofday_pb.rb +71 -7
  62. data/lib/googleapis/common/protos/types/version.rb +1 -1
  63. metadata +18 -11
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/api/client.proto
3
4
 
@@ -7,85 +8,32 @@ require 'google/api/launch_stage_pb'
7
8
  require 'google/protobuf/descriptor_pb'
8
9
  require 'google/protobuf/duration_pb'
9
10
 
10
- Google::Protobuf::DescriptorPool.generated_pool.build do
11
- add_file("google/api/client.proto", :syntax => :proto3) do
12
- add_message "google.api.CommonLanguageSettings" do
13
- optional :reference_docs_uri, :string, 1
14
- repeated :destinations, :enum, 2, "google.api.ClientLibraryDestination"
15
- end
16
- add_message "google.api.ClientLibrarySettings" do
17
- optional :version, :string, 1
18
- optional :launch_stage, :enum, 2, "google.api.LaunchStage"
19
- optional :rest_numeric_enums, :bool, 3
20
- optional :java_settings, :message, 21, "google.api.JavaSettings"
21
- optional :cpp_settings, :message, 22, "google.api.CppSettings"
22
- optional :php_settings, :message, 23, "google.api.PhpSettings"
23
- optional :python_settings, :message, 24, "google.api.PythonSettings"
24
- optional :node_settings, :message, 25, "google.api.NodeSettings"
25
- optional :dotnet_settings, :message, 26, "google.api.DotnetSettings"
26
- optional :ruby_settings, :message, 27, "google.api.RubySettings"
27
- optional :go_settings, :message, 28, "google.api.GoSettings"
28
- end
29
- add_message "google.api.Publishing" do
30
- repeated :method_settings, :message, 2, "google.api.MethodSettings"
31
- optional :new_issue_uri, :string, 101
32
- optional :documentation_uri, :string, 102
33
- optional :api_short_name, :string, 103
34
- optional :github_label, :string, 104
35
- repeated :codeowner_github_teams, :string, 105
36
- optional :doc_tag_prefix, :string, 106
37
- optional :organization, :enum, 107, "google.api.ClientLibraryOrganization"
38
- repeated :library_settings, :message, 109, "google.api.ClientLibrarySettings"
39
- end
40
- add_message "google.api.JavaSettings" do
41
- optional :library_package, :string, 1
42
- map :service_class_names, :string, :string, 2
43
- optional :common, :message, 3, "google.api.CommonLanguageSettings"
44
- end
45
- add_message "google.api.CppSettings" do
46
- optional :common, :message, 1, "google.api.CommonLanguageSettings"
47
- end
48
- add_message "google.api.PhpSettings" do
49
- optional :common, :message, 1, "google.api.CommonLanguageSettings"
50
- end
51
- add_message "google.api.PythonSettings" do
52
- optional :common, :message, 1, "google.api.CommonLanguageSettings"
53
- end
54
- add_message "google.api.NodeSettings" do
55
- optional :common, :message, 1, "google.api.CommonLanguageSettings"
56
- end
57
- add_message "google.api.DotnetSettings" do
58
- optional :common, :message, 1, "google.api.CommonLanguageSettings"
59
- end
60
- add_message "google.api.RubySettings" do
61
- optional :common, :message, 1, "google.api.CommonLanguageSettings"
62
- end
63
- add_message "google.api.GoSettings" do
64
- optional :common, :message, 1, "google.api.CommonLanguageSettings"
65
- end
66
- add_message "google.api.MethodSettings" do
67
- optional :selector, :string, 1
68
- optional :long_running, :message, 2, "google.api.MethodSettings.LongRunning"
69
- end
70
- add_message "google.api.MethodSettings.LongRunning" do
71
- optional :initial_poll_delay, :message, 1, "google.protobuf.Duration"
72
- optional :poll_delay_multiplier, :float, 2
73
- optional :max_poll_delay, :message, 3, "google.protobuf.Duration"
74
- optional :total_poll_timeout, :message, 4, "google.protobuf.Duration"
75
- end
76
- add_enum "google.api.ClientLibraryOrganization" do
77
- value :CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED, 0
78
- value :CLOUD, 1
79
- value :ADS, 2
80
- value :PHOTOS, 3
81
- value :STREET_VIEW, 4
82
- end
83
- add_enum "google.api.ClientLibraryDestination" do
84
- value :CLIENT_LIBRARY_DESTINATION_UNSPECIFIED, 0
85
- value :GITHUB, 10
86
- value :PACKAGE_MANAGER, 20
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\"\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\"\xf4\x01\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^\n\x14\x45xperimentalFeatures\x12\x1d\n\x15rest_async_io_enabled\x18\x01 \x01(\x08\x12\'\n\x1fprotobuf_pythonic_types_enabled\x18\x02 \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\"+\n\x18SelectiveGapicGeneration\x12\x0f\n\x07methods\x18\x01 \x03(\t*\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
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.Duration", "google/protobuf/duration.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}"
87
33
  end
88
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."
89
37
  end
90
38
 
91
39
  module Google
@@ -97,13 +45,490 @@ module Google
97
45
  CppSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.CppSettings").msgclass
98
46
  PhpSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.PhpSettings").msgclass
99
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
100
49
  NodeSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.NodeSettings").msgclass
101
50
  DotnetSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.DotnetSettings").msgclass
102
51
  RubySettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.RubySettings").msgclass
103
52
  GoSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.GoSettings").msgclass
104
53
  MethodSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MethodSettings").msgclass
105
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
106
56
  ClientLibraryOrganization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ClientLibraryOrganization").enummodule
107
57
  ClientLibraryDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ClientLibraryDestination").enummodule
108
58
  end
109
59
  end
60
+
61
+ #### Source proto file: google/api/client.proto ####
62
+ #
63
+ # // Copyright 2024 Google LLC
64
+ # //
65
+ # // Licensed under the Apache License, Version 2.0 (the "License");
66
+ # // you may not use this file except in compliance with the License.
67
+ # // You may obtain a copy of the License at
68
+ # //
69
+ # // http://www.apache.org/licenses/LICENSE-2.0
70
+ # //
71
+ # // Unless required by applicable law or agreed to in writing, software
72
+ # // distributed under the License is distributed on an "AS IS" BASIS,
73
+ # // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
74
+ # // See the License for the specific language governing permissions and
75
+ # // limitations under the License.
76
+ #
77
+ # syntax = "proto3";
78
+ #
79
+ # package google.api;
80
+ #
81
+ # import "google/api/launch_stage.proto";
82
+ # import "google/protobuf/descriptor.proto";
83
+ # import "google/protobuf/duration.proto";
84
+ #
85
+ # option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations";
86
+ # option java_multiple_files = true;
87
+ # option java_outer_classname = "ClientProto";
88
+ # option java_package = "com.google.api";
89
+ # option objc_class_prefix = "GAPI";
90
+ #
91
+ # extend google.protobuf.MethodOptions {
92
+ # // A definition of a client library method signature.
93
+ # //
94
+ # // In client libraries, each proto RPC corresponds to one or more methods
95
+ # // which the end user is able to call, and calls the underlying RPC.
96
+ # // Normally, this method receives a single argument (a struct or instance
97
+ # // corresponding to the RPC request object). Defining this field will
98
+ # // add one or more overloads providing flattened or simpler method signatures
99
+ # // in some languages.
100
+ # //
101
+ # // The fields on the method signature are provided as a comma-separated
102
+ # // string.
103
+ # //
104
+ # // For example, the proto RPC and annotation:
105
+ # //
106
+ # // rpc CreateSubscription(CreateSubscriptionRequest)
107
+ # // returns (Subscription) {
108
+ # // option (google.api.method_signature) = "name,topic";
109
+ # // }
110
+ # //
111
+ # // Would add the following Java overload (in addition to the method accepting
112
+ # // the request object):
113
+ # //
114
+ # // public final Subscription createSubscription(String name, String topic)
115
+ # //
116
+ # // The following backwards-compatibility guidelines apply:
117
+ # //
118
+ # // * Adding this annotation to an unannotated method is backwards
119
+ # // compatible.
120
+ # // * Adding this annotation to a method which already has existing
121
+ # // method signature annotations is backwards compatible if and only if
122
+ # // the new method signature annotation is last in the sequence.
123
+ # // * Modifying or removing an existing method signature annotation is
124
+ # // a breaking change.
125
+ # // * Re-ordering existing method signature annotations is a breaking
126
+ # // change.
127
+ # repeated string method_signature = 1051;
128
+ # }
129
+ #
130
+ # extend google.protobuf.ServiceOptions {
131
+ # // The hostname for this service.
132
+ # // This should be specified with no prefix or protocol.
133
+ # //
134
+ # // Example:
135
+ # //
136
+ # // service Foo {
137
+ # // option (google.api.default_host) = "foo.googleapi.com";
138
+ # // ...
139
+ # // }
140
+ # string default_host = 1049;
141
+ #
142
+ # // OAuth scopes needed for the client.
143
+ # //
144
+ # // Example:
145
+ # //
146
+ # // service Foo {
147
+ # // option (google.api.oauth_scopes) = \
148
+ # // "https://www.googleapis.com/auth/cloud-platform";
149
+ # // ...
150
+ # // }
151
+ # //
152
+ # // If there is more than one scope, use a comma-separated string:
153
+ # //
154
+ # // Example:
155
+ # //
156
+ # // service Foo {
157
+ # // option (google.api.oauth_scopes) = \
158
+ # // "https://www.googleapis.com/auth/cloud-platform,"
159
+ # // "https://www.googleapis.com/auth/monitoring";
160
+ # // ...
161
+ # // }
162
+ # string oauth_scopes = 1050;
163
+ #
164
+ # // The API version of this service, which should be sent by version-aware
165
+ # // clients to the service. This allows services to abide by the schema and
166
+ # // behavior of the service at the time this API version was deployed.
167
+ # // The format of the API version must be treated as opaque by clients.
168
+ # // Services may use a format with an apparent structure, but clients must
169
+ # // not rely on this to determine components within an API version, or attempt
170
+ # // to construct other valid API versions. Note that this is for upcoming
171
+ # // functionality and may not be implemented for all services.
172
+ # //
173
+ # // Example:
174
+ # //
175
+ # // service Foo {
176
+ # // option (google.api.api_version) = "v1_20230821_preview";
177
+ # // }
178
+ # string api_version = 525000001;
179
+ # }
180
+ #
181
+ # // Required information for every language.
182
+ # message CommonLanguageSettings {
183
+ # // Link to automatically generated reference documentation. Example:
184
+ # // https://cloud.google.com/nodejs/docs/reference/asset/latest
185
+ # string reference_docs_uri = 1 [deprecated = true];
186
+ #
187
+ # // The destination where API teams want this client library to be published.
188
+ # repeated ClientLibraryDestination destinations = 2;
189
+ #
190
+ # // Configuration for which RPCs should be generated in the GAPIC client.
191
+ # SelectiveGapicGeneration selective_gapic_generation = 3;
192
+ # }
193
+ #
194
+ # // Details about how and where to publish client libraries.
195
+ # message ClientLibrarySettings {
196
+ # // Version of the API to apply these settings to. This is the full protobuf
197
+ # // package for the API, ending in the version element.
198
+ # // Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
199
+ # string version = 1;
200
+ #
201
+ # // Launch stage of this version of the API.
202
+ # LaunchStage launch_stage = 2;
203
+ #
204
+ # // When using transport=rest, the client request will encode enums as
205
+ # // numbers rather than strings.
206
+ # bool rest_numeric_enums = 3;
207
+ #
208
+ # // Settings for legacy Java features, supported in the Service YAML.
209
+ # JavaSettings java_settings = 21;
210
+ #
211
+ # // Settings for C++ client libraries.
212
+ # CppSettings cpp_settings = 22;
213
+ #
214
+ # // Settings for PHP client libraries.
215
+ # PhpSettings php_settings = 23;
216
+ #
217
+ # // Settings for Python client libraries.
218
+ # PythonSettings python_settings = 24;
219
+ #
220
+ # // Settings for Node client libraries.
221
+ # NodeSettings node_settings = 25;
222
+ #
223
+ # // Settings for .NET client libraries.
224
+ # DotnetSettings dotnet_settings = 26;
225
+ #
226
+ # // Settings for Ruby client libraries.
227
+ # RubySettings ruby_settings = 27;
228
+ #
229
+ # // Settings for Go client libraries.
230
+ # GoSettings go_settings = 28;
231
+ # }
232
+ #
233
+ # // This message configures the settings for publishing [Google Cloud Client
234
+ # // libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
235
+ # // generated from the service config.
236
+ # message Publishing {
237
+ # // A list of API method settings, e.g. the behavior for methods that use the
238
+ # // long-running operation pattern.
239
+ # repeated MethodSettings method_settings = 2;
240
+ #
241
+ # // Link to a *public* URI where users can report issues. Example:
242
+ # // https://issuetracker.google.com/issues/new?component=190865&template=1161103
243
+ # string new_issue_uri = 101;
244
+ #
245
+ # // Link to product home page. Example:
246
+ # // https://cloud.google.com/asset-inventory/docs/overview
247
+ # string documentation_uri = 102;
248
+ #
249
+ # // Used as a tracking tag when collecting data about the APIs developer
250
+ # // relations artifacts like docs, packages delivered to package managers,
251
+ # // etc. Example: "speech".
252
+ # string api_short_name = 103;
253
+ #
254
+ # // GitHub label to apply to issues and pull requests opened for this API.
255
+ # string github_label = 104;
256
+ #
257
+ # // GitHub teams to be added to CODEOWNERS in the directory in GitHub
258
+ # // containing source code for the client libraries for this API.
259
+ # repeated string codeowner_github_teams = 105;
260
+ #
261
+ # // A prefix used in sample code when demarking regions to be included in
262
+ # // documentation.
263
+ # string doc_tag_prefix = 106;
264
+ #
265
+ # // For whom the client library is being published.
266
+ # ClientLibraryOrganization organization = 107;
267
+ #
268
+ # // Client library settings. If the same version string appears multiple
269
+ # // times in this list, then the last one wins. Settings from earlier
270
+ # // settings with the same version string are discarded.
271
+ # repeated ClientLibrarySettings library_settings = 109;
272
+ #
273
+ # // Optional link to proto reference documentation. Example:
274
+ # // https://cloud.google.com/pubsub/lite/docs/reference/rpc
275
+ # string proto_reference_documentation_uri = 110;
276
+ #
277
+ # // Optional link to REST reference documentation. Example:
278
+ # // https://cloud.google.com/pubsub/lite/docs/reference/rest
279
+ # string rest_reference_documentation_uri = 111;
280
+ # }
281
+ #
282
+ # // Settings for Java client libraries.
283
+ # message JavaSettings {
284
+ # // The package name to use in Java. Clobbers the java_package option
285
+ # // set in the protobuf. This should be used **only** by APIs
286
+ # // who have already set the language_settings.java.package_name" field
287
+ # // in gapic.yaml. API teams should use the protobuf java_package option
288
+ # // where possible.
289
+ # //
290
+ # // Example of a YAML configuration::
291
+ # //
292
+ # // publishing:
293
+ # // java_settings:
294
+ # // library_package: com.google.cloud.pubsub.v1
295
+ # string library_package = 1;
296
+ #
297
+ # // Configure the Java class name to use instead of the service's for its
298
+ # // corresponding generated GAPIC client. Keys are fully-qualified
299
+ # // service names as they appear in the protobuf (including the full
300
+ # // the language_settings.java.interface_names" field in gapic.yaml. API
301
+ # // teams should otherwise use the service name as it appears in the
302
+ # // protobuf.
303
+ # //
304
+ # // Example of a YAML configuration::
305
+ # //
306
+ # // publishing:
307
+ # // java_settings:
308
+ # // service_class_names:
309
+ # // - google.pubsub.v1.Publisher: TopicAdmin
310
+ # // - google.pubsub.v1.Subscriber: SubscriptionAdmin
311
+ # map<string, string> service_class_names = 2;
312
+ #
313
+ # // Some settings.
314
+ # CommonLanguageSettings common = 3;
315
+ # }
316
+ #
317
+ # // Settings for C++ client libraries.
318
+ # message CppSettings {
319
+ # // Some settings.
320
+ # CommonLanguageSettings common = 1;
321
+ # }
322
+ #
323
+ # // Settings for Php client libraries.
324
+ # message PhpSettings {
325
+ # // Some settings.
326
+ # CommonLanguageSettings common = 1;
327
+ # }
328
+ #
329
+ # // Settings for Python client libraries.
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
+ #
348
+ # // Some settings.
349
+ # CommonLanguageSettings common = 1;
350
+ #
351
+ # // Experimental features to be included during client library generation.
352
+ # ExperimentalFeatures experimental_features = 2;
353
+ # }
354
+ #
355
+ # // Settings for Node client libraries.
356
+ # message NodeSettings {
357
+ # // Some settings.
358
+ # CommonLanguageSettings common = 1;
359
+ # }
360
+ #
361
+ # // Settings for Dotnet client libraries.
362
+ # message DotnetSettings {
363
+ # // Some settings.
364
+ # CommonLanguageSettings common = 1;
365
+ #
366
+ # // Map from original service names to renamed versions.
367
+ # // This is used when the default generated types
368
+ # // would cause a naming conflict. (Neither name is
369
+ # // fully-qualified.)
370
+ # // Example: Subscriber to SubscriberServiceApi.
371
+ # map<string, string> renamed_services = 2;
372
+ #
373
+ # // Map from full resource types to the effective short name
374
+ # // for the resource. This is used when otherwise resource
375
+ # // named from different services would cause naming collisions.
376
+ # // Example entry:
377
+ # // "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
378
+ # map<string, string> renamed_resources = 3;
379
+ #
380
+ # // List of full resource types to ignore during generation.
381
+ # // This is typically used for API-specific Location resources,
382
+ # // which should be handled by the generator as if they were actually
383
+ # // the common Location resources.
384
+ # // Example entry: "documentai.googleapis.com/Location"
385
+ # repeated string ignored_resources = 4;
386
+ #
387
+ # // Namespaces which must be aliased in snippets due to
388
+ # // a known (but non-generator-predictable) naming collision
389
+ # repeated string forced_namespace_aliases = 5;
390
+ #
391
+ # // Method signatures (in the form "service.method(signature)")
392
+ # // which are provided separately, so shouldn't be generated.
393
+ # // Snippets *calling* these methods are still generated, however.
394
+ # repeated string handwritten_signatures = 6;
395
+ # }
396
+ #
397
+ # // Settings for Ruby client libraries.
398
+ # message RubySettings {
399
+ # // Some settings.
400
+ # CommonLanguageSettings common = 1;
401
+ # }
402
+ #
403
+ # // Settings for Go client libraries.
404
+ # message GoSettings {
405
+ # // Some settings.
406
+ # CommonLanguageSettings common = 1;
407
+ #
408
+ # // Map of service names to renamed services. Keys are the package relative
409
+ # // service names and values are the name to be used for the service client
410
+ # // and call options.
411
+ # //
412
+ # // publishing:
413
+ # // go_settings:
414
+ # // renamed_services:
415
+ # // Publisher: TopicAdmin
416
+ # map<string, string> renamed_services = 2;
417
+ # }
418
+ #
419
+ # // Describes the generator configuration for a method.
420
+ # message MethodSettings {
421
+ # // Describes settings to use when generating API methods that use the
422
+ # // long-running operation pattern.
423
+ # // All default values below are from those used in the client library
424
+ # // generators (e.g.
425
+ # // [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).
426
+ # message LongRunning {
427
+ # // Initial delay after which the first poll request will be made.
428
+ # // Default value: 5 seconds.
429
+ # google.protobuf.Duration initial_poll_delay = 1;
430
+ #
431
+ # // Multiplier to gradually increase delay between subsequent polls until it
432
+ # // reaches max_poll_delay.
433
+ # // Default value: 1.5.
434
+ # float poll_delay_multiplier = 2;
435
+ #
436
+ # // Maximum time between two subsequent poll requests.
437
+ # // Default value: 45 seconds.
438
+ # google.protobuf.Duration max_poll_delay = 3;
439
+ #
440
+ # // Total polling timeout.
441
+ # // Default value: 5 minutes.
442
+ # google.protobuf.Duration total_poll_timeout = 4;
443
+ # }
444
+ #
445
+ # // The fully qualified name of the method, for which the options below apply.
446
+ # // This is used to find the method to apply the options.
447
+ # //
448
+ # // Example:
449
+ # //
450
+ # // publishing:
451
+ # // method_settings:
452
+ # // - selector: google.storage.control.v2.StorageControl.CreateFolder
453
+ # // # method settings for CreateFolder...
454
+ # string selector = 1;
455
+ #
456
+ # // Describes settings to use for long-running operations when generating
457
+ # // API methods for RPCs. Complements RPCs that use the annotations in
458
+ # // google/longrunning/operations.proto.
459
+ # //
460
+ # // Example of a YAML configuration::
461
+ # //
462
+ # // publishing:
463
+ # // method_settings:
464
+ # // - selector: google.cloud.speech.v2.Speech.BatchRecognize
465
+ # // long_running:
466
+ # // initial_poll_delay: 60s # 1 minute
467
+ # // poll_delay_multiplier: 1.5
468
+ # // max_poll_delay: 360s # 6 minutes
469
+ # // total_poll_timeout: 54000s # 90 minutes
470
+ # LongRunning long_running = 2;
471
+ #
472
+ # // List of top-level fields of the request message, that should be
473
+ # // automatically populated by the client libraries based on their
474
+ # // (google.api.field_info).format. Currently supported format: UUID4.
475
+ # //
476
+ # // Example of a YAML configuration:
477
+ # //
478
+ # // publishing:
479
+ # // method_settings:
480
+ # // - selector: google.example.v1.ExampleService.CreateExample
481
+ # // auto_populated_fields:
482
+ # // - request_id
483
+ # repeated string auto_populated_fields = 3;
484
+ # }
485
+ #
486
+ # // The organization for which the client libraries are being published.
487
+ # // Affects the url where generated docs are published, etc.
488
+ # enum ClientLibraryOrganization {
489
+ # // Not useful.
490
+ # CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0;
491
+ #
492
+ # // Google Cloud Platform Org.
493
+ # CLOUD = 1;
494
+ #
495
+ # // Ads (Advertising) Org.
496
+ # ADS = 2;
497
+ #
498
+ # // Photos Org.
499
+ # PHOTOS = 3;
500
+ #
501
+ # // Street View Org.
502
+ # STREET_VIEW = 4;
503
+ #
504
+ # // Shopping Org.
505
+ # SHOPPING = 5;
506
+ #
507
+ # // Geo Org.
508
+ # GEO = 6;
509
+ #
510
+ # // Generative AI - https://developers.generativeai.google
511
+ # GENERATIVE_AI = 7;
512
+ # }
513
+ #
514
+ # // To where should client libraries be published?
515
+ # enum ClientLibraryDestination {
516
+ # // Client libraries will neither be generated nor published to package
517
+ # // managers.
518
+ # CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0;
519
+ #
520
+ # // Generate the client library in a repo under github.com/googleapis,
521
+ # // but don't publish it to package managers.
522
+ # GITHUB = 10;
523
+ #
524
+ # // Publish the library to package managers like nuget.org and npmjs.com.
525
+ # PACKAGE_MANAGER = 20;
526
+ # }
527
+ #
528
+ # // This message is used to configure the generation of a subset of the RPCs in
529
+ # // a service for client libraries.
530
+ # message SelectiveGapicGeneration {
531
+ # // An allowlist of the fully qualified names of RPCs that should be included
532
+ # // on public client surfaces.
533
+ # repeated string methods = 1;
534
+ # }