google-cloud-metastore-v1 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -236,23 +236,25 @@ module Google
236
236
  # the default parameter values, pass an empty Hash as a request object (see above).
237
237
  #
238
238
  # @param parent [::String]
239
- # Required. The relative resource name of the location of metastore services to
240
- # list, in the following form:
239
+ # Required. The relative resource name of the location of metastore services
240
+ # to list, in the following form:
241
241
  #
242
242
  # `projects/{project_number}/locations/{location_id}`.
243
243
  # @param page_size [::Integer]
244
- # Optional. The maximum number of services to return. The response may contain less
245
- # than the maximum number. If unspecified, no more than 500 services are
246
- # returned. The maximum value is 1000; values above 1000 are changed to 1000.
244
+ # Optional. The maximum number of services to return. The response may
245
+ # contain less than the maximum number. If unspecified, no more than 500
246
+ # services are returned. The maximum value is 1000; values above 1000 are
247
+ # changed to 1000.
247
248
  # @param page_token [::String]
248
- # Optional. A page token, received from a previous {::Google::Cloud::Metastore::V1::DataprocMetastore::Rest::Client#list_services DataprocMetastore.ListServices}
249
+ # Optional. A page token, received from a previous
250
+ # {::Google::Cloud::Metastore::V1::DataprocMetastore::Rest::Client#list_services DataprocMetastore.ListServices}
249
251
  # call. Provide this token to retrieve the subsequent page.
250
252
  #
251
253
  # To retrieve the first page, supply an empty page token.
252
254
  #
253
255
  # When paginating, other parameters provided to
254
- # {::Google::Cloud::Metastore::V1::DataprocMetastore::Rest::Client#list_services DataprocMetastore.ListServices} must match the call that provided the
255
- # page token.
256
+ # {::Google::Cloud::Metastore::V1::DataprocMetastore::Rest::Client#list_services DataprocMetastore.ListServices}
257
+ # must match the call that provided the page token.
256
258
  # @param filter [::String]
257
259
  # Optional. The filter to apply to list results.
258
260
  # @param order_by [::String]
@@ -320,8 +322,8 @@ module Google
320
322
  # the default parameter values, pass an empty Hash as a request object (see above).
321
323
  #
322
324
  # @param name [::String]
323
- # Required. The relative resource name of the metastore service to retrieve, in the
324
- # following form:
325
+ # Required. The relative resource name of the metastore service to retrieve,
326
+ # in the following form:
325
327
  #
326
328
  # `projects/{project_number}/locations/{location_id}/services/{service_id}`.
327
329
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -385,8 +387,8 @@ module Google
385
387
  # the default parameter values, pass an empty Hash as a request object (see above).
386
388
  #
387
389
  # @param parent [::String]
388
- # Required. The relative resource name of the location in which to create a metastore
389
- # service, in the following form:
390
+ # Required. The relative resource name of the location in which to create a
391
+ # metastore service, in the following form:
390
392
  #
391
393
  # `projects/{project_number}/locations/{location_id}`.
392
394
  # @param service_id [::String]
@@ -401,10 +403,10 @@ module Google
401
403
  # ignored. The ID of the created metastore service must be provided in
402
404
  # the request's `service_id` field.
403
405
  # @param request_id [::String]
404
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
405
- # request if it has completed. The server will ignore subsequent requests
406
- # that provide a duplicate request ID for at least 60 minutes after the first
407
- # request.
406
+ # Optional. A request ID. Specify a unique request ID to allow the server to
407
+ # ignore the request if it has completed. The server will ignore subsequent
408
+ # requests that provide a duplicate request ID for at least 60 minutes after
409
+ # the first request.
408
410
  #
409
411
  # For example, if an initial request times out, followed by another request
410
412
  # with the same request ID, the server ignores the second request to prevent
@@ -486,10 +488,10 @@ module Google
486
488
  # The metastore service's `name` field is used to identify the metastore
487
489
  # service to be updated.
488
490
  # @param request_id [::String]
489
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
490
- # request if it has completed. The server will ignore subsequent requests
491
- # that provide a duplicate request ID for at least 60 minutes after the first
492
- # request.
491
+ # Optional. A request ID. Specify a unique request ID to allow the server to
492
+ # ignore the request if it has completed. The server will ignore subsequent
493
+ # requests that provide a duplicate request ID for at least 60 minutes after
494
+ # the first request.
493
495
  #
494
496
  # For example, if an initial request times out, followed by another request
495
497
  # with the same request ID, the server ignores the second request to prevent
@@ -560,15 +562,15 @@ module Google
560
562
  # the default parameter values, pass an empty Hash as a request object (see above).
561
563
  #
562
564
  # @param name [::String]
563
- # Required. The relative resource name of the metastore service to delete, in the
564
- # following form:
565
+ # Required. The relative resource name of the metastore service to delete, in
566
+ # the following form:
565
567
  #
566
568
  # `projects/{project_number}/locations/{location_id}/services/{service_id}`.
567
569
  # @param request_id [::String]
568
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
569
- # request if it has completed. The server will ignore subsequent requests
570
- # that provide a duplicate request ID for at least 60 minutes after the first
571
- # request.
570
+ # Optional. A request ID. Specify a unique request ID to allow the server to
571
+ # ignore the request if it has completed. The server will ignore subsequent
572
+ # requests that provide a duplicate request ID for at least 60 minutes after
573
+ # the first request.
572
574
  #
573
575
  # For example, if an initial request times out, followed by another request
574
576
  # with the same request ID, the server ignores the second request to prevent
@@ -639,23 +641,24 @@ module Google
639
641
  # the default parameter values, pass an empty Hash as a request object (see above).
640
642
  #
641
643
  # @param parent [::String]
642
- # Required. The relative resource name of the service whose metadata imports to
643
- # list, in the following form:
644
+ # Required. The relative resource name of the service whose metadata imports
645
+ # to list, in the following form:
644
646
  #
645
647
  # `projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports`.
646
648
  # @param page_size [::Integer]
647
- # Optional. The maximum number of imports to return. The response may contain less
648
- # than the maximum number. If unspecified, no more than 500 imports are
649
+ # Optional. The maximum number of imports to return. The response may contain
650
+ # less than the maximum number. If unspecified, no more than 500 imports are
649
651
  # returned. The maximum value is 1000; values above 1000 are changed to 1000.
650
652
  # @param page_token [::String]
651
- # Optional. A page token, received from a previous {::Google::Cloud::Metastore::V1::DataprocMetastore::Rest::Client#list_services DataprocMetastore.ListServices}
653
+ # Optional. A page token, received from a previous
654
+ # {::Google::Cloud::Metastore::V1::DataprocMetastore::Rest::Client#list_services DataprocMetastore.ListServices}
652
655
  # call. Provide this token to retrieve the subsequent page.
653
656
  #
654
657
  # To retrieve the first page, supply an empty page token.
655
658
  #
656
659
  # When paginating, other parameters provided to
657
- # {::Google::Cloud::Metastore::V1::DataprocMetastore::Rest::Client#list_services DataprocMetastore.ListServices} must match the call that provided the
658
- # page token.
660
+ # {::Google::Cloud::Metastore::V1::DataprocMetastore::Rest::Client#list_services DataprocMetastore.ListServices}
661
+ # must match the call that provided the page token.
659
662
  # @param filter [::String]
660
663
  # Optional. The filter to apply to list results.
661
664
  # @param order_by [::String]
@@ -723,8 +726,8 @@ module Google
723
726
  # the default parameter values, pass an empty Hash as a request object (see above).
724
727
  #
725
728
  # @param name [::String]
726
- # Required. The relative resource name of the metadata import to retrieve, in the
727
- # following form:
729
+ # Required. The relative resource name of the metadata import to retrieve, in
730
+ # the following form:
728
731
  #
729
732
  # `projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{import_id}`.
730
733
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -788,26 +791,26 @@ module Google
788
791
  # the default parameter values, pass an empty Hash as a request object (see above).
789
792
  #
790
793
  # @param parent [::String]
791
- # Required. The relative resource name of the service in which to create a metastore
792
- # import, in the following form:
794
+ # Required. The relative resource name of the service in which to create a
795
+ # metastore import, in the following form:
793
796
  #
794
797
  # `projects/{project_number}/locations/{location_id}/services/{service_id}`.
795
798
  # @param metadata_import_id [::String]
796
- # Required. The ID of the metadata import, which is used as the final component of the
797
- # metadata import's name.
799
+ # Required. The ID of the metadata import, which is used as the final
800
+ # component of the metadata import's name.
798
801
  #
799
802
  # This value must be between 1 and 64 characters long, begin with a letter,
800
803
  # end with a letter or number, and consist of alpha-numeric ASCII characters
801
804
  # or hyphens.
802
805
  # @param metadata_import [::Google::Cloud::Metastore::V1::MetadataImport, ::Hash]
803
- # Required. The metadata import to create. The `name` field is ignored. The ID of the
804
- # created metadata import must be provided in the request's
806
+ # Required. The metadata import to create. The `name` field is ignored. The
807
+ # ID of the created metadata import must be provided in the request's
805
808
  # `metadata_import_id` field.
806
809
  # @param request_id [::String]
807
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
808
- # request if it has completed. The server will ignore subsequent requests
809
- # that provide a duplicate request ID for at least 60 minutes after the first
810
- # request.
810
+ # Optional. A request ID. Specify a unique request ID to allow the server to
811
+ # ignore the request if it has completed. The server will ignore subsequent
812
+ # requests that provide a duplicate request ID for at least 60 minutes after
813
+ # the first request.
811
814
  #
812
815
  # For example, if an initial request times out, followed by another request
813
816
  # with the same request ID, the server ignores the second request to prevent
@@ -890,10 +893,10 @@ module Google
890
893
  # The metadata import's `name` field is used to identify the metastore
891
894
  # import to be updated.
892
895
  # @param request_id [::String]
893
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
894
- # request if it has completed. The server will ignore subsequent requests
895
- # that provide a duplicate request ID for at least 60 minutes after the first
896
- # request.
896
+ # Optional. A request ID. Specify a unique request ID to allow the server to
897
+ # ignore the request if it has completed. The server will ignore subsequent
898
+ # requests that provide a duplicate request ID for at least 60 minutes after
899
+ # the first request.
897
900
  #
898
901
  # For example, if an initial request times out, followed by another request
899
902
  # with the same request ID, the server ignores the second request to prevent
@@ -968,15 +971,15 @@ module Google
968
971
  # `gs://<bucket_name>/<path_inside_bucket>`. A sub-folder
969
972
  # `<export_folder>` containing exported files will be created below it.
970
973
  # @param service [::String]
971
- # Required. The relative resource name of the metastore service to run export, in the
972
- # following form:
974
+ # Required. The relative resource name of the metastore service to run
975
+ # export, in the following form:
973
976
  #
974
977
  # `projects/{project_id}/locations/{location_id}/services/{service_id}`.
975
978
  # @param request_id [::String]
976
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
977
- # request if it has completed. The server will ignore subsequent requests
978
- # that provide a duplicate request ID for at least 60 minutes after the first
979
- # request.
979
+ # Optional. A request ID. Specify a unique request ID to allow the server to
980
+ # ignore the request if it has completed. The server will ignore subsequent
981
+ # requests that provide a duplicate request ID for at least 60 minutes after
982
+ # the first request.
980
983
  #
981
984
  # For example, if an initial request times out, followed by another request
982
985
  # with the same request ID, the server ignores the second request to prevent
@@ -986,7 +989,8 @@ module Google
986
989
  # [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format).
987
990
  # A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
988
991
  # @param database_dump_type [::Google::Cloud::Metastore::V1::DatabaseDumpSpec::Type]
989
- # Optional. The type of the database dump. If unspecified, defaults to `MYSQL`.
992
+ # Optional. The type of the database dump. If unspecified, defaults to
993
+ # `MYSQL`.
990
994
  # @yield [result, operation] Access the result along with the TransportOperation object
991
995
  # @yieldparam result [::Gapic::Operation]
992
996
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1049,22 +1053,22 @@ module Google
1049
1053
  # the default parameter values, pass an empty Hash as a request object (see above).
1050
1054
  #
1051
1055
  # @param service [::String]
1052
- # Required. The relative resource name of the metastore service to run restore, in the
1053
- # following form:
1056
+ # Required. The relative resource name of the metastore service to run
1057
+ # restore, in the following form:
1054
1058
  #
1055
1059
  # `projects/{project_id}/locations/{location_id}/services/{service_id}`.
1056
1060
  # @param backup [::String]
1057
- # Required. The relative resource name of the metastore service backup to restore
1058
- # from, in the following form:
1061
+ # Required. The relative resource name of the metastore service backup to
1062
+ # restore from, in the following form:
1059
1063
  #
1060
1064
  # `projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}`.
1061
1065
  # @param restore_type [::Google::Cloud::Metastore::V1::Restore::RestoreType]
1062
1066
  # Optional. The type of restore. If unspecified, defaults to `METADATA_ONLY`.
1063
1067
  # @param request_id [::String]
1064
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
1065
- # request if it has completed. The server will ignore subsequent requests
1066
- # that provide a duplicate request ID for at least 60 minutes after the first
1067
- # request.
1068
+ # Optional. A request ID. Specify a unique request ID to allow the server to
1069
+ # ignore the request if it has completed. The server will ignore subsequent
1070
+ # requests that provide a duplicate request ID for at least 60 minutes after
1071
+ # the first request.
1068
1072
  #
1069
1073
  # For example, if an initial request times out, followed by another request
1070
1074
  # with the same request ID, the server ignores the second request to prevent
@@ -1140,18 +1144,19 @@ module Google
1140
1144
  #
1141
1145
  # `projects/{project_number}/locations/{location_id}/services/{service_id}/backups`.
1142
1146
  # @param page_size [::Integer]
1143
- # Optional. The maximum number of backups to return. The response may contain less
1144
- # than the maximum number. If unspecified, no more than 500 backups are
1147
+ # Optional. The maximum number of backups to return. The response may contain
1148
+ # less than the maximum number. If unspecified, no more than 500 backups are
1145
1149
  # returned. The maximum value is 1000; values above 1000 are changed to 1000.
1146
1150
  # @param page_token [::String]
1147
- # Optional. A page token, received from a previous {::Google::Cloud::Metastore::V1::DataprocMetastore::Rest::Client#list_backups DataprocMetastore.ListBackups}
1151
+ # Optional. A page token, received from a previous
1152
+ # {::Google::Cloud::Metastore::V1::DataprocMetastore::Rest::Client#list_backups DataprocMetastore.ListBackups}
1148
1153
  # call. Provide this token to retrieve the subsequent page.
1149
1154
  #
1150
1155
  # To retrieve the first page, supply an empty page token.
1151
1156
  #
1152
1157
  # When paginating, other parameters provided to
1153
- # {::Google::Cloud::Metastore::V1::DataprocMetastore::Rest::Client#list_backups DataprocMetastore.ListBackups} must match the call that provided the
1154
- # page token.
1158
+ # {::Google::Cloud::Metastore::V1::DataprocMetastore::Rest::Client#list_backups DataprocMetastore.ListBackups}
1159
+ # must match the call that provided the page token.
1155
1160
  # @param filter [::String]
1156
1161
  # Optional. The filter to apply to list results.
1157
1162
  # @param order_by [::String]
@@ -1284,8 +1289,8 @@ module Google
1284
1289
  # the default parameter values, pass an empty Hash as a request object (see above).
1285
1290
  #
1286
1291
  # @param parent [::String]
1287
- # Required. The relative resource name of the service in which to create a backup
1288
- # of the following form:
1292
+ # Required. The relative resource name of the service in which to create a
1293
+ # backup of the following form:
1289
1294
  #
1290
1295
  # `projects/{project_number}/locations/{location_id}/services/{service_id}`.
1291
1296
  # @param backup_id [::String]
@@ -1296,13 +1301,13 @@ module Google
1296
1301
  # end with a letter or number, and consist of alpha-numeric ASCII characters
1297
1302
  # or hyphens.
1298
1303
  # @param backup [::Google::Cloud::Metastore::V1::Backup, ::Hash]
1299
- # Required. The backup to create. The `name` field is ignored. The ID of the created
1300
- # backup must be provided in the request's `backup_id` field.
1304
+ # Required. The backup to create. The `name` field is ignored. The ID of the
1305
+ # created backup must be provided in the request's `backup_id` field.
1301
1306
  # @param request_id [::String]
1302
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
1303
- # request if it has completed. The server will ignore subsequent requests
1304
- # that provide a duplicate request ID for at least 60 minutes after the first
1305
- # request.
1307
+ # Optional. A request ID. Specify a unique request ID to allow the server to
1308
+ # ignore the request if it has completed. The server will ignore subsequent
1309
+ # requests that provide a duplicate request ID for at least 60 minutes after
1310
+ # the first request.
1306
1311
  #
1307
1312
  # For example, if an initial request times out, followed by another request
1308
1313
  # with the same request ID, the server ignores the second request to prevent
@@ -1378,10 +1383,10 @@ module Google
1378
1383
  #
1379
1384
  # `projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}`.
1380
1385
  # @param request_id [::String]
1381
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
1382
- # request if it has completed. The server will ignore subsequent requests
1383
- # that provide a duplicate request ID for at least 60 minutes after the first
1384
- # request.
1386
+ # Optional. A request ID. Specify a unique request ID to allow the server to
1387
+ # ignore the request if it has completed. The server will ignore subsequent
1388
+ # requests that provide a duplicate request ID for at least 60 minutes after
1389
+ # the first request.
1385
1390
  #
1386
1391
  # For example, if an initial request times out, followed by another request
1387
1392
  # with the same request ID, the server ignores the second request to prevent
@@ -1471,9 +1476,9 @@ module Google
1471
1476
  # * (`String`) The path to a service account key file in JSON format
1472
1477
  # * (`Hash`) A service account key as a Hash
1473
1478
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1474
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1479
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1475
1480
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1476
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1481
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1477
1482
  # * (`nil`) indicating no credentials
1478
1483
  # @return [::Object]
1479
1484
  # @!attribute [rw] scope
@@ -411,9 +411,9 @@ module Google
411
411
  # * (`String`) The path to a service account key file in JSON format
412
412
  # * (`Hash`) A service account key as a Hash
413
413
  # * (`Google::Auth::Credentials`) A googleauth credentials object
414
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
414
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
415
415
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
416
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
416
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
417
417
  # * (`nil`) indicating no credentials
418
418
  # @return [::Object]
419
419
  # @!attribute [rw] scope
@@ -779,7 +779,7 @@ module Google
779
779
  uri_template: "/v1/{name}:cancel",
780
780
  body: "*",
781
781
  matches: [
782
- ["name", %r{^operations(?:/.*)?$}, true]
782
+ ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
783
783
  ]
784
784
  )
785
785
  transcoder.transcode request_pb
@@ -216,13 +216,14 @@ module Google
216
216
  # the default parameter values, pass an empty Hash as a request object (see above).
217
217
  #
218
218
  # @param parent [::String]
219
- # Required. The relative resource name of the location of metastore federations
220
- # to list, in the following form:
219
+ # Required. The relative resource name of the location of metastore
220
+ # federations to list, in the following form:
221
221
  # `projects/{project_number}/locations/{location_id}`.
222
222
  # @param page_size [::Integer]
223
- # Optional. The maximum number of federations to return. The response may contain less
224
- # than the maximum number. If unspecified, no more than 500 services are
225
- # returned. The maximum value is 1000; values above 1000 are changed to 1000.
223
+ # Optional. The maximum number of federations to return. The response may
224
+ # contain less than the maximum number. If unspecified, no more than 500
225
+ # services are returned. The maximum value is 1000; values above 1000 are
226
+ # changed to 1000.
226
227
  # @param page_token [::String]
227
228
  # Optional. A page token, received from a previous ListFederationServices
228
229
  # call. Provide this token to retrieve the subsequent page.
@@ -327,8 +328,8 @@ module Google
327
328
  # the default parameter values, pass an empty Hash as a request object (see above).
328
329
  #
329
330
  # @param name [::String]
330
- # Required. The relative resource name of the metastore federation to retrieve,
331
- # in the following form:
331
+ # Required. The relative resource name of the metastore federation to
332
+ # retrieve, in the following form:
332
333
  #
333
334
  # `projects/{project_number}/locations/{location_id}/federations/{federation_id}`.
334
335
  #
@@ -415,8 +416,8 @@ module Google
415
416
  # the default parameter values, pass an empty Hash as a request object (see above).
416
417
  #
417
418
  # @param parent [::String]
418
- # Required. The relative resource name of the location in which to create a federation
419
- # service, in the following form:
419
+ # Required. The relative resource name of the location in which to create a
420
+ # federation service, in the following form:
420
421
  #
421
422
  # `projects/{project_number}/locations/{location_id}`.
422
423
  # @param federation_id [::String]
@@ -431,10 +432,10 @@ module Google
431
432
  # ignored. The ID of the created metastore federation must be
432
433
  # provided in the request's `federation_id` field.
433
434
  # @param request_id [::String]
434
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
435
- # request if it has completed. The server will ignore subsequent requests
436
- # that provide a duplicate request ID for at least 60 minutes after the first
437
- # request.
435
+ # Optional. A request ID. Specify a unique request ID to allow the server to
436
+ # ignore the request if it has completed. The server will ignore subsequent
437
+ # requests that provide a duplicate request ID for at least 60 minutes after
438
+ # the first request.
438
439
  #
439
440
  # For example, if an initial request times out, followed by another request
440
441
  # with the same request ID, the server ignores the second request to prevent
@@ -546,10 +547,10 @@ module Google
546
547
  # The metastore federation's `name` field is used to identify the
547
548
  # metastore service to be updated.
548
549
  # @param request_id [::String]
549
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
550
- # request if it has completed. The server will ignore subsequent requests
551
- # that provide a duplicate request ID for at least 60 minutes after the first
552
- # request.
550
+ # Optional. A request ID. Specify a unique request ID to allow the server to
551
+ # ignore the request if it has completed. The server will ignore subsequent
552
+ # requests that provide a duplicate request ID for at least 60 minutes after
553
+ # the first request.
553
554
  #
554
555
  # For example, if an initial request times out, followed by another request
555
556
  # with the same request ID, the server ignores the second request to prevent
@@ -655,10 +656,10 @@ module Google
655
656
  #
656
657
  # `projects/{project_number}/locations/{location_id}/federations/{federation_id}`.
657
658
  # @param request_id [::String]
658
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
659
- # request if it has completed. The server will ignore subsequent requests
660
- # that provide a duplicate request ID for at least 60 minutes after the first
661
- # request.
659
+ # Optional. A request ID. Specify a unique request ID to allow the server to
660
+ # ignore the request if it has completed. The server will ignore subsequent
661
+ # requests that provide a duplicate request ID for at least 60 minutes after
662
+ # the first request.
662
663
  #
663
664
  # For example, if an initial request times out, followed by another request
664
665
  # with the same request ID, the server ignores the second request to prevent
@@ -778,9 +779,9 @@ module Google
778
779
  # * (`String`) The path to a service account key file in JSON format
779
780
  # * (`Hash`) A service account key as a Hash
780
781
  # * (`Google::Auth::Credentials`) A googleauth credentials object
781
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
782
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
782
783
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
783
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
784
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
784
785
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
785
786
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
786
787
  # * (`nil`) indicating no credentials
@@ -620,9 +620,9 @@ module Google
620
620
  # * (`String`) The path to a service account key file in JSON format
621
621
  # * (`Hash`) A service account key as a Hash
622
622
  # * (`Google::Auth::Credentials`) A googleauth credentials object
623
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
623
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
624
624
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
625
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
625
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
626
626
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
627
627
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
628
628
  # * (`nil`) indicating no credentials
@@ -209,13 +209,14 @@ module Google
209
209
  # the default parameter values, pass an empty Hash as a request object (see above).
210
210
  #
211
211
  # @param parent [::String]
212
- # Required. The relative resource name of the location of metastore federations
213
- # to list, in the following form:
212
+ # Required. The relative resource name of the location of metastore
213
+ # federations to list, in the following form:
214
214
  # `projects/{project_number}/locations/{location_id}`.
215
215
  # @param page_size [::Integer]
216
- # Optional. The maximum number of federations to return. The response may contain less
217
- # than the maximum number. If unspecified, no more than 500 services are
218
- # returned. The maximum value is 1000; values above 1000 are changed to 1000.
216
+ # Optional. The maximum number of federations to return. The response may
217
+ # contain less than the maximum number. If unspecified, no more than 500
218
+ # services are returned. The maximum value is 1000; values above 1000 are
219
+ # changed to 1000.
219
220
  # @param page_token [::String]
220
221
  # Optional. A page token, received from a previous ListFederationServices
221
222
  # call. Provide this token to retrieve the subsequent page.
@@ -292,8 +293,8 @@ module Google
292
293
  # the default parameter values, pass an empty Hash as a request object (see above).
293
294
  #
294
295
  # @param name [::String]
295
- # Required. The relative resource name of the metastore federation to retrieve,
296
- # in the following form:
296
+ # Required. The relative resource name of the metastore federation to
297
+ # retrieve, in the following form:
297
298
  #
298
299
  # `projects/{project_number}/locations/{location_id}/federations/{federation_id}`.
299
300
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -357,8 +358,8 @@ module Google
357
358
  # the default parameter values, pass an empty Hash as a request object (see above).
358
359
  #
359
360
  # @param parent [::String]
360
- # Required. The relative resource name of the location in which to create a federation
361
- # service, in the following form:
361
+ # Required. The relative resource name of the location in which to create a
362
+ # federation service, in the following form:
362
363
  #
363
364
  # `projects/{project_number}/locations/{location_id}`.
364
365
  # @param federation_id [::String]
@@ -373,10 +374,10 @@ module Google
373
374
  # ignored. The ID of the created metastore federation must be
374
375
  # provided in the request's `federation_id` field.
375
376
  # @param request_id [::String]
376
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
377
- # request if it has completed. The server will ignore subsequent requests
378
- # that provide a duplicate request ID for at least 60 minutes after the first
379
- # request.
377
+ # Optional. A request ID. Specify a unique request ID to allow the server to
378
+ # ignore the request if it has completed. The server will ignore subsequent
379
+ # requests that provide a duplicate request ID for at least 60 minutes after
380
+ # the first request.
380
381
  #
381
382
  # For example, if an initial request times out, followed by another request
382
383
  # with the same request ID, the server ignores the second request to prevent
@@ -458,10 +459,10 @@ module Google
458
459
  # The metastore federation's `name` field is used to identify the
459
460
  # metastore service to be updated.
460
461
  # @param request_id [::String]
461
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
462
- # request if it has completed. The server will ignore subsequent requests
463
- # that provide a duplicate request ID for at least 60 minutes after the first
464
- # request.
462
+ # Optional. A request ID. Specify a unique request ID to allow the server to
463
+ # ignore the request if it has completed. The server will ignore subsequent
464
+ # requests that provide a duplicate request ID for at least 60 minutes after
465
+ # the first request.
465
466
  #
466
467
  # For example, if an initial request times out, followed by another request
467
468
  # with the same request ID, the server ignores the second request to prevent
@@ -537,10 +538,10 @@ module Google
537
538
  #
538
539
  # `projects/{project_number}/locations/{location_id}/federations/{federation_id}`.
539
540
  # @param request_id [::String]
540
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
541
- # request if it has completed. The server will ignore subsequent requests
542
- # that provide a duplicate request ID for at least 60 minutes after the first
543
- # request.
541
+ # Optional. A request ID. Specify a unique request ID to allow the server to
542
+ # ignore the request if it has completed. The server will ignore subsequent
543
+ # requests that provide a duplicate request ID for at least 60 minutes after
544
+ # the first request.
544
545
  #
545
546
  # For example, if an initial request times out, followed by another request
546
547
  # with the same request ID, the server ignores the second request to prevent
@@ -630,9 +631,9 @@ module Google
630
631
  # * (`String`) The path to a service account key file in JSON format
631
632
  # * (`Hash`) A service account key as a Hash
632
633
  # * (`Google::Auth::Credentials`) A googleauth credentials object
633
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
634
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
634
635
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
635
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
636
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
636
637
  # * (`nil`) indicating no credentials
637
638
  # @return [::Object]
638
639
  # @!attribute [rw] scope
@@ -411,9 +411,9 @@ module Google
411
411
  # * (`String`) The path to a service account key file in JSON format
412
412
  # * (`Hash`) A service account key as a Hash
413
413
  # * (`Google::Auth::Credentials`) A googleauth credentials object
414
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
414
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
415
415
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
416
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
416
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
417
417
  # * (`nil`) indicating no credentials
418
418
  # @return [::Object]
419
419
  # @!attribute [rw] scope
@@ -779,7 +779,7 @@ module Google
779
779
  uri_template: "/v1/{name}:cancel",
780
780
  body: "*",
781
781
  matches: [
782
- ["name", %r{^operations(?:/.*)?$}, true]
782
+ ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
783
783
  ]
784
784
  )
785
785
  transcoder.transcode request_pb
@@ -7,7 +7,9 @@ require 'google/api/annotations_pb'
7
7
  require 'google/api/client_pb'
8
8
  require 'google/api/field_behavior_pb'
9
9
  require 'google/api/resource_pb'
10
+ require 'google/cloud/metastore/v1/metastore_pb'
10
11
  require 'google/longrunning/operations_pb'
12
+ require 'google/protobuf/empty_pb'
11
13
  require 'google/protobuf/field_mask_pb'
12
14
  require 'google/protobuf/timestamp_pb'
13
15