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