google-cloud-metastore-v1 0.6.0 → 0.7.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f58159812c9e69d5495a8eda489e12f4726583cf4c75c576f0e44eeb936c24b9
4
- data.tar.gz: df707002883d9c591dc49bd8b783af6722a8963b6cb49a65625b9c74c3b2e580
3
+ metadata.gz: 679a4aae330cc27677c39c3d417ebe5432a092741b38850dcfd6890f8912c50b
4
+ data.tar.gz: db70ab1ec6fc16c605370ed789952948fdc2e9e1ca084f642924f80c008fcccd
5
5
  SHA512:
6
- metadata.gz: 0fea01f858e303f10d1d00cf404ed49a5eacb1d6a77250be75aa2467af03cb84ced4bf8b16bbcf9c5818b8c433b39be3344f84978f6728dba9c32118d1ff8306
7
- data.tar.gz: 567f597073c4764db28f1837b3b34444ed5e10af06c537c8cd6f42b85c663386d03878c49e8a5101cc6301b8a5dac921a2b139c24cfefab48e215731a381494a
6
+ metadata.gz: b79fa41f6586a823fa1f848e57e0c06a46abd2c0a53536edd32f38d6dee44c13e6ff6552b358f4fd5a8aac68dbf06b5e904c25890b9ddbfe419323309602fef6
7
+ data.tar.gz: d172d0c0d98fb4352f3ce5c2be5d6ec23860e9194fc9f0ea70197f8891131d24ddea27350b00502c3a6e4aef0952d35f28b58b99e86eba15240d667f9e371cee
data/README.md CHANGED
@@ -47,7 +47,7 @@ for general usage information.
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
49
  The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
50
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
53
 
@@ -243,23 +243,25 @@ module Google
243
243
  # the default parameter values, pass an empty Hash as a request object (see above).
244
244
  #
245
245
  # @param parent [::String]
246
- # Required. The relative resource name of the location of metastore services to
247
- # list, in the following form:
246
+ # Required. The relative resource name of the location of metastore services
247
+ # to list, in the following form:
248
248
  #
249
249
  # `projects/{project_number}/locations/{location_id}`.
250
250
  # @param page_size [::Integer]
251
- # Optional. The maximum number of services to return. The response may contain less
252
- # than the maximum number. If unspecified, no more than 500 services are
253
- # returned. The maximum value is 1000; values above 1000 are changed to 1000.
251
+ # Optional. The maximum number of services to return. The response may
252
+ # contain less than the maximum number. If unspecified, no more than 500
253
+ # services are returned. The maximum value is 1000; values above 1000 are
254
+ # changed to 1000.
254
255
  # @param page_token [::String]
255
- # Optional. A page token, received from a previous {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#list_services DataprocMetastore.ListServices}
256
+ # Optional. A page token, received from a previous
257
+ # {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#list_services DataprocMetastore.ListServices}
256
258
  # call. Provide this token to retrieve the subsequent page.
257
259
  #
258
260
  # To retrieve the first page, supply an empty page token.
259
261
  #
260
262
  # When paginating, other parameters provided to
261
- # {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#list_services DataprocMetastore.ListServices} must match the call that provided the
262
- # page token.
263
+ # {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#list_services DataprocMetastore.ListServices}
264
+ # must match the call that provided the page token.
263
265
  # @param filter [::String]
264
266
  # Optional. The filter to apply to list results.
265
267
  # @param order_by [::String]
@@ -355,8 +357,8 @@ module Google
355
357
  # the default parameter values, pass an empty Hash as a request object (see above).
356
358
  #
357
359
  # @param name [::String]
358
- # Required. The relative resource name of the metastore service to retrieve, in the
359
- # following form:
360
+ # Required. The relative resource name of the metastore service to retrieve,
361
+ # in the following form:
360
362
  #
361
363
  # `projects/{project_number}/locations/{location_id}/services/{service_id}`.
362
364
  #
@@ -443,8 +445,8 @@ module Google
443
445
  # the default parameter values, pass an empty Hash as a request object (see above).
444
446
  #
445
447
  # @param parent [::String]
446
- # Required. The relative resource name of the location in which to create a metastore
447
- # service, in the following form:
448
+ # Required. The relative resource name of the location in which to create a
449
+ # metastore service, in the following form:
448
450
  #
449
451
  # `projects/{project_number}/locations/{location_id}`.
450
452
  # @param service_id [::String]
@@ -459,10 +461,10 @@ module Google
459
461
  # ignored. The ID of the created metastore service must be provided in
460
462
  # the request's `service_id` field.
461
463
  # @param request_id [::String]
462
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
463
- # request if it has completed. The server will ignore subsequent requests
464
- # that provide a duplicate request ID for at least 60 minutes after the first
465
- # request.
464
+ # Optional. A request ID. Specify a unique request ID to allow the server to
465
+ # ignore the request if it has completed. The server will ignore subsequent
466
+ # requests that provide a duplicate request ID for at least 60 minutes after
467
+ # the first request.
466
468
  #
467
469
  # For example, if an initial request times out, followed by another request
468
470
  # with the same request ID, the server ignores the second request to prevent
@@ -574,10 +576,10 @@ module Google
574
576
  # The metastore service's `name` field is used to identify the metastore
575
577
  # service to be updated.
576
578
  # @param request_id [::String]
577
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
578
- # request if it has completed. The server will ignore subsequent requests
579
- # that provide a duplicate request ID for at least 60 minutes after the first
580
- # request.
579
+ # Optional. A request ID. Specify a unique request ID to allow the server to
580
+ # ignore the request if it has completed. The server will ignore subsequent
581
+ # requests that provide a duplicate request ID for at least 60 minutes after
582
+ # the first request.
581
583
  #
582
584
  # For example, if an initial request times out, followed by another request
583
585
  # with the same request ID, the server ignores the second request to prevent
@@ -678,15 +680,15 @@ module Google
678
680
  # the default parameter values, pass an empty Hash as a request object (see above).
679
681
  #
680
682
  # @param name [::String]
681
- # Required. The relative resource name of the metastore service to delete, in the
682
- # following form:
683
+ # Required. The relative resource name of the metastore service to delete, in
684
+ # the following form:
683
685
  #
684
686
  # `projects/{project_number}/locations/{location_id}/services/{service_id}`.
685
687
  # @param request_id [::String]
686
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
687
- # request if it has completed. The server will ignore subsequent requests
688
- # that provide a duplicate request ID for at least 60 minutes after the first
689
- # request.
688
+ # Optional. A request ID. Specify a unique request ID to allow the server to
689
+ # ignore the request if it has completed. The server will ignore subsequent
690
+ # requests that provide a duplicate request ID for at least 60 minutes after
691
+ # the first request.
690
692
  #
691
693
  # For example, if an initial request times out, followed by another request
692
694
  # with the same request ID, the server ignores the second request to prevent
@@ -787,23 +789,24 @@ module Google
787
789
  # the default parameter values, pass an empty Hash as a request object (see above).
788
790
  #
789
791
  # @param parent [::String]
790
- # Required. The relative resource name of the service whose metadata imports to
791
- # list, in the following form:
792
+ # Required. The relative resource name of the service whose metadata imports
793
+ # to list, in the following form:
792
794
  #
793
795
  # `projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports`.
794
796
  # @param page_size [::Integer]
795
- # Optional. The maximum number of imports to return. The response may contain less
796
- # than the maximum number. If unspecified, no more than 500 imports are
797
+ # Optional. The maximum number of imports to return. The response may contain
798
+ # less than the maximum number. If unspecified, no more than 500 imports are
797
799
  # returned. The maximum value is 1000; values above 1000 are changed to 1000.
798
800
  # @param page_token [::String]
799
- # Optional. A page token, received from a previous {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#list_services DataprocMetastore.ListServices}
801
+ # Optional. A page token, received from a previous
802
+ # {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#list_services DataprocMetastore.ListServices}
800
803
  # call. Provide this token to retrieve the subsequent page.
801
804
  #
802
805
  # To retrieve the first page, supply an empty page token.
803
806
  #
804
807
  # When paginating, other parameters provided to
805
- # {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#list_services DataprocMetastore.ListServices} must match the call that provided the
806
- # page token.
808
+ # {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#list_services DataprocMetastore.ListServices}
809
+ # must match the call that provided the page token.
807
810
  # @param filter [::String]
808
811
  # Optional. The filter to apply to list results.
809
812
  # @param order_by [::String]
@@ -899,8 +902,8 @@ module Google
899
902
  # the default parameter values, pass an empty Hash as a request object (see above).
900
903
  #
901
904
  # @param name [::String]
902
- # Required. The relative resource name of the metadata import to retrieve, in the
903
- # following form:
905
+ # Required. The relative resource name of the metadata import to retrieve, in
906
+ # the following form:
904
907
  #
905
908
  # `projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{import_id}`.
906
909
  #
@@ -987,26 +990,26 @@ module Google
987
990
  # the default parameter values, pass an empty Hash as a request object (see above).
988
991
  #
989
992
  # @param parent [::String]
990
- # Required. The relative resource name of the service in which to create a metastore
991
- # import, in the following form:
993
+ # Required. The relative resource name of the service in which to create a
994
+ # metastore import, in the following form:
992
995
  #
993
996
  # `projects/{project_number}/locations/{location_id}/services/{service_id}`.
994
997
  # @param metadata_import_id [::String]
995
- # Required. The ID of the metadata import, which is used as the final component of the
996
- # metadata import's name.
998
+ # Required. The ID of the metadata import, which is used as the final
999
+ # component of the metadata import's name.
997
1000
  #
998
1001
  # This value must be between 1 and 64 characters long, begin with a letter,
999
1002
  # end with a letter or number, and consist of alpha-numeric ASCII characters
1000
1003
  # or hyphens.
1001
1004
  # @param metadata_import [::Google::Cloud::Metastore::V1::MetadataImport, ::Hash]
1002
- # Required. The metadata import to create. The `name` field is ignored. The ID of the
1003
- # created metadata import must be provided in the request's
1005
+ # Required. The metadata import to create. The `name` field is ignored. The
1006
+ # ID of the created metadata import must be provided in the request's
1004
1007
  # `metadata_import_id` field.
1005
1008
  # @param request_id [::String]
1006
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
1007
- # request if it has completed. The server will ignore subsequent requests
1008
- # that provide a duplicate request ID for at least 60 minutes after the first
1009
- # request.
1009
+ # Optional. A request ID. Specify a unique request ID to allow the server to
1010
+ # ignore the request if it has completed. The server will ignore subsequent
1011
+ # requests that provide a duplicate request ID for at least 60 minutes after
1012
+ # the first request.
1010
1013
  #
1011
1014
  # For example, if an initial request times out, followed by another request
1012
1015
  # with the same request ID, the server ignores the second request to prevent
@@ -1119,10 +1122,10 @@ module Google
1119
1122
  # The metadata import's `name` field is used to identify the metastore
1120
1123
  # import to be updated.
1121
1124
  # @param request_id [::String]
1122
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
1123
- # request if it has completed. The server will ignore subsequent requests
1124
- # that provide a duplicate request ID for at least 60 minutes after the first
1125
- # request.
1125
+ # Optional. A request ID. Specify a unique request ID to allow the server to
1126
+ # ignore the request if it has completed. The server will ignore subsequent
1127
+ # requests that provide a duplicate request ID for at least 60 minutes after
1128
+ # the first request.
1126
1129
  #
1127
1130
  # For example, if an initial request times out, followed by another request
1128
1131
  # with the same request ID, the server ignores the second request to prevent
@@ -1227,15 +1230,15 @@ module Google
1227
1230
  # `gs://<bucket_name>/<path_inside_bucket>`. A sub-folder
1228
1231
  # `<export_folder>` containing exported files will be created below it.
1229
1232
  # @param service [::String]
1230
- # Required. The relative resource name of the metastore service to run export, in the
1231
- # following form:
1233
+ # Required. The relative resource name of the metastore service to run
1234
+ # export, in the following form:
1232
1235
  #
1233
1236
  # `projects/{project_id}/locations/{location_id}/services/{service_id}`.
1234
1237
  # @param request_id [::String]
1235
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
1236
- # request if it has completed. The server will ignore subsequent requests
1237
- # that provide a duplicate request ID for at least 60 minutes after the first
1238
- # request.
1238
+ # Optional. A request ID. Specify a unique request ID to allow the server to
1239
+ # ignore the request if it has completed. The server will ignore subsequent
1240
+ # requests that provide a duplicate request ID for at least 60 minutes after
1241
+ # the first request.
1239
1242
  #
1240
1243
  # For example, if an initial request times out, followed by another request
1241
1244
  # with the same request ID, the server ignores the second request to prevent
@@ -1245,7 +1248,8 @@ module Google
1245
1248
  # [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format).
1246
1249
  # A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
1247
1250
  # @param database_dump_type [::Google::Cloud::Metastore::V1::DatabaseDumpSpec::Type]
1248
- # Optional. The type of the database dump. If unspecified, defaults to `MYSQL`.
1251
+ # Optional. The type of the database dump. If unspecified, defaults to
1252
+ # `MYSQL`.
1249
1253
  #
1250
1254
  # @yield [response, operation] Access the result along with the RPC operation
1251
1255
  # @yieldparam response [::Gapic::Operation]
@@ -1338,22 +1342,22 @@ module Google
1338
1342
  # the default parameter values, pass an empty Hash as a request object (see above).
1339
1343
  #
1340
1344
  # @param service [::String]
1341
- # Required. The relative resource name of the metastore service to run restore, in the
1342
- # following form:
1345
+ # Required. The relative resource name of the metastore service to run
1346
+ # restore, in the following form:
1343
1347
  #
1344
1348
  # `projects/{project_id}/locations/{location_id}/services/{service_id}`.
1345
1349
  # @param backup [::String]
1346
- # Required. The relative resource name of the metastore service backup to restore
1347
- # from, in the following form:
1350
+ # Required. The relative resource name of the metastore service backup to
1351
+ # restore from, in the following form:
1348
1352
  #
1349
1353
  # `projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}`.
1350
1354
  # @param restore_type [::Google::Cloud::Metastore::V1::Restore::RestoreType]
1351
1355
  # Optional. The type of restore. If unspecified, defaults to `METADATA_ONLY`.
1352
1356
  # @param request_id [::String]
1353
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
1354
- # request if it has completed. The server will ignore subsequent requests
1355
- # that provide a duplicate request ID for at least 60 minutes after the first
1356
- # request.
1357
+ # Optional. A request ID. Specify a unique request ID to allow the server to
1358
+ # ignore the request if it has completed. The server will ignore subsequent
1359
+ # requests that provide a duplicate request ID for at least 60 minutes after
1360
+ # the first request.
1357
1361
  #
1358
1362
  # For example, if an initial request times out, followed by another request
1359
1363
  # with the same request ID, the server ignores the second request to prevent
@@ -1459,18 +1463,19 @@ module Google
1459
1463
  #
1460
1464
  # `projects/{project_number}/locations/{location_id}/services/{service_id}/backups`.
1461
1465
  # @param page_size [::Integer]
1462
- # Optional. The maximum number of backups to return. The response may contain less
1463
- # than the maximum number. If unspecified, no more than 500 backups are
1466
+ # Optional. The maximum number of backups to return. The response may contain
1467
+ # less than the maximum number. If unspecified, no more than 500 backups are
1464
1468
  # returned. The maximum value is 1000; values above 1000 are changed to 1000.
1465
1469
  # @param page_token [::String]
1466
- # Optional. A page token, received from a previous {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#list_backups DataprocMetastore.ListBackups}
1470
+ # Optional. A page token, received from a previous
1471
+ # {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#list_backups DataprocMetastore.ListBackups}
1467
1472
  # call. Provide this token to retrieve the subsequent page.
1468
1473
  #
1469
1474
  # To retrieve the first page, supply an empty page token.
1470
1475
  #
1471
1476
  # When paginating, other parameters provided to
1472
- # {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#list_backups DataprocMetastore.ListBackups} must match the call that provided the
1473
- # page token.
1477
+ # {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#list_backups DataprocMetastore.ListBackups}
1478
+ # must match the call that provided the page token.
1474
1479
  # @param filter [::String]
1475
1480
  # Optional. The filter to apply to list results.
1476
1481
  # @param order_by [::String]
@@ -1654,8 +1659,8 @@ module Google
1654
1659
  # the default parameter values, pass an empty Hash as a request object (see above).
1655
1660
  #
1656
1661
  # @param parent [::String]
1657
- # Required. The relative resource name of the service in which to create a backup
1658
- # of the following form:
1662
+ # Required. The relative resource name of the service in which to create a
1663
+ # backup of the following form:
1659
1664
  #
1660
1665
  # `projects/{project_number}/locations/{location_id}/services/{service_id}`.
1661
1666
  # @param backup_id [::String]
@@ -1666,13 +1671,13 @@ module Google
1666
1671
  # end with a letter or number, and consist of alpha-numeric ASCII characters
1667
1672
  # or hyphens.
1668
1673
  # @param backup [::Google::Cloud::Metastore::V1::Backup, ::Hash]
1669
- # Required. The backup to create. The `name` field is ignored. The ID of the created
1670
- # backup must be provided in the request's `backup_id` field.
1674
+ # Required. The backup to create. The `name` field is ignored. The ID of the
1675
+ # created backup must be provided in the request's `backup_id` field.
1671
1676
  # @param request_id [::String]
1672
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
1673
- # request if it has completed. The server will ignore subsequent requests
1674
- # that provide a duplicate request ID for at least 60 minutes after the first
1675
- # request.
1677
+ # Optional. A request ID. Specify a unique request ID to allow the server to
1678
+ # ignore the request if it has completed. The server will ignore subsequent
1679
+ # requests that provide a duplicate request ID for at least 60 minutes after
1680
+ # the first request.
1676
1681
  #
1677
1682
  # For example, if an initial request times out, followed by another request
1678
1683
  # with the same request ID, the server ignores the second request to prevent
@@ -1778,10 +1783,10 @@ module Google
1778
1783
  #
1779
1784
  # `projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}`.
1780
1785
  # @param request_id [::String]
1781
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
1782
- # request if it has completed. The server will ignore subsequent requests
1783
- # that provide a duplicate request ID for at least 60 minutes after the first
1784
- # request.
1786
+ # Optional. A request ID. Specify a unique request ID to allow the server to
1787
+ # ignore the request if it has completed. The server will ignore subsequent
1788
+ # requests that provide a duplicate request ID for at least 60 minutes after
1789
+ # the first request.
1785
1790
  #
1786
1791
  # For example, if an initial request times out, followed by another request
1787
1792
  # with the same request ID, the server ignores the second request to prevent
@@ -1901,9 +1906,9 @@ module Google
1901
1906
  # * (`String`) The path to a service account key file in JSON format
1902
1907
  # * (`Hash`) A service account key as a Hash
1903
1908
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1904
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1909
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1905
1910
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1906
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1911
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1907
1912
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1908
1913
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1909
1914
  # * (`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