googleapis-common-protos-types 1.15.0 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/lib/google/api/client_pb.rb +30 -11
- data/lib/google/api/context_pb.rb +4 -2
- data/lib/google/api/endpoint_pb.rb +5 -9
- data/lib/google/api/field_info_pb.rb +35 -7
- data/lib/google/api/http_pb.rb +20 -28
- data/lib/google/api/resource_pb.rb +7 -2
- data/lib/googleapis/common/protos/types/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d103bbe3cfc2b6715068498ece3042d93474e595d3c20067bb8fe757972e9f01
|
4
|
+
data.tar.gz: e283d2dad50800c40904ea18f2912eee42c65ffe3143b025ad095607e09855bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe64024b441c4896c6369e9a9abf8a8448e77242b35eb71f047b86d1b079e423625ce1a5fdc24cded565830a0fc306c65fadbe0ee1986fa4e3e06987b76493f0
|
7
|
+
data.tar.gz: d025d71f50e9cbc4de6e14d890a84728c4076181df1ab4e253f19c25d2bb6cb8c1f5e57858e50c59c4f2188922b149510ac9aeb480001009fa9ccd1302a99537
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,20 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
+
### 1.17.0 (2025-01-09)
|
4
|
+
|
5
|
+
#### Features
|
6
|
+
|
7
|
+
* Added PythonSettings#experimental_features ([#336](https://github.com/googleapis/common-protos-ruby/issues/336))
|
8
|
+
|
9
|
+
### 1.16.0 (2024-09-11)
|
10
|
+
|
11
|
+
#### Features
|
12
|
+
|
13
|
+
* Added referenced types to Google::Api::FieldInfo
|
14
|
+
#### Documentation
|
15
|
+
|
16
|
+
* Various improvements to reference documentation
|
17
|
+
|
3
18
|
### 1.15.0 (2024-06-11)
|
4
19
|
|
5
20
|
#### Features
|
data/lib/google/api/client_pb.rb
CHANGED
@@ -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\"
|
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
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
|
@@ -45,6 +45,7 @@ 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
|
@@ -323,8 +324,22 @@ end
|
|
323
324
|
#
|
324
325
|
# // Settings for Python client libraries.
|
325
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
|
+
#
|
326
338
|
# // Some settings.
|
327
339
|
# CommonLanguageSettings common = 1;
|
340
|
+
#
|
341
|
+
# // Experimental features to be included during client library generation.
|
342
|
+
# ExperimentalFeatures experimental_features = 2;
|
328
343
|
# }
|
329
344
|
#
|
330
345
|
# // Settings for Node client libraries.
|
@@ -409,6 +424,13 @@ end
|
|
409
424
|
#
|
410
425
|
# // The fully qualified name of the method, for which the options below apply.
|
411
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...
|
412
434
|
# string selector = 1;
|
413
435
|
#
|
414
436
|
# // Describes settings to use for long-running operations when generating
|
@@ -417,17 +439,14 @@ end
|
|
417
439
|
# //
|
418
440
|
# // Example of a YAML configuration::
|
419
441
|
# //
|
420
|
-
# //
|
421
|
-
# //
|
442
|
+
# // publishing:
|
443
|
+
# // method_settings:
|
422
444
|
# // - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
423
445
|
# // long_running:
|
424
|
-
# // initial_poll_delay:
|
425
|
-
# // seconds: 60 # 1 minute
|
446
|
+
# // initial_poll_delay: 60s # 1 minute
|
426
447
|
# // poll_delay_multiplier: 1.5
|
427
|
-
# // max_poll_delay:
|
428
|
-
# //
|
429
|
-
# // total_poll_timeout:
|
430
|
-
# // seconds: 54000 # 90 minutes
|
448
|
+
# // max_poll_delay: 360s # 6 minutes
|
449
|
+
# // total_poll_timeout: 54000s # 90 minutes
|
431
450
|
# LongRunning long_running = 2;
|
432
451
|
#
|
433
452
|
# // List of top-level fields of the request message, that should be
|
@@ -436,8 +455,8 @@ end
|
|
436
455
|
# //
|
437
456
|
# // Example of a YAML configuration:
|
438
457
|
# //
|
439
|
-
# //
|
440
|
-
# //
|
458
|
+
# // publishing:
|
459
|
+
# // method_settings:
|
441
460
|
# // - selector: google.example.v1.ExampleService.CreateExample
|
442
461
|
# // auto_populated_fields:
|
443
462
|
# // - request_id
|
@@ -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
|
@@ -5,7 +5,7 @@
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
7
|
|
8
|
-
descriptor_data = "\n\x19google/api/endpoint.proto\x12\ngoogle.api\"
|
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
|
|
@@ -88,14 +88,10 @@ end
|
|
88
88
|
# // The canonical name of this endpoint.
|
89
89
|
# string name = 1;
|
90
90
|
#
|
91
|
-
# //
|
92
|
-
# //
|
93
|
-
# //
|
94
|
-
#
|
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
|
@@ -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\"\
|
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,6 +37,7 @@ 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
|
|
@@ -73,12 +74,19 @@ end
|
|
73
74
|
# //
|
74
75
|
# // Examples:
|
75
76
|
# //
|
76
|
-
# //
|
77
|
-
# //
|
78
|
-
# //
|
79
|
-
# //
|
80
|
-
# //
|
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
|
# }
|
data/lib/google/api/http_pb.rb
CHANGED
@@ -84,7 +84,7 @@ end
|
|
84
84
|
# bool fully_decode_reserved_expansion = 2;
|
85
85
|
# }
|
86
86
|
#
|
87
|
-
# //
|
87
|
+
# // gRPC Transcoding
|
88
88
|
# //
|
89
89
|
# // gRPC Transcoding is a feature for mapping between a gRPC method and one or
|
90
90
|
# // more HTTP REST endpoints. It allows developers to build a single API service
|
@@ -125,9 +125,8 @@ end
|
|
125
125
|
# //
|
126
126
|
# // This enables an HTTP REST to gRPC mapping as below:
|
127
127
|
# //
|
128
|
-
# // HTTP
|
129
|
-
# //
|
130
|
-
# // `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")`
|
128
|
+
# // - HTTP: `GET /v1/messages/123456`
|
129
|
+
# // - gRPC: `GetMessage(name: "messages/123456")`
|
131
130
|
# //
|
132
131
|
# // Any fields in the request message which are not bound by the path template
|
133
132
|
# // automatically become HTTP query parameters if there is no HTTP request body.
|
@@ -151,11 +150,9 @@ end
|
|
151
150
|
# //
|
152
151
|
# // This enables a HTTP JSON to RPC mapping as below:
|
153
152
|
# //
|
154
|
-
# // HTTP
|
155
|
-
# //
|
156
|
-
# //
|
157
|
-
# // `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
|
158
|
-
# // "foo"))`
|
153
|
+
# // - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo`
|
154
|
+
# // - gRPC: `GetMessage(message_id: "123456" revision: 2 sub:
|
155
|
+
# // SubMessage(subfield: "foo"))`
|
159
156
|
# //
|
160
157
|
# // Note that fields which are mapped to URL query parameters must have a
|
161
158
|
# // primitive type or a repeated primitive type or a non-repeated message type.
|
@@ -185,10 +182,8 @@ end
|
|
185
182
|
# // representation of the JSON in the request body is determined by
|
186
183
|
# // protos JSON encoding:
|
187
184
|
# //
|
188
|
-
# // HTTP
|
189
|
-
# //
|
190
|
-
# // `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
|
191
|
-
# // "123456" message { text: "Hi!" })`
|
185
|
+
# // - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }`
|
186
|
+
# // - gRPC: `UpdateMessage(message_id: "123456" message { text: "Hi!" })`
|
192
187
|
# //
|
193
188
|
# // The special name `*` can be used in the body mapping to define that
|
194
189
|
# // every field not bound by the path template should be mapped to the
|
@@ -211,10 +206,8 @@ end
|
|
211
206
|
# //
|
212
207
|
# // The following HTTP JSON to RPC mapping is enabled:
|
213
208
|
# //
|
214
|
-
# // HTTP
|
215
|
-
# //
|
216
|
-
# // `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
|
217
|
-
# // "123456" text: "Hi!")`
|
209
|
+
# // - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }`
|
210
|
+
# // - gRPC: `UpdateMessage(message_id: "123456" text: "Hi!")`
|
218
211
|
# //
|
219
212
|
# // Note that when using `*` in the body mapping, it is not possible to
|
220
213
|
# // have HTTP parameters, as all fields not bound by the path end in
|
@@ -242,13 +235,13 @@ end
|
|
242
235
|
# //
|
243
236
|
# // This enables the following two alternative HTTP JSON to RPC mappings:
|
244
237
|
# //
|
245
|
-
# // HTTP
|
246
|
-
# //
|
247
|
-
# // `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
|
248
|
-
# // `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
|
249
|
-
# // "123456")`
|
238
|
+
# // - HTTP: `GET /v1/messages/123456`
|
239
|
+
# // - gRPC: `GetMessage(message_id: "123456")`
|
250
240
|
# //
|
251
|
-
# //
|
241
|
+
# // - HTTP: `GET /v1/users/me/messages/123456`
|
242
|
+
# // - gRPC: `GetMessage(user_id: "me" message_id: "123456")`
|
243
|
+
# //
|
244
|
+
# // Rules for HTTP mapping
|
252
245
|
# //
|
253
246
|
# // 1. Leaf request fields (recursive expansion nested messages in the request
|
254
247
|
# // message) are classified into three categories:
|
@@ -267,7 +260,7 @@ end
|
|
267
260
|
# // request body, all
|
268
261
|
# // fields are passed via URL path and URL query parameters.
|
269
262
|
# //
|
270
|
-
# //
|
263
|
+
# // Path template syntax
|
271
264
|
# //
|
272
265
|
# // Template = "/" Segments [ Verb ] ;
|
273
266
|
# // Segments = Segment { "/" Segment } ;
|
@@ -306,7 +299,7 @@ end
|
|
306
299
|
# // Document](https://developers.google.com/discovery/v1/reference/apis) as
|
307
300
|
# // `{+var}`.
|
308
301
|
# //
|
309
|
-
# //
|
302
|
+
# // Using gRPC API Service Configuration
|
310
303
|
# //
|
311
304
|
# // gRPC API Service Configuration (service config) is a configuration language
|
312
305
|
# // for configuring a gRPC service to become a user-facing product. The
|
@@ -321,15 +314,14 @@ end
|
|
321
314
|
# // specified in the service config will override any matching transcoding
|
322
315
|
# // configuration in the proto.
|
323
316
|
# //
|
324
|
-
# //
|
317
|
+
# // The following example selects a gRPC method and applies an `HttpRule` to it:
|
325
318
|
# //
|
326
319
|
# // http:
|
327
320
|
# // rules:
|
328
|
-
# // # Selects a gRPC method and applies HttpRule to it.
|
329
321
|
# // - selector: example.v1.Messaging.GetMessage
|
330
322
|
# // get: /v1/messages/{message_id}/{sub.subfield}
|
331
323
|
# //
|
332
|
-
# //
|
324
|
+
# // Special notes
|
333
325
|
# //
|
334
326
|
# // When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the
|
335
327
|
# // proto to JSON conversion must follow the [proto3
|
@@ -225,8 +225,13 @@ end
|
|
225
225
|
#
|
226
226
|
# // The plural name used in the resource name and permission names, such as
|
227
227
|
# // 'projects' for the resource name of 'projects/{project}' and the permission
|
228
|
-
# // name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
229
|
-
# //
|
228
|
+
# // name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
229
|
+
# // to this is for Nested Collections that have stuttering names, as defined
|
230
|
+
# // in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
231
|
+
# // collection ID in the resource name pattern does not necessarily directly
|
232
|
+
# // match the `plural` value.
|
233
|
+
# //
|
234
|
+
# // It is the same concept of the `plural` field in k8s CRD spec
|
230
235
|
# // https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
231
236
|
# //
|
232
237
|
# // Note: The plural form is required even for singleton resources. See
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: googleapis-common-protos-types
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
118
|
- !ruby/object:Gem::Version
|
119
119
|
version: '0'
|
120
120
|
requirements: []
|
121
|
-
rubygems_version: 3.5.
|
121
|
+
rubygems_version: 3.5.23
|
122
122
|
signing_key:
|
123
123
|
specification_version: 4
|
124
124
|
summary: Common protocol buffer types used in Google APIs
|