|
@@ -98,6 +98,22 @@ extend google.protobuf.ServiceOptions {
|
|
|
// ...
|
|
|
// }
|
|
|
string oauth_scopes = 1050;
|
|
|
+
|
|
|
+ // The API version of this service, which should be sent by version-aware
|
|
|
+ // clients to the service. This allows services to abide by the schema and
|
|
|
+ // behavior of the service at the time this API version was deployed.
|
|
|
+ // The format of the API version must be treated as opaque by clients.
|
|
|
+ // Services may use a format with an apparent structure, but clients must
|
|
|
+ // not rely on this to determine components within an API version, or attempt
|
|
|
+ // to construct other valid API versions. Note that this is for upcoming
|
|
|
+ // functionality and may not be implemented for all services.
|
|
|
+ //
|
|
|
+ // Example:
|
|
|
+ //
|
|
|
+ // service Foo {
|
|
|
+ // option (google.api.api_version) = "v1_20230821_preview";
|
|
|
+ // }
|
|
|
+ string api_version = 525000001;
|
|
|
}
|
|
|
|
|
|
// Required information for every language.
|
|
@@ -192,6 +208,10 @@ message Publishing {
|
|
|
// Optional link to proto reference documentation. Example:
|
|
|
// https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
|
|
string proto_reference_documentation_uri = 110;
|
|
|
+
|
|
|
+ // Optional link to REST reference documentation. Example:
|
|
|
+ // https://cloud.google.com/pubsub/lite/docs/reference/rest
|
|
|
+ string rest_reference_documentation_uri = 111;
|
|
|
}
|
|
|
|
|
|
// Settings for Java client libraries.
|