diff --git a/artifact-registry/Cargo.toml b/artifact-registry/Cargo.toml index e55694c9..0067eb79 100644 --- a/artifact-registry/Cargo.toml +++ b/artifact-registry/Cargo.toml @@ -13,14 +13,14 @@ documentation = "https://docs.rs/google-cloud-artifact-registry/latest/google_cl [dependencies] google-cloud-token = { version = "0.1.2", path = "../foundation/token" } google-cloud-auth = { optional = true, version = "0.13", path="../foundation/auth", default-features=false } -google-cloud-googleapis = { version="0.11.1", path = "../googleapis", features=["artifact-registry"]} +google-cloud-googleapis = { version="0.12.0", path = "../googleapis", features=["artifact-registry"]} google-cloud-gax = { version = "0.16.0", path = "../foundation/gax"} google-cloud-longrunning = { version = "0.16.0", path = "../foundation/longrunning" } tracing = "0.1" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" thiserror = "1.0" -prost-types = "0.11" +prost-types = "0.12" [dev-dependencies] tokio = { version="1.32", features=["rt-multi-thread"] } diff --git a/bigquery/Cargo.toml b/bigquery/Cargo.toml index 0377dd06..d3353814 100644 --- a/bigquery/Cargo.toml +++ b/bigquery/Cargo.toml @@ -13,7 +13,7 @@ documentation = "https://docs.rs/google-cloud-bigquery/latest/google_cloud_bigqu [dependencies] async-trait = "0.1" google-cloud-token = { version = "0.1.1", path = "../foundation/token" } -google-cloud-googleapis = { version="0.11.0", path = "../googleapis", features=["bigquery"]} +google-cloud-googleapis = { version="0.12.0", path = "../googleapis", features=["bigquery"]} google-cloud-gax = { version = "0.16.0", path = "../foundation/gax"} thiserror = "1.0" tracing = "0.1" diff --git a/foundation/gax/Cargo.toml b/foundation/gax/Cargo.toml index 68d49bbb..fd921ad1 100644 --- a/foundation/gax/Cargo.toml +++ b/foundation/gax/Cargo.toml @@ -12,7 +12,7 @@ description = "Google Cloud Platform gRPC retry library." [dependencies] tracing = "0.1" tokio = { version = "1.32", features = ["macros"] } -tonic = { version = "0.9", features = ["prost", "tls-webpki-roots"] } +tonic = { version = "0.10", features = ["prost", "tls-webpki-roots"] } thiserror = "1.0" tower = { version = "0.4", features = ["filter"] } http = "0.2" diff --git a/foundation/longrunning/Cargo.toml b/foundation/longrunning/Cargo.toml index 7fac6ec7..aa60bf0d 100644 --- a/foundation/longrunning/Cargo.toml +++ b/foundation/longrunning/Cargo.toml @@ -10,7 +10,7 @@ readme = "README.md" description = "Google Cloud Platform longrunning library." [dependencies] -google-cloud-googleapis = { version = "0.11.0", path = "../../googleapis" } +google-cloud-googleapis = { version = "0.12.0", path = "../../googleapis" } google-cloud-gax = { version = "0.16.0", path = "../gax" } -tonic = { version = "0.9", features = ["tls", "prost"] } -prost = "0.11" +tonic = { version = "0.10", features = ["tls", "prost"] } +prost = "0.12" diff --git a/googleapis/Cargo.toml b/googleapis/Cargo.toml index 5faf7315..f7d5da09 100644 --- a/googleapis/Cargo.toml +++ b/googleapis/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "google-cloud-googleapis" -version = "0.11.1" +version = "0.12.0" authors = ["yoshidan "] edition = "2021" repository = "https://github.com/yoshidan/google-cloud-rust/tree/main/googleapis" @@ -12,13 +12,13 @@ description = "Google Cloud Platform rust client." # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -tonic = { version = "0.9", features = ["tls", "prost", "gzip"] } -prost = "0.11" -prost-types = "0.11" +tonic = { version = "0.10", features = ["tls", "prost", "gzip"] } +prost = "0.12" +prost-types = "0.12" [build-dependencies] -tonic-build = { version = "0.9", optional = true } -prost-build = { version = "0.11", optional = true } +tonic-build = { version = "0.10", optional = true } +prost-build = { version = "0.12", optional = true } [features] spanner = [] diff --git a/googleapis/src/bytes/google.api.rs b/googleapis/src/bytes/google.api.rs index dfe3c5c7..223adc43 100644 --- a/googleapis/src/bytes/google.api.rs +++ b/googleapis/src/bytes/google.api.rs @@ -1,5 +1,5 @@ /// Defines the HTTP configuration for an API service. It contains a list of -/// \[HttpRule][google.api.HttpRule\], each specifying the mapping of an RPC method +/// [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method /// to one or more HTTP REST API methods. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -26,7 +26,7 @@ pub struct Http { /// APIs](), /// [Cloud Endpoints](), [gRPC /// Gateway](), -/// and \[Envoy\]() proxy support this feature +/// and [Envoy]() proxy support this feature /// and use it for large scale production services. /// /// `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies @@ -187,26 +187,26 @@ pub struct Http { /// 1. Leaf request fields (recursive expansion nested messages in the request /// message) are classified into three categories: /// - Fields referred by the path template. They are passed via the URL path. -/// - Fields referred by the \[HttpRule.body][google.api.HttpRule.body\]. They +/// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They /// are passed via the HTTP /// request body. /// - All other fields are passed via the URL query parameters, and the /// parameter name is the field path in the request message. A repeated /// field can be represented as multiple query parameters under the same /// name. -/// 2. If \[HttpRule.body][google.api.HttpRule.body\] is "*", there is no URL +/// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL /// query parameter, all fields /// are passed via URL path and HTTP request body. -/// 3. If \[HttpRule.body][google.api.HttpRule.body\] is omitted, there is no HTTP +/// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP /// request body, all /// fields are passed via URL path and URL query parameters. /// /// ### Path template syntax /// -/// Template = "/" Segments [ Verb ] ; +/// Template = "/" Segments \[ Verb \] ; /// Segments = Segment { "/" Segment } ; /// Segment = "*" | "**" | LITERAL | Variable ; -/// Variable = "{" FieldPath [ "=" Segments ] "}" ; +/// Variable = "{" FieldPath \[ "=" Segments \] "}" ; /// FieldPath = IDENT { "." IDENT } ; /// Verb = ":" LITERAL ; /// @@ -295,7 +295,7 @@ pub struct Http { pub struct HttpRule { /// Selects a method to which this rule applies. /// - /// Refer to \[selector][google.api.DocumentationRule.selector\] for syntax + /// Refer to [selector][google.api.DocumentationRule.selector] for syntax /// details. #[prost(string, tag = "1")] pub selector: ::prost::alloc::string::String, @@ -713,7 +713,7 @@ pub mod method_settings { /// long-running operation pattern. /// All default values below are from those used in the client library /// generators (e.g. - /// \[Java\]()). + /// [Java]()). #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct LongRunning { @@ -961,7 +961,7 @@ pub struct ResourceDescriptor { /// Example: `storage.googleapis.com/Bucket` /// /// The value of the resource_type_kind must follow the regular expression - /// /\[A-Za-z][a-zA-Z0-9\]+/. It should start with an upper case character and + /// /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and /// should use PascalCase (UpperCamelCase). The maximum number of /// characters allowed for the `resource_type_kind` is 100. #[prost(string, tag = "1")] diff --git a/googleapis/src/bytes/google.cloud.bigquery.storage.v1.rs b/googleapis/src/bytes/google.cloud.bigquery.storage.v1.rs index cb817789..cf07085a 100644 --- a/googleapis/src/bytes/google.cloud.bigquery.storage.v1.rs +++ b/googleapis/src/bytes/google.cloud.bigquery.storage.v1.rs @@ -203,10 +203,10 @@ pub struct TableFieldSchema { /// Values of this NUMERIC or BIGNUMERIC field must be in this range when: /// /// * Precision (P) and scale (S) are specified: - /// [-10^(P-S) + 10^(-S), 10^(P-S) - 10^(-S)] + /// \[-10^(P-S) + 10^(-S), 10^(P-S) - 10^(-S)\] /// * Precision (P) is specified but not scale (and thus scale is /// interpreted to be equal to zero): - /// [-10^P + 1, 10^P - 1]. + /// \[-10^P + 1, 10^P - 1\]. /// /// Acceptable values for precision and scale if both are specified: /// @@ -227,7 +227,7 @@ pub struct TableFieldSchema { /// Optional. See documentation for precision. #[prost(int64, tag = "9")] pub scale: i64, - /// Optional. A SQL expression to specify the [default value] + /// Optional. A SQL expression to specify the \[default value\] /// () for this field. #[prost(string, tag = "10")] pub default_value_expression: ::prost::alloc::string::String, diff --git a/googleapis/src/bytes/google.devtools.artifactregistry.v1.rs b/googleapis/src/bytes/google.devtools.artifactregistry.v1.rs index 81432437..3c5bc933 100644 --- a/googleapis/src/bytes/google.devtools.artifactregistry.v1.rs +++ b/googleapis/src/bytes/google.devtools.artifactregistry.v1.rs @@ -1322,8 +1322,8 @@ pub struct Version { /// Output only. Repository-specific Metadata stored against this version. /// The fields returned are defined by the underlying repository-specific /// resource. Currently, the resources could be: - /// \[DockerImage][google.devtools.artifactregistry.v1.DockerImage\] - /// \[MavenArtifact][google.devtools.artifactregistry.v1.MavenArtifact\] + /// [DockerImage][google.devtools.artifactregistry.v1.DockerImage] + /// [MavenArtifact][google.devtools.artifactregistry.v1.MavenArtifact] #[prost(message, optional, tag = "8")] pub metadata: ::core::option::Option<::prost_types::Struct>, } diff --git a/googleapis/src/bytes/google.iam.v1.rs b/googleapis/src/bytes/google.iam.v1.rs index 6ee5f360..4faec89e 100644 --- a/googleapis/src/bytes/google.iam.v1.rs +++ b/googleapis/src/bytes/google.iam.v1.rs @@ -312,7 +312,7 @@ pub struct AuditLogConfig { /// Specifies the identities that do not cause logging for this type of /// permission. /// Follows the same format of - /// \[Binding.members][google.iam.v1.Binding.members\]. + /// [Binding.members][google.iam.v1.Binding.members]. #[prost(string, repeated, tag = "2")] pub exempted_members: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } diff --git a/googleapis/src/bytes/google.longrunning.rs b/googleapis/src/bytes/google.longrunning.rs index b4552a5d..dba040a0 100644 --- a/googleapis/src/bytes/google.longrunning.rs +++ b/googleapis/src/bytes/google.longrunning.rs @@ -48,7 +48,7 @@ pub mod operation { Response(::prost_types::Any), } } -/// The request message for \[Operations.GetOperation][google.longrunning.Operations.GetOperation\]. +/// The request message for [Operations.GetOperation][google.longrunning.Operations.GetOperation]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetOperationRequest { @@ -56,7 +56,7 @@ pub struct GetOperationRequest { #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, } -/// The request message for \[Operations.ListOperations][google.longrunning.Operations.ListOperations\]. +/// The request message for [Operations.ListOperations][google.longrunning.Operations.ListOperations]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListOperationsRequest { @@ -73,7 +73,7 @@ pub struct ListOperationsRequest { #[prost(string, tag = "3")] pub page_token: ::prost::alloc::string::String, } -/// The response message for \[Operations.ListOperations][google.longrunning.Operations.ListOperations\]. +/// The response message for [Operations.ListOperations][google.longrunning.Operations.ListOperations]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListOperationsResponse { @@ -84,7 +84,7 @@ pub struct ListOperationsResponse { #[prost(string, tag = "2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request message for \[Operations.CancelOperation][google.longrunning.Operations.CancelOperation\]. +/// The request message for [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CancelOperationRequest { @@ -92,7 +92,7 @@ pub struct CancelOperationRequest { #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, } -/// The request message for \[Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation\]. +/// The request message for [Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteOperationRequest { @@ -100,7 +100,7 @@ pub struct DeleteOperationRequest { #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, } -/// The request message for \[Operations.WaitOperation][google.longrunning.Operations.WaitOperation\]. +/// The request message for [Operations.WaitOperation][google.longrunning.Operations.WaitOperation]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct WaitOperationRequest { diff --git a/googleapis/src/bytes/google.pubsub.v1.rs b/googleapis/src/bytes/google.pubsub.v1.rs index 494ce8fc..795509d8 100644 --- a/googleapis/src/bytes/google.pubsub.v1.rs +++ b/googleapis/src/bytes/google.pubsub.v1.rs @@ -612,7 +612,7 @@ pub struct Topic { /// must not start with `"goog"`. #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, - /// See [Creating and managing labels] + /// See \[Creating and managing labels\] /// (). #[prost(map = "string, string", tag = "2")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, @@ -650,7 +650,7 @@ pub struct Topic { /// Note that client libraries represent this object differently /// depending on the language. See the corresponding [client library /// documentation]() for -/// more information. See [quotas and limits] +/// more information. See \[quotas and limits\] /// () for more information about message /// limits. #[allow(clippy::derive_partial_eq_without_eq)] @@ -901,7 +901,7 @@ pub struct Subscription { /// Indicates whether to retain acknowledged messages. If true, then /// messages are not expunged from the subscription's backlog, even if they are /// acknowledged, until they fall out of the `message_retention_duration` - /// window. This must be true if you would like to [`Seek` to a timestamp] + /// window. This must be true if you would like to \[`Seek` to a timestamp\] /// () in /// the past to replay previously-acknowledged messages. #[prost(bool, tag = "7")] @@ -1259,7 +1259,7 @@ pub mod big_query_config { /// - Pub/Sub SA has not been granted the [appropriate BigQuery IAM /// permissions]() /// - bigquery.googleapis.com API is not enabled for the project - /// (\[instructions\]()) + /// ([instructions]()) PermissionDenied = 2, /// Cannot write to the BigQuery table because it does not exist. NotFound = 3, @@ -1767,7 +1767,7 @@ pub struct UpdateSnapshotRequest { pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } /// A snapshot resource. Snapshots are used in -/// \[Seek\]() +/// [Seek]() /// operations, which allow you to manage message acknowledgments in bulk. That /// is, you can set the acknowledgment state of messages in an existing /// subscription to the state captured by a snapshot. @@ -1792,7 +1792,7 @@ pub struct Snapshot { /// snapshot that would expire in less than 1 hour after creation. #[prost(message, optional, tag = "3")] pub expire_time: ::core::option::Option<::prost_types::Timestamp>, - /// See [Creating and managing labels] + /// See \[Creating and managing labels\] /// (). #[prost(map = "string, string", tag = "4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, diff --git a/googleapis/src/bytes/google.r#type.rs b/googleapis/src/bytes/google.r#type.rs index 59748e97..4130a74a 100644 --- a/googleapis/src/bytes/google.r#type.rs +++ b/googleapis/src/bytes/google.r#type.rs @@ -61,7 +61,7 @@ pub struct Expr { /// * A year and month value, with a zero day, such as a credit card expiration /// date /// -/// Related types are \[google.type.TimeOfDay][google.type.TimeOfDay\] and +/// Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and /// `google.protobuf.Timestamp`. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] diff --git a/googleapis/src/bytes/google.rpc.rs b/googleapis/src/bytes/google.rpc.rs index e20cb148..59814b06 100644 --- a/googleapis/src/bytes/google.rpc.rs +++ b/googleapis/src/bytes/google.rpc.rs @@ -1,6 +1,6 @@ /// The `Status` type defines a logical error model that is suitable for /// different programming environments, including REST APIs and RPC APIs. It is -/// used by \[gRPC\](). Each `Status` message contains +/// used by [gRPC](). Each `Status` message contains /// three pieces of data: error code, error message, and error details. /// /// You can find out more about this error model and how to work with it in the @@ -9,12 +9,12 @@ #[derive(Clone, PartialEq, ::prost::Message)] pub struct Status { /// The status code, which should be an enum value of - /// \[google.rpc.Code][google.rpc.Code\]. + /// [google.rpc.Code][google.rpc.Code]. #[prost(int32, tag = "1")] pub code: i32, /// A developer-facing error message, which should be in English. Any /// user-facing error message should be localized and sent in the - /// \[google.rpc.Status.details][google.rpc.Status.details\] field, or localized + /// [google.rpc.Status.details][google.rpc.Status.details] field, or localized /// by the client. #[prost(string, tag = "2")] pub message: ::prost::alloc::string::String, diff --git a/googleapis/src/bytes/google.spanner.admin.database.v1.rs b/googleapis/src/bytes/google.spanner.admin.database.v1.rs index abe19234..ee6d85f7 100644 --- a/googleapis/src/bytes/google.spanner.admin.database.v1.rs +++ b/googleapis/src/bytes/google.spanner.admin.database.v1.rs @@ -132,7 +132,7 @@ impl DatabaseDialect { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct Backup { - /// Required for the \[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup\] operation. + /// Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation. /// Name of the database from which this backup was /// created. This needs to be in the same instance as the backup. /// Values are of the form @@ -145,7 +145,7 @@ pub struct Backup { /// backup. #[prost(message, optional, tag = "9")] pub version_time: ::core::option::Option<::prost_types::Timestamp>, - /// Required for the \[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup\] + /// Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] /// operation. The expiration time of the backup, with microseconds /// granularity that must be at least 6 hours and at most 366 days /// from the time the CreateBackup request is processed. Once the `expire_time` @@ -153,12 +153,12 @@ pub struct Backup { /// Spanner to free the resources used by the backup. #[prost(message, optional, tag = "3")] pub expire_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only for the \[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup\] operation. - /// Required for the \[UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup\] operation. + /// Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation. + /// Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation. /// /// A globally unique identifier for the backup which cannot be /// changed. Values are of the form - /// `projects//instances//backups/\[a-z][a-z0-9_\-]*[a-z0-9\]` + /// `projects//instances//backups/[a-z][a-z0-9_\-]*\[a-z0-9\]` /// The final segment of the name must be between 2 and 60 characters /// in length. /// @@ -168,7 +168,7 @@ pub struct Backup { /// `projects//instances/`. #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, - /// Output only. The time the \[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup\] + /// Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] /// request is received. If the request does not specify `version_time`, the /// `version_time` of the backup will be equivalent to the `create_time`. #[prost(message, optional, tag = "4")] @@ -258,7 +258,7 @@ pub mod backup { } } } -/// The request for \[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup\]. +/// The request for [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateBackupRequest { @@ -281,13 +281,13 @@ pub struct CreateBackupRequest { /// Optional. The encryption configuration used to encrypt the backup. If this field is /// not specified, the backup will use the same /// encryption configuration as the database by default, namely - /// \[encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type\] = + /// [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] = /// `USE_DATABASE_ENCRYPTION`. #[prost(message, optional, tag = "4")] pub encryption_config: ::core::option::Option, } /// Metadata type for the operation returned by -/// \[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup\]. +/// [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateBackupMetadata { @@ -298,25 +298,25 @@ pub struct CreateBackupMetadata { #[prost(string, tag = "2")] pub database: ::prost::alloc::string::String, /// The progress of the - /// \[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup\] operation. + /// [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation. #[prost(message, optional, tag = "3")] pub progress: ::core::option::Option, /// The time at which cancellation of this operation was received. - /// \[Operations.CancelOperation][google.longrunning.Operations.CancelOperation\] + /// [Operations.CancelOperation][google.longrunning.Operations.CancelOperation] /// starts asynchronous cancellation on a long-running operation. The server /// makes a best effort to cancel the operation, but success is not guaranteed. /// Clients can use - /// \[Operations.GetOperation][google.longrunning.Operations.GetOperation\] or + /// [Operations.GetOperation][google.longrunning.Operations.GetOperation] or /// other methods to check whether the cancellation succeeded or whether the /// operation completed despite cancellation. On successful cancellation, /// the operation is not deleted; instead, it becomes an operation with - /// an \[Operation.error][google.longrunning.Operation.error\] value with a - /// \[google.rpc.Status.code][google.rpc.Status.code\] of 1, + /// an [Operation.error][google.longrunning.Operation.error] value with a + /// [google.rpc.Status.code][google.rpc.Status.code] of 1, /// corresponding to `Code.CANCELLED`. #[prost(message, optional, tag = "4")] pub cancel_time: ::core::option::Option<::prost_types::Timestamp>, } -/// The request for \[CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup\]. +/// The request for [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CopyBackupRequest { @@ -347,13 +347,13 @@ pub struct CopyBackupRequest { /// Optional. The encryption configuration used to encrypt the backup. If this field is /// not specified, the backup will use the same /// encryption configuration as the source backup by default, namely - /// \[encryption_type][google.spanner.admin.database.v1.CopyBackupEncryptionConfig.encryption_type\] = + /// [encryption_type][google.spanner.admin.database.v1.CopyBackupEncryptionConfig.encryption_type] = /// `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`. #[prost(message, optional, tag = "5")] pub encryption_config: ::core::option::Option, } /// Metadata type for the google.longrunning.Operation returned by -/// \[CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup\]. +/// [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CopyBackupMetadata { @@ -368,25 +368,25 @@ pub struct CopyBackupMetadata { #[prost(string, tag = "2")] pub source_backup: ::prost::alloc::string::String, /// The progress of the - /// \[CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup\] operation. + /// [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation. #[prost(message, optional, tag = "3")] pub progress: ::core::option::Option, /// The time at which cancellation of CopyBackup operation was received. - /// \[Operations.CancelOperation][google.longrunning.Operations.CancelOperation\] + /// [Operations.CancelOperation][google.longrunning.Operations.CancelOperation] /// starts asynchronous cancellation on a long-running operation. The server /// makes a best effort to cancel the operation, but success is not guaranteed. /// Clients can use - /// \[Operations.GetOperation][google.longrunning.Operations.GetOperation\] or + /// [Operations.GetOperation][google.longrunning.Operations.GetOperation] or /// other methods to check whether the cancellation succeeded or whether the /// operation completed despite cancellation. On successful cancellation, /// the operation is not deleted; instead, it becomes an operation with - /// an \[Operation.error][google.longrunning.Operation.error\] value with a - /// \[google.rpc.Status.code][google.rpc.Status.code\] of 1, + /// an [Operation.error][google.longrunning.Operation.error] value with a + /// [google.rpc.Status.code][google.rpc.Status.code] of 1, /// corresponding to `Code.CANCELLED`. #[prost(message, optional, tag = "4")] pub cancel_time: ::core::option::Option<::prost_types::Timestamp>, } -/// The request for \[UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup\]. +/// The request for [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateBackupRequest { @@ -404,7 +404,7 @@ pub struct UpdateBackupRequest { #[prost(message, optional, tag = "2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// The request for \[GetBackup][google.spanner.admin.database.v1.DatabaseAdmin.GetBackup\]. +/// The request for [GetBackup][google.spanner.admin.database.v1.DatabaseAdmin.GetBackup]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetBackupRequest { @@ -414,7 +414,7 @@ pub struct GetBackupRequest { #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, } -/// The request for \[DeleteBackup][google.spanner.admin.database.v1.DatabaseAdmin.DeleteBackup\]. +/// The request for [DeleteBackup][google.spanner.admin.database.v1.DatabaseAdmin.DeleteBackup]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteBackupRequest { @@ -424,7 +424,7 @@ pub struct DeleteBackupRequest { #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, } -/// The request for \[ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups\]. +/// The request for [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBackupsRequest { @@ -440,7 +440,7 @@ pub struct ListBackupsRequest { /// must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. /// Colon `:` is the contains operator. Filter rules are not case sensitive. /// - /// The following fields in the \[Backup][google.spanner.admin.database.v1.Backup\] are eligible for filtering: + /// The following fields in the [Backup][google.spanner.admin.database.v1.Backup] are eligible for filtering: /// /// * `name` /// * `database` @@ -474,13 +474,13 @@ pub struct ListBackupsRequest { #[prost(int32, tag = "3")] pub page_size: i32, /// If non-empty, `page_token` should contain a - /// \[next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token\] from a - /// previous \[ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse\] to the same `parent` and with the same + /// [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a + /// previous [ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse] to the same `parent` and with the same /// `filter`. #[prost(string, tag = "4")] pub page_token: ::prost::alloc::string::String, } -/// The response for \[ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups\]. +/// The response for [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBackupsResponse { @@ -489,13 +489,13 @@ pub struct ListBackupsResponse { #[prost(message, repeated, tag = "1")] pub backups: ::prost::alloc::vec::Vec, /// `next_page_token` can be sent in a subsequent - /// \[ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups\] call to fetch more + /// [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more /// of the matching backups. #[prost(string, tag = "2")] pub next_page_token: ::prost::alloc::string::String, } /// The request for -/// \[ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations\]. +/// [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBackupOperationsRequest { @@ -511,13 +511,13 @@ pub struct ListBackupOperationsRequest { /// must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. /// Colon `:` is the contains operator. Filter rules are not case sensitive. /// - /// The following fields in the \[operation][google.longrunning.Operation\] + /// The following fields in the [operation][google.longrunning.Operation] /// are eligible for filtering: /// /// * `name` - The name of the long-running operation /// * `done` - False if the operation is in progress, else true. /// * `metadata.@type` - the type of metadata. For example, the type string - /// for \[CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata\] is + /// for [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] is /// `type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata`. /// * `metadata.` - any field in metadata.value. /// `metadata.@type` must be specified first if filtering on metadata @@ -535,14 +535,14 @@ pub struct ListBackupOperationsRequest { /// * `done:true` - The operation is complete. /// * `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata) AND` \ /// `metadata.database:prod` - Returns operations where: - /// * The operation's metadata type is \[CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata\]. + /// * The operation's metadata type is [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. /// * The database the backup was taken from has a name containing the /// string "prod". /// * `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata) AND` \ /// `(metadata.name:howl) AND` \ /// `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ /// `(error:*)` - Returns operations where: - /// * The operation's metadata type is \[CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata\]. + /// * The operation's metadata type is [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. /// * The backup name contains the string "howl". /// * The operation started before 2018-03-28T14:50:00Z. /// * The operation resulted in an error. @@ -550,7 +550,7 @@ pub struct ListBackupOperationsRequest { /// `(metadata.source_backup:test) AND` \ /// `(metadata.progress.start_time < \"2022-01-18T14:50:00Z\") AND` \ /// `(error:*)` - Returns operations where: - /// * The operation's metadata type is \[CopyBackupMetadata][google.spanner.admin.database.v1.CopyBackupMetadata\]. + /// * The operation's metadata type is [CopyBackupMetadata][google.spanner.admin.database.v1.CopyBackupMetadata]. /// * The source backup of the copied backup name contains the string /// "test". /// * The operation started before 2022-01-18T14:50:00Z. @@ -562,10 +562,10 @@ pub struct ListBackupOperationsRequest { /// `(metadata.source_backup:test_bkp)) AND` \ /// `(error:*)` - Returns operations where: /// * The operation's metadata matches either of criteria: - /// * The operation's metadata type is \[CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata\] AND the + /// * The operation's metadata type is [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] AND the /// database the backup was taken from has name containing string /// "test_db" - /// * The operation's metadata type is \[CopyBackupMetadata][google.spanner.admin.database.v1.CopyBackupMetadata\] AND the + /// * The operation's metadata type is [CopyBackupMetadata][google.spanner.admin.database.v1.CopyBackupMetadata] AND the /// backup the backup was copied from has name containing string /// "test_bkp" /// * The operation resulted in an error. @@ -576,21 +576,21 @@ pub struct ListBackupOperationsRequest { #[prost(int32, tag = "3")] pub page_size: i32, /// If non-empty, `page_token` should contain a - /// \[next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token\] - /// from a previous \[ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse\] to the + /// [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token] + /// from a previous [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse] to the /// same `parent` and with the same `filter`. #[prost(string, tag = "4")] pub page_token: ::prost::alloc::string::String, } /// The response for -/// \[ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations\]. +/// [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBackupOperationsResponse { /// The list of matching backup [long-running - /// operations]\[google.longrunning.Operation\]. Each operation's name will be + /// operations][google.longrunning.Operation]. Each operation's name will be /// prefixed by the backup's name. The operation's - /// \[metadata][google.longrunning.Operation.metadata\] field type + /// [metadata][google.longrunning.Operation.metadata] field type /// `metadata.type_url` describes the type of the metadata. Operations returned /// include those that are pending or have completed/failed/canceled within the /// last 7 days. Operations returned are ordered by @@ -601,7 +601,7 @@ pub struct ListBackupOperationsResponse { super::super::super::super::longrunning::Operation, >, /// `next_page_token` can be sent in a subsequent - /// \[ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations\] + /// [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations] /// call to fetch more of the matching metadata. #[prost(string, tag = "2")] pub next_page_token: ::prost::alloc::string::String, @@ -615,12 +615,12 @@ pub struct BackupInfo { pub backup: ::prost::alloc::string::String, /// The backup contains an externally consistent copy of `source_database` at /// the timestamp specified by `version_time`. If the - /// \[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup\] request did not specify + /// [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request did not specify /// `version_time`, the `version_time` of the backup is equivalent to the /// `create_time`. #[prost(message, optional, tag = "4")] pub version_time: ::core::option::Option<::prost_types::Timestamp>, - /// The time the \[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup\] request was + /// The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was /// received. #[prost(message, optional, tag = "2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, @@ -637,7 +637,7 @@ pub struct CreateBackupEncryptionConfig { pub encryption_type: i32, /// Optional. The Cloud KMS key that will be used to protect the backup. /// This field should be set only when - /// \[encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type\] is + /// [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] is /// `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form /// `projects//locations//keyRings//cryptoKeys/`. #[prost(string, tag = "2")] @@ -663,7 +663,7 @@ pub mod create_backup_encryption_config { Unspecified = 0, /// Use the same encryption configuration as the database. This is the /// default option when - /// \[encryption_config][google.spanner.admin.database.v1.CreateBackupEncryptionConfig\] is empty. + /// [encryption_config][google.spanner.admin.database.v1.CreateBackupEncryptionConfig] is empty. /// For example, if the database is using `Customer_Managed_Encryption`, the /// backup will be using the same Cloud KMS key as the database. UseDatabaseEncryption = 1, @@ -709,7 +709,7 @@ pub struct CopyBackupEncryptionConfig { pub encryption_type: i32, /// Optional. The Cloud KMS key that will be used to protect the backup. /// This field should be set only when - /// \[encryption_type][google.spanner.admin.database.v1.CopyBackupEncryptionConfig.encryption_type\] is + /// [encryption_type][google.spanner.admin.database.v1.CopyBackupEncryptionConfig.encryption_type] is /// `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form /// `projects//locations//keyRings//cryptoKeys/`. #[prost(string, tag = "2")] @@ -733,8 +733,8 @@ pub mod copy_backup_encryption_config { pub enum EncryptionType { /// Unspecified. Do not use. Unspecified = 0, - /// This is the default option for \[CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup\] - /// when \[encryption_config][google.spanner.admin.database.v1.CopyBackupEncryptionConfig\] is not specified. + /// This is the default option for [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] + /// when [encryption_config][google.spanner.admin.database.v1.CopyBackupEncryptionConfig] is not specified. /// For example, if the source backup is using `Customer_Managed_Encryption`, /// the backup will be using the same Cloud KMS key as the source backup. UseConfigDefaultOrBackupEncryption = 1, @@ -839,7 +839,7 @@ pub struct Database { /// Output only. The period in which Cloud Spanner retains all versions of data /// for the database. This is the same as the value of version_retention_period /// database option set using - /// \[UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl\]. Defaults to 1 hour, + /// [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. Defaults to 1 hour, /// if not set. #[prost(string, tag = "6")] pub version_retention_period: ::prost::alloc::string::String, @@ -928,7 +928,7 @@ pub mod database { } } } -/// The request for \[ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases\]. +/// The request for [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDatabasesRequest { @@ -941,12 +941,12 @@ pub struct ListDatabasesRequest { #[prost(int32, tag = "3")] pub page_size: i32, /// If non-empty, `page_token` should contain a - /// \[next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token\] from a - /// previous \[ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse\]. + /// [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a + /// previous [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse]. #[prost(string, tag = "4")] pub page_token: ::prost::alloc::string::String, } -/// The response for \[ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases\]. +/// The response for [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDatabasesResponse { @@ -954,12 +954,12 @@ pub struct ListDatabasesResponse { #[prost(message, repeated, tag = "1")] pub databases: ::prost::alloc::vec::Vec, /// `next_page_token` can be sent in a subsequent - /// \[ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases\] call to fetch more + /// [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more /// of the matching databases. #[prost(string, tag = "2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request for \[CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase\]. +/// The request for [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDatabaseRequest { @@ -969,7 +969,7 @@ pub struct CreateDatabaseRequest { pub parent: ::prost::alloc::string::String, /// Required. A `CREATE DATABASE` statement, which specifies the ID of the /// new database. The database ID must conform to the regular expression - /// `\[a-z][a-z0-9_\-]*[a-z0-9\]` and be between 2 and 30 characters in length. + /// `[a-z][a-z0-9_\-]*\[a-z0-9\]` and be between 2 and 30 characters in length. /// If the database ID is a reserved word or if it contains a hyphen, the /// database ID must be enclosed in backticks (`` ` ``). #[prost(string, tag = "2")] @@ -990,7 +990,7 @@ pub struct CreateDatabaseRequest { pub database_dialect: i32, } /// Metadata type for the operation returned by -/// \[CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase\]. +/// [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDatabaseMetadata { @@ -998,7 +998,7 @@ pub struct CreateDatabaseMetadata { #[prost(string, tag = "1")] pub database: ::prost::alloc::string::String, } -/// The request for \[GetDatabase][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabase\]. +/// The request for [GetDatabase][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabase]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDatabaseRequest { @@ -1008,7 +1008,7 @@ pub struct GetDatabaseRequest { pub name: ::prost::alloc::string::String, } /// The request for -/// \[UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase\]. +/// [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDatabaseRequest { @@ -1023,16 +1023,16 @@ pub struct UpdateDatabaseRequest { pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } /// Metadata type for the operation returned by -/// \[UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase\]. +/// [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDatabaseMetadata { /// The request for - /// \[UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase\]. + /// [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase]. #[prost(message, optional, tag = "1")] pub request: ::core::option::Option, /// The progress of the - /// \[UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase\] + /// [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase] /// operation. #[prost(message, optional, tag = "2")] pub progress: ::core::option::Option, @@ -1053,9 +1053,9 @@ pub struct UpdateDatabaseMetadata { /// subsequent statements in the batch are automatically cancelled. /// /// Each batch of statements is assigned a name which can be used with -/// the \[Operations][google.longrunning.Operations\] API to monitor +/// the [Operations][google.longrunning.Operations] API to monitor /// progress. See the -/// \[operation_id][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.operation_id\] field for more +/// [operation_id][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.operation_id] field for more /// details. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -1069,28 +1069,28 @@ pub struct UpdateDatabaseDdlRequest { /// If empty, the new update request is assigned an /// automatically-generated operation ID. Otherwise, `operation_id` /// is used to construct the name of the resulting - /// \[Operation][google.longrunning.Operation\]. + /// [Operation][google.longrunning.Operation]. /// /// Specifying an explicit operation ID simplifies determining /// whether the statements were executed in the event that the - /// \[UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl\] call is replayed, - /// or the return value is otherwise lost: the \[database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database\] and + /// [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] call is replayed, + /// or the return value is otherwise lost: the [database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database] and /// `operation_id` fields can be combined to form the - /// \[name][google.longrunning.Operation.name\] of the resulting - /// \[longrunning.Operation][google.longrunning.Operation\]: `/operations/`. + /// [name][google.longrunning.Operation.name] of the resulting + /// [longrunning.Operation][google.longrunning.Operation]: `/operations/`. /// /// `operation_id` should be unique within the database, and must be - /// a valid identifier: `\[a-z][a-z0-9_\]*`. Note that + /// a valid identifier: `[a-z][a-z0-9_]*`. Note that /// automatically-generated operation IDs always begin with an /// underscore. If the named operation already exists, - /// \[UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl\] returns + /// [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] returns /// `ALREADY_EXISTS`. #[prost(string, tag = "3")] pub operation_id: ::prost::alloc::string::String, } /// Action information extracted from a DDL statement. This proto is used to /// display the brief info of the DDL statement for the operation -/// \[UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl\]. +/// [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct DdlStatementActionInfo { @@ -1106,13 +1106,13 @@ pub struct DdlStatementActionInfo { /// The entity name(s) being operated on the DDL statement. /// E.g. /// 1. For statement "CREATE TABLE t1(...)", `entity_names` = \["t1"\]. - /// 2. For statement "GRANT ROLE r1, r2 ...", `entity_names` = ["r1", "r2"]. - /// 3. For statement "ANALYZE", `entity_names` = []. + /// 2. For statement "GRANT ROLE r1, r2 ...", `entity_names` = \["r1", "r2"\]. + /// 3. For statement "ANALYZE", `entity_names` = \[\]. #[prost(string, repeated, tag = "3")] pub entity_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Metadata type for the operation returned by -/// \[UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl\]. +/// [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDatabaseDdlMetadata { @@ -1134,7 +1134,7 @@ pub struct UpdateDatabaseDdlMetadata { #[prost(bool, tag = "4")] pub throttled: bool, /// The progress of the - /// \[UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl\] + /// [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] /// operations. All DDL statements will have continuously updating progress, /// and `progress\[i\]` is the operation progress for `statements\[i\]`. Also, /// `progress\[i\]` will have start time and end time populated with commit @@ -1147,7 +1147,7 @@ pub struct UpdateDatabaseDdlMetadata { #[prost(message, repeated, tag = "6")] pub actions: ::prost::alloc::vec::Vec, } -/// The request for \[DropDatabase][google.spanner.admin.database.v1.DatabaseAdmin.DropDatabase\]. +/// The request for [DropDatabase][google.spanner.admin.database.v1.DatabaseAdmin.DropDatabase]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct DropDatabaseRequest { @@ -1155,7 +1155,7 @@ pub struct DropDatabaseRequest { #[prost(string, tag = "1")] pub database: ::prost::alloc::string::String, } -/// The request for \[GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl\]. +/// The request for [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDatabaseDdlRequest { @@ -1165,7 +1165,7 @@ pub struct GetDatabaseDdlRequest { #[prost(string, tag = "1")] pub database: ::prost::alloc::string::String, } -/// The response for \[GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl\]. +/// The response for [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDatabaseDdlResponse { @@ -1175,7 +1175,7 @@ pub struct GetDatabaseDdlResponse { pub statements: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// The request for -/// \[ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations\]. +/// [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDatabaseOperationsRequest { @@ -1191,13 +1191,13 @@ pub struct ListDatabaseOperationsRequest { /// must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. /// Colon `:` is the contains operator. Filter rules are not case sensitive. /// - /// The following fields in the \[Operation][google.longrunning.Operation\] + /// The following fields in the [Operation][google.longrunning.Operation] /// are eligible for filtering: /// /// * `name` - The name of the long-running operation /// * `done` - False if the operation is in progress, else true. /// * `metadata.@type` - the type of metadata. For example, the type string - /// for \[RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata\] is + /// for [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata] is /// `type.googleapis.com/google.spanner.admin.database.v1.RestoreDatabaseMetadata`. /// * `metadata.` - any field in metadata.value. /// `metadata.@type` must be specified first, if filtering on metadata @@ -1219,7 +1219,7 @@ pub struct ListDatabaseOperationsRequest { /// `(metadata.name:restored_howl) AND` \ /// `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ /// `(error:*)` - Return operations where: - /// * The operation's metadata type is \[RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata\]. + /// * The operation's metadata type is [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata]. /// * The database is restored from a backup. /// * The backup name contains "backup_howl". /// * The restored database's name contains "restored_howl". @@ -1232,34 +1232,34 @@ pub struct ListDatabaseOperationsRequest { #[prost(int32, tag = "3")] pub page_size: i32, /// If non-empty, `page_token` should contain a - /// \[next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token\] - /// from a previous \[ListDatabaseOperationsResponse][google.spanner.admin.database.v1.ListDatabaseOperationsResponse\] to the + /// [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token] + /// from a previous [ListDatabaseOperationsResponse][google.spanner.admin.database.v1.ListDatabaseOperationsResponse] to the /// same `parent` and with the same `filter`. #[prost(string, tag = "4")] pub page_token: ::prost::alloc::string::String, } /// The response for -/// \[ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations\]. +/// [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDatabaseOperationsResponse { /// The list of matching database [long-running - /// operations]\[google.longrunning.Operation\]. Each operation's name will be + /// operations][google.longrunning.Operation]. Each operation's name will be /// prefixed by the database's name. The operation's - /// \[metadata][google.longrunning.Operation.metadata\] field type + /// [metadata][google.longrunning.Operation.metadata] field type /// `metadata.type_url` describes the type of the metadata. #[prost(message, repeated, tag = "1")] pub operations: ::prost::alloc::vec::Vec< super::super::super::super::longrunning::Operation, >, /// `next_page_token` can be sent in a subsequent - /// \[ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations\] + /// [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations] /// call to fetch more of the matching metadata. #[prost(string, tag = "2")] pub next_page_token: ::prost::alloc::string::String, } /// The request for -/// \[RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase\]. +/// [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct RestoreDatabaseRequest { @@ -1280,7 +1280,7 @@ pub struct RestoreDatabaseRequest { /// resources in Cloud KMS used to encrypt/decrypt the database to restore to. /// If this field is not specified, the restored database will use /// the same encryption configuration as the backup by default, namely - /// \[encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type\] = + /// [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] = /// `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`. #[prost(message, optional, tag = "4")] pub encryption_config: ::core::option::Option, @@ -1312,7 +1312,7 @@ pub struct RestoreDatabaseEncryptionConfig { pub encryption_type: i32, /// Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored /// database. This field should be set only when - /// \[encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type\] is + /// [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] is /// `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form /// `projects//locations//keyRings//cryptoKeys/`. #[prost(string, tag = "2")] @@ -1337,7 +1337,7 @@ pub mod restore_database_encryption_config { /// Unspecified. Do not use. Unspecified = 0, /// This is the default option when - /// \[encryption_config][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig\] is not specified. + /// [encryption_config][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig] is not specified. UseConfigDefaultOrBackupEncryption = 1, /// Use Google default encryption. GoogleDefaultEncryption = 2, @@ -1377,7 +1377,7 @@ pub mod restore_database_encryption_config { } } /// Metadata type for the long-running operation returned by -/// \[RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase\]. +/// [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct RestoreDatabaseMetadata { @@ -1388,21 +1388,21 @@ pub struct RestoreDatabaseMetadata { #[prost(enumeration = "RestoreSourceType", tag = "2")] pub source_type: i32, /// The progress of the - /// \[RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase\] + /// [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase] /// operation. #[prost(message, optional, tag = "4")] pub progress: ::core::option::Option, /// The time at which cancellation of this operation was received. - /// \[Operations.CancelOperation][google.longrunning.Operations.CancelOperation\] + /// [Operations.CancelOperation][google.longrunning.Operations.CancelOperation] /// starts asynchronous cancellation on a long-running operation. The server /// makes a best effort to cancel the operation, but success is not guaranteed. /// Clients can use - /// \[Operations.GetOperation][google.longrunning.Operations.GetOperation\] or + /// [Operations.GetOperation][google.longrunning.Operations.GetOperation] or /// other methods to check whether the cancellation succeeded or whether the /// operation completed despite cancellation. On successful cancellation, /// the operation is not deleted; instead, it becomes an operation with - /// an \[Operation.error][google.longrunning.Operation.error\] value with a - /// \[google.rpc.Status.code][google.rpc.Status.code\] of 1, corresponding to `Code.CANCELLED`. + /// an [Operation.error][google.longrunning.Operation.error] value with a + /// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`. #[prost(message, optional, tag = "5")] pub cancel_time: ::core::option::Option<::prost_types::Timestamp>, /// If exists, the name of the long-running operation that will be used to @@ -1412,21 +1412,21 @@ pub struct RestoreDatabaseMetadata { /// `projects//instances//databases//operations/` /// where the is the name of database being created and restored to. /// The metadata type of the long-running operation is - /// \[OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata\]. This long-running operation will be + /// [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. This long-running operation will be /// automatically created by the system after the RestoreDatabase long-running /// operation completes successfully. This operation will not be created if the /// restore was not successful. #[prost(string, tag = "6")] pub optimize_database_operation_name: ::prost::alloc::string::String, /// Information about the source used to restore the database, as specified by - /// `source` in \[RestoreDatabaseRequest][google.spanner.admin.database.v1.RestoreDatabaseRequest\]. + /// `source` in [RestoreDatabaseRequest][google.spanner.admin.database.v1.RestoreDatabaseRequest]. #[prost(oneof = "restore_database_metadata::SourceInfo", tags = "3")] pub source_info: ::core::option::Option, } /// Nested message and enum types in `RestoreDatabaseMetadata`. pub mod restore_database_metadata { /// Information about the source used to restore the database, as specified by - /// `source` in \[RestoreDatabaseRequest][google.spanner.admin.database.v1.RestoreDatabaseRequest\]. + /// `source` in [RestoreDatabaseRequest][google.spanner.admin.database.v1.RestoreDatabaseRequest]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum SourceInfo { @@ -1461,7 +1461,7 @@ pub struct DatabaseRole { #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, } -/// The request for \[ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles\]. +/// The request for [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDatabaseRolesRequest { @@ -1475,12 +1475,12 @@ pub struct ListDatabaseRolesRequest { #[prost(int32, tag = "2")] pub page_size: i32, /// If non-empty, `page_token` should contain a - /// \[next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token\] from a - /// previous \[ListDatabaseRolesResponse][google.spanner.admin.database.v1.ListDatabaseRolesResponse\]. + /// [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a + /// previous [ListDatabaseRolesResponse][google.spanner.admin.database.v1.ListDatabaseRolesResponse]. #[prost(string, tag = "3")] pub page_token: ::prost::alloc::string::String, } -/// The response for \[ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles\]. +/// The response for [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDatabaseRolesResponse { @@ -1488,7 +1488,7 @@ pub struct ListDatabaseRolesResponse { #[prost(message, repeated, tag = "1")] pub database_roles: ::prost::alloc::vec::Vec, /// `next_page_token` can be sent in a subsequent - /// \[ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles\] + /// [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles] /// call to fetch more of the matching roles. #[prost(string, tag = "2")] pub next_page_token: ::prost::alloc::string::String, diff --git a/googleapis/src/bytes/google.spanner.admin.instance.v1.rs b/googleapis/src/bytes/google.spanner.admin.instance.v1.rs index a4c3d54a..b223a24d 100644 --- a/googleapis/src/bytes/google.spanner.admin.instance.v1.rs +++ b/googleapis/src/bytes/google.spanner.admin.instance.v1.rs @@ -107,7 +107,7 @@ pub mod replica_info { pub struct InstanceConfig { /// A unique identifier for the instance configuration. Values /// are of the form - /// `projects//instanceConfigs/\[a-z][-a-z0-9\]*`. + /// `projects//instanceConfigs/[a-z][-a-z0-9]*`. #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, /// The name of this instance configuration as it appears in UIs. @@ -139,7 +139,7 @@ pub struct InstanceConfig { /// firewall, load balancing, etc.). /// /// * Label keys must be between 1 and 63 characters long and must conform to - /// the following regular expression: `\[a-z][a-z0-9_-\]{0,62}`. + /// the following regular expression: `[a-z][a-z0-9_-]{0,62}`. /// * Label values must be between 0 and 63 characters long and must conform /// to the regular expression `\[a-z0-9_-\]{0,63}`. /// * No more than 64 labels can be associated with a given resource. @@ -277,14 +277,14 @@ pub mod instance_config { pub struct Instance { /// Required. A unique identifier for the instance, which cannot be changed /// after the instance is created. Values are of the form - /// `projects//instances/\[a-z][-a-z0-9]*[a-z0-9\]`. The final + /// `projects//instances/[a-z][-a-z0-9]*\[a-z0-9\]`. The final /// segment of the name must be between 2 and 64 characters in length. #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, /// Required. The name of the instance's configuration. Values are of the form /// `projects//instanceConfigs/`. See - /// also \[InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig\] and - /// \[ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs\]. + /// also [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] and + /// [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]. #[prost(string, tag = "2")] pub config: ::prost::alloc::string::String, /// Required. The descriptive name for this instance as it appears in UIs. @@ -311,9 +311,9 @@ pub struct Instance { #[prost(int32, tag = "9")] pub processing_units: i32, /// Output only. The current instance state. For - /// \[CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance\], + /// [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance], /// the state must be either omitted or set to `CREATING`. For - /// \[UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance\], + /// [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance], /// the state must be either omitted or set to `READY`. #[prost(enumeration = "instance::State", tag = "6")] pub state: i32, @@ -325,7 +325,7 @@ pub struct Instance { /// firewall, load balancing, etc.). /// /// * Label keys must be between 1 and 63 characters long and must conform to - /// the following regular expression: `\[a-z][a-z0-9_-\]{0,62}`. + /// the following regular expression: `[a-z][a-z0-9_-]{0,62}`. /// * Label values must be between 0 and 63 characters long and must conform /// to the regular expression `\[a-z0-9_-\]{0,63}`. /// * No more than 64 labels can be associated with a given resource. @@ -403,7 +403,7 @@ pub mod instance { } } /// The request for -/// \[ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs\]. +/// [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstanceConfigsRequest { @@ -417,14 +417,14 @@ pub struct ListInstanceConfigsRequest { #[prost(int32, tag = "2")] pub page_size: i32, /// If non-empty, `page_token` should contain a - /// \[next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token\] + /// [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token] /// from a previous - /// \[ListInstanceConfigsResponse][google.spanner.admin.instance.v1.ListInstanceConfigsResponse\]. + /// [ListInstanceConfigsResponse][google.spanner.admin.instance.v1.ListInstanceConfigsResponse]. #[prost(string, tag = "3")] pub page_token: ::prost::alloc::string::String, } /// The response for -/// \[ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs\]. +/// [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstanceConfigsResponse { @@ -432,13 +432,13 @@ pub struct ListInstanceConfigsResponse { #[prost(message, repeated, tag = "1")] pub instance_configs: ::prost::alloc::vec::Vec, /// `next_page_token` can be sent in a subsequent - /// \[ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs\] + /// [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs] /// call to fetch more of the matching instance configurations. #[prost(string, tag = "2")] pub next_page_token: ::prost::alloc::string::String, } /// The request for -/// \[GetInstanceConfigRequest][google.spanner.admin.instance.v1.InstanceAdmin.GetInstanceConfig\]. +/// [GetInstanceConfigRequest][google.spanner.admin.instance.v1.InstanceAdmin.GetInstanceConfig]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetInstanceConfigRequest { @@ -448,7 +448,7 @@ pub struct GetInstanceConfigRequest { pub name: ::prost::alloc::string::String, } /// The request for -/// \[CreateInstanceConfigRequest][InstanceAdmin.CreateInstanceConfigRequest\]. +/// [CreateInstanceConfigRequest][InstanceAdmin.CreateInstanceConfigRequest]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateInstanceConfigRequest { @@ -457,7 +457,7 @@ pub struct CreateInstanceConfigRequest { #[prost(string, tag = "1")] pub parent: ::prost::alloc::string::String, /// Required. The ID of the instance config to create. Valid identifiers are - /// of the form `custom-\[-a-z0-9]*[a-z0-9\]` and must be between 2 and 64 + /// of the form `custom-\[-a-z0-9\]*[a-z0-9]` and must be between 2 and 64 /// characters in length. The `custom-` prefix is required to avoid name /// conflicts with Google managed configurations. #[prost(string, tag = "2")] @@ -475,22 +475,22 @@ pub struct CreateInstanceConfigRequest { pub validate_only: bool, } /// The request for -/// \[UpdateInstanceConfigRequest][InstanceAdmin.UpdateInstanceConfigRequest\]. +/// [UpdateInstanceConfigRequest][InstanceAdmin.UpdateInstanceConfigRequest]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateInstanceConfigRequest { /// Required. The user instance config to update, which must always include the /// instance config name. Otherwise, only fields mentioned in - /// \[update_mask][google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.update_mask\] + /// [update_mask][google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.update_mask] /// need be included. To prevent conflicts of concurrent updates, - /// \[etag][google.spanner.admin.instance.v1.InstanceConfig.reconciling\] can + /// [etag][google.spanner.admin.instance.v1.InstanceConfig.reconciling] can /// be used. #[prost(message, optional, tag = "1")] pub instance_config: ::core::option::Option, /// Required. A mask specifying which fields in - /// \[InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig\] should be + /// [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be /// updated. The field mask must always be specified; this prevents any future - /// fields in \[InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig\] + /// fields in [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] /// from being erased accidentally by clients that do not know about them. Only /// display_name and labels can be updated. #[prost(message, optional, tag = "2")] @@ -501,7 +501,7 @@ pub struct UpdateInstanceConfigRequest { pub validate_only: bool, } /// The request for -/// \[DeleteInstanceConfigRequest][InstanceAdmin.DeleteInstanceConfigRequest\]. +/// [DeleteInstanceConfigRequest][InstanceAdmin.DeleteInstanceConfigRequest]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteInstanceConfigRequest { @@ -525,7 +525,7 @@ pub struct DeleteInstanceConfigRequest { pub validate_only: bool, } /// The request for -/// \[ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations\]. +/// [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstanceConfigOperationsRequest { @@ -541,14 +541,14 @@ pub struct ListInstanceConfigOperationsRequest { /// must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. /// Colon `:` is the contains operator. Filter rules are not case sensitive. /// - /// The following fields in the \[Operation][google.longrunning.Operation\] + /// The following fields in the [Operation][google.longrunning.Operation] /// are eligible for filtering: /// /// * `name` - The name of the long-running operation /// * `done` - False if the operation is in progress, else true. /// * `metadata.@type` - the type of metadata. For example, the type string /// for - /// \[CreateInstanceConfigMetadata][google.spanner.admin.instance.v1.CreateInstanceConfigMetadata\] + /// [CreateInstanceConfigMetadata][google.spanner.admin.instance.v1.CreateInstanceConfigMetadata] /// is /// `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstanceConfigMetadata`. /// * `metadata.` - any field in metadata.value. @@ -572,7 +572,7 @@ pub struct ListInstanceConfigOperationsRequest { /// `(metadata.progress.start_time < \"2021-03-28T14:50:00Z\") AND` \ /// `(error:*)` - Return operations where: /// * The operation's metadata type is - /// \[CreateInstanceConfigMetadata][google.spanner.admin.instance.v1.CreateInstanceConfigMetadata\]. + /// [CreateInstanceConfigMetadata][google.spanner.admin.instance.v1.CreateInstanceConfigMetadata]. /// * The instance config name contains "custom-config". /// * The operation started before 2021-03-28T14:50:00Z. /// * The operation resulted in an error. @@ -583,35 +583,35 @@ pub struct ListInstanceConfigOperationsRequest { #[prost(int32, tag = "3")] pub page_size: i32, /// If non-empty, `page_token` should contain a - /// \[next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token\] + /// [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token] /// from a previous - /// \[ListInstanceConfigOperationsResponse][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse\] + /// [ListInstanceConfigOperationsResponse][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse] /// to the same `parent` and with the same `filter`. #[prost(string, tag = "4")] pub page_token: ::prost::alloc::string::String, } /// The response for -/// \[ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations\]. +/// [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstanceConfigOperationsResponse { /// The list of matching instance config [long-running - /// operations]\[google.longrunning.Operation\]. Each operation's name will be + /// operations][google.longrunning.Operation]. Each operation's name will be /// prefixed by the instance config's name. The operation's - /// \[metadata][google.longrunning.Operation.metadata\] field type + /// [metadata][google.longrunning.Operation.metadata] field type /// `metadata.type_url` describes the type of the metadata. #[prost(message, repeated, tag = "1")] pub operations: ::prost::alloc::vec::Vec< super::super::super::super::longrunning::Operation, >, /// `next_page_token` can be sent in a subsequent - /// \[ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations\] + /// [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations] /// call to fetch more of the matching metadata. #[prost(string, tag = "2")] pub next_page_token: ::prost::alloc::string::String, } /// The request for -/// \[GetInstance][google.spanner.admin.instance.v1.InstanceAdmin.GetInstance\]. +/// [GetInstance][google.spanner.admin.instance.v1.InstanceAdmin.GetInstance]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetInstanceRequest { @@ -620,14 +620,14 @@ pub struct GetInstanceRequest { #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, /// If field_mask is present, specifies the subset of - /// \[Instance][google.spanner.admin.instance.v1.Instance\] fields that should be + /// [Instance][google.spanner.admin.instance.v1.Instance] fields that should be /// returned. If absent, all - /// \[Instance][google.spanner.admin.instance.v1.Instance\] fields are returned. + /// [Instance][google.spanner.admin.instance.v1.Instance] fields are returned. #[prost(message, optional, tag = "2")] pub field_mask: ::core::option::Option<::prost_types::FieldMask>, } /// The request for -/// \[CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance\]. +/// [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateInstanceRequest { @@ -636,7 +636,7 @@ pub struct CreateInstanceRequest { #[prost(string, tag = "1")] pub parent: ::prost::alloc::string::String, /// Required. The ID of the instance to create. Valid identifiers are of the - /// form `\[a-z][-a-z0-9]*[a-z0-9\]` and must be between 2 and 64 characters in + /// form `[a-z][-a-z0-9]*\[a-z0-9\]` and must be between 2 and 64 characters in /// length. #[prost(string, tag = "2")] pub instance_id: ::prost::alloc::string::String, @@ -646,7 +646,7 @@ pub struct CreateInstanceRequest { pub instance: ::core::option::Option, } /// The request for -/// \[ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances\]. +/// [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstancesRequest { @@ -659,9 +659,9 @@ pub struct ListInstancesRequest { #[prost(int32, tag = "2")] pub page_size: i32, /// If non-empty, `page_token` should contain a - /// \[next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token\] + /// [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token] /// from a previous - /// \[ListInstancesResponse][google.spanner.admin.instance.v1.ListInstancesResponse\]. + /// [ListInstancesResponse][google.spanner.admin.instance.v1.ListInstancesResponse]. #[prost(string, tag = "3")] pub page_token: ::prost::alloc::string::String, /// An expression for filtering the results of the request. Filter rules are @@ -687,7 +687,7 @@ pub struct ListInstancesRequest { pub filter: ::prost::alloc::string::String, } /// The response for -/// \[ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances\]. +/// [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstancesResponse { @@ -695,32 +695,32 @@ pub struct ListInstancesResponse { #[prost(message, repeated, tag = "1")] pub instances: ::prost::alloc::vec::Vec, /// `next_page_token` can be sent in a subsequent - /// \[ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances\] + /// [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances] /// call to fetch more of the matching instances. #[prost(string, tag = "2")] pub next_page_token: ::prost::alloc::string::String, } /// The request for -/// \[UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance\]. +/// [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateInstanceRequest { /// Required. The instance to update, which must always include the instance /// name. Otherwise, only fields mentioned in - /// \[field_mask][google.spanner.admin.instance.v1.UpdateInstanceRequest.field_mask\] + /// [field_mask][google.spanner.admin.instance.v1.UpdateInstanceRequest.field_mask] /// need be included. #[prost(message, optional, tag = "1")] pub instance: ::core::option::Option, /// Required. A mask specifying which fields in - /// \[Instance][google.spanner.admin.instance.v1.Instance\] should be updated. + /// [Instance][google.spanner.admin.instance.v1.Instance] should be updated. /// The field mask must always be specified; this prevents any future fields in - /// \[Instance][google.spanner.admin.instance.v1.Instance\] from being erased + /// [Instance][google.spanner.admin.instance.v1.Instance] from being erased /// accidentally by clients that do not know about them. #[prost(message, optional, tag = "2")] pub field_mask: ::core::option::Option<::prost_types::FieldMask>, } /// The request for -/// \[DeleteInstance][google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstance\]. +/// [DeleteInstance][google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstance]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteInstanceRequest { @@ -730,7 +730,7 @@ pub struct DeleteInstanceRequest { pub name: ::prost::alloc::string::String, } /// Metadata type for the operation returned by -/// \[CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance\]. +/// [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateInstanceMetadata { @@ -738,7 +738,7 @@ pub struct CreateInstanceMetadata { #[prost(message, optional, tag = "1")] pub instance: ::core::option::Option, /// The time at which the - /// \[CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance\] + /// [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] /// request was received. #[prost(message, optional, tag = "2")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, @@ -752,7 +752,7 @@ pub struct CreateInstanceMetadata { pub end_time: ::core::option::Option<::prost_types::Timestamp>, } /// Metadata type for the operation returned by -/// \[UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance\]. +/// [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateInstanceMetadata { @@ -760,7 +760,7 @@ pub struct UpdateInstanceMetadata { #[prost(message, optional, tag = "1")] pub instance: ::core::option::Option, /// The time at which - /// \[UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance\] + /// [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance] /// request was received. #[prost(message, optional, tag = "2")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, @@ -774,7 +774,7 @@ pub struct UpdateInstanceMetadata { pub end_time: ::core::option::Option<::prost_types::Timestamp>, } /// Metadata type for the operation returned by -/// \[CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig\]. +/// [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateInstanceConfigMetadata { @@ -782,7 +782,7 @@ pub struct CreateInstanceConfigMetadata { #[prost(message, optional, tag = "1")] pub instance_config: ::core::option::Option, /// The progress of the - /// \[CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig\] + /// [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig] /// operation. #[prost(message, optional, tag = "2")] pub progress: ::core::option::Option, @@ -791,7 +791,7 @@ pub struct CreateInstanceConfigMetadata { pub cancel_time: ::core::option::Option<::prost_types::Timestamp>, } /// Metadata type for the operation returned by -/// \[UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig\]. +/// [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateInstanceConfigMetadata { @@ -799,7 +799,7 @@ pub struct UpdateInstanceConfigMetadata { #[prost(message, optional, tag = "1")] pub instance_config: ::core::option::Option, /// The progress of the - /// \[UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig\] + /// [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig] /// operation. #[prost(message, optional, tag = "2")] pub progress: ::core::option::Option, diff --git a/googleapis/src/bytes/google.spanner.v1.rs b/googleapis/src/bytes/google.spanner.v1.rs index 4fab7ca5..706fa1d0 100644 --- a/googleapis/src/bytes/google.spanner.v1.rs +++ b/googleapis/src/bytes/google.spanner.v1.rs @@ -1,4 +1,4 @@ -/// The response for \[Commit][google.spanner.v1.Spanner.Commit\]. +/// The response for [Commit][google.spanner.v1.Spanner.Commit]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CommitResponse { @@ -7,7 +7,7 @@ pub struct CommitResponse { pub commit_timestamp: ::core::option::Option<::prost_types::Timestamp>, /// The statistics about this Commit. Not returned by default. /// For more information, see - /// \[CommitRequest.return_commit_stats][google.spanner.v1.CommitRequest.return_commit_stats\]. + /// [CommitRequest.return_commit_stats][google.spanner.v1.CommitRequest.return_commit_stats]. #[prost(message, optional, tag = "2")] pub commit_stats: ::core::option::Option, } @@ -21,9 +21,9 @@ pub mod commit_response { /// `mutation_count` value can help you maximize the number of mutations /// in a transaction and minimize the number of API round trips. You can /// also monitor this value to prevent transactions from exceeding the system - /// \[limit\](). + /// [limit](). /// If the number of mutations exceeds the limit, the server returns - /// \[INVALID_ARGUMENT\](). + /// [INVALID_ARGUMENT](). #[prost(int64, tag = "1")] pub mutation_count: i64, } @@ -36,7 +36,7 @@ pub mod commit_response { /// Keys are represented by lists, where the ith value in the list /// corresponds to the ith component of the table or index primary key. /// Individual values are encoded as described -/// \[here][google.spanner.v1.TypeCode\]. +/// [here][google.spanner.v1.TypeCode]. /// /// For example, consider the following table definition: /// @@ -47,8 +47,8 @@ pub mod commit_response { /// /// The following keys name rows in this table: /// -/// ["Bob", "2014-09-23"] -/// ["Alfred", "2015-06-12"] +/// \["Bob", "2014-09-23"\] +/// \["Alfred", "2015-06-12"\] /// /// Since the `UserEvents` table's `PRIMARY KEY` clause names two /// columns, each `UserEvents` key has two elements; the first is the @@ -59,8 +59,8 @@ pub mod commit_response { /// sort order. For example, the following range returns all events for /// user `"Bob"` that occurred in the year 2015: /// -/// "start_closed": ["Bob", "2015-01-01"] -/// "end_closed": ["Bob", "2015-12-31"] +/// "start_closed": \["Bob", "2015-01-01"\] +/// "end_closed": \["Bob", "2015-12-31"\] /// /// Start and end keys can omit trailing key components. This affects the /// inclusion and exclusion of rows that exactly match the provided key @@ -71,7 +71,7 @@ pub mod commit_response { /// For example, the following range includes all events for `"Bob"` that /// occurred during and after the year 2000: /// -/// "start_closed": ["Bob", "2000-01-01"] +/// "start_closed": \["Bob", "2000-01-01"\] /// "end_closed": \["Bob"\] /// /// The next example retrieves all events for `"Bob"`: @@ -82,12 +82,12 @@ pub mod commit_response { /// To retrieve events before the year 2000: /// /// "start_closed": \["Bob"\] -/// "end_open": ["Bob", "2000-01-01"] +/// "end_open": \["Bob", "2000-01-01"\] /// /// The following range includes all rows in the table: /// -/// "start_closed": [] -/// "end_closed": [] +/// "start_closed": \[\] +/// "end_closed": \[\] /// /// This range returns all users whose `UserName` begins with any /// character from A to C: @@ -168,10 +168,10 @@ pub struct KeySet { /// A list of specific keys. Entries in `keys` should have exactly as /// many elements as there are columns in the primary or index key /// with which this `KeySet` is used. Individual key values are - /// encoded as described \[here][google.spanner.v1.TypeCode\]. + /// encoded as described [here][google.spanner.v1.TypeCode]. #[prost(message, repeated, tag = "1")] pub keys: ::prost::alloc::vec::Vec<::prost_types::ListValue>, - /// A list of key ranges. See \[KeyRange][google.spanner.v1.KeyRange\] for more information about + /// A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about /// key range specifications. #[prost(message, repeated, tag = "2")] pub ranges: ::prost::alloc::vec::Vec, @@ -183,7 +183,7 @@ pub struct KeySet { } /// A modification to one or more Cloud Spanner rows. Mutations can be /// applied to a Cloud Spanner database by sending them in a -/// \[Commit][google.spanner.v1.Spanner.Commit\] call. +/// [Commit][google.spanner.v1.Spanner.Commit] call. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct Mutation { @@ -193,15 +193,15 @@ pub struct Mutation { } /// Nested message and enum types in `Mutation`. pub mod mutation { - /// Arguments to \[insert][google.spanner.v1.Mutation.insert\], \[update][google.spanner.v1.Mutation.update\], \[insert_or_update][google.spanner.v1.Mutation.insert_or_update\], and - /// \[replace][google.spanner.v1.Mutation.replace\] operations. + /// Arguments to [insert][google.spanner.v1.Mutation.insert], [update][google.spanner.v1.Mutation.update], [insert_or_update][google.spanner.v1.Mutation.insert_or_update], and + /// [replace][google.spanner.v1.Mutation.replace] operations. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct Write { /// Required. The table whose rows will be written. #[prost(string, tag = "1")] pub table: ::prost::alloc::string::String, - /// The names of the columns in \[table][google.spanner.v1.Mutation.Write.table\] to be written. + /// The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written. /// /// The list of columns must contain enough columns to allow /// Cloud Spanner to derive values for all primary key columns in the @@ -211,22 +211,22 @@ pub mod mutation { /// The values to be written. `values` can contain more than one /// list of values. If it does, then multiple rows are written, one /// for each entry in `values`. Each list in `values` must have - /// exactly as many entries as there are entries in \[columns][google.spanner.v1.Mutation.Write.columns\] + /// exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] /// above. Sending multiple lists is equivalent to sending multiple /// `Mutation`s, each containing one `values` entry and repeating - /// \[table][google.spanner.v1.Mutation.Write.table\] and \[columns][google.spanner.v1.Mutation.Write.columns\]. Individual values in each list are - /// encoded as described \[here][google.spanner.v1.TypeCode\]. + /// [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are + /// encoded as described [here][google.spanner.v1.TypeCode]. #[prost(message, repeated, tag = "3")] pub values: ::prost::alloc::vec::Vec<::prost_types::ListValue>, } - /// Arguments to \[delete][google.spanner.v1.Mutation.delete\] operations. + /// Arguments to [delete][google.spanner.v1.Mutation.delete] operations. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct Delete { /// Required. The table whose rows will be deleted. #[prost(string, tag = "1")] pub table: ::prost::alloc::string::String, - /// Required. The primary keys of the rows within \[table][google.spanner.v1.Mutation.Delete.table\] to delete. The + /// Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete. The /// primary keys must be specified in the order in which they appear in the /// `PRIMARY KEY()` clause of the table's equivalent DDL statement (the DDL /// statement used to create the table). @@ -247,18 +247,18 @@ pub mod mutation { /// already exist, the transaction fails with error `NOT_FOUND`. #[prost(message, tag = "2")] Update(Write), - /// Like \[insert][google.spanner.v1.Mutation.insert\], except that if the row already exists, then + /// Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then /// its column values are overwritten with the ones provided. Any /// column values not explicitly written are preserved. /// - /// When using \[insert_or_update][google.spanner.v1.Mutation.insert_or_update\], just as when using \[insert][google.spanner.v1.Mutation.insert\], all `NOT + /// When using [insert_or_update][google.spanner.v1.Mutation.insert_or_update], just as when using [insert][google.spanner.v1.Mutation.insert], all `NOT /// NULL` columns in the table must be given a value. This holds true /// even when the row already exists and will therefore actually be updated. #[prost(message, tag = "3")] InsertOrUpdate(Write), - /// Like \[insert][google.spanner.v1.Mutation.insert\], except that if the row already exists, it is + /// Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is /// deleted, and the column values provided are inserted - /// instead. Unlike \[insert_or_update][google.spanner.v1.Mutation.insert_or_update\], this means any values not + /// instead. Unlike [insert_or_update][google.spanner.v1.Mutation.insert_or_update], this means any values not /// explicitly written become `NULL`. /// /// In an interleaved table, if you create the child table with the @@ -273,16 +273,16 @@ pub mod mutation { Delete(Delete), } } -/// Node information for nodes appearing in a \[QueryPlan.plan_nodes][google.spanner.v1.QueryPlan.plan_nodes\]. +/// Node information for nodes appearing in a [QueryPlan.plan_nodes][google.spanner.v1.QueryPlan.plan_nodes]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlanNode { - /// The `PlanNode`'s index in [node list]\[google.spanner.v1.QueryPlan.plan_nodes\]. + /// The `PlanNode`'s index in [node list][google.spanner.v1.QueryPlan.plan_nodes]. #[prost(int32, tag = "1")] pub index: i32, /// Used to determine the type of node. May be needed for visualizing /// different kinds of nodes differently. For example, If the node is a - /// \[SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR\] node, it will have a condensed representation + /// [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] node, it will have a condensed representation /// which can be used to directly embed a description of the node in its /// parent. #[prost(enumeration = "plan_node::Kind", tag = "2")] @@ -293,7 +293,7 @@ pub struct PlanNode { /// List of child node `index`es and their relationship to this parent. #[prost(message, repeated, tag = "4")] pub child_links: ::prost::alloc::vec::Vec, - /// Condensed representation for \[SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR\] nodes. + /// Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes. #[prost(message, optional, tag = "5")] pub short_representation: ::core::option::Option, /// Attributes relevant to the node contained in a group of key-value pairs. @@ -316,7 +316,7 @@ pub struct PlanNode { /// Nested message and enum types in `PlanNode`. pub mod plan_node { /// Metadata associated with a parent-child relationship appearing in a - /// \[PlanNode][google.spanner.v1.PlanNode\]. + /// [PlanNode][google.spanner.v1.PlanNode]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChildLink { @@ -329,7 +329,7 @@ pub mod plan_node { /// with the output variable. #[prost(string, tag = "2")] pub r#type: ::prost::alloc::string::String, - /// Only present if the child node is \[SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR\] and corresponds + /// Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds /// to an output variable of the parent node. The field carries the name of /// the output variable. /// For example, a `TableScan` operator that reads rows from a table will @@ -341,7 +341,7 @@ pub mod plan_node { pub variable: ::prost::alloc::string::String, } /// Condensed representation of a node and its subtree. Only present for - /// `SCALAR` \[PlanNode(s)][google.spanner.v1.PlanNode\]. + /// `SCALAR` [PlanNode(s)][google.spanner.v1.PlanNode]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShortRepresentation { @@ -356,7 +356,7 @@ pub mod plan_node { #[prost(map = "string, int32", tag = "2")] pub subqueries: ::std::collections::HashMap<::prost::alloc::string::String, i32>, } - /// The kind of \[PlanNode][google.spanner.v1.PlanNode\]. Distinguishes between the two different kinds of + /// The kind of [PlanNode][google.spanner.v1.PlanNode]. Distinguishes between the two different kinds of /// nodes that can appear in a query plan. #[derive( Clone, @@ -411,7 +411,7 @@ pub mod plan_node { #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryPlan { /// The nodes in the query plan. Plan nodes are returned in pre-order starting - /// with the plan root. Each \[PlanNode][google.spanner.v1.PlanNode\]'s `id` corresponds to its index in + /// with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in /// `plan_nodes`. #[prost(message, repeated, tag = "1")] pub plan_nodes: ::prost::alloc::vec::Vec, @@ -445,7 +445,7 @@ pub struct QueryPlan { /// /// Queries on change streams must be performed with the snapshot read-only /// transaction mode, specifying a strong read. Please see -/// \[TransactionOptions.ReadOnly.strong][google.spanner.v1.TransactionOptions.ReadOnly.strong\] +/// [TransactionOptions.ReadOnly.strong][google.spanner.v1.TransactionOptions.ReadOnly.strong] /// for more details. /// /// 3. Partitioned DML. This type of transaction is used to execute @@ -476,16 +476,16 @@ pub struct QueryPlan { /// and cause less contention. Cloud Spanner attempts to keep read locks /// active as long as the transaction continues to do reads, and the /// transaction has not been terminated by -/// \[Commit][google.spanner.v1.Spanner.Commit\] or -/// \[Rollback][google.spanner.v1.Spanner.Rollback\]. Long periods of +/// [Commit][google.spanner.v1.Spanner.Commit] or +/// [Rollback][google.spanner.v1.Spanner.Rollback]. Long periods of /// inactivity at the client may cause Cloud Spanner to release a /// transaction's locks and abort it. /// /// Conceptually, a read-write transaction consists of zero or more /// reads or SQL statements followed by -/// \[Commit][google.spanner.v1.Spanner.Commit\]. At any time before -/// \[Commit][google.spanner.v1.Spanner.Commit\], the client can send a -/// \[Rollback][google.spanner.v1.Spanner.Rollback\] request to abort the +/// [Commit][google.spanner.v1.Spanner.Commit]. At any time before +/// [Commit][google.spanner.v1.Spanner.Commit], the client can send a +/// [Rollback][google.spanner.v1.Spanner.Rollback] request to abort the /// transaction. /// /// Semantics: @@ -547,8 +547,8 @@ pub struct QueryPlan { /// need to worry about this in practice. /// /// Snapshot read-only transactions do not need to call -/// \[Commit][google.spanner.v1.Spanner.Commit\] or -/// \[Rollback][google.spanner.v1.Spanner.Rollback\] (and in fact are not +/// [Commit][google.spanner.v1.Spanner.Commit] or +/// [Rollback][google.spanner.v1.Spanner.Rollback] (and in fact are not /// permitted to do so). /// /// To execute a snapshot transaction, the client specifies a timestamp @@ -583,7 +583,7 @@ pub struct QueryPlan { /// the strong read timestamp bound. /// /// See -/// \[TransactionOptions.ReadOnly.strong][google.spanner.v1.TransactionOptions.ReadOnly.strong\]. +/// [TransactionOptions.ReadOnly.strong][google.spanner.v1.TransactionOptions.ReadOnly.strong]. /// /// Exact staleness: /// @@ -605,9 +605,9 @@ pub struct QueryPlan { /// boundedly stale reads usually return fresher results. /// /// See -/// \[TransactionOptions.ReadOnly.read_timestamp][google.spanner.v1.TransactionOptions.ReadOnly.read_timestamp\] +/// [TransactionOptions.ReadOnly.read_timestamp][google.spanner.v1.TransactionOptions.ReadOnly.read_timestamp] /// and -/// \[TransactionOptions.ReadOnly.exact_staleness][google.spanner.v1.TransactionOptions.ReadOnly.exact_staleness\]. +/// [TransactionOptions.ReadOnly.exact_staleness][google.spanner.v1.TransactionOptions.ReadOnly.exact_staleness]. /// /// Bounded staleness: /// @@ -637,9 +637,9 @@ pub struct QueryPlan { /// read-only transactions. /// /// See -/// \[TransactionOptions.ReadOnly.max_staleness][google.spanner.v1.TransactionOptions.ReadOnly.max_staleness\] +/// [TransactionOptions.ReadOnly.max_staleness][google.spanner.v1.TransactionOptions.ReadOnly.max_staleness] /// and -/// \[TransactionOptions.ReadOnly.min_read_timestamp][google.spanner.v1.TransactionOptions.ReadOnly.min_read_timestamp\]. +/// [TransactionOptions.ReadOnly.min_read_timestamp][google.spanner.v1.TransactionOptions.ReadOnly.min_read_timestamp]. /// /// Old read timestamps and garbage collection: /// @@ -678,7 +678,7 @@ pub struct QueryPlan { /// /// In addition, if TransactionOptions.read_only.return_read_timestamp is set /// to true, a special value of 2^63 - 2 will be returned in the -/// \[Transaction][google.spanner.v1.Transaction\] message that describes the +/// [Transaction][google.spanner.v1.Transaction] message that describes the /// transaction, instead of a valid read timestamp. This special value should be /// discarded and not used for any subsequent queries. /// @@ -822,7 +822,7 @@ pub mod transaction_options { #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadOnly { /// If true, the Cloud Spanner-selected read timestamp is included in - /// the \[Transaction][google.spanner.v1.Transaction\] message that describes + /// the [Transaction][google.spanner.v1.Transaction] message that describes /// the transaction. #[prost(bool, tag = "6")] pub return_read_timestamp: bool, @@ -928,10 +928,10 @@ pub mod transaction_options { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Transaction { /// `id` may be used to identify the transaction in subsequent - /// \[Read][google.spanner.v1.Spanner.Read\], - /// \[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql\], - /// \[Commit][google.spanner.v1.Spanner.Commit\], or - /// \[Rollback][google.spanner.v1.Spanner.Rollback\] calls. + /// [Read][google.spanner.v1.Spanner.Read], + /// [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], + /// [Commit][google.spanner.v1.Spanner.Commit], or + /// [Rollback][google.spanner.v1.Spanner.Rollback] calls. /// /// Single-use read-only transactions do not have IDs, because /// single-use transactions do not support multiple requests. @@ -939,7 +939,7 @@ pub struct Transaction { pub id: ::prost::bytes::Bytes, /// For snapshot read-only transactions, the read timestamp chosen /// for the transaction. Not returned by default: see - /// \[TransactionOptions.ReadOnly.return_read_timestamp][google.spanner.v1.TransactionOptions.ReadOnly.return_read_timestamp\]. + /// [TransactionOptions.ReadOnly.return_read_timestamp][google.spanner.v1.TransactionOptions.ReadOnly.return_read_timestamp]. /// /// A timestamp in RFC3339 UTC \"Zulu\" format, accurate to nanoseconds. /// Example: `"2014-10-02T15:01:23.045123456Z"`. @@ -947,10 +947,10 @@ pub struct Transaction { pub read_timestamp: ::core::option::Option<::prost_types::Timestamp>, } /// This message is used to select the transaction in which a -/// \[Read][google.spanner.v1.Spanner.Read\] or -/// \[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql\] call runs. +/// [Read][google.spanner.v1.Spanner.Read] or +/// [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] call runs. /// -/// See \[TransactionOptions][google.spanner.v1.TransactionOptions\] for more +/// See [TransactionOptions][google.spanner.v1.TransactionOptions] for more /// information about transactions. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -977,8 +977,8 @@ pub mod transaction_selector { Id(::prost::bytes::Bytes), /// Begin a new transaction and execute this read or SQL query in /// it. The transaction ID of the new transaction is returned in - /// \[ResultSetMetadata.transaction][google.spanner.v1.ResultSetMetadata.transaction\], - /// which is a \[Transaction][google.spanner.v1.Transaction\]. + /// [ResultSetMetadata.transaction][google.spanner.v1.ResultSetMetadata.transaction], + /// which is a [Transaction][google.spanner.v1.Transaction]. #[prost(message, tag = "3")] Begin(super::TransactionOptions), } @@ -988,34 +988,34 @@ pub mod transaction_selector { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct Type { - /// Required. The \[TypeCode][google.spanner.v1.TypeCode\] for this type. + /// Required. The [TypeCode][google.spanner.v1.TypeCode] for this type. #[prost(enumeration = "TypeCode", tag = "1")] pub code: i32, - /// If \[code][google.spanner.v1.Type.code\] == \[ARRAY][google.spanner.v1.TypeCode.ARRAY\], then `array_element_type` + /// If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type` /// is the type of the array elements. #[prost(message, optional, boxed, tag = "2")] pub array_element_type: ::core::option::Option<::prost::alloc::boxed::Box>, - /// If \[code][google.spanner.v1.Type.code\] == \[STRUCT][google.spanner.v1.TypeCode.STRUCT\], then `struct_type` + /// If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type` /// provides type information for the struct's fields. #[prost(message, optional, tag = "3")] pub struct_type: ::core::option::Option, - /// The \[TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode\] that disambiguates SQL type that Spanner will + /// The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will /// use to represent values of this type during query processing. This is - /// necessary for some type codes because a single \[TypeCode][google.spanner.v1.TypeCode\] can be mapped - /// to different SQL types depending on the SQL dialect. \[type_annotation][google.spanner.v1.Type.type_annotation\] + /// necessary for some type codes because a single [TypeCode][google.spanner.v1.TypeCode] can be mapped + /// to different SQL types depending on the SQL dialect. [type_annotation][google.spanner.v1.Type.type_annotation] /// typically is not needed to process the content of a value (it doesn't /// affect serialization) and clients can ignore it on the read path. #[prost(enumeration = "TypeAnnotationCode", tag = "4")] pub type_annotation: i32, } -/// `StructType` defines the fields of a \[STRUCT][google.spanner.v1.TypeCode.STRUCT\] type. +/// `StructType` defines the fields of a [STRUCT][google.spanner.v1.TypeCode.STRUCT] type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct StructType { /// The list of fields that make up this struct. Order is /// significant, because values of this struct type are represented as /// lists, where the order of field values matches the order of - /// fields in the \[StructType][google.spanner.v1.StructType\]. In turn, the order of fields + /// fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields /// matches the order of columns in a read request, or the order of /// fields in the `SELECT` clause of a query. #[prost(message, repeated, tag = "1")] @@ -1041,7 +1041,7 @@ pub mod struct_type { pub r#type: ::core::option::Option, } } -/// `TypeCode` is used as part of \[Type][google.spanner.v1.Type\] to +/// `TypeCode` is used as part of [Type][google.spanner.v1.Type] to /// indicate the type of a Cloud Spanner value. /// /// Each legal value of a type can be encoded to or decoded from a JSON @@ -1078,19 +1078,19 @@ pub enum TypeCode { Bytes = 7, /// Encoded as `list`, where the list elements are represented /// according to - /// \[array_element_type][google.spanner.v1.Type.array_element_type\]. + /// [array_element_type][google.spanner.v1.Type.array_element_type]. Array = 8, /// Encoded as `list`, where list element `i` is represented according - /// to \[struct_type.fields[i]][google.spanner.v1.StructType.fields\]. + /// to \[struct_type.fields[i\]][google.spanner.v1.StructType.fields]. Struct = 9, /// Encoded as `string`, in decimal format or scientific notation format. ///
Decimal format: - ///
`\[+-]Digits[.[Digits]\]` or - ///
`\[+-][Digits\].Digits` + ///
`\[+-\]Digits\[.[Digits]\]` or + ///
`[+-][Digits].Digits` /// /// Scientific notation: - ///
`\[+-]Digits[.[Digits]][ExponentIndicator[+-]Digits\]` or - ///
`\[+-][Digits].Digits[ExponentIndicator[+-]Digits\]` + ///
`\[+-\]Digits\[.[Digits\]][ExponentIndicator\[+-\]Digits]` or + ///
`[+-][Digits].Digits\[ExponentIndicator[+-\]Digits]` ///
(ExponentIndicator is `"e"` or `"E"`) Numeric = 10, /// Encoded as a JSON-formatted `string` as described in RFC 7159. The @@ -1143,7 +1143,7 @@ impl TypeCode { } } } -/// `TypeAnnotationCode` is used as a part of \[Type][google.spanner.v1.Type\] to +/// `TypeAnnotationCode` is used as a part of [Type][google.spanner.v1.Type] to /// disambiguate SQL types that should be used for a given Cloud Spanner value. /// Disambiguation is needed because the same Cloud Spanner type can be mapped to /// different SQL types depending on SQL dialect. TypeAnnotationCode doesn't @@ -1154,17 +1154,17 @@ pub enum TypeAnnotationCode { /// Not specified. Unspecified = 0, /// PostgreSQL compatible NUMERIC type. This annotation needs to be applied to - /// \[Type][google.spanner.v1.Type\] instances having \[NUMERIC][google.spanner.v1.TypeCode.NUMERIC\] + /// [Type][google.spanner.v1.Type] instances having [NUMERIC][google.spanner.v1.TypeCode.NUMERIC] /// type code to specify that values of this type should be treated as /// PostgreSQL NUMERIC values. Currently this annotation is always needed for - /// \[NUMERIC][google.spanner.v1.TypeCode.NUMERIC\] when a client interacts with PostgreSQL-enabled + /// [NUMERIC][google.spanner.v1.TypeCode.NUMERIC] when a client interacts with PostgreSQL-enabled /// Spanner databases. PgNumeric = 2, /// PostgreSQL compatible JSONB type. This annotation needs to be applied to - /// \[Type][google.spanner.v1.Type\] instances having \[JSON][google.spanner.v1.TypeCode.JSON\] + /// [Type][google.spanner.v1.Type] instances having [JSON][google.spanner.v1.TypeCode.JSON] /// type code to specify that values of this type should be treated as /// PostgreSQL JSONB values. Currently this annotation is always needed for - /// \[JSON][google.spanner.v1.TypeCode.JSON\] when a client interacts with PostgreSQL-enabled + /// [JSON][google.spanner.v1.TypeCode.JSON] when a client interacts with PostgreSQL-enabled /// Spanner databases. PgJsonb = 3, } @@ -1190,8 +1190,8 @@ impl TypeAnnotationCode { } } } -/// Results from \[Read][google.spanner.v1.Spanner.Read\] or -/// \[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql\]. +/// Results from [Read][google.spanner.v1.Spanner.Read] or +/// [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResultSet { @@ -1199,21 +1199,21 @@ pub struct ResultSet { #[prost(message, optional, tag = "1")] pub metadata: ::core::option::Option, /// Each element in `rows` is a row whose format is defined by - /// \[metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type\]. The ith element + /// [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element /// in each row matches the ith field in - /// \[metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type\]. Elements are + /// [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. Elements are /// encoded based on type as described - /// \[here][google.spanner.v1.TypeCode\]. + /// [here][google.spanner.v1.TypeCode]. #[prost(message, repeated, tag = "2")] pub rows: ::prost::alloc::vec::Vec<::prost_types::ListValue>, /// Query plan and execution statistics for the SQL statement that /// produced this result set. These can be requested by setting - /// \[ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode\]. + /// [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode]. /// DML statements always produce stats containing the number of rows /// modified, unless executed using the - /// \[ExecuteSqlRequest.QueryMode.PLAN][google.spanner.v1.ExecuteSqlRequest.QueryMode.PLAN\] \[ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode\]. + /// [ExecuteSqlRequest.QueryMode.PLAN][google.spanner.v1.ExecuteSqlRequest.QueryMode.PLAN] [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode]. /// Other fields may or may not be populated, based on the - /// \[ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode\]. + /// [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode]. #[prost(message, optional, tag = "3")] pub stats: ::core::option::Option, } @@ -1231,14 +1231,14 @@ pub struct PartialResultSet { /// be split into many `PartialResultSet` messages to accommodate /// large rows and/or large values. Every N complete values defines a /// row, where N is equal to the number of entries in - /// \[metadata.row_type.fields][google.spanner.v1.StructType.fields\]. + /// [metadata.row_type.fields][google.spanner.v1.StructType.fields]. /// /// Most values are encoded based on type as described - /// \[here][google.spanner.v1.TypeCode\]. + /// [here][google.spanner.v1.TypeCode]. /// /// It is possible that the last value in values is "chunked", /// meaning that the rest of the value is sent in subsequent - /// `PartialResultSet`(s). This is denoted by the \[chunked_value][google.spanner.v1.PartialResultSet.chunked_value\] + /// `PartialResultSet`(s). This is denoted by the [chunked_value][google.spanner.v1.PartialResultSet.chunked_value] /// field. Two or more chunked values can be merged to form a /// complete value as follows: /// @@ -1257,16 +1257,16 @@ pub struct PartialResultSet { /// "foo", "bar" => "foobar" /// /// # Lists of non-strings are concatenated. - /// [2, 3], \[4\] => [2, 3, 4] + /// \[2, 3\], \[4\] => \[2, 3, 4\] /// /// # Lists are concatenated, but the last and first elements are merged /// # because they are strings. - /// ["a", "b"], ["c", "d"] => ["a", "bc", "d"] + /// \["a", "b"\], \["c", "d"\] => \["a", "bc", "d"\] /// /// # Lists are concatenated, but the last and first elements are merged /// # because they are lists. Recursively, the last and first elements /// # of the inner lists are merged because they are strings. - /// ["a", ["b", "c"]], \[["d"\], "e"] => ["a", ["b", "cd"], "e"] + /// \["a", ["b", "c"]\], \[["d"\], "e"] => \["a", ["b", "cd"\], "e"] /// /// # Non-overlapping object fields are combined. /// {"a": "1"}, {"b": "2"} => {"a": "1", "b": 2"} @@ -1283,7 +1283,7 @@ pub struct PartialResultSet { /// /// { /// "metadata": { ... } - /// "values": ["Hello", "W"] + /// "values": \["Hello", "W"\] /// "chunked_value": true /// "resume_token": "Af65..." /// } @@ -1302,7 +1302,7 @@ pub struct PartialResultSet { /// field value `"World" = "W" + "orl" + "d"`. #[prost(message, repeated, tag = "2")] pub values: ::prost::alloc::vec::Vec<::prost_types::Value>, - /// If true, then the final value in \[values][google.spanner.v1.PartialResultSet.values\] is chunked, and must + /// If true, then the final value in [values][google.spanner.v1.PartialResultSet.values] is chunked, and must /// be combined with more values from subsequent `PartialResultSet`s /// to obtain a complete field value. #[prost(bool, tag = "3")] @@ -1316,14 +1316,14 @@ pub struct PartialResultSet { pub resume_token: ::prost::bytes::Bytes, /// Query plan and execution statistics for the statement that produced this /// streaming result set. These can be requested by setting - /// \[ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode\] and are sent + /// [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] and are sent /// only once with the last response in the stream. /// This field will also be present in the last response for DML /// statements. #[prost(message, optional, tag = "5")] pub stats: ::core::option::Option, } -/// Metadata about a \[ResultSet][google.spanner.v1.ResultSet\] or \[PartialResultSet][google.spanner.v1.PartialResultSet\]. +/// Metadata about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResultSetMetadata { @@ -1354,11 +1354,11 @@ pub struct ResultSetMetadata { #[prost(message, optional, tag = "3")] pub undeclared_parameters: ::core::option::Option, } -/// Additional statistics about a \[ResultSet][google.spanner.v1.ResultSet\] or \[PartialResultSet][google.spanner.v1.PartialResultSet\]. +/// Additional statistics about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResultSetStats { - /// \[QueryPlan][google.spanner.v1.QueryPlan\] for the query associated with this result. + /// [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result. #[prost(message, optional, tag = "1")] pub query_plan: ::core::option::Option, /// Aggregated statistics from the execution of the query. Only present when @@ -1391,7 +1391,7 @@ pub mod result_set_stats { RowCountLowerBound(i64), } } -/// The request for \[CreateSession][google.spanner.v1.Spanner.CreateSession\]. +/// The request for [CreateSession][google.spanner.v1.Spanner.CreateSession]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateSessionRequest { @@ -1402,7 +1402,7 @@ pub struct CreateSessionRequest { #[prost(message, optional, tag = "2")] pub session: ::core::option::Option, } -/// The request for \[BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions\]. +/// The request for [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchCreateSessionsRequest { @@ -1416,11 +1416,11 @@ pub struct BatchCreateSessionsRequest { /// The API may return fewer than the requested number of sessions. If a /// specific number of sessions are desired, the client can make additional /// calls to BatchCreateSessions (adjusting - /// \[session_count][google.spanner.v1.BatchCreateSessionsRequest.session_count\] as necessary). + /// [session_count][google.spanner.v1.BatchCreateSessionsRequest.session_count] as necessary). #[prost(int32, tag = "3")] pub session_count: i32, } -/// The response for \[BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions\]. +/// The response for [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchCreateSessionsResponse { @@ -1438,9 +1438,9 @@ pub struct Session { /// The labels for the session. /// /// * Label keys must be between 1 and 63 characters long and must conform to - /// the following regular expression: `\[a-z]([-a-z0-9]*[a-z0-9\])?`. + /// the following regular expression: `[a-z](\[-a-z0-9\]*[a-z0-9])?`. /// * Label values must be between 0 and 63 characters long and must conform - /// to the regular expression `(\[a-z]([-a-z0-9]*[a-z0-9\])?)?`. + /// to the regular expression `([a-z](\[-a-z0-9\]*[a-z0-9])?)?`. /// * No more than 64 labels can be associated with a given session. /// /// See for more information on and examples of labels. @@ -1460,7 +1460,7 @@ pub struct Session { #[prost(string, tag = "5")] pub creator_role: ::prost::alloc::string::String, } -/// The request for \[GetSession][google.spanner.v1.Spanner.GetSession\]. +/// The request for [GetSession][google.spanner.v1.Spanner.GetSession]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSessionRequest { @@ -1468,7 +1468,7 @@ pub struct GetSessionRequest { #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, } -/// The request for \[ListSessions][google.spanner.v1.Spanner.ListSessions\]. +/// The request for [ListSessions][google.spanner.v1.Spanner.ListSessions]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSessionsRequest { @@ -1480,8 +1480,8 @@ pub struct ListSessionsRequest { #[prost(int32, tag = "2")] pub page_size: i32, /// If non-empty, `page_token` should contain a - /// \[next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token\] from a previous - /// \[ListSessionsResponse][google.spanner.v1.ListSessionsResponse\]. + /// [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] from a previous + /// [ListSessionsResponse][google.spanner.v1.ListSessionsResponse]. #[prost(string, tag = "3")] pub page_token: ::prost::alloc::string::String, /// An expression for filtering the results of the request. Filter rules are @@ -1497,7 +1497,7 @@ pub struct ListSessionsRequest { #[prost(string, tag = "4")] pub filter: ::prost::alloc::string::String, } -/// The response for \[ListSessions][google.spanner.v1.Spanner.ListSessions\]. +/// The response for [ListSessions][google.spanner.v1.Spanner.ListSessions]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSessionsResponse { @@ -1505,12 +1505,12 @@ pub struct ListSessionsResponse { #[prost(message, repeated, tag = "1")] pub sessions: ::prost::alloc::vec::Vec, /// `next_page_token` can be sent in a subsequent - /// \[ListSessions][google.spanner.v1.Spanner.ListSessions\] call to fetch more of the matching + /// [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching /// sessions. #[prost(string, tag = "2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request for \[DeleteSession][google.spanner.v1.Spanner.DeleteSession\]. +/// The request for [DeleteSession][google.spanner.v1.Spanner.DeleteSession]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteSessionRequest { @@ -1554,7 +1554,7 @@ pub struct RequestOptions { /// Nested message and enum types in `RequestOptions`. pub mod request_options { /// The relative priority for requests. Note that priority is not applicable - /// for \[BeginTransaction][google.spanner.v1.Spanner.BeginTransaction\]. + /// for [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction]. /// /// The priority acts as a hint to the Cloud Spanner scheduler and does not /// guarantee priority or order of execution. For example: @@ -1616,8 +1616,8 @@ pub mod request_options { } } } -/// The request for \[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql\] and -/// \[ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql\]. +/// The request for [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and +/// [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExecuteSqlRequest { @@ -1656,25 +1656,25 @@ pub struct ExecuteSqlRequest { pub params: ::core::option::Option<::prost_types::Struct>, /// It is not always possible for Cloud Spanner to infer the right SQL type /// from a JSON value. For example, values of type `BYTES` and values - /// of type `STRING` both appear in \[params][google.spanner.v1.ExecuteSqlRequest.params\] as JSON strings. + /// of type `STRING` both appear in [params][google.spanner.v1.ExecuteSqlRequest.params] as JSON strings. /// /// In these cases, `param_types` can be used to specify the exact /// SQL type for some or all of the SQL statement parameters. See the - /// definition of \[Type][google.spanner.v1.Type\] for more information + /// definition of [Type][google.spanner.v1.Type] for more information /// about SQL types. #[prost(map = "string, message", tag = "5")] pub param_types: ::std::collections::HashMap<::prost::alloc::string::String, Type>, /// If this request is resuming a previously interrupted SQL statement /// execution, `resume_token` should be copied from the last - /// \[PartialResultSet][google.spanner.v1.PartialResultSet\] yielded before the interruption. Doing this + /// [PartialResultSet][google.spanner.v1.PartialResultSet] yielded before the interruption. Doing this /// enables the new SQL statement execution to resume where the last one left /// off. The rest of the request parameters must exactly match the /// request that yielded this token. #[prost(bytes = "bytes", tag = "6")] pub resume_token: ::prost::bytes::Bytes, /// Used to control the amount of debugging information returned in - /// \[ResultSetStats][google.spanner.v1.ResultSetStats\]. If \[partition_token][google.spanner.v1.ExecuteSqlRequest.partition_token\] is set, \[query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode\] can only - /// be set to \[QueryMode.NORMAL][google.spanner.v1.ExecuteSqlRequest.QueryMode.NORMAL\]. + /// [ResultSetStats][google.spanner.v1.ResultSetStats]. If [partition_token][google.spanner.v1.ExecuteSqlRequest.partition_token] is set, [query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] can only + /// be set to [QueryMode.NORMAL][google.spanner.v1.ExecuteSqlRequest.QueryMode.NORMAL]. #[prost(enumeration = "execute_sql_request::QueryMode", tag = "7")] pub query_mode: i32, /// If present, results will be restricted to the specified partition @@ -1812,7 +1812,7 @@ pub mod execute_sql_request { } } } -/// The request for \[ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml\]. +/// The request for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExecuteBatchDmlRequest { @@ -1873,11 +1873,11 @@ pub mod execute_batch_dml_request { pub params: ::core::option::Option<::prost_types::Struct>, /// It is not always possible for Cloud Spanner to infer the right SQL type /// from a JSON value. For example, values of type `BYTES` and values - /// of type `STRING` both appear in \[params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params\] as JSON strings. + /// of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings. /// /// In these cases, `param_types` can be used to specify the exact /// SQL type for some or all of the SQL statement parameters. See the - /// definition of \[Type][google.spanner.v1.Type\] for more information + /// definition of [Type][google.spanner.v1.Type] for more information /// about SQL types. #[prost(map = "string, message", tag = "3")] pub param_types: ::std::collections::HashMap< @@ -1886,40 +1886,40 @@ pub mod execute_batch_dml_request { >, } } -/// The response for \[ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml\]. Contains a list -/// of \[ResultSet][google.spanner.v1.ResultSet\] messages, one for each DML statement that has successfully +/// The response for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml]. Contains a list +/// of [ResultSet][google.spanner.v1.ResultSet] messages, one for each DML statement that has successfully /// executed, in the same order as the statements in the request. If a statement /// fails, the status in the response body identifies the cause of the failure. /// /// To check for DML statements that failed, use the following approach: /// -/// 1. Check the status in the response message. The \[google.rpc.Code][google.rpc.Code\] enum +/// 1. Check the status in the response message. The [google.rpc.Code][google.rpc.Code] enum /// value `OK` indicates that all statements were executed successfully. /// 2. If the status was not `OK`, check the number of result sets in the -/// response. If the response contains `N` \[ResultSet][google.spanner.v1.ResultSet\] messages, then +/// response. If the response contains `N` [ResultSet][google.spanner.v1.ResultSet] messages, then /// statement `N+1` in the request failed. /// /// Example 1: /// /// * Request: 5 DML statements, all executed successfully. -/// * Response: 5 \[ResultSet][google.spanner.v1.ResultSet\] messages, with the status `OK`. +/// * Response: 5 [ResultSet][google.spanner.v1.ResultSet] messages, with the status `OK`. /// /// Example 2: /// /// * Request: 5 DML statements. The third statement has a syntax error. -/// * Response: 2 \[ResultSet][google.spanner.v1.ResultSet\] messages, and a syntax error (`INVALID_ARGUMENT`) -/// status. The number of \[ResultSet][google.spanner.v1.ResultSet\] messages indicates that the third +/// * Response: 2 [ResultSet][google.spanner.v1.ResultSet] messages, and a syntax error (`INVALID_ARGUMENT`) +/// status. The number of [ResultSet][google.spanner.v1.ResultSet] messages indicates that the third /// statement failed, and the fourth and fifth statements were not executed. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExecuteBatchDmlResponse { - /// One \[ResultSet][google.spanner.v1.ResultSet\] for each statement in the request that ran successfully, - /// in the same order as the statements in the request. Each \[ResultSet][google.spanner.v1.ResultSet\] does - /// not contain any rows. The \[ResultSetStats][google.spanner.v1.ResultSetStats\] in each \[ResultSet][google.spanner.v1.ResultSet\] contain + /// One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully, + /// in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does + /// not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] contain /// the number of rows modified by the statement. /// - /// Only the first \[ResultSet][google.spanner.v1.ResultSet\] in the response contains valid - /// \[ResultSetMetadata][google.spanner.v1.ResultSetMetadata\]. + /// Only the first [ResultSet][google.spanner.v1.ResultSet] in the response contains valid + /// [ResultSetMetadata][google.spanner.v1.ResultSetMetadata]. #[prost(message, repeated, tag = "1")] pub result_sets: ::prost::alloc::vec::Vec, /// If all DML statements are executed successfully, the status is `OK`. @@ -1951,7 +1951,7 @@ pub struct PartitionOptions { #[prost(int64, tag = "2")] pub max_partitions: i64, } -/// The request for \[PartitionQuery][google.spanner.v1.Spanner.PartitionQuery\] +/// The request for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct PartitionQueryRequest { @@ -1970,7 +1970,7 @@ pub struct PartitionQueryRequest { /// then unions all results. /// /// This must not contain DML commands, such as INSERT, UPDATE, or - /// DELETE. Use \[ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql\] with a + /// DELETE. Use [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql] with a /// PartitionedDml transaction for large, partition-friendly DML operations. #[prost(string, tag = "3")] pub sql: ::prost::alloc::string::String, @@ -1990,11 +1990,11 @@ pub struct PartitionQueryRequest { pub params: ::core::option::Option<::prost_types::Struct>, /// It is not always possible for Cloud Spanner to infer the right SQL type /// from a JSON value. For example, values of type `BYTES` and values - /// of type `STRING` both appear in \[params][google.spanner.v1.PartitionQueryRequest.params\] as JSON strings. + /// of type `STRING` both appear in [params][google.spanner.v1.PartitionQueryRequest.params] as JSON strings. /// /// In these cases, `param_types` can be used to specify the exact /// SQL type for some or all of the SQL query parameters. See the - /// definition of \[Type][google.spanner.v1.Type\] for more information + /// definition of [Type][google.spanner.v1.Type] for more information /// about SQL types. #[prost(map = "string, message", tag = "5")] pub param_types: ::std::collections::HashMap<::prost::alloc::string::String, Type>, @@ -2002,7 +2002,7 @@ pub struct PartitionQueryRequest { #[prost(message, optional, tag = "6")] pub partition_options: ::core::option::Option, } -/// The request for \[PartitionRead][google.spanner.v1.Spanner.PartitionRead\] +/// The request for [PartitionRead][google.spanner.v1.Spanner.PartitionRead] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct PartitionReadRequest { @@ -2016,19 +2016,19 @@ pub struct PartitionReadRequest { /// Required. The name of the table in the database to be read. #[prost(string, tag = "3")] pub table: ::prost::alloc::string::String, - /// If non-empty, the name of an index on \[table][google.spanner.v1.PartitionReadRequest.table\]. This index is - /// used instead of the table primary key when interpreting \[key_set][google.spanner.v1.PartitionReadRequest.key_set\] - /// and sorting result rows. See \[key_set][google.spanner.v1.PartitionReadRequest.key_set\] for further information. + /// If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is + /// used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set] + /// and sorting result rows. See [key_set][google.spanner.v1.PartitionReadRequest.key_set] for further information. #[prost(string, tag = "4")] pub index: ::prost::alloc::string::String, - /// The columns of \[table][google.spanner.v1.PartitionReadRequest.table\] to be returned for each row matching + /// The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching /// this request. #[prost(string, repeated, tag = "5")] pub columns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, /// Required. `key_set` identifies the rows to be yielded. `key_set` names the - /// primary keys of the rows in \[table][google.spanner.v1.PartitionReadRequest.table\] to be yielded, unless \[index][google.spanner.v1.PartitionReadRequest.index\] - /// is present. If \[index][google.spanner.v1.PartitionReadRequest.index\] is present, then \[key_set][google.spanner.v1.PartitionReadRequest.key_set\] instead names - /// index keys in \[index][google.spanner.v1.PartitionReadRequest.index\]. + /// primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index] + /// is present. If [index][google.spanner.v1.PartitionReadRequest.index] is present, then [key_set][google.spanner.v1.PartitionReadRequest.key_set] instead names + /// index keys in [index][google.spanner.v1.PartitionReadRequest.index]. /// /// It is not an error for the `key_set` to name rows that do not /// exist in the database. Read yields nothing for nonexistent rows. @@ -2049,8 +2049,8 @@ pub struct Partition { #[prost(bytes = "bytes", tag = "1")] pub partition_token: ::prost::bytes::Bytes, } -/// The response for \[PartitionQuery][google.spanner.v1.Spanner.PartitionQuery\] -/// or \[PartitionRead][google.spanner.v1.Spanner.PartitionRead\] +/// The response for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery] +/// or [PartitionRead][google.spanner.v1.Spanner.PartitionRead] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct PartitionResponse { @@ -2061,8 +2061,8 @@ pub struct PartitionResponse { #[prost(message, optional, tag = "2")] pub transaction: ::core::option::Option, } -/// The request for \[Read][google.spanner.v1.Spanner.Read\] and -/// \[StreamingRead][google.spanner.v1.Spanner.StreamingRead\]. +/// The request for [Read][google.spanner.v1.Spanner.Read] and +/// [StreamingRead][google.spanner.v1.Spanner.StreamingRead]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadRequest { @@ -2076,23 +2076,23 @@ pub struct ReadRequest { /// Required. The name of the table in the database to be read. #[prost(string, tag = "3")] pub table: ::prost::alloc::string::String, - /// If non-empty, the name of an index on \[table][google.spanner.v1.ReadRequest.table\]. This index is - /// used instead of the table primary key when interpreting \[key_set][google.spanner.v1.ReadRequest.key_set\] - /// and sorting result rows. See \[key_set][google.spanner.v1.ReadRequest.key_set\] for further information. + /// If non-empty, the name of an index on [table][google.spanner.v1.ReadRequest.table]. This index is + /// used instead of the table primary key when interpreting [key_set][google.spanner.v1.ReadRequest.key_set] + /// and sorting result rows. See [key_set][google.spanner.v1.ReadRequest.key_set] for further information. #[prost(string, tag = "4")] pub index: ::prost::alloc::string::String, - /// Required. The columns of \[table][google.spanner.v1.ReadRequest.table\] to be returned for each row matching + /// Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching /// this request. #[prost(string, repeated, tag = "5")] pub columns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, /// Required. `key_set` identifies the rows to be yielded. `key_set` names the - /// primary keys of the rows in \[table][google.spanner.v1.ReadRequest.table\] to be yielded, unless \[index][google.spanner.v1.ReadRequest.index\] - /// is present. If \[index][google.spanner.v1.ReadRequest.index\] is present, then \[key_set][google.spanner.v1.ReadRequest.key_set\] instead names - /// index keys in \[index][google.spanner.v1.ReadRequest.index\]. + /// primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index] + /// is present. If [index][google.spanner.v1.ReadRequest.index] is present, then [key_set][google.spanner.v1.ReadRequest.key_set] instead names + /// index keys in [index][google.spanner.v1.ReadRequest.index]. /// - /// If the \[partition_token][google.spanner.v1.ReadRequest.partition_token\] field is empty, rows are yielded - /// in table primary key order (if \[index][google.spanner.v1.ReadRequest.index\] is empty) or index key order - /// (if \[index][google.spanner.v1.ReadRequest.index\] is non-empty). If the \[partition_token][google.spanner.v1.ReadRequest.partition_token\] field is not + /// If the [partition_token][google.spanner.v1.ReadRequest.partition_token] field is empty, rows are yielded + /// in table primary key order (if [index][google.spanner.v1.ReadRequest.index] is empty) or index key order + /// (if [index][google.spanner.v1.ReadRequest.index] is non-empty). If the [partition_token][google.spanner.v1.ReadRequest.partition_token] field is not /// empty, rows will be yielded in an unspecified order. /// /// It is not an error for the `key_set` to name rows that do not @@ -2106,7 +2106,7 @@ pub struct ReadRequest { pub limit: i64, /// If this request is resuming a previously interrupted read, /// `resume_token` should be copied from the last - /// \[PartialResultSet][google.spanner.v1.PartialResultSet\] yielded before the interruption. Doing this + /// [PartialResultSet][google.spanner.v1.PartialResultSet] yielded before the interruption. Doing this /// enables the new read to resume where the last read left off. The /// rest of the request parameters must exactly match the request /// that yielded this token. @@ -2129,7 +2129,7 @@ pub struct ReadRequest { #[prost(bool, tag = "15")] pub data_boost_enabled: bool, } -/// The request for \[BeginTransaction][google.spanner.v1.Spanner.BeginTransaction\]. +/// The request for [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct BeginTransactionRequest { @@ -2147,7 +2147,7 @@ pub struct BeginTransactionRequest { #[prost(message, optional, tag = "3")] pub request_options: ::core::option::Option, } -/// The request for \[Commit][google.spanner.v1.Spanner.Commit\]. +/// The request for [Commit][google.spanner.v1.Spanner.Commit]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CommitRequest { @@ -2160,7 +2160,7 @@ pub struct CommitRequest { #[prost(message, repeated, tag = "4")] pub mutations: ::prost::alloc::vec::Vec, /// If `true`, then statistics related to the transaction will be included in - /// the \[CommitResponse][google.spanner.v1.CommitResponse.commit_stats\]. Default value is + /// the [CommitResponse][google.spanner.v1.CommitResponse.commit_stats]. Default value is /// `false`. #[prost(bool, tag = "5")] pub return_commit_stats: bool, @@ -2187,13 +2187,13 @@ pub mod commit_request { /// instance, due to retries in the application, or in the /// transport library), it is possible that the mutations are /// executed more than once. If this is undesirable, use - /// \[BeginTransaction][google.spanner.v1.Spanner.BeginTransaction\] and - /// \[Commit][google.spanner.v1.Spanner.Commit\] instead. + /// [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction] and + /// [Commit][google.spanner.v1.Spanner.Commit] instead. #[prost(message, tag = "3")] SingleUseTransaction(super::TransactionOptions), } } -/// The request for \[Rollback][google.spanner.v1.Spanner.Rollback\]. +/// The request for [Rollback][google.spanner.v1.Spanner.Rollback]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct RollbackRequest { diff --git a/googleapis/src/bytes/google.storage.v2.rs b/googleapis/src/bytes/google.storage.v2.rs index f6bcd863..79b802b1 100644 --- a/googleapis/src/bytes/google.storage.v2.rs +++ b/googleapis/src/bytes/google.storage.v2.rs @@ -1235,13 +1235,13 @@ pub struct Bucket { pub project: ::prost::alloc::string::String, /// Output only. The metadata generation of this bucket. /// Attempting to set or update this field will result in a - /// \[FieldViolation][google.rpc.BadRequest.FieldViolation\]. + /// [FieldViolation][google.rpc.BadRequest.FieldViolation]. #[prost(int64, tag = "4")] pub metageneration: i64, /// Immutable. The location of the bucket. Object data for objects in the /// bucket resides in physical storage within this region. Defaults to `US`. /// See the - /// \[ + /// [ /// guide] for the authoritative list. Attempting to update this field after /// the bucket is created will result in an error. #[prost(string, tag = "5")] @@ -1283,16 +1283,16 @@ pub struct Bucket { pub lifecycle: ::core::option::Option, /// Output only. The creation time of the bucket. /// Attempting to set or update this field will result in a - /// \[FieldViolation][google.rpc.BadRequest.FieldViolation\]. + /// [FieldViolation][google.rpc.BadRequest.FieldViolation]. #[prost(message, optional, tag = "11")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// The bucket's \[ Resource Sharing] + /// The bucket's [ Resource Sharing] /// (CORS) config. #[prost(message, repeated, tag = "12")] pub cors: ::prost::alloc::vec::Vec, /// Output only. The modification time of the bucket. /// Attempting to set or update this field will result in a - /// \[FieldViolation][google.rpc.BadRequest.FieldViolation\]. + /// [FieldViolation][google.rpc.BadRequest.FieldViolation]. #[prost(message, optional, tag = "13")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, /// The default value for event-based hold on newly created objects in this @@ -1318,7 +1318,7 @@ pub struct Bucket { >, /// The bucket's website config, controlling how the service behaves /// when accessing bucket contents as a web site. See the - /// \[ Website + /// [ Website /// Examples] for more information. #[prost(message, optional, tag = "16")] pub website: ::core::option::Option, @@ -1357,7 +1357,7 @@ pub struct Bucket { #[prost(bool, tag = "25")] pub satisfies_pzs: bool, /// Configuration that, if present, specifies the data placement for a - /// \[ Region]. + /// [ Region]. #[prost(message, optional, tag = "26")] pub custom_placement_config: ::core::option::Option, /// The bucket's Autoclass configuration. If there is no configuration, the @@ -1383,7 +1383,7 @@ pub mod bucket { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Cors { /// The list of Origins eligible to receive CORS response headers. See - /// \[ 6454] for more on origins. + /// [ 6454] for more on origins. /// Note: "*" is permitted in the list of origins, and means "any Origin". #[prost(string, repeated, tag = "1")] pub origin: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, @@ -1393,12 +1393,12 @@ pub mod bucket { #[prost(string, repeated, tag = "2")] pub method: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, /// The list of HTTP headers other than the - /// \[ response + /// [ response /// headers] to give permission for the user-agent to share across domains. #[prost(string, repeated, tag = "3")] pub response_header: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, /// The value, in seconds, to return in the - /// \[ + /// [ /// header] used in preflight responses. #[prost(int32, tag = "4")] pub max_age_seconds: i32, @@ -1613,14 +1613,14 @@ pub mod bucket { /// If the requested object path is missing, and any /// `mainPageSuffix` object is missing, if applicable, the service /// will return the named object from this bucket as the content for a - /// \[ Not Found] + /// [ Not Found] /// result. #[prost(string, tag = "2")] pub not_found_page: ::prost::alloc::string::String, } /// Configuration for Custom Dual Regions. It should specify precisely two /// eligible regions within the same Multiregion. More information on regions - /// may be found \[ + /// may be found [ #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomPlacementConfig { @@ -1720,7 +1720,7 @@ pub struct ObjectChecksums { pub crc32c: ::core::option::Option, /// 128 bit MD5 hash of the object data. /// For more information about using the MD5 hash, see - /// \[ and + /// [ and /// ETags: Best Practices]. /// Not all objects will provide an MD5 hash. For example, composite objects /// provide only crc32c hashes. @@ -1820,7 +1820,7 @@ pub struct CustomerEncryption { pub struct Object { /// Immutable. The name of this object. Nearly any sequence of unicode /// characters is valid. See - /// \[Guidelines\](). + /// [Guidelines](). /// Example: `test.txt` /// The `name` field by itself does not uniquely identify a Cloud Storage /// object. A Cloud Storage object is uniquely identified by the tuple of @@ -1838,35 +1838,35 @@ pub struct Object { pub etag: ::prost::alloc::string::String, /// Immutable. The content generation of this object. Used for object /// versioning. Attempting to set or update this field will result in a - /// \[FieldViolation][google.rpc.BadRequest.FieldViolation\]. + /// [FieldViolation][google.rpc.BadRequest.FieldViolation]. #[prost(int64, tag = "3")] pub generation: i64, /// Output only. The version of the metadata for this generation of this /// object. Used for preconditions and for detecting changes in metadata. A /// metageneration number is only meaningful in the context of a particular /// generation of a particular object. Attempting to set or update this field - /// will result in a \[FieldViolation][google.rpc.BadRequest.FieldViolation\]. + /// will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation]. #[prost(int64, tag = "4")] pub metageneration: i64, /// Storage class of the object. #[prost(string, tag = "5")] pub storage_class: ::prost::alloc::string::String, /// Output only. Content-Length of the object data in bytes, matching - /// \[ 7230 §3.3.2]. + /// [ 7230 §3.3.2]. /// Attempting to set or update this field will result in a - /// \[FieldViolation][google.rpc.BadRequest.FieldViolation\]. + /// [FieldViolation][google.rpc.BadRequest.FieldViolation]. #[prost(int64, tag = "6")] pub size: i64, /// Content-Encoding of the object data, matching - /// \[ 7231 §3.1.2.2] + /// [ 7231 §3.1.2.2] #[prost(string, tag = "7")] pub content_encoding: ::prost::alloc::string::String, /// Content-Disposition of the object data, matching - /// \[ 6266]. + /// [ 6266]. #[prost(string, tag = "8")] pub content_disposition: ::prost::alloc::string::String, /// Cache-Control directive for the object data, matching - /// \[ 7234 §5.2]. + /// [ 7234 §5.2]. /// If omitted, and the object is accessible to all anonymous users, the /// default will be `public, max-age=3600`. #[prost(string, tag = "9")] @@ -1877,29 +1877,29 @@ pub struct Object { #[prost(message, repeated, tag = "10")] pub acl: ::prost::alloc::vec::Vec, /// Content-Language of the object data, matching - /// \[ 7231 §3.1.3.2]. + /// [ 7231 §3.1.3.2]. #[prost(string, tag = "11")] pub content_language: ::prost::alloc::string::String, /// Output only. If this object is noncurrent, this is the time when the object /// became noncurrent. Attempting to set or update this field will result in a - /// \[FieldViolation][google.rpc.BadRequest.FieldViolation\]. + /// [FieldViolation][google.rpc.BadRequest.FieldViolation]. #[prost(message, optional, tag = "12")] pub delete_time: ::core::option::Option<::prost_types::Timestamp>, /// Content-Type of the object data, matching - /// \[ 7231 §3.1.1.5]. + /// [ 7231 §3.1.1.5]. /// If an object is stored without a Content-Type, it is served as /// `application/octet-stream`. #[prost(string, tag = "13")] pub content_type: ::prost::alloc::string::String, /// Output only. The creation time of the object. /// Attempting to set or update this field will result in a - /// \[FieldViolation][google.rpc.BadRequest.FieldViolation\]. + /// [FieldViolation][google.rpc.BadRequest.FieldViolation]. #[prost(message, optional, tag = "14")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, /// Output only. Number of underlying components that make up this object. /// Components are accumulated by compose operations. Attempting to set or /// update this field will result in a - /// \[FieldViolation][google.rpc.BadRequest.FieldViolation\]. + /// [FieldViolation][google.rpc.BadRequest.FieldViolation]. #[prost(int32, tag = "15")] pub component_count: i32, /// Output only. Hashes for the data part of this object. This field is used @@ -1913,7 +1913,7 @@ pub struct Object { /// on behalf of a requester, such as changing the storage class based on an /// Object Lifecycle Configuration. /// Attempting to set or update this field will result in a - /// \[FieldViolation][google.rpc.BadRequest.FieldViolation\]. + /// [FieldViolation][google.rpc.BadRequest.FieldViolation]. #[prost(message, optional, tag = "17")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, /// Cloud KMS Key used to encrypt this object, if the object is encrypted by @@ -1923,7 +1923,7 @@ pub struct Object { /// Output only. The time at which the object's storage class was last changed. /// When the object is initially created, it will be set to time_created. /// Attempting to set or update this field will result in a - /// \[FieldViolation][google.rpc.BadRequest.FieldViolation\]. + /// [FieldViolation][google.rpc.BadRequest.FieldViolation]. #[prost(message, optional, tag = "19")] pub update_storage_class_time: ::core::option::Option<::prost_types::Timestamp>, /// Whether an object is under temporary hold. While this flag is set to true, @@ -1963,7 +1963,7 @@ pub struct Object { pub event_based_hold: ::core::option::Option, /// Output only. The owner of the object. This will always be the uploader of /// the object. Attempting to set or update this field will result in a - /// \[FieldViolation][google.rpc.BadRequest.FieldViolation\]. + /// [FieldViolation][google.rpc.BadRequest.FieldViolation]. #[prost(message, optional, tag = "24")] pub owner: ::core::option::Option, /// Metadata of Customer-Supplied Encryption Key, if the object is encrypted by diff --git a/googleapis/src/google.api.rs b/googleapis/src/google.api.rs index dfe3c5c7..223adc43 100644 --- a/googleapis/src/google.api.rs +++ b/googleapis/src/google.api.rs @@ -1,5 +1,5 @@ /// Defines the HTTP configuration for an API service. It contains a list of -/// \[HttpRule][google.api.HttpRule\], each specifying the mapping of an RPC method +/// [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method /// to one or more HTTP REST API methods. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -26,7 +26,7 @@ pub struct Http { /// APIs](), /// [Cloud Endpoints](), [gRPC /// Gateway](), -/// and \[Envoy\]() proxy support this feature +/// and [Envoy]() proxy support this feature /// and use it for large scale production services. /// /// `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies @@ -187,26 +187,26 @@ pub struct Http { /// 1. Leaf request fields (recursive expansion nested messages in the request /// message) are classified into three categories: /// - Fields referred by the path template. They are passed via the URL path. -/// - Fields referred by the \[HttpRule.body][google.api.HttpRule.body\]. They +/// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They /// are passed via the HTTP /// request body. /// - All other fields are passed via the URL query parameters, and the /// parameter name is the field path in the request message. A repeated /// field can be represented as multiple query parameters under the same /// name. -/// 2. If \[HttpRule.body][google.api.HttpRule.body\] is "*", there is no URL +/// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL /// query parameter, all fields /// are passed via URL path and HTTP request body. -/// 3. If \[HttpRule.body][google.api.HttpRule.body\] is omitted, there is no HTTP +/// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP /// request body, all /// fields are passed via URL path and URL query parameters. /// /// ### Path template syntax /// -/// Template = "/" Segments [ Verb ] ; +/// Template = "/" Segments \[ Verb \] ; /// Segments = Segment { "/" Segment } ; /// Segment = "*" | "**" | LITERAL | Variable ; -/// Variable = "{" FieldPath [ "=" Segments ] "}" ; +/// Variable = "{" FieldPath \[ "=" Segments \] "}" ; /// FieldPath = IDENT { "." IDENT } ; /// Verb = ":" LITERAL ; /// @@ -295,7 +295,7 @@ pub struct Http { pub struct HttpRule { /// Selects a method to which this rule applies. /// - /// Refer to \[selector][google.api.DocumentationRule.selector\] for syntax + /// Refer to [selector][google.api.DocumentationRule.selector] for syntax /// details. #[prost(string, tag = "1")] pub selector: ::prost::alloc::string::String, @@ -713,7 +713,7 @@ pub mod method_settings { /// long-running operation pattern. /// All default values below are from those used in the client library /// generators (e.g. - /// \[Java\]()). + /// [Java]()). #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct LongRunning { @@ -961,7 +961,7 @@ pub struct ResourceDescriptor { /// Example: `storage.googleapis.com/Bucket` /// /// The value of the resource_type_kind must follow the regular expression - /// /\[A-Za-z][a-zA-Z0-9\]+/. It should start with an upper case character and + /// /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and /// should use PascalCase (UpperCamelCase). The maximum number of /// characters allowed for the `resource_type_kind` is 100. #[prost(string, tag = "1")] diff --git a/googleapis/src/google.cloud.bigquery.storage.v1.rs b/googleapis/src/google.cloud.bigquery.storage.v1.rs index 69a0b01d..57bbe3c5 100644 --- a/googleapis/src/google.cloud.bigquery.storage.v1.rs +++ b/googleapis/src/google.cloud.bigquery.storage.v1.rs @@ -193,10 +193,10 @@ pub struct TableFieldSchema { /// Values of this NUMERIC or BIGNUMERIC field must be in this range when: /// /// * Precision (P) and scale (S) are specified: - /// [-10^(P-S) + 10^(-S), 10^(P-S) - 10^(-S)] + /// \[-10^(P-S) + 10^(-S), 10^(P-S) - 10^(-S)\] /// * Precision (P) is specified but not scale (and thus scale is /// interpreted to be equal to zero): - /// [-10^P + 1, 10^P - 1]. + /// \[-10^P + 1, 10^P - 1\]. /// /// Acceptable values for precision and scale if both are specified: /// @@ -217,7 +217,7 @@ pub struct TableFieldSchema { /// Optional. See documentation for precision. #[prost(int64, tag = "9")] pub scale: i64, - /// Optional. A SQL expression to specify the [default value] + /// Optional. A SQL expression to specify the \[default value\] /// () for this field. #[prost(string, tag = "10")] pub default_value_expression: ::prost::alloc::string::String, diff --git a/googleapis/src/google.devtools.artifactregistry.v1.rs b/googleapis/src/google.devtools.artifactregistry.v1.rs index f55fd96d..b79ec575 100644 --- a/googleapis/src/google.devtools.artifactregistry.v1.rs +++ b/googleapis/src/google.devtools.artifactregistry.v1.rs @@ -1237,8 +1237,8 @@ pub struct Version { /// Output only. Repository-specific Metadata stored against this version. /// The fields returned are defined by the underlying repository-specific /// resource. Currently, the resources could be: - /// \[DockerImage][google.devtools.artifactregistry.v1.DockerImage\] - /// \[MavenArtifact][google.devtools.artifactregistry.v1.MavenArtifact\] + /// [DockerImage][google.devtools.artifactregistry.v1.DockerImage] + /// [MavenArtifact][google.devtools.artifactregistry.v1.MavenArtifact] #[prost(message, optional, tag = "8")] pub metadata: ::core::option::Option<::prost_types::Struct>, } diff --git a/googleapis/src/google.iam.v1.rs b/googleapis/src/google.iam.v1.rs index f1b3b8d6..8e573f3e 100644 --- a/googleapis/src/google.iam.v1.rs +++ b/googleapis/src/google.iam.v1.rs @@ -312,7 +312,7 @@ pub struct AuditLogConfig { /// Specifies the identities that do not cause logging for this type of /// permission. /// Follows the same format of - /// \[Binding.members][google.iam.v1.Binding.members\]. + /// [Binding.members][google.iam.v1.Binding.members]. #[prost(string, repeated, tag = "2")] pub exempted_members: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } diff --git a/googleapis/src/google.longrunning.rs b/googleapis/src/google.longrunning.rs index d9a6f1e5..b372f3e5 100644 --- a/googleapis/src/google.longrunning.rs +++ b/googleapis/src/google.longrunning.rs @@ -48,7 +48,7 @@ pub mod operation { Response(::prost_types::Any), } } -/// The request message for \[Operations.GetOperation][google.longrunning.Operations.GetOperation\]. +/// The request message for [Operations.GetOperation][google.longrunning.Operations.GetOperation]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetOperationRequest { @@ -56,7 +56,7 @@ pub struct GetOperationRequest { #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, } -/// The request message for \[Operations.ListOperations][google.longrunning.Operations.ListOperations\]. +/// The request message for [Operations.ListOperations][google.longrunning.Operations.ListOperations]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListOperationsRequest { @@ -73,7 +73,7 @@ pub struct ListOperationsRequest { #[prost(string, tag = "3")] pub page_token: ::prost::alloc::string::String, } -/// The response message for \[Operations.ListOperations][google.longrunning.Operations.ListOperations\]. +/// The response message for [Operations.ListOperations][google.longrunning.Operations.ListOperations]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListOperationsResponse { @@ -84,7 +84,7 @@ pub struct ListOperationsResponse { #[prost(string, tag = "2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request message for \[Operations.CancelOperation][google.longrunning.Operations.CancelOperation\]. +/// The request message for [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CancelOperationRequest { @@ -92,7 +92,7 @@ pub struct CancelOperationRequest { #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, } -/// The request message for \[Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation\]. +/// The request message for [Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteOperationRequest { @@ -100,7 +100,7 @@ pub struct DeleteOperationRequest { #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, } -/// The request message for \[Operations.WaitOperation][google.longrunning.Operations.WaitOperation\]. +/// The request message for [Operations.WaitOperation][google.longrunning.Operations.WaitOperation]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct WaitOperationRequest { diff --git a/googleapis/src/google.pubsub.v1.rs b/googleapis/src/google.pubsub.v1.rs index b599e283..a698194d 100644 --- a/googleapis/src/google.pubsub.v1.rs +++ b/googleapis/src/google.pubsub.v1.rs @@ -612,7 +612,7 @@ pub struct Topic { /// must not start with `"goog"`. #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, - /// See [Creating and managing labels] + /// See \[Creating and managing labels\] /// (). #[prost(map = "string, string", tag = "2")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, @@ -650,7 +650,7 @@ pub struct Topic { /// Note that client libraries represent this object differently /// depending on the language. See the corresponding [client library /// documentation]() for -/// more information. See [quotas and limits] +/// more information. See \[quotas and limits\] /// () for more information about message /// limits. #[allow(clippy::derive_partial_eq_without_eq)] @@ -901,7 +901,7 @@ pub struct Subscription { /// Indicates whether to retain acknowledged messages. If true, then /// messages are not expunged from the subscription's backlog, even if they are /// acknowledged, until they fall out of the `message_retention_duration` - /// window. This must be true if you would like to [`Seek` to a timestamp] + /// window. This must be true if you would like to \[`Seek` to a timestamp\] /// () in /// the past to replay previously-acknowledged messages. #[prost(bool, tag = "7")] @@ -1259,7 +1259,7 @@ pub mod big_query_config { /// - Pub/Sub SA has not been granted the [appropriate BigQuery IAM /// permissions]() /// - bigquery.googleapis.com API is not enabled for the project - /// (\[instructions\]()) + /// ([instructions]()) PermissionDenied = 2, /// Cannot write to the BigQuery table because it does not exist. NotFound = 3, @@ -1767,7 +1767,7 @@ pub struct UpdateSnapshotRequest { pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } /// A snapshot resource. Snapshots are used in -/// \[Seek\]() +/// [Seek]() /// operations, which allow you to manage message acknowledgments in bulk. That /// is, you can set the acknowledgment state of messages in an existing /// subscription to the state captured by a snapshot. @@ -1792,7 +1792,7 @@ pub struct Snapshot { /// snapshot that would expire in less than 1 hour after creation. #[prost(message, optional, tag = "3")] pub expire_time: ::core::option::Option<::prost_types::Timestamp>, - /// See [Creating and managing labels] + /// See \[Creating and managing labels\] /// (). #[prost(map = "string, string", tag = "4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, diff --git a/googleapis/src/google.r#type.rs b/googleapis/src/google.r#type.rs index 59748e97..4130a74a 100644 --- a/googleapis/src/google.r#type.rs +++ b/googleapis/src/google.r#type.rs @@ -61,7 +61,7 @@ pub struct Expr { /// * A year and month value, with a zero day, such as a credit card expiration /// date /// -/// Related types are \[google.type.TimeOfDay][google.type.TimeOfDay\] and +/// Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and /// `google.protobuf.Timestamp`. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] diff --git a/googleapis/src/google.rpc.rs b/googleapis/src/google.rpc.rs index e20cb148..59814b06 100644 --- a/googleapis/src/google.rpc.rs +++ b/googleapis/src/google.rpc.rs @@ -1,6 +1,6 @@ /// The `Status` type defines a logical error model that is suitable for /// different programming environments, including REST APIs and RPC APIs. It is -/// used by \[gRPC\](). Each `Status` message contains +/// used by [gRPC](). Each `Status` message contains /// three pieces of data: error code, error message, and error details. /// /// You can find out more about this error model and how to work with it in the @@ -9,12 +9,12 @@ #[derive(Clone, PartialEq, ::prost::Message)] pub struct Status { /// The status code, which should be an enum value of - /// \[google.rpc.Code][google.rpc.Code\]. + /// [google.rpc.Code][google.rpc.Code]. #[prost(int32, tag = "1")] pub code: i32, /// A developer-facing error message, which should be in English. Any /// user-facing error message should be localized and sent in the - /// \[google.rpc.Status.details][google.rpc.Status.details\] field, or localized + /// [google.rpc.Status.details][google.rpc.Status.details] field, or localized /// by the client. #[prost(string, tag = "2")] pub message: ::prost::alloc::string::String, diff --git a/googleapis/src/google.spanner.admin.database.v1.rs b/googleapis/src/google.spanner.admin.database.v1.rs index b11a6f96..1a454a70 100644 --- a/googleapis/src/google.spanner.admin.database.v1.rs +++ b/googleapis/src/google.spanner.admin.database.v1.rs @@ -120,7 +120,7 @@ impl DatabaseDialect { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct Backup { - /// Required for the \[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup\] operation. + /// Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation. /// Name of the database from which this backup was /// created. This needs to be in the same instance as the backup. /// Values are of the form @@ -133,7 +133,7 @@ pub struct Backup { /// backup. #[prost(message, optional, tag = "9")] pub version_time: ::core::option::Option<::prost_types::Timestamp>, - /// Required for the \[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup\] + /// Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] /// operation. The expiration time of the backup, with microseconds /// granularity that must be at least 6 hours and at most 366 days /// from the time the CreateBackup request is processed. Once the `expire_time` @@ -141,12 +141,12 @@ pub struct Backup { /// Spanner to free the resources used by the backup. #[prost(message, optional, tag = "3")] pub expire_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only for the \[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup\] operation. - /// Required for the \[UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup\] operation. + /// Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation. + /// Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation. /// /// A globally unique identifier for the backup which cannot be /// changed. Values are of the form - /// `projects//instances//backups/\[a-z][a-z0-9_\-]*[a-z0-9\]` + /// `projects//instances//backups/[a-z][a-z0-9_\-]*\[a-z0-9\]` /// The final segment of the name must be between 2 and 60 characters /// in length. /// @@ -156,7 +156,7 @@ pub struct Backup { /// `projects//instances/`. #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, - /// Output only. The time the \[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup\] + /// Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] /// request is received. If the request does not specify `version_time`, the /// `version_time` of the backup will be equivalent to the `create_time`. #[prost(message, optional, tag = "4")] @@ -236,7 +236,7 @@ pub mod backup { } } } -/// The request for \[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup\]. +/// The request for [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateBackupRequest { @@ -259,13 +259,13 @@ pub struct CreateBackupRequest { /// Optional. The encryption configuration used to encrypt the backup. If this field is /// not specified, the backup will use the same /// encryption configuration as the database by default, namely - /// \[encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type\] = + /// [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] = /// `USE_DATABASE_ENCRYPTION`. #[prost(message, optional, tag = "4")] pub encryption_config: ::core::option::Option, } /// Metadata type for the operation returned by -/// \[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup\]. +/// [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateBackupMetadata { @@ -276,25 +276,25 @@ pub struct CreateBackupMetadata { #[prost(string, tag = "2")] pub database: ::prost::alloc::string::String, /// The progress of the - /// \[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup\] operation. + /// [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation. #[prost(message, optional, tag = "3")] pub progress: ::core::option::Option, /// The time at which cancellation of this operation was received. - /// \[Operations.CancelOperation][google.longrunning.Operations.CancelOperation\] + /// [Operations.CancelOperation][google.longrunning.Operations.CancelOperation] /// starts asynchronous cancellation on a long-running operation. The server /// makes a best effort to cancel the operation, but success is not guaranteed. /// Clients can use - /// \[Operations.GetOperation][google.longrunning.Operations.GetOperation\] or + /// [Operations.GetOperation][google.longrunning.Operations.GetOperation] or /// other methods to check whether the cancellation succeeded or whether the /// operation completed despite cancellation. On successful cancellation, /// the operation is not deleted; instead, it becomes an operation with - /// an \[Operation.error][google.longrunning.Operation.error\] value with a - /// \[google.rpc.Status.code][google.rpc.Status.code\] of 1, + /// an [Operation.error][google.longrunning.Operation.error] value with a + /// [google.rpc.Status.code][google.rpc.Status.code] of 1, /// corresponding to `Code.CANCELLED`. #[prost(message, optional, tag = "4")] pub cancel_time: ::core::option::Option<::prost_types::Timestamp>, } -/// The request for \[CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup\]. +/// The request for [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CopyBackupRequest { @@ -325,13 +325,13 @@ pub struct CopyBackupRequest { /// Optional. The encryption configuration used to encrypt the backup. If this field is /// not specified, the backup will use the same /// encryption configuration as the source backup by default, namely - /// \[encryption_type][google.spanner.admin.database.v1.CopyBackupEncryptionConfig.encryption_type\] = + /// [encryption_type][google.spanner.admin.database.v1.CopyBackupEncryptionConfig.encryption_type] = /// `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`. #[prost(message, optional, tag = "5")] pub encryption_config: ::core::option::Option, } /// Metadata type for the google.longrunning.Operation returned by -/// \[CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup\]. +/// [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CopyBackupMetadata { @@ -346,25 +346,25 @@ pub struct CopyBackupMetadata { #[prost(string, tag = "2")] pub source_backup: ::prost::alloc::string::String, /// The progress of the - /// \[CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup\] operation. + /// [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation. #[prost(message, optional, tag = "3")] pub progress: ::core::option::Option, /// The time at which cancellation of CopyBackup operation was received. - /// \[Operations.CancelOperation][google.longrunning.Operations.CancelOperation\] + /// [Operations.CancelOperation][google.longrunning.Operations.CancelOperation] /// starts asynchronous cancellation on a long-running operation. The server /// makes a best effort to cancel the operation, but success is not guaranteed. /// Clients can use - /// \[Operations.GetOperation][google.longrunning.Operations.GetOperation\] or + /// [Operations.GetOperation][google.longrunning.Operations.GetOperation] or /// other methods to check whether the cancellation succeeded or whether the /// operation completed despite cancellation. On successful cancellation, /// the operation is not deleted; instead, it becomes an operation with - /// an \[Operation.error][google.longrunning.Operation.error\] value with a - /// \[google.rpc.Status.code][google.rpc.Status.code\] of 1, + /// an [Operation.error][google.longrunning.Operation.error] value with a + /// [google.rpc.Status.code][google.rpc.Status.code] of 1, /// corresponding to `Code.CANCELLED`. #[prost(message, optional, tag = "4")] pub cancel_time: ::core::option::Option<::prost_types::Timestamp>, } -/// The request for \[UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup\]. +/// The request for [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateBackupRequest { @@ -382,7 +382,7 @@ pub struct UpdateBackupRequest { #[prost(message, optional, tag = "2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// The request for \[GetBackup][google.spanner.admin.database.v1.DatabaseAdmin.GetBackup\]. +/// The request for [GetBackup][google.spanner.admin.database.v1.DatabaseAdmin.GetBackup]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetBackupRequest { @@ -392,7 +392,7 @@ pub struct GetBackupRequest { #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, } -/// The request for \[DeleteBackup][google.spanner.admin.database.v1.DatabaseAdmin.DeleteBackup\]. +/// The request for [DeleteBackup][google.spanner.admin.database.v1.DatabaseAdmin.DeleteBackup]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteBackupRequest { @@ -402,7 +402,7 @@ pub struct DeleteBackupRequest { #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, } -/// The request for \[ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups\]. +/// The request for [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBackupsRequest { @@ -418,7 +418,7 @@ pub struct ListBackupsRequest { /// must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. /// Colon `:` is the contains operator. Filter rules are not case sensitive. /// - /// The following fields in the \[Backup][google.spanner.admin.database.v1.Backup\] are eligible for filtering: + /// The following fields in the [Backup][google.spanner.admin.database.v1.Backup] are eligible for filtering: /// /// * `name` /// * `database` @@ -452,13 +452,13 @@ pub struct ListBackupsRequest { #[prost(int32, tag = "3")] pub page_size: i32, /// If non-empty, `page_token` should contain a - /// \[next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token\] from a - /// previous \[ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse\] to the same `parent` and with the same + /// [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a + /// previous [ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse] to the same `parent` and with the same /// `filter`. #[prost(string, tag = "4")] pub page_token: ::prost::alloc::string::String, } -/// The response for \[ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups\]. +/// The response for [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBackupsResponse { @@ -467,13 +467,13 @@ pub struct ListBackupsResponse { #[prost(message, repeated, tag = "1")] pub backups: ::prost::alloc::vec::Vec, /// `next_page_token` can be sent in a subsequent - /// \[ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups\] call to fetch more + /// [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more /// of the matching backups. #[prost(string, tag = "2")] pub next_page_token: ::prost::alloc::string::String, } /// The request for -/// \[ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations\]. +/// [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBackupOperationsRequest { @@ -489,13 +489,13 @@ pub struct ListBackupOperationsRequest { /// must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. /// Colon `:` is the contains operator. Filter rules are not case sensitive. /// - /// The following fields in the \[operation][google.longrunning.Operation\] + /// The following fields in the [operation][google.longrunning.Operation] /// are eligible for filtering: /// /// * `name` - The name of the long-running operation /// * `done` - False if the operation is in progress, else true. /// * `metadata.@type` - the type of metadata. For example, the type string - /// for \[CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata\] is + /// for [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] is /// `type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata`. /// * `metadata.` - any field in metadata.value. /// `metadata.@type` must be specified first if filtering on metadata @@ -513,14 +513,14 @@ pub struct ListBackupOperationsRequest { /// * `done:true` - The operation is complete. /// * `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata) AND` \ /// `metadata.database:prod` - Returns operations where: - /// * The operation's metadata type is \[CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata\]. + /// * The operation's metadata type is [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. /// * The database the backup was taken from has a name containing the /// string "prod". /// * `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata) AND` \ /// `(metadata.name:howl) AND` \ /// `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ /// `(error:*)` - Returns operations where: - /// * The operation's metadata type is \[CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata\]. + /// * The operation's metadata type is [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. /// * The backup name contains the string "howl". /// * The operation started before 2018-03-28T14:50:00Z. /// * The operation resulted in an error. @@ -528,7 +528,7 @@ pub struct ListBackupOperationsRequest { /// `(metadata.source_backup:test) AND` \ /// `(metadata.progress.start_time < \"2022-01-18T14:50:00Z\") AND` \ /// `(error:*)` - Returns operations where: - /// * The operation's metadata type is \[CopyBackupMetadata][google.spanner.admin.database.v1.CopyBackupMetadata\]. + /// * The operation's metadata type is [CopyBackupMetadata][google.spanner.admin.database.v1.CopyBackupMetadata]. /// * The source backup of the copied backup name contains the string /// "test". /// * The operation started before 2022-01-18T14:50:00Z. @@ -540,10 +540,10 @@ pub struct ListBackupOperationsRequest { /// `(metadata.source_backup:test_bkp)) AND` \ /// `(error:*)` - Returns operations where: /// * The operation's metadata matches either of criteria: - /// * The operation's metadata type is \[CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata\] AND the + /// * The operation's metadata type is [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] AND the /// database the backup was taken from has name containing string /// "test_db" - /// * The operation's metadata type is \[CopyBackupMetadata][google.spanner.admin.database.v1.CopyBackupMetadata\] AND the + /// * The operation's metadata type is [CopyBackupMetadata][google.spanner.admin.database.v1.CopyBackupMetadata] AND the /// backup the backup was copied from has name containing string /// "test_bkp" /// * The operation resulted in an error. @@ -554,21 +554,21 @@ pub struct ListBackupOperationsRequest { #[prost(int32, tag = "3")] pub page_size: i32, /// If non-empty, `page_token` should contain a - /// \[next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token\] - /// from a previous \[ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse\] to the + /// [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token] + /// from a previous [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse] to the /// same `parent` and with the same `filter`. #[prost(string, tag = "4")] pub page_token: ::prost::alloc::string::String, } /// The response for -/// \[ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations\]. +/// [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBackupOperationsResponse { /// The list of matching backup [long-running - /// operations]\[google.longrunning.Operation\]. Each operation's name will be + /// operations][google.longrunning.Operation]. Each operation's name will be /// prefixed by the backup's name. The operation's - /// \[metadata][google.longrunning.Operation.metadata\] field type + /// [metadata][google.longrunning.Operation.metadata] field type /// `metadata.type_url` describes the type of the metadata. Operations returned /// include those that are pending or have completed/failed/canceled within the /// last 7 days. Operations returned are ordered by @@ -577,7 +577,7 @@ pub struct ListBackupOperationsResponse { #[prost(message, repeated, tag = "1")] pub operations: ::prost::alloc::vec::Vec, /// `next_page_token` can be sent in a subsequent - /// \[ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations\] + /// [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations] /// call to fetch more of the matching metadata. #[prost(string, tag = "2")] pub next_page_token: ::prost::alloc::string::String, @@ -591,12 +591,12 @@ pub struct BackupInfo { pub backup: ::prost::alloc::string::String, /// The backup contains an externally consistent copy of `source_database` at /// the timestamp specified by `version_time`. If the - /// \[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup\] request did not specify + /// [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request did not specify /// `version_time`, the `version_time` of the backup is equivalent to the /// `create_time`. #[prost(message, optional, tag = "4")] pub version_time: ::core::option::Option<::prost_types::Timestamp>, - /// The time the \[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup\] request was + /// The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was /// received. #[prost(message, optional, tag = "2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, @@ -613,7 +613,7 @@ pub struct CreateBackupEncryptionConfig { pub encryption_type: i32, /// Optional. The Cloud KMS key that will be used to protect the backup. /// This field should be set only when - /// \[encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type\] is + /// [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] is /// `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form /// `projects//locations//keyRings//cryptoKeys/`. #[prost(string, tag = "2")] @@ -629,7 +629,7 @@ pub mod create_backup_encryption_config { Unspecified = 0, /// Use the same encryption configuration as the database. This is the /// default option when - /// \[encryption_config][google.spanner.admin.database.v1.CreateBackupEncryptionConfig\] is empty. + /// [encryption_config][google.spanner.admin.database.v1.CreateBackupEncryptionConfig] is empty. /// For example, if the database is using `Customer_Managed_Encryption`, the /// backup will be using the same Cloud KMS key as the database. UseDatabaseEncryption = 1, @@ -673,7 +673,7 @@ pub struct CopyBackupEncryptionConfig { pub encryption_type: i32, /// Optional. The Cloud KMS key that will be used to protect the backup. /// This field should be set only when - /// \[encryption_type][google.spanner.admin.database.v1.CopyBackupEncryptionConfig.encryption_type\] is + /// [encryption_type][google.spanner.admin.database.v1.CopyBackupEncryptionConfig.encryption_type] is /// `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form /// `projects//locations//keyRings//cryptoKeys/`. #[prost(string, tag = "2")] @@ -687,8 +687,8 @@ pub mod copy_backup_encryption_config { pub enum EncryptionType { /// Unspecified. Do not use. Unspecified = 0, - /// This is the default option for \[CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup\] - /// when \[encryption_config][google.spanner.admin.database.v1.CopyBackupEncryptionConfig\] is not specified. + /// This is the default option for [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] + /// when [encryption_config][google.spanner.admin.database.v1.CopyBackupEncryptionConfig] is not specified. /// For example, if the source backup is using `Customer_Managed_Encryption`, /// the backup will be using the same Cloud KMS key as the source backup. UseConfigDefaultOrBackupEncryption = 1, @@ -787,7 +787,7 @@ pub struct Database { /// Output only. The period in which Cloud Spanner retains all versions of data /// for the database. This is the same as the value of version_retention_period /// database option set using - /// \[UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl\]. Defaults to 1 hour, + /// [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. Defaults to 1 hour, /// if not set. #[prost(string, tag = "6")] pub version_retention_period: ::prost::alloc::string::String, @@ -866,7 +866,7 @@ pub mod database { } } } -/// The request for \[ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases\]. +/// The request for [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDatabasesRequest { @@ -879,12 +879,12 @@ pub struct ListDatabasesRequest { #[prost(int32, tag = "3")] pub page_size: i32, /// If non-empty, `page_token` should contain a - /// \[next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token\] from a - /// previous \[ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse\]. + /// [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a + /// previous [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse]. #[prost(string, tag = "4")] pub page_token: ::prost::alloc::string::String, } -/// The response for \[ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases\]. +/// The response for [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDatabasesResponse { @@ -892,12 +892,12 @@ pub struct ListDatabasesResponse { #[prost(message, repeated, tag = "1")] pub databases: ::prost::alloc::vec::Vec, /// `next_page_token` can be sent in a subsequent - /// \[ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases\] call to fetch more + /// [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more /// of the matching databases. #[prost(string, tag = "2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request for \[CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase\]. +/// The request for [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDatabaseRequest { @@ -907,7 +907,7 @@ pub struct CreateDatabaseRequest { pub parent: ::prost::alloc::string::String, /// Required. A `CREATE DATABASE` statement, which specifies the ID of the /// new database. The database ID must conform to the regular expression - /// `\[a-z][a-z0-9_\-]*[a-z0-9\]` and be between 2 and 30 characters in length. + /// `[a-z][a-z0-9_\-]*\[a-z0-9\]` and be between 2 and 30 characters in length. /// If the database ID is a reserved word or if it contains a hyphen, the /// database ID must be enclosed in backticks (`` ` ``). #[prost(string, tag = "2")] @@ -928,7 +928,7 @@ pub struct CreateDatabaseRequest { pub database_dialect: i32, } /// Metadata type for the operation returned by -/// \[CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase\]. +/// [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDatabaseMetadata { @@ -936,7 +936,7 @@ pub struct CreateDatabaseMetadata { #[prost(string, tag = "1")] pub database: ::prost::alloc::string::String, } -/// The request for \[GetDatabase][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabase\]. +/// The request for [GetDatabase][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabase]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDatabaseRequest { @@ -946,7 +946,7 @@ pub struct GetDatabaseRequest { pub name: ::prost::alloc::string::String, } /// The request for -/// \[UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase\]. +/// [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDatabaseRequest { @@ -961,16 +961,16 @@ pub struct UpdateDatabaseRequest { pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } /// Metadata type for the operation returned by -/// \[UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase\]. +/// [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDatabaseMetadata { /// The request for - /// \[UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase\]. + /// [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase]. #[prost(message, optional, tag = "1")] pub request: ::core::option::Option, /// The progress of the - /// \[UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase\] + /// [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase] /// operation. #[prost(message, optional, tag = "2")] pub progress: ::core::option::Option, @@ -991,9 +991,9 @@ pub struct UpdateDatabaseMetadata { /// subsequent statements in the batch are automatically cancelled. /// /// Each batch of statements is assigned a name which can be used with -/// the \[Operations][google.longrunning.Operations\] API to monitor +/// the [Operations][google.longrunning.Operations] API to monitor /// progress. See the -/// \[operation_id][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.operation_id\] field for more +/// [operation_id][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.operation_id] field for more /// details. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -1007,28 +1007,28 @@ pub struct UpdateDatabaseDdlRequest { /// If empty, the new update request is assigned an /// automatically-generated operation ID. Otherwise, `operation_id` /// is used to construct the name of the resulting - /// \[Operation][google.longrunning.Operation\]. + /// [Operation][google.longrunning.Operation]. /// /// Specifying an explicit operation ID simplifies determining /// whether the statements were executed in the event that the - /// \[UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl\] call is replayed, - /// or the return value is otherwise lost: the \[database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database\] and + /// [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] call is replayed, + /// or the return value is otherwise lost: the [database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database] and /// `operation_id` fields can be combined to form the - /// \[name][google.longrunning.Operation.name\] of the resulting - /// \[longrunning.Operation][google.longrunning.Operation\]: `/operations/`. + /// [name][google.longrunning.Operation.name] of the resulting + /// [longrunning.Operation][google.longrunning.Operation]: `/operations/`. /// /// `operation_id` should be unique within the database, and must be - /// a valid identifier: `\[a-z][a-z0-9_\]*`. Note that + /// a valid identifier: `[a-z][a-z0-9_]*`. Note that /// automatically-generated operation IDs always begin with an /// underscore. If the named operation already exists, - /// \[UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl\] returns + /// [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] returns /// `ALREADY_EXISTS`. #[prost(string, tag = "3")] pub operation_id: ::prost::alloc::string::String, } /// Action information extracted from a DDL statement. This proto is used to /// display the brief info of the DDL statement for the operation -/// \[UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl\]. +/// [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct DdlStatementActionInfo { @@ -1044,13 +1044,13 @@ pub struct DdlStatementActionInfo { /// The entity name(s) being operated on the DDL statement. /// E.g. /// 1. For statement "CREATE TABLE t1(...)", `entity_names` = \["t1"\]. - /// 2. For statement "GRANT ROLE r1, r2 ...", `entity_names` = ["r1", "r2"]. - /// 3. For statement "ANALYZE", `entity_names` = []. + /// 2. For statement "GRANT ROLE r1, r2 ...", `entity_names` = \["r1", "r2"\]. + /// 3. For statement "ANALYZE", `entity_names` = \[\]. #[prost(string, repeated, tag = "3")] pub entity_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Metadata type for the operation returned by -/// \[UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl\]. +/// [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDatabaseDdlMetadata { @@ -1072,7 +1072,7 @@ pub struct UpdateDatabaseDdlMetadata { #[prost(bool, tag = "4")] pub throttled: bool, /// The progress of the - /// \[UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl\] + /// [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] /// operations. All DDL statements will have continuously updating progress, /// and `progress\[i\]` is the operation progress for `statements\[i\]`. Also, /// `progress\[i\]` will have start time and end time populated with commit @@ -1085,7 +1085,7 @@ pub struct UpdateDatabaseDdlMetadata { #[prost(message, repeated, tag = "6")] pub actions: ::prost::alloc::vec::Vec, } -/// The request for \[DropDatabase][google.spanner.admin.database.v1.DatabaseAdmin.DropDatabase\]. +/// The request for [DropDatabase][google.spanner.admin.database.v1.DatabaseAdmin.DropDatabase]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct DropDatabaseRequest { @@ -1093,7 +1093,7 @@ pub struct DropDatabaseRequest { #[prost(string, tag = "1")] pub database: ::prost::alloc::string::String, } -/// The request for \[GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl\]. +/// The request for [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDatabaseDdlRequest { @@ -1103,7 +1103,7 @@ pub struct GetDatabaseDdlRequest { #[prost(string, tag = "1")] pub database: ::prost::alloc::string::String, } -/// The response for \[GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl\]. +/// The response for [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDatabaseDdlResponse { @@ -1113,7 +1113,7 @@ pub struct GetDatabaseDdlResponse { pub statements: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// The request for -/// \[ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations\]. +/// [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDatabaseOperationsRequest { @@ -1129,13 +1129,13 @@ pub struct ListDatabaseOperationsRequest { /// must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. /// Colon `:` is the contains operator. Filter rules are not case sensitive. /// - /// The following fields in the \[Operation][google.longrunning.Operation\] + /// The following fields in the [Operation][google.longrunning.Operation] /// are eligible for filtering: /// /// * `name` - The name of the long-running operation /// * `done` - False if the operation is in progress, else true. /// * `metadata.@type` - the type of metadata. For example, the type string - /// for \[RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata\] is + /// for [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata] is /// `type.googleapis.com/google.spanner.admin.database.v1.RestoreDatabaseMetadata`. /// * `metadata.` - any field in metadata.value. /// `metadata.@type` must be specified first, if filtering on metadata @@ -1157,7 +1157,7 @@ pub struct ListDatabaseOperationsRequest { /// `(metadata.name:restored_howl) AND` \ /// `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ /// `(error:*)` - Return operations where: - /// * The operation's metadata type is \[RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata\]. + /// * The operation's metadata type is [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata]. /// * The database is restored from a backup. /// * The backup name contains "backup_howl". /// * The restored database's name contains "restored_howl". @@ -1170,32 +1170,32 @@ pub struct ListDatabaseOperationsRequest { #[prost(int32, tag = "3")] pub page_size: i32, /// If non-empty, `page_token` should contain a - /// \[next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token\] - /// from a previous \[ListDatabaseOperationsResponse][google.spanner.admin.database.v1.ListDatabaseOperationsResponse\] to the + /// [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token] + /// from a previous [ListDatabaseOperationsResponse][google.spanner.admin.database.v1.ListDatabaseOperationsResponse] to the /// same `parent` and with the same `filter`. #[prost(string, tag = "4")] pub page_token: ::prost::alloc::string::String, } /// The response for -/// \[ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations\]. +/// [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDatabaseOperationsResponse { /// The list of matching database [long-running - /// operations]\[google.longrunning.Operation\]. Each operation's name will be + /// operations][google.longrunning.Operation]. Each operation's name will be /// prefixed by the database's name. The operation's - /// \[metadata][google.longrunning.Operation.metadata\] field type + /// [metadata][google.longrunning.Operation.metadata] field type /// `metadata.type_url` describes the type of the metadata. #[prost(message, repeated, tag = "1")] pub operations: ::prost::alloc::vec::Vec, /// `next_page_token` can be sent in a subsequent - /// \[ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations\] + /// [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations] /// call to fetch more of the matching metadata. #[prost(string, tag = "2")] pub next_page_token: ::prost::alloc::string::String, } /// The request for -/// \[RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase\]. +/// [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct RestoreDatabaseRequest { @@ -1216,7 +1216,7 @@ pub struct RestoreDatabaseRequest { /// resources in Cloud KMS used to encrypt/decrypt the database to restore to. /// If this field is not specified, the restored database will use /// the same encryption configuration as the backup by default, namely - /// \[encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type\] = + /// [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] = /// `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`. #[prost(message, optional, tag = "4")] pub encryption_config: ::core::option::Option, @@ -1245,7 +1245,7 @@ pub struct RestoreDatabaseEncryptionConfig { pub encryption_type: i32, /// Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored /// database. This field should be set only when - /// \[encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type\] is + /// [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] is /// `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form /// `projects//locations//keyRings//cryptoKeys/`. #[prost(string, tag = "2")] @@ -1260,7 +1260,7 @@ pub mod restore_database_encryption_config { /// Unspecified. Do not use. Unspecified = 0, /// This is the default option when - /// \[encryption_config][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig\] is not specified. + /// [encryption_config][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig] is not specified. UseConfigDefaultOrBackupEncryption = 1, /// Use Google default encryption. GoogleDefaultEncryption = 2, @@ -1294,7 +1294,7 @@ pub mod restore_database_encryption_config { } } /// Metadata type for the long-running operation returned by -/// \[RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase\]. +/// [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct RestoreDatabaseMetadata { @@ -1305,21 +1305,21 @@ pub struct RestoreDatabaseMetadata { #[prost(enumeration = "RestoreSourceType", tag = "2")] pub source_type: i32, /// The progress of the - /// \[RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase\] + /// [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase] /// operation. #[prost(message, optional, tag = "4")] pub progress: ::core::option::Option, /// The time at which cancellation of this operation was received. - /// \[Operations.CancelOperation][google.longrunning.Operations.CancelOperation\] + /// [Operations.CancelOperation][google.longrunning.Operations.CancelOperation] /// starts asynchronous cancellation on a long-running operation. The server /// makes a best effort to cancel the operation, but success is not guaranteed. /// Clients can use - /// \[Operations.GetOperation][google.longrunning.Operations.GetOperation\] or + /// [Operations.GetOperation][google.longrunning.Operations.GetOperation] or /// other methods to check whether the cancellation succeeded or whether the /// operation completed despite cancellation. On successful cancellation, /// the operation is not deleted; instead, it becomes an operation with - /// an \[Operation.error][google.longrunning.Operation.error\] value with a - /// \[google.rpc.Status.code][google.rpc.Status.code\] of 1, corresponding to `Code.CANCELLED`. + /// an [Operation.error][google.longrunning.Operation.error] value with a + /// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`. #[prost(message, optional, tag = "5")] pub cancel_time: ::core::option::Option<::prost_types::Timestamp>, /// If exists, the name of the long-running operation that will be used to @@ -1329,21 +1329,21 @@ pub struct RestoreDatabaseMetadata { /// `projects//instances//databases//operations/` /// where the is the name of database being created and restored to. /// The metadata type of the long-running operation is - /// \[OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata\]. This long-running operation will be + /// [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. This long-running operation will be /// automatically created by the system after the RestoreDatabase long-running /// operation completes successfully. This operation will not be created if the /// restore was not successful. #[prost(string, tag = "6")] pub optimize_database_operation_name: ::prost::alloc::string::String, /// Information about the source used to restore the database, as specified by - /// `source` in \[RestoreDatabaseRequest][google.spanner.admin.database.v1.RestoreDatabaseRequest\]. + /// `source` in [RestoreDatabaseRequest][google.spanner.admin.database.v1.RestoreDatabaseRequest]. #[prost(oneof = "restore_database_metadata::SourceInfo", tags = "3")] pub source_info: ::core::option::Option, } /// Nested message and enum types in `RestoreDatabaseMetadata`. pub mod restore_database_metadata { /// Information about the source used to restore the database, as specified by - /// `source` in \[RestoreDatabaseRequest][google.spanner.admin.database.v1.RestoreDatabaseRequest\]. + /// `source` in [RestoreDatabaseRequest][google.spanner.admin.database.v1.RestoreDatabaseRequest]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum SourceInfo { @@ -1378,7 +1378,7 @@ pub struct DatabaseRole { #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, } -/// The request for \[ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles\]. +/// The request for [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDatabaseRolesRequest { @@ -1392,12 +1392,12 @@ pub struct ListDatabaseRolesRequest { #[prost(int32, tag = "2")] pub page_size: i32, /// If non-empty, `page_token` should contain a - /// \[next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token\] from a - /// previous \[ListDatabaseRolesResponse][google.spanner.admin.database.v1.ListDatabaseRolesResponse\]. + /// [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a + /// previous [ListDatabaseRolesResponse][google.spanner.admin.database.v1.ListDatabaseRolesResponse]. #[prost(string, tag = "3")] pub page_token: ::prost::alloc::string::String, } -/// The response for \[ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles\]. +/// The response for [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDatabaseRolesResponse { @@ -1405,7 +1405,7 @@ pub struct ListDatabaseRolesResponse { #[prost(message, repeated, tag = "1")] pub database_roles: ::prost::alloc::vec::Vec, /// `next_page_token` can be sent in a subsequent - /// \[ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles\] + /// [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles] /// call to fetch more of the matching roles. #[prost(string, tag = "2")] pub next_page_token: ::prost::alloc::string::String, diff --git a/googleapis/src/google.spanner.admin.instance.v1.rs b/googleapis/src/google.spanner.admin.instance.v1.rs index 9cb464bd..888f812c 100644 --- a/googleapis/src/google.spanner.admin.instance.v1.rs +++ b/googleapis/src/google.spanner.admin.instance.v1.rs @@ -97,7 +97,7 @@ pub mod replica_info { pub struct InstanceConfig { /// A unique identifier for the instance configuration. Values /// are of the form - /// `projects//instanceConfigs/\[a-z][-a-z0-9\]*`. + /// `projects//instanceConfigs/[a-z][-a-z0-9]*`. #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, /// The name of this instance configuration as it appears in UIs. @@ -129,7 +129,7 @@ pub struct InstanceConfig { /// firewall, load balancing, etc.). /// /// * Label keys must be between 1 and 63 characters long and must conform to - /// the following regular expression: `\[a-z][a-z0-9_-\]{0,62}`. + /// the following regular expression: `[a-z][a-z0-9_-]{0,62}`. /// * Label values must be between 0 and 63 characters long and must conform /// to the regular expression `\[a-z0-9_-\]{0,63}`. /// * No more than 64 labels can be associated with a given resource. @@ -244,14 +244,14 @@ pub mod instance_config { pub struct Instance { /// Required. A unique identifier for the instance, which cannot be changed /// after the instance is created. Values are of the form - /// `projects//instances/\[a-z][-a-z0-9]*[a-z0-9\]`. The final + /// `projects//instances/[a-z][-a-z0-9]*\[a-z0-9\]`. The final /// segment of the name must be between 2 and 64 characters in length. #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, /// Required. The name of the instance's configuration. Values are of the form /// `projects//instanceConfigs/`. See - /// also \[InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig\] and - /// \[ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs\]. + /// also [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] and + /// [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]. #[prost(string, tag = "2")] pub config: ::prost::alloc::string::String, /// Required. The descriptive name for this instance as it appears in UIs. @@ -278,9 +278,9 @@ pub struct Instance { #[prost(int32, tag = "9")] pub processing_units: i32, /// Output only. The current instance state. For - /// \[CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance\], + /// [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance], /// the state must be either omitted or set to `CREATING`. For - /// \[UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance\], + /// [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance], /// the state must be either omitted or set to `READY`. #[prost(enumeration = "instance::State", tag = "6")] pub state: i32, @@ -292,7 +292,7 @@ pub struct Instance { /// firewall, load balancing, etc.). /// /// * Label keys must be between 1 and 63 characters long and must conform to - /// the following regular expression: `\[a-z][a-z0-9_-\]{0,62}`. + /// the following regular expression: `[a-z][a-z0-9_-]{0,62}`. /// * Label values must be between 0 and 63 characters long and must conform /// to the regular expression `\[a-z0-9_-\]{0,63}`. /// * No more than 64 labels can be associated with a given resource. @@ -357,7 +357,7 @@ pub mod instance { } } /// The request for -/// \[ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs\]. +/// [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstanceConfigsRequest { @@ -371,14 +371,14 @@ pub struct ListInstanceConfigsRequest { #[prost(int32, tag = "2")] pub page_size: i32, /// If non-empty, `page_token` should contain a - /// \[next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token\] + /// [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token] /// from a previous - /// \[ListInstanceConfigsResponse][google.spanner.admin.instance.v1.ListInstanceConfigsResponse\]. + /// [ListInstanceConfigsResponse][google.spanner.admin.instance.v1.ListInstanceConfigsResponse]. #[prost(string, tag = "3")] pub page_token: ::prost::alloc::string::String, } /// The response for -/// \[ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs\]. +/// [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstanceConfigsResponse { @@ -386,13 +386,13 @@ pub struct ListInstanceConfigsResponse { #[prost(message, repeated, tag = "1")] pub instance_configs: ::prost::alloc::vec::Vec, /// `next_page_token` can be sent in a subsequent - /// \[ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs\] + /// [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs] /// call to fetch more of the matching instance configurations. #[prost(string, tag = "2")] pub next_page_token: ::prost::alloc::string::String, } /// The request for -/// \[GetInstanceConfigRequest][google.spanner.admin.instance.v1.InstanceAdmin.GetInstanceConfig\]. +/// [GetInstanceConfigRequest][google.spanner.admin.instance.v1.InstanceAdmin.GetInstanceConfig]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetInstanceConfigRequest { @@ -402,7 +402,7 @@ pub struct GetInstanceConfigRequest { pub name: ::prost::alloc::string::String, } /// The request for -/// \[CreateInstanceConfigRequest][InstanceAdmin.CreateInstanceConfigRequest\]. +/// [CreateInstanceConfigRequest][InstanceAdmin.CreateInstanceConfigRequest]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateInstanceConfigRequest { @@ -411,7 +411,7 @@ pub struct CreateInstanceConfigRequest { #[prost(string, tag = "1")] pub parent: ::prost::alloc::string::String, /// Required. The ID of the instance config to create. Valid identifiers are - /// of the form `custom-\[-a-z0-9]*[a-z0-9\]` and must be between 2 and 64 + /// of the form `custom-\[-a-z0-9\]*[a-z0-9]` and must be between 2 and 64 /// characters in length. The `custom-` prefix is required to avoid name /// conflicts with Google managed configurations. #[prost(string, tag = "2")] @@ -429,22 +429,22 @@ pub struct CreateInstanceConfigRequest { pub validate_only: bool, } /// The request for -/// \[UpdateInstanceConfigRequest][InstanceAdmin.UpdateInstanceConfigRequest\]. +/// [UpdateInstanceConfigRequest][InstanceAdmin.UpdateInstanceConfigRequest]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateInstanceConfigRequest { /// Required. The user instance config to update, which must always include the /// instance config name. Otherwise, only fields mentioned in - /// \[update_mask][google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.update_mask\] + /// [update_mask][google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.update_mask] /// need be included. To prevent conflicts of concurrent updates, - /// \[etag][google.spanner.admin.instance.v1.InstanceConfig.reconciling\] can + /// [etag][google.spanner.admin.instance.v1.InstanceConfig.reconciling] can /// be used. #[prost(message, optional, tag = "1")] pub instance_config: ::core::option::Option, /// Required. A mask specifying which fields in - /// \[InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig\] should be + /// [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be /// updated. The field mask must always be specified; this prevents any future - /// fields in \[InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig\] + /// fields in [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] /// from being erased accidentally by clients that do not know about them. Only /// display_name and labels can be updated. #[prost(message, optional, tag = "2")] @@ -455,7 +455,7 @@ pub struct UpdateInstanceConfigRequest { pub validate_only: bool, } /// The request for -/// \[DeleteInstanceConfigRequest][InstanceAdmin.DeleteInstanceConfigRequest\]. +/// [DeleteInstanceConfigRequest][InstanceAdmin.DeleteInstanceConfigRequest]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteInstanceConfigRequest { @@ -479,7 +479,7 @@ pub struct DeleteInstanceConfigRequest { pub validate_only: bool, } /// The request for -/// \[ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations\]. +/// [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstanceConfigOperationsRequest { @@ -495,14 +495,14 @@ pub struct ListInstanceConfigOperationsRequest { /// must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. /// Colon `:` is the contains operator. Filter rules are not case sensitive. /// - /// The following fields in the \[Operation][google.longrunning.Operation\] + /// The following fields in the [Operation][google.longrunning.Operation] /// are eligible for filtering: /// /// * `name` - The name of the long-running operation /// * `done` - False if the operation is in progress, else true. /// * `metadata.@type` - the type of metadata. For example, the type string /// for - /// \[CreateInstanceConfigMetadata][google.spanner.admin.instance.v1.CreateInstanceConfigMetadata\] + /// [CreateInstanceConfigMetadata][google.spanner.admin.instance.v1.CreateInstanceConfigMetadata] /// is /// `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstanceConfigMetadata`. /// * `metadata.` - any field in metadata.value. @@ -526,7 +526,7 @@ pub struct ListInstanceConfigOperationsRequest { /// `(metadata.progress.start_time < \"2021-03-28T14:50:00Z\") AND` \ /// `(error:*)` - Return operations where: /// * The operation's metadata type is - /// \[CreateInstanceConfigMetadata][google.spanner.admin.instance.v1.CreateInstanceConfigMetadata\]. + /// [CreateInstanceConfigMetadata][google.spanner.admin.instance.v1.CreateInstanceConfigMetadata]. /// * The instance config name contains "custom-config". /// * The operation started before 2021-03-28T14:50:00Z. /// * The operation resulted in an error. @@ -537,33 +537,33 @@ pub struct ListInstanceConfigOperationsRequest { #[prost(int32, tag = "3")] pub page_size: i32, /// If non-empty, `page_token` should contain a - /// \[next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token\] + /// [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token] /// from a previous - /// \[ListInstanceConfigOperationsResponse][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse\] + /// [ListInstanceConfigOperationsResponse][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse] /// to the same `parent` and with the same `filter`. #[prost(string, tag = "4")] pub page_token: ::prost::alloc::string::String, } /// The response for -/// \[ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations\]. +/// [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstanceConfigOperationsResponse { /// The list of matching instance config [long-running - /// operations]\[google.longrunning.Operation\]. Each operation's name will be + /// operations][google.longrunning.Operation]. Each operation's name will be /// prefixed by the instance config's name. The operation's - /// \[metadata][google.longrunning.Operation.metadata\] field type + /// [metadata][google.longrunning.Operation.metadata] field type /// `metadata.type_url` describes the type of the metadata. #[prost(message, repeated, tag = "1")] pub operations: ::prost::alloc::vec::Vec, /// `next_page_token` can be sent in a subsequent - /// \[ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations\] + /// [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations] /// call to fetch more of the matching metadata. #[prost(string, tag = "2")] pub next_page_token: ::prost::alloc::string::String, } /// The request for -/// \[GetInstance][google.spanner.admin.instance.v1.InstanceAdmin.GetInstance\]. +/// [GetInstance][google.spanner.admin.instance.v1.InstanceAdmin.GetInstance]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetInstanceRequest { @@ -572,14 +572,14 @@ pub struct GetInstanceRequest { #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, /// If field_mask is present, specifies the subset of - /// \[Instance][google.spanner.admin.instance.v1.Instance\] fields that should be + /// [Instance][google.spanner.admin.instance.v1.Instance] fields that should be /// returned. If absent, all - /// \[Instance][google.spanner.admin.instance.v1.Instance\] fields are returned. + /// [Instance][google.spanner.admin.instance.v1.Instance] fields are returned. #[prost(message, optional, tag = "2")] pub field_mask: ::core::option::Option<::prost_types::FieldMask>, } /// The request for -/// \[CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance\]. +/// [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateInstanceRequest { @@ -588,7 +588,7 @@ pub struct CreateInstanceRequest { #[prost(string, tag = "1")] pub parent: ::prost::alloc::string::String, /// Required. The ID of the instance to create. Valid identifiers are of the - /// form `\[a-z][-a-z0-9]*[a-z0-9\]` and must be between 2 and 64 characters in + /// form `[a-z][-a-z0-9]*\[a-z0-9\]` and must be between 2 and 64 characters in /// length. #[prost(string, tag = "2")] pub instance_id: ::prost::alloc::string::String, @@ -598,7 +598,7 @@ pub struct CreateInstanceRequest { pub instance: ::core::option::Option, } /// The request for -/// \[ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances\]. +/// [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstancesRequest { @@ -611,9 +611,9 @@ pub struct ListInstancesRequest { #[prost(int32, tag = "2")] pub page_size: i32, /// If non-empty, `page_token` should contain a - /// \[next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token\] + /// [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token] /// from a previous - /// \[ListInstancesResponse][google.spanner.admin.instance.v1.ListInstancesResponse\]. + /// [ListInstancesResponse][google.spanner.admin.instance.v1.ListInstancesResponse]. #[prost(string, tag = "3")] pub page_token: ::prost::alloc::string::String, /// An expression for filtering the results of the request. Filter rules are @@ -639,7 +639,7 @@ pub struct ListInstancesRequest { pub filter: ::prost::alloc::string::String, } /// The response for -/// \[ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances\]. +/// [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstancesResponse { @@ -647,32 +647,32 @@ pub struct ListInstancesResponse { #[prost(message, repeated, tag = "1")] pub instances: ::prost::alloc::vec::Vec, /// `next_page_token` can be sent in a subsequent - /// \[ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances\] + /// [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances] /// call to fetch more of the matching instances. #[prost(string, tag = "2")] pub next_page_token: ::prost::alloc::string::String, } /// The request for -/// \[UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance\]. +/// [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateInstanceRequest { /// Required. The instance to update, which must always include the instance /// name. Otherwise, only fields mentioned in - /// \[field_mask][google.spanner.admin.instance.v1.UpdateInstanceRequest.field_mask\] + /// [field_mask][google.spanner.admin.instance.v1.UpdateInstanceRequest.field_mask] /// need be included. #[prost(message, optional, tag = "1")] pub instance: ::core::option::Option, /// Required. A mask specifying which fields in - /// \[Instance][google.spanner.admin.instance.v1.Instance\] should be updated. + /// [Instance][google.spanner.admin.instance.v1.Instance] should be updated. /// The field mask must always be specified; this prevents any future fields in - /// \[Instance][google.spanner.admin.instance.v1.Instance\] from being erased + /// [Instance][google.spanner.admin.instance.v1.Instance] from being erased /// accidentally by clients that do not know about them. #[prost(message, optional, tag = "2")] pub field_mask: ::core::option::Option<::prost_types::FieldMask>, } /// The request for -/// \[DeleteInstance][google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstance\]. +/// [DeleteInstance][google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstance]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteInstanceRequest { @@ -682,7 +682,7 @@ pub struct DeleteInstanceRequest { pub name: ::prost::alloc::string::String, } /// Metadata type for the operation returned by -/// \[CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance\]. +/// [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateInstanceMetadata { @@ -690,7 +690,7 @@ pub struct CreateInstanceMetadata { #[prost(message, optional, tag = "1")] pub instance: ::core::option::Option, /// The time at which the - /// \[CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance\] + /// [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] /// request was received. #[prost(message, optional, tag = "2")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, @@ -704,7 +704,7 @@ pub struct CreateInstanceMetadata { pub end_time: ::core::option::Option<::prost_types::Timestamp>, } /// Metadata type for the operation returned by -/// \[UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance\]. +/// [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateInstanceMetadata { @@ -712,7 +712,7 @@ pub struct UpdateInstanceMetadata { #[prost(message, optional, tag = "1")] pub instance: ::core::option::Option, /// The time at which - /// \[UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance\] + /// [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance] /// request was received. #[prost(message, optional, tag = "2")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, @@ -726,7 +726,7 @@ pub struct UpdateInstanceMetadata { pub end_time: ::core::option::Option<::prost_types::Timestamp>, } /// Metadata type for the operation returned by -/// \[CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig\]. +/// [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateInstanceConfigMetadata { @@ -734,7 +734,7 @@ pub struct CreateInstanceConfigMetadata { #[prost(message, optional, tag = "1")] pub instance_config: ::core::option::Option, /// The progress of the - /// \[CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig\] + /// [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig] /// operation. #[prost(message, optional, tag = "2")] pub progress: ::core::option::Option, @@ -743,7 +743,7 @@ pub struct CreateInstanceConfigMetadata { pub cancel_time: ::core::option::Option<::prost_types::Timestamp>, } /// Metadata type for the operation returned by -/// \[UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig\]. +/// [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateInstanceConfigMetadata { @@ -751,7 +751,7 @@ pub struct UpdateInstanceConfigMetadata { #[prost(message, optional, tag = "1")] pub instance_config: ::core::option::Option, /// The progress of the - /// \[UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig\] + /// [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig] /// operation. #[prost(message, optional, tag = "2")] pub progress: ::core::option::Option, diff --git a/googleapis/src/google.spanner.v1.rs b/googleapis/src/google.spanner.v1.rs index 4a9aa57c..d76b52e6 100644 --- a/googleapis/src/google.spanner.v1.rs +++ b/googleapis/src/google.spanner.v1.rs @@ -1,4 +1,4 @@ -/// The response for \[Commit][google.spanner.v1.Spanner.Commit\]. +/// The response for [Commit][google.spanner.v1.Spanner.Commit]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CommitResponse { @@ -7,7 +7,7 @@ pub struct CommitResponse { pub commit_timestamp: ::core::option::Option<::prost_types::Timestamp>, /// The statistics about this Commit. Not returned by default. /// For more information, see - /// \[CommitRequest.return_commit_stats][google.spanner.v1.CommitRequest.return_commit_stats\]. + /// [CommitRequest.return_commit_stats][google.spanner.v1.CommitRequest.return_commit_stats]. #[prost(message, optional, tag = "2")] pub commit_stats: ::core::option::Option, } @@ -21,9 +21,9 @@ pub mod commit_response { /// `mutation_count` value can help you maximize the number of mutations /// in a transaction and minimize the number of API round trips. You can /// also monitor this value to prevent transactions from exceeding the system - /// \[limit\](). + /// [limit](). /// If the number of mutations exceeds the limit, the server returns - /// \[INVALID_ARGUMENT\](). + /// [INVALID_ARGUMENT](). #[prost(int64, tag = "1")] pub mutation_count: i64, } @@ -36,7 +36,7 @@ pub mod commit_response { /// Keys are represented by lists, where the ith value in the list /// corresponds to the ith component of the table or index primary key. /// Individual values are encoded as described -/// \[here][google.spanner.v1.TypeCode\]. +/// [here][google.spanner.v1.TypeCode]. /// /// For example, consider the following table definition: /// @@ -47,8 +47,8 @@ pub mod commit_response { /// /// The following keys name rows in this table: /// -/// ["Bob", "2014-09-23"] -/// ["Alfred", "2015-06-12"] +/// \["Bob", "2014-09-23"\] +/// \["Alfred", "2015-06-12"\] /// /// Since the `UserEvents` table's `PRIMARY KEY` clause names two /// columns, each `UserEvents` key has two elements; the first is the @@ -59,8 +59,8 @@ pub mod commit_response { /// sort order. For example, the following range returns all events for /// user `"Bob"` that occurred in the year 2015: /// -/// "start_closed": ["Bob", "2015-01-01"] -/// "end_closed": ["Bob", "2015-12-31"] +/// "start_closed": \["Bob", "2015-01-01"\] +/// "end_closed": \["Bob", "2015-12-31"\] /// /// Start and end keys can omit trailing key components. This affects the /// inclusion and exclusion of rows that exactly match the provided key @@ -71,7 +71,7 @@ pub mod commit_response { /// For example, the following range includes all events for `"Bob"` that /// occurred during and after the year 2000: /// -/// "start_closed": ["Bob", "2000-01-01"] +/// "start_closed": \["Bob", "2000-01-01"\] /// "end_closed": \["Bob"\] /// /// The next example retrieves all events for `"Bob"`: @@ -82,12 +82,12 @@ pub mod commit_response { /// To retrieve events before the year 2000: /// /// "start_closed": \["Bob"\] -/// "end_open": ["Bob", "2000-01-01"] +/// "end_open": \["Bob", "2000-01-01"\] /// /// The following range includes all rows in the table: /// -/// "start_closed": [] -/// "end_closed": [] +/// "start_closed": \[\] +/// "end_closed": \[\] /// /// This range returns all users whose `UserName` begins with any /// character from A to C: @@ -168,10 +168,10 @@ pub struct KeySet { /// A list of specific keys. Entries in `keys` should have exactly as /// many elements as there are columns in the primary or index key /// with which this `KeySet` is used. Individual key values are - /// encoded as described \[here][google.spanner.v1.TypeCode\]. + /// encoded as described [here][google.spanner.v1.TypeCode]. #[prost(message, repeated, tag = "1")] pub keys: ::prost::alloc::vec::Vec<::prost_types::ListValue>, - /// A list of key ranges. See \[KeyRange][google.spanner.v1.KeyRange\] for more information about + /// A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about /// key range specifications. #[prost(message, repeated, tag = "2")] pub ranges: ::prost::alloc::vec::Vec, @@ -183,7 +183,7 @@ pub struct KeySet { } /// A modification to one or more Cloud Spanner rows. Mutations can be /// applied to a Cloud Spanner database by sending them in a -/// \[Commit][google.spanner.v1.Spanner.Commit\] call. +/// [Commit][google.spanner.v1.Spanner.Commit] call. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct Mutation { @@ -193,15 +193,15 @@ pub struct Mutation { } /// Nested message and enum types in `Mutation`. pub mod mutation { - /// Arguments to \[insert][google.spanner.v1.Mutation.insert\], \[update][google.spanner.v1.Mutation.update\], \[insert_or_update][google.spanner.v1.Mutation.insert_or_update\], and - /// \[replace][google.spanner.v1.Mutation.replace\] operations. + /// Arguments to [insert][google.spanner.v1.Mutation.insert], [update][google.spanner.v1.Mutation.update], [insert_or_update][google.spanner.v1.Mutation.insert_or_update], and + /// [replace][google.spanner.v1.Mutation.replace] operations. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct Write { /// Required. The table whose rows will be written. #[prost(string, tag = "1")] pub table: ::prost::alloc::string::String, - /// The names of the columns in \[table][google.spanner.v1.Mutation.Write.table\] to be written. + /// The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written. /// /// The list of columns must contain enough columns to allow /// Cloud Spanner to derive values for all primary key columns in the @@ -211,22 +211,22 @@ pub mod mutation { /// The values to be written. `values` can contain more than one /// list of values. If it does, then multiple rows are written, one /// for each entry in `values`. Each list in `values` must have - /// exactly as many entries as there are entries in \[columns][google.spanner.v1.Mutation.Write.columns\] + /// exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] /// above. Sending multiple lists is equivalent to sending multiple /// `Mutation`s, each containing one `values` entry and repeating - /// \[table][google.spanner.v1.Mutation.Write.table\] and \[columns][google.spanner.v1.Mutation.Write.columns\]. Individual values in each list are - /// encoded as described \[here][google.spanner.v1.TypeCode\]. + /// [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are + /// encoded as described [here][google.spanner.v1.TypeCode]. #[prost(message, repeated, tag = "3")] pub values: ::prost::alloc::vec::Vec<::prost_types::ListValue>, } - /// Arguments to \[delete][google.spanner.v1.Mutation.delete\] operations. + /// Arguments to [delete][google.spanner.v1.Mutation.delete] operations. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct Delete { /// Required. The table whose rows will be deleted. #[prost(string, tag = "1")] pub table: ::prost::alloc::string::String, - /// Required. The primary keys of the rows within \[table][google.spanner.v1.Mutation.Delete.table\] to delete. The + /// Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete. The /// primary keys must be specified in the order in which they appear in the /// `PRIMARY KEY()` clause of the table's equivalent DDL statement (the DDL /// statement used to create the table). @@ -247,18 +247,18 @@ pub mod mutation { /// already exist, the transaction fails with error `NOT_FOUND`. #[prost(message, tag = "2")] Update(Write), - /// Like \[insert][google.spanner.v1.Mutation.insert\], except that if the row already exists, then + /// Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then /// its column values are overwritten with the ones provided. Any /// column values not explicitly written are preserved. /// - /// When using \[insert_or_update][google.spanner.v1.Mutation.insert_or_update\], just as when using \[insert][google.spanner.v1.Mutation.insert\], all `NOT + /// When using [insert_or_update][google.spanner.v1.Mutation.insert_or_update], just as when using [insert][google.spanner.v1.Mutation.insert], all `NOT /// NULL` columns in the table must be given a value. This holds true /// even when the row already exists and will therefore actually be updated. #[prost(message, tag = "3")] InsertOrUpdate(Write), - /// Like \[insert][google.spanner.v1.Mutation.insert\], except that if the row already exists, it is + /// Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is /// deleted, and the column values provided are inserted - /// instead. Unlike \[insert_or_update][google.spanner.v1.Mutation.insert_or_update\], this means any values not + /// instead. Unlike [insert_or_update][google.spanner.v1.Mutation.insert_or_update], this means any values not /// explicitly written become `NULL`. /// /// In an interleaved table, if you create the child table with the @@ -273,16 +273,16 @@ pub mod mutation { Delete(Delete), } } -/// Node information for nodes appearing in a \[QueryPlan.plan_nodes][google.spanner.v1.QueryPlan.plan_nodes\]. +/// Node information for nodes appearing in a [QueryPlan.plan_nodes][google.spanner.v1.QueryPlan.plan_nodes]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlanNode { - /// The `PlanNode`'s index in [node list]\[google.spanner.v1.QueryPlan.plan_nodes\]. + /// The `PlanNode`'s index in [node list][google.spanner.v1.QueryPlan.plan_nodes]. #[prost(int32, tag = "1")] pub index: i32, /// Used to determine the type of node. May be needed for visualizing /// different kinds of nodes differently. For example, If the node is a - /// \[SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR\] node, it will have a condensed representation + /// [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] node, it will have a condensed representation /// which can be used to directly embed a description of the node in its /// parent. #[prost(enumeration = "plan_node::Kind", tag = "2")] @@ -293,7 +293,7 @@ pub struct PlanNode { /// List of child node `index`es and their relationship to this parent. #[prost(message, repeated, tag = "4")] pub child_links: ::prost::alloc::vec::Vec, - /// Condensed representation for \[SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR\] nodes. + /// Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes. #[prost(message, optional, tag = "5")] pub short_representation: ::core::option::Option, /// Attributes relevant to the node contained in a group of key-value pairs. @@ -316,7 +316,7 @@ pub struct PlanNode { /// Nested message and enum types in `PlanNode`. pub mod plan_node { /// Metadata associated with a parent-child relationship appearing in a - /// \[PlanNode][google.spanner.v1.PlanNode\]. + /// [PlanNode][google.spanner.v1.PlanNode]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChildLink { @@ -329,7 +329,7 @@ pub mod plan_node { /// with the output variable. #[prost(string, tag = "2")] pub r#type: ::prost::alloc::string::String, - /// Only present if the child node is \[SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR\] and corresponds + /// Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds /// to an output variable of the parent node. The field carries the name of /// the output variable. /// For example, a `TableScan` operator that reads rows from a table will @@ -341,7 +341,7 @@ pub mod plan_node { pub variable: ::prost::alloc::string::String, } /// Condensed representation of a node and its subtree. Only present for - /// `SCALAR` \[PlanNode(s)][google.spanner.v1.PlanNode\]. + /// `SCALAR` [PlanNode(s)][google.spanner.v1.PlanNode]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShortRepresentation { @@ -356,7 +356,7 @@ pub mod plan_node { #[prost(map = "string, int32", tag = "2")] pub subqueries: ::std::collections::HashMap<::prost::alloc::string::String, i32>, } - /// The kind of \[PlanNode][google.spanner.v1.PlanNode\]. Distinguishes between the two different kinds of + /// The kind of [PlanNode][google.spanner.v1.PlanNode]. Distinguishes between the two different kinds of /// nodes that can appear in a query plan. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] @@ -401,7 +401,7 @@ pub mod plan_node { #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryPlan { /// The nodes in the query plan. Plan nodes are returned in pre-order starting - /// with the plan root. Each \[PlanNode][google.spanner.v1.PlanNode\]'s `id` corresponds to its index in + /// with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in /// `plan_nodes`. #[prost(message, repeated, tag = "1")] pub plan_nodes: ::prost::alloc::vec::Vec, @@ -435,7 +435,7 @@ pub struct QueryPlan { /// /// Queries on change streams must be performed with the snapshot read-only /// transaction mode, specifying a strong read. Please see -/// \[TransactionOptions.ReadOnly.strong][google.spanner.v1.TransactionOptions.ReadOnly.strong\] +/// [TransactionOptions.ReadOnly.strong][google.spanner.v1.TransactionOptions.ReadOnly.strong] /// for more details. /// /// 3. Partitioned DML. This type of transaction is used to execute @@ -466,16 +466,16 @@ pub struct QueryPlan { /// and cause less contention. Cloud Spanner attempts to keep read locks /// active as long as the transaction continues to do reads, and the /// transaction has not been terminated by -/// \[Commit][google.spanner.v1.Spanner.Commit\] or -/// \[Rollback][google.spanner.v1.Spanner.Rollback\]. Long periods of +/// [Commit][google.spanner.v1.Spanner.Commit] or +/// [Rollback][google.spanner.v1.Spanner.Rollback]. Long periods of /// inactivity at the client may cause Cloud Spanner to release a /// transaction's locks and abort it. /// /// Conceptually, a read-write transaction consists of zero or more /// reads or SQL statements followed by -/// \[Commit][google.spanner.v1.Spanner.Commit\]. At any time before -/// \[Commit][google.spanner.v1.Spanner.Commit\], the client can send a -/// \[Rollback][google.spanner.v1.Spanner.Rollback\] request to abort the +/// [Commit][google.spanner.v1.Spanner.Commit]. At any time before +/// [Commit][google.spanner.v1.Spanner.Commit], the client can send a +/// [Rollback][google.spanner.v1.Spanner.Rollback] request to abort the /// transaction. /// /// Semantics: @@ -537,8 +537,8 @@ pub struct QueryPlan { /// need to worry about this in practice. /// /// Snapshot read-only transactions do not need to call -/// \[Commit][google.spanner.v1.Spanner.Commit\] or -/// \[Rollback][google.spanner.v1.Spanner.Rollback\] (and in fact are not +/// [Commit][google.spanner.v1.Spanner.Commit] or +/// [Rollback][google.spanner.v1.Spanner.Rollback] (and in fact are not /// permitted to do so). /// /// To execute a snapshot transaction, the client specifies a timestamp @@ -573,7 +573,7 @@ pub struct QueryPlan { /// the strong read timestamp bound. /// /// See -/// \[TransactionOptions.ReadOnly.strong][google.spanner.v1.TransactionOptions.ReadOnly.strong\]. +/// [TransactionOptions.ReadOnly.strong][google.spanner.v1.TransactionOptions.ReadOnly.strong]. /// /// Exact staleness: /// @@ -595,9 +595,9 @@ pub struct QueryPlan { /// boundedly stale reads usually return fresher results. /// /// See -/// \[TransactionOptions.ReadOnly.read_timestamp][google.spanner.v1.TransactionOptions.ReadOnly.read_timestamp\] +/// [TransactionOptions.ReadOnly.read_timestamp][google.spanner.v1.TransactionOptions.ReadOnly.read_timestamp] /// and -/// \[TransactionOptions.ReadOnly.exact_staleness][google.spanner.v1.TransactionOptions.ReadOnly.exact_staleness\]. +/// [TransactionOptions.ReadOnly.exact_staleness][google.spanner.v1.TransactionOptions.ReadOnly.exact_staleness]. /// /// Bounded staleness: /// @@ -627,9 +627,9 @@ pub struct QueryPlan { /// read-only transactions. /// /// See -/// \[TransactionOptions.ReadOnly.max_staleness][google.spanner.v1.TransactionOptions.ReadOnly.max_staleness\] +/// [TransactionOptions.ReadOnly.max_staleness][google.spanner.v1.TransactionOptions.ReadOnly.max_staleness] /// and -/// \[TransactionOptions.ReadOnly.min_read_timestamp][google.spanner.v1.TransactionOptions.ReadOnly.min_read_timestamp\]. +/// [TransactionOptions.ReadOnly.min_read_timestamp][google.spanner.v1.TransactionOptions.ReadOnly.min_read_timestamp]. /// /// Old read timestamps and garbage collection: /// @@ -668,7 +668,7 @@ pub struct QueryPlan { /// /// In addition, if TransactionOptions.read_only.return_read_timestamp is set /// to true, a special value of 2^63 - 2 will be returned in the -/// \[Transaction][google.spanner.v1.Transaction\] message that describes the +/// [Transaction][google.spanner.v1.Transaction] message that describes the /// transaction, instead of a valid read timestamp. This special value should be /// discarded and not used for any subsequent queries. /// @@ -802,7 +802,7 @@ pub mod transaction_options { #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadOnly { /// If true, the Cloud Spanner-selected read timestamp is included in - /// the \[Transaction][google.spanner.v1.Transaction\] message that describes + /// the [Transaction][google.spanner.v1.Transaction] message that describes /// the transaction. #[prost(bool, tag = "6")] pub return_read_timestamp: bool, @@ -908,10 +908,10 @@ pub mod transaction_options { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Transaction { /// `id` may be used to identify the transaction in subsequent - /// \[Read][google.spanner.v1.Spanner.Read\], - /// \[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql\], - /// \[Commit][google.spanner.v1.Spanner.Commit\], or - /// \[Rollback][google.spanner.v1.Spanner.Rollback\] calls. + /// [Read][google.spanner.v1.Spanner.Read], + /// [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], + /// [Commit][google.spanner.v1.Spanner.Commit], or + /// [Rollback][google.spanner.v1.Spanner.Rollback] calls. /// /// Single-use read-only transactions do not have IDs, because /// single-use transactions do not support multiple requests. @@ -919,7 +919,7 @@ pub struct Transaction { pub id: ::prost::alloc::vec::Vec, /// For snapshot read-only transactions, the read timestamp chosen /// for the transaction. Not returned by default: see - /// \[TransactionOptions.ReadOnly.return_read_timestamp][google.spanner.v1.TransactionOptions.ReadOnly.return_read_timestamp\]. + /// [TransactionOptions.ReadOnly.return_read_timestamp][google.spanner.v1.TransactionOptions.ReadOnly.return_read_timestamp]. /// /// A timestamp in RFC3339 UTC \"Zulu\" format, accurate to nanoseconds. /// Example: `"2014-10-02T15:01:23.045123456Z"`. @@ -927,10 +927,10 @@ pub struct Transaction { pub read_timestamp: ::core::option::Option<::prost_types::Timestamp>, } /// This message is used to select the transaction in which a -/// \[Read][google.spanner.v1.Spanner.Read\] or -/// \[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql\] call runs. +/// [Read][google.spanner.v1.Spanner.Read] or +/// [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] call runs. /// -/// See \[TransactionOptions][google.spanner.v1.TransactionOptions\] for more +/// See [TransactionOptions][google.spanner.v1.TransactionOptions] for more /// information about transactions. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -957,8 +957,8 @@ pub mod transaction_selector { Id(::prost::alloc::vec::Vec), /// Begin a new transaction and execute this read or SQL query in /// it. The transaction ID of the new transaction is returned in - /// \[ResultSetMetadata.transaction][google.spanner.v1.ResultSetMetadata.transaction\], - /// which is a \[Transaction][google.spanner.v1.Transaction\]. + /// [ResultSetMetadata.transaction][google.spanner.v1.ResultSetMetadata.transaction], + /// which is a [Transaction][google.spanner.v1.Transaction]. #[prost(message, tag = "3")] Begin(super::TransactionOptions), } @@ -968,34 +968,34 @@ pub mod transaction_selector { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct Type { - /// Required. The \[TypeCode][google.spanner.v1.TypeCode\] for this type. + /// Required. The [TypeCode][google.spanner.v1.TypeCode] for this type. #[prost(enumeration = "TypeCode", tag = "1")] pub code: i32, - /// If \[code][google.spanner.v1.Type.code\] == \[ARRAY][google.spanner.v1.TypeCode.ARRAY\], then `array_element_type` + /// If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type` /// is the type of the array elements. #[prost(message, optional, boxed, tag = "2")] pub array_element_type: ::core::option::Option<::prost::alloc::boxed::Box>, - /// If \[code][google.spanner.v1.Type.code\] == \[STRUCT][google.spanner.v1.TypeCode.STRUCT\], then `struct_type` + /// If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type` /// provides type information for the struct's fields. #[prost(message, optional, tag = "3")] pub struct_type: ::core::option::Option, - /// The \[TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode\] that disambiguates SQL type that Spanner will + /// The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will /// use to represent values of this type during query processing. This is - /// necessary for some type codes because a single \[TypeCode][google.spanner.v1.TypeCode\] can be mapped - /// to different SQL types depending on the SQL dialect. \[type_annotation][google.spanner.v1.Type.type_annotation\] + /// necessary for some type codes because a single [TypeCode][google.spanner.v1.TypeCode] can be mapped + /// to different SQL types depending on the SQL dialect. [type_annotation][google.spanner.v1.Type.type_annotation] /// typically is not needed to process the content of a value (it doesn't /// affect serialization) and clients can ignore it on the read path. #[prost(enumeration = "TypeAnnotationCode", tag = "4")] pub type_annotation: i32, } -/// `StructType` defines the fields of a \[STRUCT][google.spanner.v1.TypeCode.STRUCT\] type. +/// `StructType` defines the fields of a [STRUCT][google.spanner.v1.TypeCode.STRUCT] type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct StructType { /// The list of fields that make up this struct. Order is /// significant, because values of this struct type are represented as /// lists, where the order of field values matches the order of - /// fields in the \[StructType][google.spanner.v1.StructType\]. In turn, the order of fields + /// fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields /// matches the order of columns in a read request, or the order of /// fields in the `SELECT` clause of a query. #[prost(message, repeated, tag = "1")] @@ -1021,7 +1021,7 @@ pub mod struct_type { pub r#type: ::core::option::Option, } } -/// `TypeCode` is used as part of \[Type][google.spanner.v1.Type\] to +/// `TypeCode` is used as part of [Type][google.spanner.v1.Type] to /// indicate the type of a Cloud Spanner value. /// /// Each legal value of a type can be encoded to or decoded from a JSON @@ -1058,19 +1058,19 @@ pub enum TypeCode { Bytes = 7, /// Encoded as `list`, where the list elements are represented /// according to - /// \[array_element_type][google.spanner.v1.Type.array_element_type\]. + /// [array_element_type][google.spanner.v1.Type.array_element_type]. Array = 8, /// Encoded as `list`, where list element `i` is represented according - /// to \[struct_type.fields[i]][google.spanner.v1.StructType.fields\]. + /// to \[struct_type.fields[i\]][google.spanner.v1.StructType.fields]. Struct = 9, /// Encoded as `string`, in decimal format or scientific notation format. ///
Decimal format: - ///
`\[+-]Digits[.[Digits]\]` or - ///
`\[+-][Digits\].Digits` + ///
`\[+-\]Digits\[.[Digits]\]` or + ///
`[+-][Digits].Digits` /// /// Scientific notation: - ///
`\[+-]Digits[.[Digits]][ExponentIndicator[+-]Digits\]` or - ///
`\[+-][Digits].Digits[ExponentIndicator[+-]Digits\]` + ///
`\[+-\]Digits\[.[Digits\]][ExponentIndicator\[+-\]Digits]` or + ///
`[+-][Digits].Digits\[ExponentIndicator[+-\]Digits]` ///
(ExponentIndicator is `"e"` or `"E"`) Numeric = 10, /// Encoded as a JSON-formatted `string` as described in RFC 7159. The @@ -1123,7 +1123,7 @@ impl TypeCode { } } } -/// `TypeAnnotationCode` is used as a part of \[Type][google.spanner.v1.Type\] to +/// `TypeAnnotationCode` is used as a part of [Type][google.spanner.v1.Type] to /// disambiguate SQL types that should be used for a given Cloud Spanner value. /// Disambiguation is needed because the same Cloud Spanner type can be mapped to /// different SQL types depending on SQL dialect. TypeAnnotationCode doesn't @@ -1134,17 +1134,17 @@ pub enum TypeAnnotationCode { /// Not specified. Unspecified = 0, /// PostgreSQL compatible NUMERIC type. This annotation needs to be applied to - /// \[Type][google.spanner.v1.Type\] instances having \[NUMERIC][google.spanner.v1.TypeCode.NUMERIC\] + /// [Type][google.spanner.v1.Type] instances having [NUMERIC][google.spanner.v1.TypeCode.NUMERIC] /// type code to specify that values of this type should be treated as /// PostgreSQL NUMERIC values. Currently this annotation is always needed for - /// \[NUMERIC][google.spanner.v1.TypeCode.NUMERIC\] when a client interacts with PostgreSQL-enabled + /// [NUMERIC][google.spanner.v1.TypeCode.NUMERIC] when a client interacts with PostgreSQL-enabled /// Spanner databases. PgNumeric = 2, /// PostgreSQL compatible JSONB type. This annotation needs to be applied to - /// \[Type][google.spanner.v1.Type\] instances having \[JSON][google.spanner.v1.TypeCode.JSON\] + /// [Type][google.spanner.v1.Type] instances having [JSON][google.spanner.v1.TypeCode.JSON] /// type code to specify that values of this type should be treated as /// PostgreSQL JSONB values. Currently this annotation is always needed for - /// \[JSON][google.spanner.v1.TypeCode.JSON\] when a client interacts with PostgreSQL-enabled + /// [JSON][google.spanner.v1.TypeCode.JSON] when a client interacts with PostgreSQL-enabled /// Spanner databases. PgJsonb = 3, } @@ -1170,8 +1170,8 @@ impl TypeAnnotationCode { } } } -/// Results from \[Read][google.spanner.v1.Spanner.Read\] or -/// \[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql\]. +/// Results from [Read][google.spanner.v1.Spanner.Read] or +/// [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResultSet { @@ -1179,21 +1179,21 @@ pub struct ResultSet { #[prost(message, optional, tag = "1")] pub metadata: ::core::option::Option, /// Each element in `rows` is a row whose format is defined by - /// \[metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type\]. The ith element + /// [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element /// in each row matches the ith field in - /// \[metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type\]. Elements are + /// [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. Elements are /// encoded based on type as described - /// \[here][google.spanner.v1.TypeCode\]. + /// [here][google.spanner.v1.TypeCode]. #[prost(message, repeated, tag = "2")] pub rows: ::prost::alloc::vec::Vec<::prost_types::ListValue>, /// Query plan and execution statistics for the SQL statement that /// produced this result set. These can be requested by setting - /// \[ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode\]. + /// [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode]. /// DML statements always produce stats containing the number of rows /// modified, unless executed using the - /// \[ExecuteSqlRequest.QueryMode.PLAN][google.spanner.v1.ExecuteSqlRequest.QueryMode.PLAN\] \[ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode\]. + /// [ExecuteSqlRequest.QueryMode.PLAN][google.spanner.v1.ExecuteSqlRequest.QueryMode.PLAN] [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode]. /// Other fields may or may not be populated, based on the - /// \[ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode\]. + /// [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode]. #[prost(message, optional, tag = "3")] pub stats: ::core::option::Option, } @@ -1211,14 +1211,14 @@ pub struct PartialResultSet { /// be split into many `PartialResultSet` messages to accommodate /// large rows and/or large values. Every N complete values defines a /// row, where N is equal to the number of entries in - /// \[metadata.row_type.fields][google.spanner.v1.StructType.fields\]. + /// [metadata.row_type.fields][google.spanner.v1.StructType.fields]. /// /// Most values are encoded based on type as described - /// \[here][google.spanner.v1.TypeCode\]. + /// [here][google.spanner.v1.TypeCode]. /// /// It is possible that the last value in values is "chunked", /// meaning that the rest of the value is sent in subsequent - /// `PartialResultSet`(s). This is denoted by the \[chunked_value][google.spanner.v1.PartialResultSet.chunked_value\] + /// `PartialResultSet`(s). This is denoted by the [chunked_value][google.spanner.v1.PartialResultSet.chunked_value] /// field. Two or more chunked values can be merged to form a /// complete value as follows: /// @@ -1237,16 +1237,16 @@ pub struct PartialResultSet { /// "foo", "bar" => "foobar" /// /// # Lists of non-strings are concatenated. - /// [2, 3], \[4\] => [2, 3, 4] + /// \[2, 3\], \[4\] => \[2, 3, 4\] /// /// # Lists are concatenated, but the last and first elements are merged /// # because they are strings. - /// ["a", "b"], ["c", "d"] => ["a", "bc", "d"] + /// \["a", "b"\], \["c", "d"\] => \["a", "bc", "d"\] /// /// # Lists are concatenated, but the last and first elements are merged /// # because they are lists. Recursively, the last and first elements /// # of the inner lists are merged because they are strings. - /// ["a", ["b", "c"]], \[["d"\], "e"] => ["a", ["b", "cd"], "e"] + /// \["a", ["b", "c"]\], \[["d"\], "e"] => \["a", ["b", "cd"\], "e"] /// /// # Non-overlapping object fields are combined. /// {"a": "1"}, {"b": "2"} => {"a": "1", "b": 2"} @@ -1263,7 +1263,7 @@ pub struct PartialResultSet { /// /// { /// "metadata": { ... } - /// "values": ["Hello", "W"] + /// "values": \["Hello", "W"\] /// "chunked_value": true /// "resume_token": "Af65..." /// } @@ -1282,7 +1282,7 @@ pub struct PartialResultSet { /// field value `"World" = "W" + "orl" + "d"`. #[prost(message, repeated, tag = "2")] pub values: ::prost::alloc::vec::Vec<::prost_types::Value>, - /// If true, then the final value in \[values][google.spanner.v1.PartialResultSet.values\] is chunked, and must + /// If true, then the final value in [values][google.spanner.v1.PartialResultSet.values] is chunked, and must /// be combined with more values from subsequent `PartialResultSet`s /// to obtain a complete field value. #[prost(bool, tag = "3")] @@ -1296,14 +1296,14 @@ pub struct PartialResultSet { pub resume_token: ::prost::alloc::vec::Vec, /// Query plan and execution statistics for the statement that produced this /// streaming result set. These can be requested by setting - /// \[ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode\] and are sent + /// [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] and are sent /// only once with the last response in the stream. /// This field will also be present in the last response for DML /// statements. #[prost(message, optional, tag = "5")] pub stats: ::core::option::Option, } -/// Metadata about a \[ResultSet][google.spanner.v1.ResultSet\] or \[PartialResultSet][google.spanner.v1.PartialResultSet\]. +/// Metadata about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResultSetMetadata { @@ -1334,11 +1334,11 @@ pub struct ResultSetMetadata { #[prost(message, optional, tag = "3")] pub undeclared_parameters: ::core::option::Option, } -/// Additional statistics about a \[ResultSet][google.spanner.v1.ResultSet\] or \[PartialResultSet][google.spanner.v1.PartialResultSet\]. +/// Additional statistics about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResultSetStats { - /// \[QueryPlan][google.spanner.v1.QueryPlan\] for the query associated with this result. + /// [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result. #[prost(message, optional, tag = "1")] pub query_plan: ::core::option::Option, /// Aggregated statistics from the execution of the query. Only present when @@ -1371,7 +1371,7 @@ pub mod result_set_stats { RowCountLowerBound(i64), } } -/// The request for \[CreateSession][google.spanner.v1.Spanner.CreateSession\]. +/// The request for [CreateSession][google.spanner.v1.Spanner.CreateSession]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateSessionRequest { @@ -1382,7 +1382,7 @@ pub struct CreateSessionRequest { #[prost(message, optional, tag = "2")] pub session: ::core::option::Option, } -/// The request for \[BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions\]. +/// The request for [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchCreateSessionsRequest { @@ -1396,11 +1396,11 @@ pub struct BatchCreateSessionsRequest { /// The API may return fewer than the requested number of sessions. If a /// specific number of sessions are desired, the client can make additional /// calls to BatchCreateSessions (adjusting - /// \[session_count][google.spanner.v1.BatchCreateSessionsRequest.session_count\] as necessary). + /// [session_count][google.spanner.v1.BatchCreateSessionsRequest.session_count] as necessary). #[prost(int32, tag = "3")] pub session_count: i32, } -/// The response for \[BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions\]. +/// The response for [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchCreateSessionsResponse { @@ -1418,9 +1418,9 @@ pub struct Session { /// The labels for the session. /// /// * Label keys must be between 1 and 63 characters long and must conform to - /// the following regular expression: `\[a-z]([-a-z0-9]*[a-z0-9\])?`. + /// the following regular expression: `[a-z](\[-a-z0-9\]*[a-z0-9])?`. /// * Label values must be between 0 and 63 characters long and must conform - /// to the regular expression `(\[a-z]([-a-z0-9]*[a-z0-9\])?)?`. + /// to the regular expression `([a-z](\[-a-z0-9\]*[a-z0-9])?)?`. /// * No more than 64 labels can be associated with a given session. /// /// See for more information on and examples of labels. @@ -1437,7 +1437,7 @@ pub struct Session { #[prost(string, tag = "5")] pub creator_role: ::prost::alloc::string::String, } -/// The request for \[GetSession][google.spanner.v1.Spanner.GetSession\]. +/// The request for [GetSession][google.spanner.v1.Spanner.GetSession]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSessionRequest { @@ -1445,7 +1445,7 @@ pub struct GetSessionRequest { #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, } -/// The request for \[ListSessions][google.spanner.v1.Spanner.ListSessions\]. +/// The request for [ListSessions][google.spanner.v1.Spanner.ListSessions]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSessionsRequest { @@ -1457,8 +1457,8 @@ pub struct ListSessionsRequest { #[prost(int32, tag = "2")] pub page_size: i32, /// If non-empty, `page_token` should contain a - /// \[next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token\] from a previous - /// \[ListSessionsResponse][google.spanner.v1.ListSessionsResponse\]. + /// [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] from a previous + /// [ListSessionsResponse][google.spanner.v1.ListSessionsResponse]. #[prost(string, tag = "3")] pub page_token: ::prost::alloc::string::String, /// An expression for filtering the results of the request. Filter rules are @@ -1474,7 +1474,7 @@ pub struct ListSessionsRequest { #[prost(string, tag = "4")] pub filter: ::prost::alloc::string::String, } -/// The response for \[ListSessions][google.spanner.v1.Spanner.ListSessions\]. +/// The response for [ListSessions][google.spanner.v1.Spanner.ListSessions]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSessionsResponse { @@ -1482,12 +1482,12 @@ pub struct ListSessionsResponse { #[prost(message, repeated, tag = "1")] pub sessions: ::prost::alloc::vec::Vec, /// `next_page_token` can be sent in a subsequent - /// \[ListSessions][google.spanner.v1.Spanner.ListSessions\] call to fetch more of the matching + /// [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching /// sessions. #[prost(string, tag = "2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request for \[DeleteSession][google.spanner.v1.Spanner.DeleteSession\]. +/// The request for [DeleteSession][google.spanner.v1.Spanner.DeleteSession]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteSessionRequest { @@ -1531,7 +1531,7 @@ pub struct RequestOptions { /// Nested message and enum types in `RequestOptions`. pub mod request_options { /// The relative priority for requests. Note that priority is not applicable - /// for \[BeginTransaction][google.spanner.v1.Spanner.BeginTransaction\]. + /// for [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction]. /// /// The priority acts as a hint to the Cloud Spanner scheduler and does not /// guarantee priority or order of execution. For example: @@ -1583,8 +1583,8 @@ pub mod request_options { } } } -/// The request for \[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql\] and -/// \[ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql\]. +/// The request for [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and +/// [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExecuteSqlRequest { @@ -1623,25 +1623,25 @@ pub struct ExecuteSqlRequest { pub params: ::core::option::Option<::prost_types::Struct>, /// It is not always possible for Cloud Spanner to infer the right SQL type /// from a JSON value. For example, values of type `BYTES` and values - /// of type `STRING` both appear in \[params][google.spanner.v1.ExecuteSqlRequest.params\] as JSON strings. + /// of type `STRING` both appear in [params][google.spanner.v1.ExecuteSqlRequest.params] as JSON strings. /// /// In these cases, `param_types` can be used to specify the exact /// SQL type for some or all of the SQL statement parameters. See the - /// definition of \[Type][google.spanner.v1.Type\] for more information + /// definition of [Type][google.spanner.v1.Type] for more information /// about SQL types. #[prost(map = "string, message", tag = "5")] pub param_types: ::std::collections::HashMap<::prost::alloc::string::String, Type>, /// If this request is resuming a previously interrupted SQL statement /// execution, `resume_token` should be copied from the last - /// \[PartialResultSet][google.spanner.v1.PartialResultSet\] yielded before the interruption. Doing this + /// [PartialResultSet][google.spanner.v1.PartialResultSet] yielded before the interruption. Doing this /// enables the new SQL statement execution to resume where the last one left /// off. The rest of the request parameters must exactly match the /// request that yielded this token. #[prost(bytes = "vec", tag = "6")] pub resume_token: ::prost::alloc::vec::Vec, /// Used to control the amount of debugging information returned in - /// \[ResultSetStats][google.spanner.v1.ResultSetStats\]. If \[partition_token][google.spanner.v1.ExecuteSqlRequest.partition_token\] is set, \[query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode\] can only - /// be set to \[QueryMode.NORMAL][google.spanner.v1.ExecuteSqlRequest.QueryMode.NORMAL\]. + /// [ResultSetStats][google.spanner.v1.ResultSetStats]. If [partition_token][google.spanner.v1.ExecuteSqlRequest.partition_token] is set, [query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] can only + /// be set to [QueryMode.NORMAL][google.spanner.v1.ExecuteSqlRequest.QueryMode.NORMAL]. #[prost(enumeration = "execute_sql_request::QueryMode", tag = "7")] pub query_mode: i32, /// If present, results will be restricted to the specified partition @@ -1769,7 +1769,7 @@ pub mod execute_sql_request { } } } -/// The request for \[ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml\]. +/// The request for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExecuteBatchDmlRequest { @@ -1830,50 +1830,50 @@ pub mod execute_batch_dml_request { pub params: ::core::option::Option<::prost_types::Struct>, /// It is not always possible for Cloud Spanner to infer the right SQL type /// from a JSON value. For example, values of type `BYTES` and values - /// of type `STRING` both appear in \[params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params\] as JSON strings. + /// of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings. /// /// In these cases, `param_types` can be used to specify the exact /// SQL type for some or all of the SQL statement parameters. See the - /// definition of \[Type][google.spanner.v1.Type\] for more information + /// definition of [Type][google.spanner.v1.Type] for more information /// about SQL types. #[prost(map = "string, message", tag = "3")] pub param_types: ::std::collections::HashMap<::prost::alloc::string::String, super::Type>, } } -/// The response for \[ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml\]. Contains a list -/// of \[ResultSet][google.spanner.v1.ResultSet\] messages, one for each DML statement that has successfully +/// The response for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml]. Contains a list +/// of [ResultSet][google.spanner.v1.ResultSet] messages, one for each DML statement that has successfully /// executed, in the same order as the statements in the request. If a statement /// fails, the status in the response body identifies the cause of the failure. /// /// To check for DML statements that failed, use the following approach: /// -/// 1. Check the status in the response message. The \[google.rpc.Code][google.rpc.Code\] enum +/// 1. Check the status in the response message. The [google.rpc.Code][google.rpc.Code] enum /// value `OK` indicates that all statements were executed successfully. /// 2. If the status was not `OK`, check the number of result sets in the -/// response. If the response contains `N` \[ResultSet][google.spanner.v1.ResultSet\] messages, then +/// response. If the response contains `N` [ResultSet][google.spanner.v1.ResultSet] messages, then /// statement `N+1` in the request failed. /// /// Example 1: /// /// * Request: 5 DML statements, all executed successfully. -/// * Response: 5 \[ResultSet][google.spanner.v1.ResultSet\] messages, with the status `OK`. +/// * Response: 5 [ResultSet][google.spanner.v1.ResultSet] messages, with the status `OK`. /// /// Example 2: /// /// * Request: 5 DML statements. The third statement has a syntax error. -/// * Response: 2 \[ResultSet][google.spanner.v1.ResultSet\] messages, and a syntax error (`INVALID_ARGUMENT`) -/// status. The number of \[ResultSet][google.spanner.v1.ResultSet\] messages indicates that the third +/// * Response: 2 [ResultSet][google.spanner.v1.ResultSet] messages, and a syntax error (`INVALID_ARGUMENT`) +/// status. The number of [ResultSet][google.spanner.v1.ResultSet] messages indicates that the third /// statement failed, and the fourth and fifth statements were not executed. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExecuteBatchDmlResponse { - /// One \[ResultSet][google.spanner.v1.ResultSet\] for each statement in the request that ran successfully, - /// in the same order as the statements in the request. Each \[ResultSet][google.spanner.v1.ResultSet\] does - /// not contain any rows. The \[ResultSetStats][google.spanner.v1.ResultSetStats\] in each \[ResultSet][google.spanner.v1.ResultSet\] contain + /// One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully, + /// in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does + /// not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] contain /// the number of rows modified by the statement. /// - /// Only the first \[ResultSet][google.spanner.v1.ResultSet\] in the response contains valid - /// \[ResultSetMetadata][google.spanner.v1.ResultSetMetadata\]. + /// Only the first [ResultSet][google.spanner.v1.ResultSet] in the response contains valid + /// [ResultSetMetadata][google.spanner.v1.ResultSetMetadata]. #[prost(message, repeated, tag = "1")] pub result_sets: ::prost::alloc::vec::Vec, /// If all DML statements are executed successfully, the status is `OK`. @@ -1905,7 +1905,7 @@ pub struct PartitionOptions { #[prost(int64, tag = "2")] pub max_partitions: i64, } -/// The request for \[PartitionQuery][google.spanner.v1.Spanner.PartitionQuery\] +/// The request for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct PartitionQueryRequest { @@ -1924,7 +1924,7 @@ pub struct PartitionQueryRequest { /// then unions all results. /// /// This must not contain DML commands, such as INSERT, UPDATE, or - /// DELETE. Use \[ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql\] with a + /// DELETE. Use [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql] with a /// PartitionedDml transaction for large, partition-friendly DML operations. #[prost(string, tag = "3")] pub sql: ::prost::alloc::string::String, @@ -1944,11 +1944,11 @@ pub struct PartitionQueryRequest { pub params: ::core::option::Option<::prost_types::Struct>, /// It is not always possible for Cloud Spanner to infer the right SQL type /// from a JSON value. For example, values of type `BYTES` and values - /// of type `STRING` both appear in \[params][google.spanner.v1.PartitionQueryRequest.params\] as JSON strings. + /// of type `STRING` both appear in [params][google.spanner.v1.PartitionQueryRequest.params] as JSON strings. /// /// In these cases, `param_types` can be used to specify the exact /// SQL type for some or all of the SQL query parameters. See the - /// definition of \[Type][google.spanner.v1.Type\] for more information + /// definition of [Type][google.spanner.v1.Type] for more information /// about SQL types. #[prost(map = "string, message", tag = "5")] pub param_types: ::std::collections::HashMap<::prost::alloc::string::String, Type>, @@ -1956,7 +1956,7 @@ pub struct PartitionQueryRequest { #[prost(message, optional, tag = "6")] pub partition_options: ::core::option::Option, } -/// The request for \[PartitionRead][google.spanner.v1.Spanner.PartitionRead\] +/// The request for [PartitionRead][google.spanner.v1.Spanner.PartitionRead] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct PartitionReadRequest { @@ -1970,19 +1970,19 @@ pub struct PartitionReadRequest { /// Required. The name of the table in the database to be read. #[prost(string, tag = "3")] pub table: ::prost::alloc::string::String, - /// If non-empty, the name of an index on \[table][google.spanner.v1.PartitionReadRequest.table\]. This index is - /// used instead of the table primary key when interpreting \[key_set][google.spanner.v1.PartitionReadRequest.key_set\] - /// and sorting result rows. See \[key_set][google.spanner.v1.PartitionReadRequest.key_set\] for further information. + /// If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is + /// used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set] + /// and sorting result rows. See [key_set][google.spanner.v1.PartitionReadRequest.key_set] for further information. #[prost(string, tag = "4")] pub index: ::prost::alloc::string::String, - /// The columns of \[table][google.spanner.v1.PartitionReadRequest.table\] to be returned for each row matching + /// The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching /// this request. #[prost(string, repeated, tag = "5")] pub columns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, /// Required. `key_set` identifies the rows to be yielded. `key_set` names the - /// primary keys of the rows in \[table][google.spanner.v1.PartitionReadRequest.table\] to be yielded, unless \[index][google.spanner.v1.PartitionReadRequest.index\] - /// is present. If \[index][google.spanner.v1.PartitionReadRequest.index\] is present, then \[key_set][google.spanner.v1.PartitionReadRequest.key_set\] instead names - /// index keys in \[index][google.spanner.v1.PartitionReadRequest.index\]. + /// primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index] + /// is present. If [index][google.spanner.v1.PartitionReadRequest.index] is present, then [key_set][google.spanner.v1.PartitionReadRequest.key_set] instead names + /// index keys in [index][google.spanner.v1.PartitionReadRequest.index]. /// /// It is not an error for the `key_set` to name rows that do not /// exist in the database. Read yields nothing for nonexistent rows. @@ -2003,8 +2003,8 @@ pub struct Partition { #[prost(bytes = "vec", tag = "1")] pub partition_token: ::prost::alloc::vec::Vec, } -/// The response for \[PartitionQuery][google.spanner.v1.Spanner.PartitionQuery\] -/// or \[PartitionRead][google.spanner.v1.Spanner.PartitionRead\] +/// The response for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery] +/// or [PartitionRead][google.spanner.v1.Spanner.PartitionRead] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct PartitionResponse { @@ -2015,8 +2015,8 @@ pub struct PartitionResponse { #[prost(message, optional, tag = "2")] pub transaction: ::core::option::Option, } -/// The request for \[Read][google.spanner.v1.Spanner.Read\] and -/// \[StreamingRead][google.spanner.v1.Spanner.StreamingRead\]. +/// The request for [Read][google.spanner.v1.Spanner.Read] and +/// [StreamingRead][google.spanner.v1.Spanner.StreamingRead]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadRequest { @@ -2030,23 +2030,23 @@ pub struct ReadRequest { /// Required. The name of the table in the database to be read. #[prost(string, tag = "3")] pub table: ::prost::alloc::string::String, - /// If non-empty, the name of an index on \[table][google.spanner.v1.ReadRequest.table\]. This index is - /// used instead of the table primary key when interpreting \[key_set][google.spanner.v1.ReadRequest.key_set\] - /// and sorting result rows. See \[key_set][google.spanner.v1.ReadRequest.key_set\] for further information. + /// If non-empty, the name of an index on [table][google.spanner.v1.ReadRequest.table]. This index is + /// used instead of the table primary key when interpreting [key_set][google.spanner.v1.ReadRequest.key_set] + /// and sorting result rows. See [key_set][google.spanner.v1.ReadRequest.key_set] for further information. #[prost(string, tag = "4")] pub index: ::prost::alloc::string::String, - /// Required. The columns of \[table][google.spanner.v1.ReadRequest.table\] to be returned for each row matching + /// Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching /// this request. #[prost(string, repeated, tag = "5")] pub columns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, /// Required. `key_set` identifies the rows to be yielded. `key_set` names the - /// primary keys of the rows in \[table][google.spanner.v1.ReadRequest.table\] to be yielded, unless \[index][google.spanner.v1.ReadRequest.index\] - /// is present. If \[index][google.spanner.v1.ReadRequest.index\] is present, then \[key_set][google.spanner.v1.ReadRequest.key_set\] instead names - /// index keys in \[index][google.spanner.v1.ReadRequest.index\]. + /// primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index] + /// is present. If [index][google.spanner.v1.ReadRequest.index] is present, then [key_set][google.spanner.v1.ReadRequest.key_set] instead names + /// index keys in [index][google.spanner.v1.ReadRequest.index]. /// - /// If the \[partition_token][google.spanner.v1.ReadRequest.partition_token\] field is empty, rows are yielded - /// in table primary key order (if \[index][google.spanner.v1.ReadRequest.index\] is empty) or index key order - /// (if \[index][google.spanner.v1.ReadRequest.index\] is non-empty). If the \[partition_token][google.spanner.v1.ReadRequest.partition_token\] field is not + /// If the [partition_token][google.spanner.v1.ReadRequest.partition_token] field is empty, rows are yielded + /// in table primary key order (if [index][google.spanner.v1.ReadRequest.index] is empty) or index key order + /// (if [index][google.spanner.v1.ReadRequest.index] is non-empty). If the [partition_token][google.spanner.v1.ReadRequest.partition_token] field is not /// empty, rows will be yielded in an unspecified order. /// /// It is not an error for the `key_set` to name rows that do not @@ -2060,7 +2060,7 @@ pub struct ReadRequest { pub limit: i64, /// If this request is resuming a previously interrupted read, /// `resume_token` should be copied from the last - /// \[PartialResultSet][google.spanner.v1.PartialResultSet\] yielded before the interruption. Doing this + /// [PartialResultSet][google.spanner.v1.PartialResultSet] yielded before the interruption. Doing this /// enables the new read to resume where the last read left off. The /// rest of the request parameters must exactly match the request /// that yielded this token. @@ -2083,7 +2083,7 @@ pub struct ReadRequest { #[prost(bool, tag = "15")] pub data_boost_enabled: bool, } -/// The request for \[BeginTransaction][google.spanner.v1.Spanner.BeginTransaction\]. +/// The request for [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct BeginTransactionRequest { @@ -2101,7 +2101,7 @@ pub struct BeginTransactionRequest { #[prost(message, optional, tag = "3")] pub request_options: ::core::option::Option, } -/// The request for \[Commit][google.spanner.v1.Spanner.Commit\]. +/// The request for [Commit][google.spanner.v1.Spanner.Commit]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CommitRequest { @@ -2114,7 +2114,7 @@ pub struct CommitRequest { #[prost(message, repeated, tag = "4")] pub mutations: ::prost::alloc::vec::Vec, /// If `true`, then statistics related to the transaction will be included in - /// the \[CommitResponse][google.spanner.v1.CommitResponse.commit_stats\]. Default value is + /// the [CommitResponse][google.spanner.v1.CommitResponse.commit_stats]. Default value is /// `false`. #[prost(bool, tag = "5")] pub return_commit_stats: bool, @@ -2141,13 +2141,13 @@ pub mod commit_request { /// instance, due to retries in the application, or in the /// transport library), it is possible that the mutations are /// executed more than once. If this is undesirable, use - /// \[BeginTransaction][google.spanner.v1.Spanner.BeginTransaction\] and - /// \[Commit][google.spanner.v1.Spanner.Commit\] instead. + /// [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction] and + /// [Commit][google.spanner.v1.Spanner.Commit] instead. #[prost(message, tag = "3")] SingleUseTransaction(super::TransactionOptions), } } -/// The request for \[Rollback][google.spanner.v1.Spanner.Rollback\]. +/// The request for [Rollback][google.spanner.v1.Spanner.Rollback]. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct RollbackRequest { diff --git a/googleapis/src/google.storage.v2.rs b/googleapis/src/google.storage.v2.rs index a1df4ea3..040e6125 100644 --- a/googleapis/src/google.storage.v2.rs +++ b/googleapis/src/google.storage.v2.rs @@ -1191,13 +1191,13 @@ pub struct Bucket { pub project: ::prost::alloc::string::String, /// Output only. The metadata generation of this bucket. /// Attempting to set or update this field will result in a - /// \[FieldViolation][google.rpc.BadRequest.FieldViolation\]. + /// [FieldViolation][google.rpc.BadRequest.FieldViolation]. #[prost(int64, tag = "4")] pub metageneration: i64, /// Immutable. The location of the bucket. Object data for objects in the /// bucket resides in physical storage within this region. Defaults to `US`. /// See the - /// \[ + /// [ /// guide] for the authoritative list. Attempting to update this field after /// the bucket is created will result in an error. #[prost(string, tag = "5")] @@ -1239,16 +1239,16 @@ pub struct Bucket { pub lifecycle: ::core::option::Option, /// Output only. The creation time of the bucket. /// Attempting to set or update this field will result in a - /// \[FieldViolation][google.rpc.BadRequest.FieldViolation\]. + /// [FieldViolation][google.rpc.BadRequest.FieldViolation]. #[prost(message, optional, tag = "11")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// The bucket's \[ Resource Sharing] + /// The bucket's [ Resource Sharing] /// (CORS) config. #[prost(message, repeated, tag = "12")] pub cors: ::prost::alloc::vec::Vec, /// Output only. The modification time of the bucket. /// Attempting to set or update this field will result in a - /// \[FieldViolation][google.rpc.BadRequest.FieldViolation\]. + /// [FieldViolation][google.rpc.BadRequest.FieldViolation]. #[prost(message, optional, tag = "13")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, /// The default value for event-based hold on newly created objects in this @@ -1271,7 +1271,7 @@ pub struct Bucket { pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, /// The bucket's website config, controlling how the service behaves /// when accessing bucket contents as a web site. See the - /// \[ Website + /// [ Website /// Examples] for more information. #[prost(message, optional, tag = "16")] pub website: ::core::option::Option, @@ -1310,7 +1310,7 @@ pub struct Bucket { #[prost(bool, tag = "25")] pub satisfies_pzs: bool, /// Configuration that, if present, specifies the data placement for a - /// \[ Region]. + /// [ Region]. #[prost(message, optional, tag = "26")] pub custom_placement_config: ::core::option::Option, /// The bucket's Autoclass configuration. If there is no configuration, the @@ -1336,7 +1336,7 @@ pub mod bucket { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Cors { /// The list of Origins eligible to receive CORS response headers. See - /// \[ 6454] for more on origins. + /// [ 6454] for more on origins. /// Note: "*" is permitted in the list of origins, and means "any Origin". #[prost(string, repeated, tag = "1")] pub origin: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, @@ -1346,12 +1346,12 @@ pub mod bucket { #[prost(string, repeated, tag = "2")] pub method: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, /// The list of HTTP headers other than the - /// \[ response + /// [ response /// headers] to give permission for the user-agent to share across domains. #[prost(string, repeated, tag = "3")] pub response_header: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, /// The value, in seconds, to return in the - /// \[ + /// [ /// header] used in preflight responses. #[prost(int32, tag = "4")] pub max_age_seconds: i32, @@ -1552,14 +1552,14 @@ pub mod bucket { /// If the requested object path is missing, and any /// `mainPageSuffix` object is missing, if applicable, the service /// will return the named object from this bucket as the content for a - /// \[ Not Found] + /// [ Not Found] /// result. #[prost(string, tag = "2")] pub not_found_page: ::prost::alloc::string::String, } /// Configuration for Custom Dual Regions. It should specify precisely two /// eligible regions within the same Multiregion. More information on regions - /// may be found \[ + /// may be found [ #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomPlacementConfig { @@ -1659,7 +1659,7 @@ pub struct ObjectChecksums { pub crc32c: ::core::option::Option, /// 128 bit MD5 hash of the object data. /// For more information about using the MD5 hash, see - /// \[ and + /// [ and /// ETags: Best Practices]. /// Not all objects will provide an MD5 hash. For example, composite objects /// provide only crc32c hashes. @@ -1756,7 +1756,7 @@ pub struct CustomerEncryption { pub struct Object { /// Immutable. The name of this object. Nearly any sequence of unicode /// characters is valid. See - /// \[Guidelines\](). + /// [Guidelines](). /// Example: `test.txt` /// The `name` field by itself does not uniquely identify a Cloud Storage /// object. A Cloud Storage object is uniquely identified by the tuple of @@ -1774,35 +1774,35 @@ pub struct Object { pub etag: ::prost::alloc::string::String, /// Immutable. The content generation of this object. Used for object /// versioning. Attempting to set or update this field will result in a - /// \[FieldViolation][google.rpc.BadRequest.FieldViolation\]. + /// [FieldViolation][google.rpc.BadRequest.FieldViolation]. #[prost(int64, tag = "3")] pub generation: i64, /// Output only. The version of the metadata for this generation of this /// object. Used for preconditions and for detecting changes in metadata. A /// metageneration number is only meaningful in the context of a particular /// generation of a particular object. Attempting to set or update this field - /// will result in a \[FieldViolation][google.rpc.BadRequest.FieldViolation\]. + /// will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation]. #[prost(int64, tag = "4")] pub metageneration: i64, /// Storage class of the object. #[prost(string, tag = "5")] pub storage_class: ::prost::alloc::string::String, /// Output only. Content-Length of the object data in bytes, matching - /// \[ 7230 §3.3.2]. + /// [ 7230 §3.3.2]. /// Attempting to set or update this field will result in a - /// \[FieldViolation][google.rpc.BadRequest.FieldViolation\]. + /// [FieldViolation][google.rpc.BadRequest.FieldViolation]. #[prost(int64, tag = "6")] pub size: i64, /// Content-Encoding of the object data, matching - /// \[ 7231 §3.1.2.2] + /// [ 7231 §3.1.2.2] #[prost(string, tag = "7")] pub content_encoding: ::prost::alloc::string::String, /// Content-Disposition of the object data, matching - /// \[ 6266]. + /// [ 6266]. #[prost(string, tag = "8")] pub content_disposition: ::prost::alloc::string::String, /// Cache-Control directive for the object data, matching - /// \[ 7234 §5.2]. + /// [ 7234 §5.2]. /// If omitted, and the object is accessible to all anonymous users, the /// default will be `public, max-age=3600`. #[prost(string, tag = "9")] @@ -1813,29 +1813,29 @@ pub struct Object { #[prost(message, repeated, tag = "10")] pub acl: ::prost::alloc::vec::Vec, /// Content-Language of the object data, matching - /// \[ 7231 §3.1.3.2]. + /// [ 7231 §3.1.3.2]. #[prost(string, tag = "11")] pub content_language: ::prost::alloc::string::String, /// Output only. If this object is noncurrent, this is the time when the object /// became noncurrent. Attempting to set or update this field will result in a - /// \[FieldViolation][google.rpc.BadRequest.FieldViolation\]. + /// [FieldViolation][google.rpc.BadRequest.FieldViolation]. #[prost(message, optional, tag = "12")] pub delete_time: ::core::option::Option<::prost_types::Timestamp>, /// Content-Type of the object data, matching - /// \[ 7231 §3.1.1.5]. + /// [ 7231 §3.1.1.5]. /// If an object is stored without a Content-Type, it is served as /// `application/octet-stream`. #[prost(string, tag = "13")] pub content_type: ::prost::alloc::string::String, /// Output only. The creation time of the object. /// Attempting to set or update this field will result in a - /// \[FieldViolation][google.rpc.BadRequest.FieldViolation\]. + /// [FieldViolation][google.rpc.BadRequest.FieldViolation]. #[prost(message, optional, tag = "14")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, /// Output only. Number of underlying components that make up this object. /// Components are accumulated by compose operations. Attempting to set or /// update this field will result in a - /// \[FieldViolation][google.rpc.BadRequest.FieldViolation\]. + /// [FieldViolation][google.rpc.BadRequest.FieldViolation]. #[prost(int32, tag = "15")] pub component_count: i32, /// Output only. Hashes for the data part of this object. This field is used @@ -1849,7 +1849,7 @@ pub struct Object { /// on behalf of a requester, such as changing the storage class based on an /// Object Lifecycle Configuration. /// Attempting to set or update this field will result in a - /// \[FieldViolation][google.rpc.BadRequest.FieldViolation\]. + /// [FieldViolation][google.rpc.BadRequest.FieldViolation]. #[prost(message, optional, tag = "17")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, /// Cloud KMS Key used to encrypt this object, if the object is encrypted by @@ -1859,7 +1859,7 @@ pub struct Object { /// Output only. The time at which the object's storage class was last changed. /// When the object is initially created, it will be set to time_created. /// Attempting to set or update this field will result in a - /// \[FieldViolation][google.rpc.BadRequest.FieldViolation\]. + /// [FieldViolation][google.rpc.BadRequest.FieldViolation]. #[prost(message, optional, tag = "19")] pub update_storage_class_time: ::core::option::Option<::prost_types::Timestamp>, /// Whether an object is under temporary hold. While this flag is set to true, @@ -1896,7 +1896,7 @@ pub struct Object { pub event_based_hold: ::core::option::Option, /// Output only. The owner of the object. This will always be the uploader of /// the object. Attempting to set or update this field will result in a - /// \[FieldViolation][google.rpc.BadRequest.FieldViolation\]. + /// [FieldViolation][google.rpc.BadRequest.FieldViolation]. #[prost(message, optional, tag = "24")] pub owner: ::core::option::Option, /// Metadata of Customer-Supplied Encryption Key, if the object is encrypted by diff --git a/pubsub/Cargo.toml b/pubsub/Cargo.toml index 10d03189..d4785938 100644 --- a/pubsub/Cargo.toml +++ b/pubsub/Cargo.toml @@ -12,7 +12,7 @@ documentation = "https://docs.rs/google-cloud-pubsub/latest/google_cloud_pubsub/ [dependencies] tracing = "0.1" -prost-types = "0.11" +prost-types = "0.12" tokio = "1.32" async-channel = "1.9" async-stream = "0.3" @@ -21,7 +21,7 @@ tokio-util = "0.7" google-cloud-token = { version = "0.1.1", path = "../foundation/token" } google-cloud-gax = { version = "0.16.0", path = "../foundation/gax" } -google-cloud-googleapis = { version = "0.11.0", path = "../googleapis", features = ["pubsub"]} +google-cloud-googleapis = { version = "0.12.0", path = "../googleapis", features = ["pubsub"]} google-cloud-auth = { optional = true, version = "0.13", path="../foundation/auth", default-features=false } diff --git a/pubsub/src/subscription.rs b/pubsub/src/subscription.rs index 2abf95a6..4f83d749 100644 --- a/pubsub/src/subscription.rs +++ b/pubsub/src/subscription.rs @@ -7,7 +7,7 @@ use std::time::{Duration, SystemTime}; use prost_types::{DurationError, FieldMask}; use tokio_util::sync::CancellationToken; -use google_cloud_gax::grpc::codegen::futures_core::Stream; +use google_cloud_gax::grpc::codegen::tokio_stream::Stream; use google_cloud_gax::grpc::{Code, Status}; use google_cloud_gax::retry::RetrySetting; use google_cloud_googleapis::pubsub::v1::seek_request::Target; diff --git a/spanner/Cargo.toml b/spanner/Cargo.toml index 8289ab3a..81f50808 100644 --- a/spanner/Cargo.toml +++ b/spanner/Cargo.toml @@ -12,7 +12,7 @@ documentation = "https://docs.rs/google-cloud-spanner/latest/google_cloud_spanne [dependencies] tracing = "0.1" -prost-types = "0.11" +prost-types = "0.12" tokio = "1.32" time = { version="0.3", features = ["std", "macros", "formatting", "parsing"] } thiserror = "1.0" @@ -26,7 +26,7 @@ bigdecimal = { version="0.3", features=["serde"] } google-cloud-token = { version = "0.1.1", path = "../foundation/token" } google-cloud-longrunning = { version = "0.16.0", path = "../foundation/longrunning" } google-cloud-gax = { version = "0.16.0", path = "../foundation/gax" } -google-cloud-googleapis = { version = "0.11.0", path = "../googleapis", features = ["spanner"]} +google-cloud-googleapis = { version = "0.12.0", path = "../googleapis", features = ["spanner"]} google-cloud-auth = { optional = true, version = "0.13", path="../foundation/auth", default-features=false }