@google-cloud/spanner 7.0.0 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -66,8 +66,7 @@ class DatabaseAdminClient {
66
66
  * API remote host.
67
67
  * @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
68
68
  * Follows the structure of {@link gapicConfig}.
69
- * @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode.
70
- * Pass "rest" to use HTTP/1.1 REST API instead of gRPC.
69
+ * @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
71
70
  * For more information, please check the
72
71
  * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
73
72
  * @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
@@ -75,7 +74,7 @@ class DatabaseAdminClient {
75
74
  * HTTP implementation. Load only fallback version and pass it to the constructor:
76
75
  * ```
77
76
  * const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
78
- * const client = new DatabaseAdminClient({fallback: 'rest'}, gax);
77
+ * const client = new DatabaseAdminClient({fallback: true}, gax);
79
78
  * ```
80
79
  */
81
80
  constructor(opts, gaxInstance) {
@@ -132,7 +131,7 @@ class DatabaseAdminClient {
132
131
  if (!opts.fallback) {
133
132
  clientHeader.push(`grpc/${this._gaxGrpc.grpcVersion}`);
134
133
  }
135
- else if (opts.fallback === 'rest') {
134
+ else {
136
135
  clientHeader.push(`rest/${this._gaxGrpc.grpcVersion}`);
137
136
  }
138
137
  if (opts.libName && opts.libVersion) {
@@ -168,7 +167,7 @@ class DatabaseAdminClient {
168
167
  auth: this.auth,
169
168
  grpc: 'grpc' in this._gaxGrpc ? this._gaxGrpc.grpc : undefined,
170
169
  };
171
- if (opts.fallback === 'rest') {
170
+ if (opts.fallback) {
172
171
  lroOptions.protoJson = protoFilesRoot;
173
172
  lroOptions.httpRules = [
174
173
  {
@@ -571,8 +570,7 @@ class DatabaseAdminClient {
571
570
  * The operation name that will be passed.
572
571
  * @returns {Promise} - The promise which resolves to an object.
573
572
  * The decoded operation object has result and metadata field to get information from.
574
- * Please see the
575
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
573
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
576
574
  * for more details and examples.
577
575
  */
578
576
  async checkCreateDatabaseProgress(name) {
@@ -608,8 +606,7 @@ class DatabaseAdminClient {
608
606
  * The operation name that will be passed.
609
607
  * @returns {Promise} - The promise which resolves to an object.
610
608
  * The decoded operation object has result and metadata field to get information from.
611
- * Please see the
612
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
609
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
613
610
  * for more details and examples.
614
611
  */
615
612
  async checkUpdateDatabaseProgress(name) {
@@ -645,8 +642,7 @@ class DatabaseAdminClient {
645
642
  * The operation name that will be passed.
646
643
  * @returns {Promise} - The promise which resolves to an object.
647
644
  * The decoded operation object has result and metadata field to get information from.
648
- * Please see the
649
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
645
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
650
646
  * for more details and examples.
651
647
  */
652
648
  async checkUpdateDatabaseDdlProgress(name) {
@@ -682,8 +678,7 @@ class DatabaseAdminClient {
682
678
  * The operation name that will be passed.
683
679
  * @returns {Promise} - The promise which resolves to an object.
684
680
  * The decoded operation object has result and metadata field to get information from.
685
- * Please see the
686
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
681
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
687
682
  * for more details and examples.
688
683
  */
689
684
  async checkCreateBackupProgress(name) {
@@ -719,8 +714,7 @@ class DatabaseAdminClient {
719
714
  * The operation name that will be passed.
720
715
  * @returns {Promise} - The promise which resolves to an object.
721
716
  * The decoded operation object has result and metadata field to get information from.
722
- * Please see the
723
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
717
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
724
718
  * for more details and examples.
725
719
  */
726
720
  async checkCopyBackupProgress(name) {
@@ -756,8 +750,7 @@ class DatabaseAdminClient {
756
750
  * The operation name that will be passed.
757
751
  * @returns {Promise} - The promise which resolves to an object.
758
752
  * The decoded operation object has result and metadata field to get information from.
759
- * Please see the
760
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
753
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
761
754
  * for more details and examples.
762
755
  */
763
756
  async checkRestoreDatabaseProgress(name) {
@@ -799,18 +792,17 @@ class DatabaseAdminClient {
799
792
  * defaults to the server's maximum allowed page size.
800
793
  * @param {string} request.pageToken
801
794
  * If non-empty, `page_token` should contain a
802
- * {@link google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token|next_page_token} from a
803
- * previous {@link google.spanner.admin.database.v1.ListDatabasesResponse|ListDatabasesResponse}.
795
+ * {@link protos.google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token|next_page_token} from a
796
+ * previous {@link protos.google.spanner.admin.database.v1.ListDatabasesResponse|ListDatabasesResponse}.
804
797
  * @param {object} [options]
805
798
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
806
799
  * @returns {Stream}
807
- * An object stream which emits an object representing {@link google.spanner.admin.database.v1.Database | Database} on 'data' event.
800
+ * An object stream which emits an object representing {@link protos.google.spanner.admin.database.v1.Database|Database} on 'data' event.
808
801
  * The client library will perform auto-pagination by default: it will call the API as many
809
802
  * times as needed. Note that it can affect your quota.
810
803
  * We recommend using `listDatabasesAsync()`
811
804
  * method described below for async iteration which you can stop as needed.
812
- * Please see the
813
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
805
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
814
806
  * for more details and examples.
815
807
  */
816
808
  listDatabasesStream(request, options) {
@@ -842,17 +834,16 @@ class DatabaseAdminClient {
842
834
  * defaults to the server's maximum allowed page size.
843
835
  * @param {string} request.pageToken
844
836
  * If non-empty, `page_token` should contain a
845
- * {@link google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token|next_page_token} from a
846
- * previous {@link google.spanner.admin.database.v1.ListDatabasesResponse|ListDatabasesResponse}.
837
+ * {@link protos.google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token|next_page_token} from a
838
+ * previous {@link protos.google.spanner.admin.database.v1.ListDatabasesResponse|ListDatabasesResponse}.
847
839
  * @param {object} [options]
848
840
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
849
841
  * @returns {Object}
850
- * An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
842
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
851
843
  * When you iterate the returned iterable, each element will be an object representing
852
- * {@link google.spanner.admin.database.v1.Database | Database}. The API will be called under the hood as needed, once per the page,
844
+ * {@link protos.google.spanner.admin.database.v1.Database|Database}. The API will be called under the hood as needed, once per the page,
853
845
  * so you can stop the iteration when you don't need more results.
854
- * Please see the
855
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
846
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
856
847
  * for more details and examples.
857
848
  */
858
849
  listDatabasesAsync(request, options) {
@@ -907,7 +898,7 @@ class DatabaseAdminClient {
907
898
  * must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
908
899
  * Colon `:` is the contains operator. Filter rules are not case sensitive.
909
900
  *
910
- * The following fields in the {@link google.spanner.admin.database.v1.Backup|Backup} are eligible for filtering:
901
+ * The following fields in the {@link protos.google.spanner.admin.database.v1.Backup|Backup} are eligible for filtering:
911
902
  *
912
903
  * * `name`
913
904
  * * `database`
@@ -939,19 +930,18 @@ class DatabaseAdminClient {
939
930
  * less, defaults to the server's maximum allowed page size.
940
931
  * @param {string} request.pageToken
941
932
  * If non-empty, `page_token` should contain a
942
- * {@link google.spanner.admin.database.v1.ListBackupsResponse.next_page_token|next_page_token} from a
943
- * previous {@link google.spanner.admin.database.v1.ListBackupsResponse|ListBackupsResponse} to the same `parent` and with the same
933
+ * {@link protos.google.spanner.admin.database.v1.ListBackupsResponse.next_page_token|next_page_token} from a
934
+ * previous {@link protos.google.spanner.admin.database.v1.ListBackupsResponse|ListBackupsResponse} to the same `parent` and with the same
944
935
  * `filter`.
945
936
  * @param {object} [options]
946
937
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
947
938
  * @returns {Stream}
948
- * An object stream which emits an object representing {@link google.spanner.admin.database.v1.Backup | Backup} on 'data' event.
939
+ * An object stream which emits an object representing {@link protos.google.spanner.admin.database.v1.Backup|Backup} on 'data' event.
949
940
  * The client library will perform auto-pagination by default: it will call the API as many
950
941
  * times as needed. Note that it can affect your quota.
951
942
  * We recommend using `listBackupsAsync()`
952
943
  * method described below for async iteration which you can stop as needed.
953
- * Please see the
954
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
944
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
955
945
  * for more details and examples.
956
946
  */
957
947
  listBackupsStream(request, options) {
@@ -987,7 +977,7 @@ class DatabaseAdminClient {
987
977
  * must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
988
978
  * Colon `:` is the contains operator. Filter rules are not case sensitive.
989
979
  *
990
- * The following fields in the {@link google.spanner.admin.database.v1.Backup|Backup} are eligible for filtering:
980
+ * The following fields in the {@link protos.google.spanner.admin.database.v1.Backup|Backup} are eligible for filtering:
991
981
  *
992
982
  * * `name`
993
983
  * * `database`
@@ -1019,18 +1009,17 @@ class DatabaseAdminClient {
1019
1009
  * less, defaults to the server's maximum allowed page size.
1020
1010
  * @param {string} request.pageToken
1021
1011
  * If non-empty, `page_token` should contain a
1022
- * {@link google.spanner.admin.database.v1.ListBackupsResponse.next_page_token|next_page_token} from a
1023
- * previous {@link google.spanner.admin.database.v1.ListBackupsResponse|ListBackupsResponse} to the same `parent` and with the same
1012
+ * {@link protos.google.spanner.admin.database.v1.ListBackupsResponse.next_page_token|next_page_token} from a
1013
+ * previous {@link protos.google.spanner.admin.database.v1.ListBackupsResponse|ListBackupsResponse} to the same `parent` and with the same
1024
1014
  * `filter`.
1025
1015
  * @param {object} [options]
1026
1016
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1027
1017
  * @returns {Object}
1028
- * An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
1018
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
1029
1019
  * When you iterate the returned iterable, each element will be an object representing
1030
- * {@link google.spanner.admin.database.v1.Backup | Backup}. The API will be called under the hood as needed, once per the page,
1020
+ * {@link protos.google.spanner.admin.database.v1.Backup|Backup}. The API will be called under the hood as needed, once per the page,
1031
1021
  * so you can stop the iteration when you don't need more results.
1032
- * Please see the
1033
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
1022
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
1034
1023
  * for more details and examples.
1035
1024
  */
1036
1025
  listBackupsAsync(request, options) {
@@ -1085,13 +1074,13 @@ class DatabaseAdminClient {
1085
1074
  * must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
1086
1075
  * Colon `:` is the contains operator. Filter rules are not case sensitive.
1087
1076
  *
1088
- * The following fields in the {@link google.longrunning.Operation|Operation}
1077
+ * The following fields in the {@link protos.google.longrunning.Operation|Operation}
1089
1078
  * are eligible for filtering:
1090
1079
  *
1091
1080
  * * `name` - The name of the long-running operation
1092
1081
  * * `done` - False if the operation is in progress, else true.
1093
1082
  * * `metadata.@type` - the type of metadata. For example, the type string
1094
- * for {@link google.spanner.admin.database.v1.RestoreDatabaseMetadata|RestoreDatabaseMetadata} is
1083
+ * for {@link protos.google.spanner.admin.database.v1.RestoreDatabaseMetadata|RestoreDatabaseMetadata} is
1095
1084
  * `type.googleapis.com/google.spanner.admin.database.v1.RestoreDatabaseMetadata`.
1096
1085
  * * `metadata.<field_name>` - any field in metadata.value.
1097
1086
  * `metadata.@type` must be specified first, if filtering on metadata
@@ -1113,7 +1102,7 @@ class DatabaseAdminClient {
1113
1102
  * `(metadata.name:restored_howl) AND` \
1114
1103
  * `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \
1115
1104
  * `(error:*)` - Return operations where:
1116
- * * The operation's metadata type is {@link google.spanner.admin.database.v1.RestoreDatabaseMetadata|RestoreDatabaseMetadata}.
1105
+ * * The operation's metadata type is {@link protos.google.spanner.admin.database.v1.RestoreDatabaseMetadata|RestoreDatabaseMetadata}.
1117
1106
  * * The database is restored from a backup.
1118
1107
  * * The backup name contains "backup_howl".
1119
1108
  * * The restored database's name contains "restored_howl".
@@ -1124,19 +1113,18 @@ class DatabaseAdminClient {
1124
1113
  * less, defaults to the server's maximum allowed page size.
1125
1114
  * @param {string} request.pageToken
1126
1115
  * If non-empty, `page_token` should contain a
1127
- * {@link google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token|next_page_token}
1128
- * from a previous {@link google.spanner.admin.database.v1.ListDatabaseOperationsResponse|ListDatabaseOperationsResponse} to the
1116
+ * {@link protos.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token|next_page_token}
1117
+ * from a previous {@link protos.google.spanner.admin.database.v1.ListDatabaseOperationsResponse|ListDatabaseOperationsResponse} to the
1129
1118
  * same `parent` and with the same `filter`.
1130
1119
  * @param {object} [options]
1131
1120
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1132
1121
  * @returns {Stream}
1133
- * An object stream which emits an object representing {@link google.longrunning.Operation | Operation} on 'data' event.
1122
+ * An object stream which emits an object representing {@link protos.google.longrunning.Operation|Operation} on 'data' event.
1134
1123
  * The client library will perform auto-pagination by default: it will call the API as many
1135
1124
  * times as needed. Note that it can affect your quota.
1136
1125
  * We recommend using `listDatabaseOperationsAsync()`
1137
1126
  * method described below for async iteration which you can stop as needed.
1138
- * Please see the
1139
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
1127
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
1140
1128
  * for more details and examples.
1141
1129
  */
1142
1130
  listDatabaseOperationsStream(request, options) {
@@ -1172,13 +1160,13 @@ class DatabaseAdminClient {
1172
1160
  * must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
1173
1161
  * Colon `:` is the contains operator. Filter rules are not case sensitive.
1174
1162
  *
1175
- * The following fields in the {@link google.longrunning.Operation|Operation}
1163
+ * The following fields in the {@link protos.google.longrunning.Operation|Operation}
1176
1164
  * are eligible for filtering:
1177
1165
  *
1178
1166
  * * `name` - The name of the long-running operation
1179
1167
  * * `done` - False if the operation is in progress, else true.
1180
1168
  * * `metadata.@type` - the type of metadata. For example, the type string
1181
- * for {@link google.spanner.admin.database.v1.RestoreDatabaseMetadata|RestoreDatabaseMetadata} is
1169
+ * for {@link protos.google.spanner.admin.database.v1.RestoreDatabaseMetadata|RestoreDatabaseMetadata} is
1182
1170
  * `type.googleapis.com/google.spanner.admin.database.v1.RestoreDatabaseMetadata`.
1183
1171
  * * `metadata.<field_name>` - any field in metadata.value.
1184
1172
  * `metadata.@type` must be specified first, if filtering on metadata
@@ -1200,7 +1188,7 @@ class DatabaseAdminClient {
1200
1188
  * `(metadata.name:restored_howl) AND` \
1201
1189
  * `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \
1202
1190
  * `(error:*)` - Return operations where:
1203
- * * The operation's metadata type is {@link google.spanner.admin.database.v1.RestoreDatabaseMetadata|RestoreDatabaseMetadata}.
1191
+ * * The operation's metadata type is {@link protos.google.spanner.admin.database.v1.RestoreDatabaseMetadata|RestoreDatabaseMetadata}.
1204
1192
  * * The database is restored from a backup.
1205
1193
  * * The backup name contains "backup_howl".
1206
1194
  * * The restored database's name contains "restored_howl".
@@ -1211,18 +1199,17 @@ class DatabaseAdminClient {
1211
1199
  * less, defaults to the server's maximum allowed page size.
1212
1200
  * @param {string} request.pageToken
1213
1201
  * If non-empty, `page_token` should contain a
1214
- * {@link google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token|next_page_token}
1215
- * from a previous {@link google.spanner.admin.database.v1.ListDatabaseOperationsResponse|ListDatabaseOperationsResponse} to the
1202
+ * {@link protos.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token|next_page_token}
1203
+ * from a previous {@link protos.google.spanner.admin.database.v1.ListDatabaseOperationsResponse|ListDatabaseOperationsResponse} to the
1216
1204
  * same `parent` and with the same `filter`.
1217
1205
  * @param {object} [options]
1218
1206
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1219
1207
  * @returns {Object}
1220
- * An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
1208
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
1221
1209
  * When you iterate the returned iterable, each element will be an object representing
1222
- * {@link google.longrunning.Operation | Operation}. The API will be called under the hood as needed, once per the page,
1210
+ * {@link protos.google.longrunning.Operation|Operation}. The API will be called under the hood as needed, once per the page,
1223
1211
  * so you can stop the iteration when you don't need more results.
1224
- * Please see the
1225
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
1212
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
1226
1213
  * for more details and examples.
1227
1214
  */
1228
1215
  listDatabaseOperationsAsync(request, options) {
@@ -1277,13 +1264,13 @@ class DatabaseAdminClient {
1277
1264
  * must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
1278
1265
  * Colon `:` is the contains operator. Filter rules are not case sensitive.
1279
1266
  *
1280
- * The following fields in the {@link google.longrunning.Operation|operation}
1267
+ * The following fields in the {@link protos.google.longrunning.Operation|operation}
1281
1268
  * are eligible for filtering:
1282
1269
  *
1283
1270
  * * `name` - The name of the long-running operation
1284
1271
  * * `done` - False if the operation is in progress, else true.
1285
1272
  * * `metadata.@type` - the type of metadata. For example, the type string
1286
- * for {@link google.spanner.admin.database.v1.CreateBackupMetadata|CreateBackupMetadata} is
1273
+ * for {@link protos.google.spanner.admin.database.v1.CreateBackupMetadata|CreateBackupMetadata} is
1287
1274
  * `type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata`.
1288
1275
  * * `metadata.<field_name>` - any field in metadata.value.
1289
1276
  * `metadata.@type` must be specified first if filtering on metadata
@@ -1301,14 +1288,14 @@ class DatabaseAdminClient {
1301
1288
  * * `done:true` - The operation is complete.
1302
1289
  * * `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata) AND` \
1303
1290
  * `metadata.database:prod` - Returns operations where:
1304
- * * The operation's metadata type is {@link google.spanner.admin.database.v1.CreateBackupMetadata|CreateBackupMetadata}.
1291
+ * * The operation's metadata type is {@link protos.google.spanner.admin.database.v1.CreateBackupMetadata|CreateBackupMetadata}.
1305
1292
  * * The database the backup was taken from has a name containing the
1306
1293
  * string "prod".
1307
1294
  * * `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata) AND` \
1308
1295
  * `(metadata.name:howl) AND` \
1309
1296
  * `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \
1310
1297
  * `(error:*)` - Returns operations where:
1311
- * * The operation's metadata type is {@link google.spanner.admin.database.v1.CreateBackupMetadata|CreateBackupMetadata}.
1298
+ * * The operation's metadata type is {@link protos.google.spanner.admin.database.v1.CreateBackupMetadata|CreateBackupMetadata}.
1312
1299
  * * The backup name contains the string "howl".
1313
1300
  * * The operation started before 2018-03-28T14:50:00Z.
1314
1301
  * * The operation resulted in an error.
@@ -1316,7 +1303,7 @@ class DatabaseAdminClient {
1316
1303
  * `(metadata.source_backup:test) AND` \
1317
1304
  * `(metadata.progress.start_time < \"2022-01-18T14:50:00Z\") AND` \
1318
1305
  * `(error:*)` - Returns operations where:
1319
- * * The operation's metadata type is {@link google.spanner.admin.database.v1.CopyBackupMetadata|CopyBackupMetadata}.
1306
+ * * The operation's metadata type is {@link protos.google.spanner.admin.database.v1.CopyBackupMetadata|CopyBackupMetadata}.
1320
1307
  * * The source backup of the copied backup name contains the string
1321
1308
  * "test".
1322
1309
  * * The operation started before 2022-01-18T14:50:00Z.
@@ -1328,10 +1315,10 @@ class DatabaseAdminClient {
1328
1315
  * `(metadata.source_backup:test_bkp)) AND` \
1329
1316
  * `(error:*)` - Returns operations where:
1330
1317
  * * The operation's metadata matches either of criteria:
1331
- * * The operation's metadata type is {@link google.spanner.admin.database.v1.CreateBackupMetadata|CreateBackupMetadata} AND the
1318
+ * * The operation's metadata type is {@link protos.google.spanner.admin.database.v1.CreateBackupMetadata|CreateBackupMetadata} AND the
1332
1319
  * database the backup was taken from has name containing string
1333
1320
  * "test_db"
1334
- * * The operation's metadata type is {@link google.spanner.admin.database.v1.CopyBackupMetadata|CopyBackupMetadata} AND the
1321
+ * * The operation's metadata type is {@link protos.google.spanner.admin.database.v1.CopyBackupMetadata|CopyBackupMetadata} AND the
1335
1322
  * backup the backup was copied from has name containing string
1336
1323
  * "test_bkp"
1337
1324
  * * The operation resulted in an error.
@@ -1340,19 +1327,18 @@ class DatabaseAdminClient {
1340
1327
  * less, defaults to the server's maximum allowed page size.
1341
1328
  * @param {string} request.pageToken
1342
1329
  * If non-empty, `page_token` should contain a
1343
- * {@link google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token|next_page_token}
1344
- * from a previous {@link google.spanner.admin.database.v1.ListBackupOperationsResponse|ListBackupOperationsResponse} to the
1330
+ * {@link protos.google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token|next_page_token}
1331
+ * from a previous {@link protos.google.spanner.admin.database.v1.ListBackupOperationsResponse|ListBackupOperationsResponse} to the
1345
1332
  * same `parent` and with the same `filter`.
1346
1333
  * @param {object} [options]
1347
1334
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1348
1335
  * @returns {Stream}
1349
- * An object stream which emits an object representing {@link google.longrunning.Operation | Operation} on 'data' event.
1336
+ * An object stream which emits an object representing {@link protos.google.longrunning.Operation|Operation} on 'data' event.
1350
1337
  * The client library will perform auto-pagination by default: it will call the API as many
1351
1338
  * times as needed. Note that it can affect your quota.
1352
1339
  * We recommend using `listBackupOperationsAsync()`
1353
1340
  * method described below for async iteration which you can stop as needed.
1354
- * Please see the
1355
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
1341
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
1356
1342
  * for more details and examples.
1357
1343
  */
1358
1344
  listBackupOperationsStream(request, options) {
@@ -1388,13 +1374,13 @@ class DatabaseAdminClient {
1388
1374
  * must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
1389
1375
  * Colon `:` is the contains operator. Filter rules are not case sensitive.
1390
1376
  *
1391
- * The following fields in the {@link google.longrunning.Operation|operation}
1377
+ * The following fields in the {@link protos.google.longrunning.Operation|operation}
1392
1378
  * are eligible for filtering:
1393
1379
  *
1394
1380
  * * `name` - The name of the long-running operation
1395
1381
  * * `done` - False if the operation is in progress, else true.
1396
1382
  * * `metadata.@type` - the type of metadata. For example, the type string
1397
- * for {@link google.spanner.admin.database.v1.CreateBackupMetadata|CreateBackupMetadata} is
1383
+ * for {@link protos.google.spanner.admin.database.v1.CreateBackupMetadata|CreateBackupMetadata} is
1398
1384
  * `type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata`.
1399
1385
  * * `metadata.<field_name>` - any field in metadata.value.
1400
1386
  * `metadata.@type` must be specified first if filtering on metadata
@@ -1412,14 +1398,14 @@ class DatabaseAdminClient {
1412
1398
  * * `done:true` - The operation is complete.
1413
1399
  * * `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata) AND` \
1414
1400
  * `metadata.database:prod` - Returns operations where:
1415
- * * The operation's metadata type is {@link google.spanner.admin.database.v1.CreateBackupMetadata|CreateBackupMetadata}.
1401
+ * * The operation's metadata type is {@link protos.google.spanner.admin.database.v1.CreateBackupMetadata|CreateBackupMetadata}.
1416
1402
  * * The database the backup was taken from has a name containing the
1417
1403
  * string "prod".
1418
1404
  * * `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata) AND` \
1419
1405
  * `(metadata.name:howl) AND` \
1420
1406
  * `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \
1421
1407
  * `(error:*)` - Returns operations where:
1422
- * * The operation's metadata type is {@link google.spanner.admin.database.v1.CreateBackupMetadata|CreateBackupMetadata}.
1408
+ * * The operation's metadata type is {@link protos.google.spanner.admin.database.v1.CreateBackupMetadata|CreateBackupMetadata}.
1423
1409
  * * The backup name contains the string "howl".
1424
1410
  * * The operation started before 2018-03-28T14:50:00Z.
1425
1411
  * * The operation resulted in an error.
@@ -1427,7 +1413,7 @@ class DatabaseAdminClient {
1427
1413
  * `(metadata.source_backup:test) AND` \
1428
1414
  * `(metadata.progress.start_time < \"2022-01-18T14:50:00Z\") AND` \
1429
1415
  * `(error:*)` - Returns operations where:
1430
- * * The operation's metadata type is {@link google.spanner.admin.database.v1.CopyBackupMetadata|CopyBackupMetadata}.
1416
+ * * The operation's metadata type is {@link protos.google.spanner.admin.database.v1.CopyBackupMetadata|CopyBackupMetadata}.
1431
1417
  * * The source backup of the copied backup name contains the string
1432
1418
  * "test".
1433
1419
  * * The operation started before 2022-01-18T14:50:00Z.
@@ -1439,10 +1425,10 @@ class DatabaseAdminClient {
1439
1425
  * `(metadata.source_backup:test_bkp)) AND` \
1440
1426
  * `(error:*)` - Returns operations where:
1441
1427
  * * The operation's metadata matches either of criteria:
1442
- * * The operation's metadata type is {@link google.spanner.admin.database.v1.CreateBackupMetadata|CreateBackupMetadata} AND the
1428
+ * * The operation's metadata type is {@link protos.google.spanner.admin.database.v1.CreateBackupMetadata|CreateBackupMetadata} AND the
1443
1429
  * database the backup was taken from has name containing string
1444
1430
  * "test_db"
1445
- * * The operation's metadata type is {@link google.spanner.admin.database.v1.CopyBackupMetadata|CopyBackupMetadata} AND the
1431
+ * * The operation's metadata type is {@link protos.google.spanner.admin.database.v1.CopyBackupMetadata|CopyBackupMetadata} AND the
1446
1432
  * backup the backup was copied from has name containing string
1447
1433
  * "test_bkp"
1448
1434
  * * The operation resulted in an error.
@@ -1451,18 +1437,17 @@ class DatabaseAdminClient {
1451
1437
  * less, defaults to the server's maximum allowed page size.
1452
1438
  * @param {string} request.pageToken
1453
1439
  * If non-empty, `page_token` should contain a
1454
- * {@link google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token|next_page_token}
1455
- * from a previous {@link google.spanner.admin.database.v1.ListBackupOperationsResponse|ListBackupOperationsResponse} to the
1440
+ * {@link protos.google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token|next_page_token}
1441
+ * from a previous {@link protos.google.spanner.admin.database.v1.ListBackupOperationsResponse|ListBackupOperationsResponse} to the
1456
1442
  * same `parent` and with the same `filter`.
1457
1443
  * @param {object} [options]
1458
1444
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1459
1445
  * @returns {Object}
1460
- * An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
1446
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
1461
1447
  * When you iterate the returned iterable, each element will be an object representing
1462
- * {@link google.longrunning.Operation | Operation}. The API will be called under the hood as needed, once per the page,
1448
+ * {@link protos.google.longrunning.Operation|Operation}. The API will be called under the hood as needed, once per the page,
1463
1449
  * so you can stop the iteration when you don't need more results.
1464
- * Please see the
1465
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
1450
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
1466
1451
  * for more details and examples.
1467
1452
  */
1468
1453
  listBackupOperationsAsync(request, options) {
@@ -1514,18 +1499,17 @@ class DatabaseAdminClient {
1514
1499
  * defaults to the server's maximum allowed page size.
1515
1500
  * @param {string} request.pageToken
1516
1501
  * If non-empty, `page_token` should contain a
1517
- * {@link google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token|next_page_token} from a
1518
- * previous {@link google.spanner.admin.database.v1.ListDatabaseRolesResponse|ListDatabaseRolesResponse}.
1502
+ * {@link protos.google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token|next_page_token} from a
1503
+ * previous {@link protos.google.spanner.admin.database.v1.ListDatabaseRolesResponse|ListDatabaseRolesResponse}.
1519
1504
  * @param {object} [options]
1520
1505
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1521
1506
  * @returns {Stream}
1522
- * An object stream which emits an object representing {@link google.spanner.admin.database.v1.DatabaseRole | DatabaseRole} on 'data' event.
1507
+ * An object stream which emits an object representing {@link protos.google.spanner.admin.database.v1.DatabaseRole|DatabaseRole} on 'data' event.
1523
1508
  * The client library will perform auto-pagination by default: it will call the API as many
1524
1509
  * times as needed. Note that it can affect your quota.
1525
1510
  * We recommend using `listDatabaseRolesAsync()`
1526
1511
  * method described below for async iteration which you can stop as needed.
1527
- * Please see the
1528
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
1512
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
1529
1513
  * for more details and examples.
1530
1514
  */
1531
1515
  listDatabaseRolesStream(request, options) {
@@ -1558,17 +1542,16 @@ class DatabaseAdminClient {
1558
1542
  * defaults to the server's maximum allowed page size.
1559
1543
  * @param {string} request.pageToken
1560
1544
  * If non-empty, `page_token` should contain a
1561
- * {@link google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token|next_page_token} from a
1562
- * previous {@link google.spanner.admin.database.v1.ListDatabaseRolesResponse|ListDatabaseRolesResponse}.
1545
+ * {@link protos.google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token|next_page_token} from a
1546
+ * previous {@link protos.google.spanner.admin.database.v1.ListDatabaseRolesResponse|ListDatabaseRolesResponse}.
1563
1547
  * @param {object} [options]
1564
1548
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1565
1549
  * @returns {Object}
1566
- * An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
1550
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
1567
1551
  * When you iterate the returned iterable, each element will be an object representing
1568
- * {@link google.spanner.admin.database.v1.DatabaseRole | DatabaseRole}. The API will be called under the hood as needed, once per the page,
1552
+ * {@link protos.google.spanner.admin.database.v1.DatabaseRole|DatabaseRole}. The API will be called under the hood as needed, once per the page,
1569
1553
  * so you can stop the iteration when you don't need more results.
1570
- * Please see the
1571
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
1554
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
1572
1555
  * for more details and examples.
1573
1556
  */
1574
1557
  listDatabaseRolesAsync(request, options) {