| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 8197d16 commit 81812fd
4 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4674,7 +4674,7 @@ libraries: | |||
| 4674 | 4674 | tag_format: '{id}-v{version}' | |
| 4675 | 4675 | - id: googleapis-common-protos | |
| 4676 | 4676 | version: 1.71.0 | |
| 4677 | - last_generated_commit: e8365a7f88fabe8717cb8322b8ce784b03b6daea | ||
| 4677 | + last_generated_commit: 91361b6b2df5f7f3bfc0858be061e31fd2b7be98 | ||
| 4678 | 4678 | apis: | |
| 4679 | 4679 | - path: google/api | |
| 4680 | 4680 | service_config: serviceconfig.yaml | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -25,8 +25,8 @@ option java_package = "com.google.gapic.metadata"; | |||
| 25 | 25 | option php_namespace = "Google\\Gapic\\Metadata"; | |
| 26 | 26 | option ruby_package = "Google::Gapic::Metadata"; | |
| 27 | 27 | ||
| 28 | - // Metadata about a GAPIC library for a specific combination of API, version, | ||
| 29 | - // and computer language. | ||
| 28 | + // Metadata about a GAPIC library service for a specific combination of API, | ||
| 29 | + // version, and computer language. | ||
| 30 | 30 | message GapicMetadata { | |
| 31 | 31 | // Schema version of this proto. Current value: 1.0 | |
| 32 | 32 | string schema = 1; | |
@@ -57,11 +57,18 @@ message GapicMetadata { | |||
| 57 | 57 | // A map from a transport name to ServiceAsClient, which allows | |
| 58 | 58 | // listing information about the client objects that implement the | |
| 59 | 59 | // parent RPC service for the specified transport. | |
| 60 | - // | ||
| 61 | - // The key name is the transport, lower-cased with no separators | ||
| 62 | - // (e.g. "grpc", "rest"). | ||
| 63 | 60 | message ServiceForTransport { | |
| 61 | + // Map of transport name to ServiceAsClient. The key name is the transport, | ||
| 62 | + // lower-cased with no separators (e.g. "grpc", "rest"). | ||
| 64 | 63 | map<string, ServiceAsClient> clients = 1; | |
| 64 | + | ||
| 65 | + // The API version for the interface definition found in the | ||
| 66 | + // `google.api.api_version` annotation of this proto-defined service during | ||
| 67 | + // code generation. | ||
| 68 | + // This is the value populated by the client in the API version request | ||
| 69 | + // parameter as per | ||
| 70 | + // [AIP-4236](https://google.aip.dev/client-libraries/4236). | ||
| 71 | + string api_version = 2; | ||
| 65 | 72 | } | |
| 66 | 73 | ||
| 67 | 74 | // Information about a specific client implementing a proto-defined service. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,7 +15,7 @@ | |||
| 15 | 15 | # limitations under the License. | |
| 16 | 16 | ||
| 17 | 17 | # Generated by the protocol buffer compiler. DO NOT EDIT! | |
| 18 | - # source: gapic/metadata/gapic_metadata.proto | ||
| 18 | + # source: google/gapic/metadata/gapic_metadata.proto | ||
| 19 | 19 | # Protobuf Python Version: 4.25.3 | |
| 20 | 20 | """Generated protocol buffer code.""" | |
| 21 | 21 | from google.protobuf import descriptor as _descriptor | |
@@ -29,13 +29,13 @@ | |||
| 29 | 29 | ||
| 30 | 30 | ||
| 31 | 31 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( | |
| 32 | - b'\n#gapic/metadata/gapic_metadata.proto\x12\x15google.gapic.metadata"\xf0\x05\n\rGapicMetadata\x12\x0e\n\x06schema\x18\x01 \x01(\t\x12\x0f\n\x07\x63omment\x18\x02 \x01(\t\x12\x10\n\x08language\x18\x03 \x01(\t\x12\x15\n\rproto_package\x18\x04 \x01(\t\x12\x17\n\x0flibrary_package\x18\x05 \x01(\t\x12\x44\n\x08services\x18\x06 \x03(\x0b\x32\x32.google.gapic.metadata.GapicMetadata.ServicesEntry\x1ai\n\rServicesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12G\n\x05value\x18\x02 \x01(\x0b\x32\x38.google.gapic.metadata.GapicMetadata.ServiceForTransport:\x02\x38\x01\x1a\xd3\x01\n\x13ServiceForTransport\x12V\n\x07\x63lients\x18\x01 \x03(\x0b\x32\x45.google.gapic.metadata.GapicMetadata.ServiceForTransport.ClientsEntry\x1a\x64\n\x0c\x43lientsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x43\n\x05value\x18\x02 \x01(\x0b\x32\x34.google.gapic.metadata.GapicMetadata.ServiceAsClient:\x02\x38\x01\x1a\xd5\x01\n\x0fServiceAsClient\x12\x16\n\x0elibrary_client\x18\x01 \x01(\t\x12L\n\x04rpcs\x18\x02 \x03(\x0b\x32>.google.gapic.metadata.GapicMetadata.ServiceAsClient.RpcsEntry\x1a\\\n\tRpcsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.google.gapic.metadata.GapicMetadata.MethodList:\x02\x38\x01\x1a\x1d\n\nMethodList\x12\x0f\n\x07methods\x18\x01 \x03(\tB\xba\x01\n\x19\x63om.google.gapic.metadataB\x12GapicMetadataProtoP\x01Z=google.golang.org/genproto/googleapis/gapic/metadata;metadata\xaa\x02\x15Google.Gapic.Metadata\xca\x02\x15Google\\Gapic\\Metadata\xea\x02\x17Google::Gapic::Metadatab\x06proto3' | ||
| 32 | + b'\n*google/gapic/metadata/gapic_metadata.proto\x12\x15google.gapic.metadata"\x85\x06\n\rGapicMetadata\x12\x0e\n\x06schema\x18\x01 \x01(\t\x12\x0f\n\x07\x63omment\x18\x02 \x01(\t\x12\x10\n\x08language\x18\x03 \x01(\t\x12\x15\n\rproto_package\x18\x04 \x01(\t\x12\x17\n\x0flibrary_package\x18\x05 \x01(\t\x12\x44\n\x08services\x18\x06 \x03(\x0b\x32\x32.google.gapic.metadata.GapicMetadata.ServicesEntry\x1ai\n\rServicesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12G\n\x05value\x18\x02 \x01(\x0b\x32\x38.google.gapic.metadata.GapicMetadata.ServiceForTransport:\x02\x38\x01\x1a\xe8\x01\n\x13ServiceForTransport\x12V\n\x07\x63lients\x18\x01 \x03(\x0b\x32\x45.google.gapic.metadata.GapicMetadata.ServiceForTransport.ClientsEntry\x12\x13\n\x0b\x61pi_version\x18\x02 \x01(\t\x1a\x64\n\x0c\x43lientsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x43\n\x05value\x18\x02 \x01(\x0b\x32\x34.google.gapic.metadata.GapicMetadata.ServiceAsClient:\x02\x38\x01\x1a\xd5\x01\n\x0fServiceAsClient\x12\x16\n\x0elibrary_client\x18\x01 \x01(\t\x12L\n\x04rpcs\x18\x02 \x03(\x0b\x32>.google.gapic.metadata.GapicMetadata.ServiceAsClient.RpcsEntry\x1a\\\n\tRpcsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.google.gapic.metadata.GapicMetadata.MethodList:\x02\x38\x01\x1a\x1d\n\nMethodList\x12\x0f\n\x07methods\x18\x01 \x03(\tB\xba\x01\n\x19\x63om.google.gapic.metadataB\x12GapicMetadataProtoP\x01Z=google.golang.org/genproto/googleapis/gapic/metadata;metadata\xaa\x02\x15Google.Gapic.Metadata\xca\x02\x15Google\\Gapic\\Metadata\xea\x02\x17Google::Gapic::Metadatab\x06proto3' | ||
| 33 | 33 | ) | |
| 34 | 34 | ||
| 35 | 35 | _globals = globals() | |
| 36 | 36 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) | |
| 37 | 37 | _builder.BuildTopDescriptorsAndMessages( | |
| 38 | - DESCRIPTOR, "gapic.metadata.gapic_metadata_pb2", _globals | ||
| 38 | + DESCRIPTOR, "google.gapic.metadata.gapic_metadata_pb2", _globals | ||
| 39 | 39 | ) | |
| 40 | 40 | if _descriptor._USE_C_DESCRIPTORS == False: | |
| 41 | 41 | _globals["DESCRIPTOR"]._options = None | |
@@ -50,18 +50,18 @@ | |||
| 50 | 50 | ]._serialized_options = b"8\001" | |
| 51 | 51 | _globals["_GAPICMETADATA_SERVICEASCLIENT_RPCSENTRY"]._options = None | |
| 52 | 52 | _globals["_GAPICMETADATA_SERVICEASCLIENT_RPCSENTRY"]._serialized_options = b"8\001" | |
| 53 | - _globals["_GAPICMETADATA"]._serialized_start = 63 | ||
| 54 | - _globals["_GAPICMETADATA"]._serialized_end = 815 | ||
| 55 | - _globals["_GAPICMETADATA_SERVICESENTRY"]._serialized_start = 249 | ||
| 56 | - _globals["_GAPICMETADATA_SERVICESENTRY"]._serialized_end = 354 | ||
| 57 | - _globals["_GAPICMETADATA_SERVICEFORTRANSPORT"]._serialized_start = 357 | ||
| 58 | - _globals["_GAPICMETADATA_SERVICEFORTRANSPORT"]._serialized_end = 568 | ||
| 59 | - _globals["_GAPICMETADATA_SERVICEFORTRANSPORT_CLIENTSENTRY"]._serialized_start = 468 | ||
| 60 | - _globals["_GAPICMETADATA_SERVICEFORTRANSPORT_CLIENTSENTRY"]._serialized_end = 568 | ||
| 61 | - _globals["_GAPICMETADATA_SERVICEASCLIENT"]._serialized_start = 571 | ||
| 62 | - _globals["_GAPICMETADATA_SERVICEASCLIENT"]._serialized_end = 784 | ||
| 63 | - _globals["_GAPICMETADATA_SERVICEASCLIENT_RPCSENTRY"]._serialized_start = 692 | ||
| 64 | - _globals["_GAPICMETADATA_SERVICEASCLIENT_RPCSENTRY"]._serialized_end = 784 | ||
| 65 | - _globals["_GAPICMETADATA_METHODLIST"]._serialized_start = 786 | ||
| 66 | - _globals["_GAPICMETADATA_METHODLIST"]._serialized_end = 815 | ||
| 53 | + _globals["_GAPICMETADATA"]._serialized_start = 70 | ||
| 54 | + _globals["_GAPICMETADATA"]._serialized_end = 843 | ||
| 55 | + _globals["_GAPICMETADATA_SERVICESENTRY"]._serialized_start = 256 | ||
| 56 | + _globals["_GAPICMETADATA_SERVICESENTRY"]._serialized_end = 361 | ||
| 57 | + _globals["_GAPICMETADATA_SERVICEFORTRANSPORT"]._serialized_start = 364 | ||
| 58 | + _globals["_GAPICMETADATA_SERVICEFORTRANSPORT"]._serialized_end = 596 | ||
| 59 | + _globals["_GAPICMETADATA_SERVICEFORTRANSPORT_CLIENTSENTRY"]._serialized_start = 496 | ||
| 60 | + _globals["_GAPICMETADATA_SERVICEFORTRANSPORT_CLIENTSENTRY"]._serialized_end = 596 | ||
| 61 | + _globals["_GAPICMETADATA_SERVICEASCLIENT"]._serialized_start = 599 | ||
| 62 | + _globals["_GAPICMETADATA_SERVICEASCLIENT"]._serialized_end = 812 | ||
| 63 | + _globals["_GAPICMETADATA_SERVICEASCLIENT_RPCSENTRY"]._serialized_start = 720 | ||
| 64 | + _globals["_GAPICMETADATA_SERVICEASCLIENT_RPCSENTRY"]._serialized_end = 812 | ||
| 65 | + _globals["_GAPICMETADATA_METHODLIST"]._serialized_start = 814 | ||
| 66 | + _globals["_GAPICMETADATA_METHODLIST"]._serialized_end = 843 | ||
| 67 | 67 | # @@protoc_insertion_point(module_scope) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -47,7 +47,7 @@ class GapicMetadata(_message.Message): | |||
| 47 | 47 | ) -> None: ... | |
| 48 | 48 | ||
| 49 | 49 | class ServiceForTransport(_message.Message): | |
| 50 | - __slots__ = ("clients",) | ||
| 50 | + __slots__ = ("clients", "api_version") | ||
| 51 | 51 | ||
| 52 | 52 | class ClientsEntry(_message.Message): | |
| 53 | 53 | __slots__ = ("key", "value") | |
@@ -61,9 +61,13 @@ class GapicMetadata(_message.Message): | |||
| 61 | 61 | value: _Optional[_Union[GapicMetadata.ServiceAsClient, _Mapping]] = ..., | |
| 62 | 62 | ) -> None: ... | |
| 63 | 63 | CLIENTS_FIELD_NUMBER: _ClassVar[int] | |
| 64 | + API_VERSION_FIELD_NUMBER: _ClassVar[int] | ||
| 64 | 65 | clients: _containers.MessageMap[str, GapicMetadata.ServiceAsClient] | |
| 66 | + api_version: str | ||
| 65 | 67 | def __init__( | |
| 66 | - self, clients: _Optional[_Mapping[str, GapicMetadata.ServiceAsClient]] = ... | ||
| 68 | + self, | ||
| 69 | + clients: _Optional[_Mapping[str, GapicMetadata.ServiceAsClient]] = ..., | ||
| 70 | + api_version: _Optional[str] = ..., | ||
| 67 | 71 | ) -> None: ... | |
| 68 | 72 | ||
| 69 | 73 | class ServiceAsClient(_message.Message): | |
| Back | FazBrowse Home | New Git URL |
0 commit comments