google-apis-metastore_v1alpha 0.2.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9726575caccf59932c052e02bea0f860a79acdb06c7b71c45142b11c3d98c8e5
4
- data.tar.gz: fe09cf8990a58858029e173090760663eb53d8f3a218b1490409ce37ca3549d1
3
+ metadata.gz: be9de7ce1a78666c61e3b83ef5e840f0e7c70a7b2087ae07f1108e85ce8bd70c
4
+ data.tar.gz: ae9a4867985d8454d1863a7b1624c243b3a21a55ce78acbc4bf8154f12de51ae
5
5
  SHA512:
6
- metadata.gz: 8d241c5df3069cc3e4b6091a1c9b2a7167ca42c6f5c22805e2987c56b99acabe641ad9fda1226966dd491a25f6e9bd3f15f1d97ed2df50b758572df1fae51153
7
- data.tar.gz: 6289c07670e4942e2f39440e2eeb8b44b94220476b82c7b49088de8fc0803c03e08ed72a4bdd0954f3c344749c422c89e81bf8ea6574478360a928158e00ca87
6
+ metadata.gz: 84393abaaec6d961a5552d8503be976a80bca59b48df8b596fcd415e9c25fb28ad8b71e17332ed83e5b7d25e00269bc58b2d8ce20f70964033f6183f60e1a16b
7
+ data.tar.gz: 29c59c76e793de4e61ece785098c8140c72a2bd478abe0597012a066b4694a424d5e16d3f543be5ba2cd248697a014529b4723eb5b526789dea8450566a3cb72
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-metastore_v1alpha
2
2
 
3
+ ### v0.7.0 (2021-03-28)
4
+
5
+ * Regenerated from discovery document revision 20210325
6
+
7
+ ### v0.6.0 (2021-03-20)
8
+
9
+ * Regenerated from discovery document revision 20210318
10
+
11
+ ### v0.5.0 (2021-03-10)
12
+
13
+ * Regenerated from discovery document revision 20210305
14
+ * Regenerated using generator version 0.2.0
15
+
16
+ ### v0.4.0 (2021-03-04)
17
+
18
+ * Regenerated from discovery document revision 20210226
19
+
20
+ ### v0.3.0 (2021-02-25)
21
+
22
+ * Regenerated from discovery document revision 20210222
23
+
3
24
  ### v0.2.0 (2021-02-12)
4
25
 
5
26
  * Regenerated from discovery document revision 20210210
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1alpha'
32
32
 
33
- # View and manage your data across Google Cloud Platform services
33
+ # See, edit, configure, and delete your Google Cloud Platform data
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
35
  end
36
36
  end
@@ -93,6 +93,57 @@ module Google
93
93
  end
94
94
  end
95
95
 
96
+ # The details of a backup resource.
97
+ class Backup
98
+ include Google::Apis::Core::Hashable
99
+
100
+ # Output only. The time when the backup was started.
101
+ # Corresponds to the JSON property `createTime`
102
+ # @return [String]
103
+ attr_accessor :create_time
104
+
105
+ # The description of the backup.
106
+ # Corresponds to the JSON property `description`
107
+ # @return [String]
108
+ attr_accessor :description
109
+
110
+ # Output only. The time when the backup finished creating.
111
+ # Corresponds to the JSON property `endTime`
112
+ # @return [String]
113
+ attr_accessor :end_time
114
+
115
+ # Immutable. The relative resource name of the backup, in the following form:
116
+ # projects/`project_number`/locations/`location_id`/services/`service_id`/
117
+ # backups/`backup_id`
118
+ # Corresponds to the JSON property `name`
119
+ # @return [String]
120
+ attr_accessor :name
121
+
122
+ # A managed metastore service that serves metadata queries.
123
+ # Corresponds to the JSON property `serviceRevision`
124
+ # @return [Google::Apis::MetastoreV1alpha::Service]
125
+ attr_accessor :service_revision
126
+
127
+ # Output only. The current state of the backup.
128
+ # Corresponds to the JSON property `state`
129
+ # @return [String]
130
+ attr_accessor :state
131
+
132
+ def initialize(**args)
133
+ update!(**args)
134
+ end
135
+
136
+ # Update properties of this object
137
+ def update!(**args)
138
+ @create_time = args[:create_time] if args.key?(:create_time)
139
+ @description = args[:description] if args.key?(:description)
140
+ @end_time = args[:end_time] if args.key?(:end_time)
141
+ @name = args[:name] if args.key?(:name)
142
+ @service_revision = args[:service_revision] if args.key?(:service_revision)
143
+ @state = args[:state] if args.key?(:state)
144
+ end
145
+ end
146
+
96
147
  # Associates members with a role.
97
148
  class Binding
98
149
  include Google::Apis::Core::Hashable
@@ -163,6 +214,28 @@ module Google
163
214
  end
164
215
  end
165
216
 
217
+ # Specifies how metastore metadata should be integrated with the Data Catalog
218
+ # service.
219
+ class DataCatalogConfig
220
+ include Google::Apis::Core::Hashable
221
+
222
+ # Defines whether the metastore metadata should be synced to Data Catalog. The
223
+ # default value is to disable syncing metastore metadata to Data Catalog.
224
+ # Corresponds to the JSON property `enabled`
225
+ # @return [Boolean]
226
+ attr_accessor :enabled
227
+ alias_method :enabled?, :enabled
228
+
229
+ def initialize(**args)
230
+ update!(**args)
231
+ end
232
+
233
+ # Update properties of this object
234
+ def update!(**args)
235
+ @enabled = args[:enabled] if args.key?(:enabled)
236
+ end
237
+ end
238
+
166
239
  # A specification of the location of and metadata about a database dump from a
167
240
  # relational database management system.
168
241
  class DatabaseDump
@@ -173,8 +246,8 @@ module Google
173
246
  # @return [String]
174
247
  attr_accessor :database_type
175
248
 
176
- # A Cloud Storage object URI that specifies the source from which to import
177
- # metadata. It must begin with gs://.
249
+ # A Cloud Storage object or folder URI that specifies the source from which to
250
+ # import metadata. It must begin with gs://.
178
251
  # Corresponds to the JSON property `gcsUri`
179
252
  # @return [String]
180
253
  attr_accessor :gcs_uri
@@ -184,6 +257,11 @@ module Google
184
257
  # @return [String]
185
258
  attr_accessor :source_database
186
259
 
260
+ # Optional. The type of the database dump. If unspecified, defaults to MYSQL.
261
+ # Corresponds to the JSON property `type`
262
+ # @return [String]
263
+ attr_accessor :type
264
+
187
265
  def initialize(**args)
188
266
  update!(**args)
189
267
  end
@@ -193,6 +271,7 @@ module Google
193
271
  @database_type = args[:database_type] if args.key?(:database_type)
194
272
  @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
195
273
  @source_database = args[:source_database] if args.key?(:source_database)
274
+ @type = args[:type] if args.key?(:type)
196
275
  end
197
276
  end
198
277
 
@@ -217,9 +296,13 @@ module Google
217
296
  class ExportMetadataRequest
218
297
  include Google::Apis::Core::Hashable
219
298
 
220
- # Required. A Cloud Storage URI of a folder that metadata are exported to, in
221
- # the format gs:///. A sub-folder containing exported files will be created
222
- # below it.
299
+ # Optional. The type of the database dump. If unspecified, defaults to MYSQL.
300
+ # Corresponds to the JSON property `databaseDumpType`
301
+ # @return [String]
302
+ attr_accessor :database_dump_type
303
+
304
+ # A Cloud Storage URI of a folder, in the format gs:///. A sub-folder containing
305
+ # exported files will be created below it.
223
306
  # Corresponds to the JSON property `destinationGcsFolder`
224
307
  # @return [String]
225
308
  attr_accessor :destination_gcs_folder
@@ -242,6 +325,7 @@ module Google
242
325
 
243
326
  # Update properties of this object
244
327
  def update!(**args)
328
+ @database_dump_type = args[:database_dump_type] if args.key?(:database_dump_type)
245
329
  @destination_gcs_folder = args[:destination_gcs_folder] if args.key?(:destination_gcs_folder)
246
330
  @request_id = args[:request_id] if args.key?(:request_id)
247
331
  end
@@ -301,65 +385,6 @@ module Google
301
385
  end
302
386
  end
303
387
 
304
- # Represents the metadata of a long-running operation.
305
- class GoogleCloudMetastoreV1alphaOperationMetadata
306
- include Google::Apis::Core::Hashable
307
-
308
- # Output only. API version used to start the operation.
309
- # Corresponds to the JSON property `apiVersion`
310
- # @return [String]
311
- attr_accessor :api_version
312
-
313
- # Output only. The time the operation was created.
314
- # Corresponds to the JSON property `createTime`
315
- # @return [String]
316
- attr_accessor :create_time
317
-
318
- # Output only. The time the operation finished running.
319
- # Corresponds to the JSON property `endTime`
320
- # @return [String]
321
- attr_accessor :end_time
322
-
323
- # Output only. Identifies whether the caller has requested cancellation of the
324
- # operation. Operations that have successfully been cancelled have Operation.
325
- # error value with a google.rpc.Status.code of 1, corresponding to Code.
326
- # CANCELLED.
327
- # Corresponds to the JSON property `requestedCancellation`
328
- # @return [Boolean]
329
- attr_accessor :requested_cancellation
330
- alias_method :requested_cancellation?, :requested_cancellation
331
-
332
- # Output only. Human-readable status of the operation, if any.
333
- # Corresponds to the JSON property `statusMessage`
334
- # @return [String]
335
- attr_accessor :status_message
336
-
337
- # Output only. Server-defined resource path for the target of the operation.
338
- # Corresponds to the JSON property `target`
339
- # @return [String]
340
- attr_accessor :target
341
-
342
- # Output only. Name of the verb executed by the operation.
343
- # Corresponds to the JSON property `verb`
344
- # @return [String]
345
- attr_accessor :verb
346
-
347
- def initialize(**args)
348
- update!(**args)
349
- end
350
-
351
- # Update properties of this object
352
- def update!(**args)
353
- @api_version = args[:api_version] if args.key?(:api_version)
354
- @create_time = args[:create_time] if args.key?(:create_time)
355
- @end_time = args[:end_time] if args.key?(:end_time)
356
- @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
357
- @status_message = args[:status_message] if args.key?(:status_message)
358
- @target = args[:target] if args.key?(:target)
359
- @verb = args[:verb] if args.key?(:verb)
360
- end
361
- end
362
-
363
388
  # Specifies configuration information specific to running Hive metastore
364
389
  # software as the metastore service.
365
390
  class HiveMetastoreConfig
@@ -438,7 +463,7 @@ module Google
438
463
  attr_accessor :krb5_config_gcs_uri
439
464
 
440
465
  # A Kerberos principal that exists in the both the keytab the KDC to
441
- # authenticate as. A typical principal is of the form "primary/instance@REALM",
466
+ # authenticate as. A typical principal is of the form primary/instance@REALM,
442
467
  # but there is no exact format.
443
468
  # Corresponds to the JSON property `principal`
444
469
  # @return [String]
@@ -456,6 +481,38 @@ module Google
456
481
  end
457
482
  end
458
483
 
484
+ # Response message for DataprocMetastore.ListBackups.
485
+ class ListBackupsResponse
486
+ include Google::Apis::Core::Hashable
487
+
488
+ # The backups of the specified service.
489
+ # Corresponds to the JSON property `backups`
490
+ # @return [Array<Google::Apis::MetastoreV1alpha::Backup>]
491
+ attr_accessor :backups
492
+
493
+ # A token that can be sent as page_token to retrieve the next page. If this
494
+ # field is omitted, there are no subsequent pages.
495
+ # Corresponds to the JSON property `nextPageToken`
496
+ # @return [String]
497
+ attr_accessor :next_page_token
498
+
499
+ # Locations that could not be reached.
500
+ # Corresponds to the JSON property `unreachable`
501
+ # @return [Array<String>]
502
+ attr_accessor :unreachable
503
+
504
+ def initialize(**args)
505
+ update!(**args)
506
+ end
507
+
508
+ # Update properties of this object
509
+ def update!(**args)
510
+ @backups = args[:backups] if args.key?(:backups)
511
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
512
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
513
+ end
514
+ end
515
+
459
516
  # The response message for Locations.ListLocations.
460
517
  class ListLocationsResponse
461
518
  include Google::Apis::Core::Hashable
@@ -668,8 +725,13 @@ module Google
668
725
  class MetadataExport
669
726
  include Google::Apis::Core::Hashable
670
727
 
728
+ # Output only. The type of the database dump.
729
+ # Corresponds to the JSON property `databaseDumpType`
730
+ # @return [String]
731
+ attr_accessor :database_dump_type
732
+
671
733
  # Output only. A Cloud Storage URI of a folder that metadata are exported to, in
672
- # the form of gs:////, where ` is automatically generated.
734
+ # the form of gs:////, where is automatically generated.
673
735
  # Corresponds to the JSON property `destinationGcsUri`
674
736
  # @return [String]
675
737
  attr_accessor :destination_gcs_uri
@@ -695,6 +757,7 @@ module Google
695
757
 
696
758
  # Update properties of this object
697
759
  def update!(**args)
760
+ @database_dump_type = args[:database_dump_type] if args.key?(:database_dump_type)
698
761
  @destination_gcs_uri = args[:destination_gcs_uri] if args.key?(:destination_gcs_uri)
699
762
  @end_time = args[:end_time] if args.key?(:end_time)
700
763
  @start_time = args[:start_time] if args.key?(:start_time)
@@ -722,9 +785,9 @@ module Google
722
785
  # @return [String]
723
786
  attr_accessor :description
724
787
 
725
- # Immutable. The relative resource name of the metadata import, of the form:"
788
+ # Immutable. The relative resource name of the metadata import, of the form:
726
789
  # projects/`project_number`/locations/`location_id`/services/`service_id`/
727
- # metadataImports/`metadata_import_id`".
790
+ # metadataImports/`metadata_import_id`.
728
791
  # Corresponds to the JSON property `name`
729
792
  # @return [String]
730
793
  attr_accessor :name
@@ -758,12 +821,19 @@ module Google
758
821
  class MetadataIntegration
759
822
  include Google::Apis::Core::Hashable
760
823
 
824
+ # Specifies how metastore metadata should be integrated with the Data Catalog
825
+ # service.
826
+ # Corresponds to the JSON property `dataCatalogConfig`
827
+ # @return [Google::Apis::MetastoreV1alpha::DataCatalogConfig]
828
+ attr_accessor :data_catalog_config
829
+
761
830
  def initialize(**args)
762
831
  update!(**args)
763
832
  end
764
833
 
765
834
  # Update properties of this object
766
835
  def update!(**args)
836
+ @data_catalog_config = args[:data_catalog_config] if args.key?(:data_catalog_config)
767
837
  end
768
838
  end
769
839
 
@@ -854,6 +924,65 @@ module Google
854
924
  end
855
925
  end
856
926
 
927
+ # Represents the metadata of a long-running operation.
928
+ class OperationMetadata
929
+ include Google::Apis::Core::Hashable
930
+
931
+ # Output only. API version used to start the operation.
932
+ # Corresponds to the JSON property `apiVersion`
933
+ # @return [String]
934
+ attr_accessor :api_version
935
+
936
+ # Output only. The time the operation was created.
937
+ # Corresponds to the JSON property `createTime`
938
+ # @return [String]
939
+ attr_accessor :create_time
940
+
941
+ # Output only. The time the operation finished running.
942
+ # Corresponds to the JSON property `endTime`
943
+ # @return [String]
944
+ attr_accessor :end_time
945
+
946
+ # Output only. Identifies whether the caller has requested cancellation of the
947
+ # operation. Operations that have successfully been cancelled have Operation.
948
+ # error value with a google.rpc.Status.code of 1, corresponding to Code.
949
+ # CANCELLED.
950
+ # Corresponds to the JSON property `requestedCancellation`
951
+ # @return [Boolean]
952
+ attr_accessor :requested_cancellation
953
+ alias_method :requested_cancellation?, :requested_cancellation
954
+
955
+ # Output only. Human-readable status of the operation, if any.
956
+ # Corresponds to the JSON property `statusMessage`
957
+ # @return [String]
958
+ attr_accessor :status_message
959
+
960
+ # Output only. Server-defined resource path for the target of the operation.
961
+ # Corresponds to the JSON property `target`
962
+ # @return [String]
963
+ attr_accessor :target
964
+
965
+ # Output only. Name of the verb executed by the operation.
966
+ # Corresponds to the JSON property `verb`
967
+ # @return [String]
968
+ attr_accessor :verb
969
+
970
+ def initialize(**args)
971
+ update!(**args)
972
+ end
973
+
974
+ # Update properties of this object
975
+ def update!(**args)
976
+ @api_version = args[:api_version] if args.key?(:api_version)
977
+ @create_time = args[:create_time] if args.key?(:create_time)
978
+ @end_time = args[:end_time] if args.key?(:end_time)
979
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
980
+ @status_message = args[:status_message] if args.key?(:status_message)
981
+ @target = args[:target] if args.key?(:target)
982
+ @verb = args[:verb] if args.key?(:verb)
983
+ end
984
+ end
985
+
857
986
  # An Identity and Access Management (IAM) policy, which specifies access
858
987
  # controls for Google Cloud resources.A Policy is a collection of bindings. A
859
988
  # binding binds one or more members to a single role. Members can be user
@@ -948,11 +1077,17 @@ module Google
948
1077
 
949
1078
  # Output only. The relative resource name of the metastore service backup to
950
1079
  # restore from, in the following form:projects/`project_id`/locations/`
951
- # location_id`/services/`service_id`/backups/`backup_id`
1080
+ # location_id`/services/`service_id`/backups/`backup_id`.
952
1081
  # Corresponds to the JSON property `backup`
953
1082
  # @return [String]
954
1083
  attr_accessor :backup
955
1084
 
1085
+ # Output only. The restore details containing the revision of the service to be
1086
+ # restored to, in format of JSON.
1087
+ # Corresponds to the JSON property `details`
1088
+ # @return [String]
1089
+ attr_accessor :details
1090
+
956
1091
  # Output only. The time when the restore ended.
957
1092
  # Corresponds to the JSON property `endTime`
958
1093
  # @return [String]
@@ -980,6 +1115,7 @@ module Google
980
1115
  # Update properties of this object
981
1116
  def update!(**args)
982
1117
  @backup = args[:backup] if args.key?(:backup)
1118
+ @details = args[:details] if args.key?(:details)
983
1119
  @end_time = args[:end_time] if args.key?(:end_time)
984
1120
  @start_time = args[:start_time] if args.key?(:start_time)
985
1121
  @state = args[:state] if args.key?(:state)
@@ -987,13 +1123,53 @@ module Google
987
1123
  end
988
1124
  end
989
1125
 
1126
+ # Request message for DataprocMetastore.Restore.
1127
+ class RestoreServiceRequest
1128
+ include Google::Apis::Core::Hashable
1129
+
1130
+ # Required. The relative resource name of the metastore service backup to
1131
+ # restore from, in the following form:projects/`project_id`/locations/`
1132
+ # location_id`/services/`service_id`/backups/`backup_id`.
1133
+ # Corresponds to the JSON property `backup`
1134
+ # @return [String]
1135
+ attr_accessor :backup
1136
+
1137
+ # Optional. A request ID. Specify a unique request ID to allow the server to
1138
+ # ignore the request if it has completed. The server will ignore subsequent
1139
+ # requests that provide a duplicate request ID for at least 60 minutes after the
1140
+ # first request.For example, if an initial request times out, followed by
1141
+ # another request with the same request ID, the server ignores the second
1142
+ # request to prevent the creation of duplicate commitments.The request ID must
1143
+ # be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#
1144
+ # Format). A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
1145
+ # Corresponds to the JSON property `requestId`
1146
+ # @return [String]
1147
+ attr_accessor :request_id
1148
+
1149
+ # Optional. The type of restore. If unspecified, defaults to METADATA_ONLY.
1150
+ # Corresponds to the JSON property `restoreType`
1151
+ # @return [String]
1152
+ attr_accessor :restore_type
1153
+
1154
+ def initialize(**args)
1155
+ update!(**args)
1156
+ end
1157
+
1158
+ # Update properties of this object
1159
+ def update!(**args)
1160
+ @backup = args[:backup] if args.key?(:backup)
1161
+ @request_id = args[:request_id] if args.key?(:request_id)
1162
+ @restore_type = args[:restore_type] if args.key?(:restore_type)
1163
+ end
1164
+ end
1165
+
990
1166
  # A securely stored value.
991
1167
  class Secret
992
1168
  include Google::Apis::Core::Hashable
993
1169
 
994
1170
  # The relative resource name of a Secret Manager secret version, in the
995
- # following form:"projects/`project_number`/secrets/`secret_id`/versions/`
996
- # version_id`".
1171
+ # following form:projects/`project_number`/secrets/`secret_id`/versions/`
1172
+ # version_id`.
997
1173
  # Corresponds to the JSON property `cloudSecret`
998
1174
  # @return [String]
999
1175
  attr_accessor :cloud_secret
@@ -1055,15 +1231,15 @@ module Google
1055
1231
  # @return [Google::Apis::MetastoreV1alpha::MetadataManagementActivity]
1056
1232
  attr_accessor :metadata_management_activity
1057
1233
 
1058
- # Immutable. The relative resource name of the metastore service, of the form:"
1059
- # projects/`project_number`/locations/`location_id`/services/`service_id`".
1234
+ # Immutable. The relative resource name of the metastore service, of the form:
1235
+ # projects/`project_number`/locations/`location_id`/services/`service_id`.
1060
1236
  # Corresponds to the JSON property `name`
1061
1237
  # @return [String]
1062
1238
  attr_accessor :name
1063
1239
 
1064
1240
  # Immutable. The relative resource name of the VPC network on which the instance
1065
- # can be accessed. It is specified in the following form:"projects/`
1066
- # project_number`/global/networks/`network_id`".
1241
+ # can be accessed. It is specified in the following form:projects/`
1242
+ # project_number`/global/networks/`network_id`.
1067
1243
  # Corresponds to the JSON property `network`
1068
1244
  # @return [String]
1069
1245
  attr_accessor :network
@@ -1073,6 +1249,12 @@ module Google
1073
1249
  # @return [Fixnum]
1074
1250
  attr_accessor :port
1075
1251
 
1252
+ # Immutable. The release channel of the service. If unspecified, defaults to
1253
+ # STABLE.
1254
+ # Corresponds to the JSON property `releaseChannel`
1255
+ # @return [String]
1256
+ attr_accessor :release_channel
1257
+
1076
1258
  # Output only. The current state of the metastore service.
1077
1259
  # Corresponds to the JSON property `state`
1078
1260
  # @return [String]
@@ -1116,6 +1298,7 @@ module Google
1116
1298
  @name = args[:name] if args.key?(:name)
1117
1299
  @network = args[:network] if args.key?(:network)
1118
1300
  @port = args[:port] if args.key?(:port)
1301
+ @release_channel = args[:release_channel] if args.key?(:release_channel)
1119
1302
  @state = args[:state] if args.key?(:state)
1120
1303
  @state_message = args[:state_message] if args.key?(:state_message)
1121
1304
  @tier = args[:tier] if args.key?(:tier)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MetastoreV1alpha
18
18
  # Version of the google-apis-metastore_v1alpha gem
19
- GEM_VERSION = "0.2.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210210"
25
+ REVISION = "20210325"
26
26
  end
27
27
  end
28
28
  end
@@ -34,12 +34,24 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class Backup
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class Binding
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
40
46
  include Google::Apis::Core::JsonObjectSupport
41
47
  end
42
48
 
49
+ class DataCatalogConfig
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
43
55
  class DatabaseDump
44
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
57
 
@@ -64,25 +76,25 @@ module Google
64
76
  include Google::Apis::Core::JsonObjectSupport
65
77
  end
66
78
 
67
- class GoogleCloudMetastoreV1alphaOperationMetadata
79
+ class HiveMetastoreConfig
68
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
81
 
70
82
  include Google::Apis::Core::JsonObjectSupport
71
83
  end
72
84
 
73
- class HiveMetastoreConfig
85
+ class HiveMetastoreVersion
74
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
87
 
76
88
  include Google::Apis::Core::JsonObjectSupport
77
89
  end
78
90
 
79
- class HiveMetastoreVersion
91
+ class KerberosConfig
80
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
93
 
82
94
  include Google::Apis::Core::JsonObjectSupport
83
95
  end
84
96
 
85
- class KerberosConfig
97
+ class ListBackupsResponse
86
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
99
 
88
100
  include Google::Apis::Core::JsonObjectSupport
@@ -160,6 +172,12 @@ module Google
160
172
  include Google::Apis::Core::JsonObjectSupport
161
173
  end
162
174
 
175
+ class OperationMetadata
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
163
181
  class Policy
164
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
183
 
@@ -172,6 +190,12 @@ module Google
172
190
  include Google::Apis::Core::JsonObjectSupport
173
191
  end
174
192
 
193
+ class RestoreServiceRequest
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
175
199
  class Secret
176
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
201
 
@@ -225,6 +249,19 @@ module Google
225
249
  end
226
250
  end
227
251
 
252
+ class Backup
253
+ # @private
254
+ class Representation < Google::Apis::Core::JsonRepresentation
255
+ property :create_time, as: 'createTime'
256
+ property :description, as: 'description'
257
+ property :end_time, as: 'endTime'
258
+ property :name, as: 'name'
259
+ property :service_revision, as: 'serviceRevision', class: Google::Apis::MetastoreV1alpha::Service, decorator: Google::Apis::MetastoreV1alpha::Service::Representation
260
+
261
+ property :state, as: 'state'
262
+ end
263
+ end
264
+
228
265
  class Binding
229
266
  # @private
230
267
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -235,12 +272,20 @@ module Google
235
272
  end
236
273
  end
237
274
 
275
+ class DataCatalogConfig
276
+ # @private
277
+ class Representation < Google::Apis::Core::JsonRepresentation
278
+ property :enabled, as: 'enabled'
279
+ end
280
+ end
281
+
238
282
  class DatabaseDump
239
283
  # @private
240
284
  class Representation < Google::Apis::Core::JsonRepresentation
241
285
  property :database_type, as: 'databaseType'
242
286
  property :gcs_uri, as: 'gcsUri'
243
287
  property :source_database, as: 'sourceDatabase'
288
+ property :type, as: 'type'
244
289
  end
245
290
  end
246
291
 
@@ -253,6 +298,7 @@ module Google
253
298
  class ExportMetadataRequest
254
299
  # @private
255
300
  class Representation < Google::Apis::Core::JsonRepresentation
301
+ property :database_dump_type, as: 'databaseDumpType'
256
302
  property :destination_gcs_folder, as: 'destinationGcsFolder'
257
303
  property :request_id, as: 'requestId'
258
304
  end
@@ -268,19 +314,6 @@ module Google
268
314
  end
269
315
  end
270
316
 
271
- class GoogleCloudMetastoreV1alphaOperationMetadata
272
- # @private
273
- class Representation < Google::Apis::Core::JsonRepresentation
274
- property :api_version, as: 'apiVersion'
275
- property :create_time, as: 'createTime'
276
- property :end_time, as: 'endTime'
277
- property :requested_cancellation, as: 'requestedCancellation'
278
- property :status_message, as: 'statusMessage'
279
- property :target, as: 'target'
280
- property :verb, as: 'verb'
281
- end
282
- end
283
-
284
317
  class HiveMetastoreConfig
285
318
  # @private
286
319
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -309,6 +342,16 @@ module Google
309
342
  end
310
343
  end
311
344
 
345
+ class ListBackupsResponse
346
+ # @private
347
+ class Representation < Google::Apis::Core::JsonRepresentation
348
+ collection :backups, as: 'backups', class: Google::Apis::MetastoreV1alpha::Backup, decorator: Google::Apis::MetastoreV1alpha::Backup::Representation
349
+
350
+ property :next_page_token, as: 'nextPageToken'
351
+ collection :unreachable, as: 'unreachable'
352
+ end
353
+ end
354
+
312
355
  class ListLocationsResponse
313
356
  # @private
314
357
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -377,6 +420,7 @@ module Google
377
420
  class MetadataExport
378
421
  # @private
379
422
  class Representation < Google::Apis::Core::JsonRepresentation
423
+ property :database_dump_type, as: 'databaseDumpType'
380
424
  property :destination_gcs_uri, as: 'destinationGcsUri'
381
425
  property :end_time, as: 'endTime'
382
426
  property :start_time, as: 'startTime'
@@ -400,6 +444,8 @@ module Google
400
444
  class MetadataIntegration
401
445
  # @private
402
446
  class Representation < Google::Apis::Core::JsonRepresentation
447
+ property :data_catalog_config, as: 'dataCatalogConfig', class: Google::Apis::MetastoreV1alpha::DataCatalogConfig, decorator: Google::Apis::MetastoreV1alpha::DataCatalogConfig::Representation
448
+
403
449
  end
404
450
  end
405
451
 
@@ -425,6 +471,19 @@ module Google
425
471
  end
426
472
  end
427
473
 
474
+ class OperationMetadata
475
+ # @private
476
+ class Representation < Google::Apis::Core::JsonRepresentation
477
+ property :api_version, as: 'apiVersion'
478
+ property :create_time, as: 'createTime'
479
+ property :end_time, as: 'endTime'
480
+ property :requested_cancellation, as: 'requestedCancellation'
481
+ property :status_message, as: 'statusMessage'
482
+ property :target, as: 'target'
483
+ property :verb, as: 'verb'
484
+ end
485
+ end
486
+
428
487
  class Policy
429
488
  # @private
430
489
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -441,6 +500,7 @@ module Google
441
500
  # @private
442
501
  class Representation < Google::Apis::Core::JsonRepresentation
443
502
  property :backup, as: 'backup'
503
+ property :details, as: 'details'
444
504
  property :end_time, as: 'endTime'
445
505
  property :start_time, as: 'startTime'
446
506
  property :state, as: 'state'
@@ -448,6 +508,15 @@ module Google
448
508
  end
449
509
  end
450
510
 
511
+ class RestoreServiceRequest
512
+ # @private
513
+ class Representation < Google::Apis::Core::JsonRepresentation
514
+ property :backup, as: 'backup'
515
+ property :request_id, as: 'requestId'
516
+ property :restore_type, as: 'restoreType'
517
+ end
518
+ end
519
+
451
520
  class Secret
452
521
  # @private
453
522
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -473,6 +542,7 @@ module Google
473
542
  property :name, as: 'name'
474
543
  property :network, as: 'network'
475
544
  property :port, as: 'port'
545
+ property :release_channel, as: 'releaseChannel'
476
546
  property :state, as: 'state'
477
547
  property :state_message, as: 'stateMessage'
478
548
  property :tier, as: 'tier'
@@ -84,11 +84,15 @@ module Google
84
84
  # @param [String] name
85
85
  # The resource that owns the locations collection, if applicable.
86
86
  # @param [String] filter
87
- # The standard list filter.
87
+ # A filter to narrow down results to a preferred subset. The filtering language
88
+ # accepts strings like "displayName=tokyo", and is documented in more detail in
89
+ # AIP-160 (https://google.aip.dev/160).
88
90
  # @param [Fixnum] page_size
89
- # The standard list page size.
91
+ # The maximum number of results to return. If not set, the service will select a
92
+ # default.
90
93
  # @param [String] page_token
91
- # The standard list page token.
94
+ # A page token received from the next_page_token field in the response. Send
95
+ # that page token to receive the subsequent page.
92
96
  # @param [String] fields
93
97
  # Selector specifying which fields to include in a partial response.
94
98
  # @param [String] quota_user
@@ -232,8 +236,8 @@ module Google
232
236
  # Creates a metastore service in a project and location.
233
237
  # @param [String] parent
234
238
  # Required. The relative resource name of the location in which to create a
235
- # metastore service, in the following form:"projects/`project_number`/locations/`
236
- # location_id`".
239
+ # metastore service, in the following form:projects/`project_number`/locations/`
240
+ # location_id`.
237
241
  # @param [Google::Apis::MetastoreV1alpha::Service] service_object
238
242
  # @param [String] request_id
239
243
  # Optional. A request ID. Specify a unique request ID to allow the server to
@@ -283,8 +287,8 @@ module Google
283
287
  # Deletes a single service.
284
288
  # @param [String] name
285
289
  # Required. The relative resource name of the metastore service to delete, in
286
- # the following form:"projects/`project_number`/locations/`location_id`/services/
287
- # `service_id`".
290
+ # the following form:projects/`project_number`/locations/`location_id`/services/`
291
+ # service_id`.
288
292
  # @param [String] request_id
289
293
  # Optional. A request ID. Specify a unique request ID to allow the server to
290
294
  # ignore the request if it has completed. The server will ignore subsequent
@@ -325,8 +329,8 @@ module Google
325
329
  # Exports metadata from a service.
326
330
  # @param [String] service
327
331
  # Required. The relative resource name of the metastore service to run export,
328
- # in the following form:"projects/`project_id`/locations/`location_id`/services/`
329
- # service_id`
332
+ # in the following form:projects/`project_id`/locations/`location_id`/services/`
333
+ # service_id`.
330
334
  # @param [Google::Apis::MetastoreV1alpha::ExportMetadataRequest] export_metadata_request_object
331
335
  # @param [String] fields
332
336
  # Selector specifying which fields to include in a partial response.
@@ -360,8 +364,8 @@ module Google
360
364
  # Gets the details of a single service.
361
365
  # @param [String] name
362
366
  # Required. The relative resource name of the metastore service to retrieve, in
363
- # the following form:"projects/`project_number`/locations/`location_id`/services/
364
- # `service_id`".
367
+ # the following form:projects/`project_number`/locations/`location_id`/services/`
368
+ # service_id`.
365
369
  # @param [String] fields
366
370
  # Selector specifying which fields to include in a partial response.
367
371
  # @param [String] quota_user
@@ -432,13 +436,13 @@ module Google
432
436
  # Lists services in a project and location.
433
437
  # @param [String] parent
434
438
  # Required. The relative resource name of the location of metastore services to
435
- # list, in the following form:"projects/`project_number`/locations/`location_id`"
436
- # .
439
+ # list, in the following form:projects/`project_number`/locations/`location_id`.
437
440
  # @param [String] filter
438
441
  # Optional. The filter to apply to list results.
439
442
  # @param [String] order_by
440
- # Optional. Specify the ordering of results as described in Sorting Order. If
441
- # not specified, the results will be sorted in the default order.
443
+ # Optional. Specify the ordering of results as described in Sorting Order (https:
444
+ # //cloud.google.com/apis/design/design_patterns#sorting_order). If not
445
+ # specified, the results will be sorted in the default order.
442
446
  # @param [Fixnum] page_size
443
447
  # Optional. The maximum number of services to return. The response may contain
444
448
  # less than the maximum number. If unspecified, no more than 500 services are
@@ -482,8 +486,8 @@ module Google
482
486
 
483
487
  # Updates the parameters of a single service.
484
488
  # @param [String] name
485
- # Immutable. The relative resource name of the metastore service, of the form:"
486
- # projects/`project_number`/locations/`location_id`/services/`service_id`".
489
+ # Immutable. The relative resource name of the metastore service, of the form:
490
+ # projects/`project_number`/locations/`location_id`/services/`service_id`.
487
491
  # @param [Google::Apis::MetastoreV1alpha::Service] service_object
488
492
  # @param [String] request_id
489
493
  # Optional. A request ID. Specify a unique request ID to allow the server to
@@ -530,6 +534,41 @@ module Google
530
534
  execute_or_queue_command(command, &block)
531
535
  end
532
536
 
537
+ # Restores a service from a backup.
538
+ # @param [String] service
539
+ # Required. The relative resource name of the metastore service to run restore,
540
+ # in the following form:projects/`project_id`/locations/`location_id`/services/`
541
+ # service_id`.
542
+ # @param [Google::Apis::MetastoreV1alpha::RestoreServiceRequest] restore_service_request_object
543
+ # @param [String] fields
544
+ # Selector specifying which fields to include in a partial response.
545
+ # @param [String] quota_user
546
+ # Available to use for quota purposes for server-side applications. Can be any
547
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
548
+ # @param [Google::Apis::RequestOptions] options
549
+ # Request-specific options
550
+ #
551
+ # @yield [result, err] Result & error if block supplied
552
+ # @yieldparam result [Google::Apis::MetastoreV1alpha::Operation] parsed result object
553
+ # @yieldparam err [StandardError] error object if request failed
554
+ #
555
+ # @return [Google::Apis::MetastoreV1alpha::Operation]
556
+ #
557
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
558
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
559
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
560
+ def restore_service(service, restore_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
561
+ command = make_simple_command(:post, 'v1alpha/{+service}:restore', options)
562
+ command.request_representation = Google::Apis::MetastoreV1alpha::RestoreServiceRequest::Representation
563
+ command.request_object = restore_service_request_object
564
+ command.response_representation = Google::Apis::MetastoreV1alpha::Operation::Representation
565
+ command.response_class = Google::Apis::MetastoreV1alpha::Operation
566
+ command.params['service'] = service unless service.nil?
567
+ command.query['fields'] = fields unless fields.nil?
568
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
569
+ execute_or_queue_command(command, &block)
570
+ end
571
+
533
572
  # Sets the access control policy on the specified resource. Replaces any
534
573
  # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
535
574
  # errors.
@@ -604,11 +643,187 @@ module Google
604
643
  execute_or_queue_command(command, &block)
605
644
  end
606
645
 
646
+ # Creates a new Backup in a given project and location.
647
+ # @param [String] parent
648
+ # Required. The relative resource name of the service in which to create a
649
+ # backup of the following form:projects/`project_number`/locations/`location_id`/
650
+ # services/`service_id`.
651
+ # @param [Google::Apis::MetastoreV1alpha::Backup] backup_object
652
+ # @param [String] backup_id
653
+ # Required. The ID of the backup, which is used as the final component of the
654
+ # backup's name.This value must be between 1 and 64 characters long, begin with
655
+ # a letter, end with a letter or number, and consist of alpha-numeric ASCII
656
+ # characters or hyphens.
657
+ # @param [String] request_id
658
+ # Optional. A request ID. Specify a unique request ID to allow the server to
659
+ # ignore the request if it has completed. The server will ignore subsequent
660
+ # requests that provide a duplicate request ID for at least 60 minutes after the
661
+ # first request.For example, if an initial request times out, followed by
662
+ # another request with the same request ID, the server ignores the second
663
+ # request to prevent the creation of duplicate commitments.The request ID must
664
+ # be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#
665
+ # Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
666
+ # @param [String] fields
667
+ # Selector specifying which fields to include in a partial response.
668
+ # @param [String] quota_user
669
+ # Available to use for quota purposes for server-side applications. Can be any
670
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
671
+ # @param [Google::Apis::RequestOptions] options
672
+ # Request-specific options
673
+ #
674
+ # @yield [result, err] Result & error if block supplied
675
+ # @yieldparam result [Google::Apis::MetastoreV1alpha::Operation] parsed result object
676
+ # @yieldparam err [StandardError] error object if request failed
677
+ #
678
+ # @return [Google::Apis::MetastoreV1alpha::Operation]
679
+ #
680
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
681
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
682
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
683
+ def create_project_location_service_backup(parent, backup_object = nil, backup_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
684
+ command = make_simple_command(:post, 'v1alpha/{+parent}/backups', options)
685
+ command.request_representation = Google::Apis::MetastoreV1alpha::Backup::Representation
686
+ command.request_object = backup_object
687
+ command.response_representation = Google::Apis::MetastoreV1alpha::Operation::Representation
688
+ command.response_class = Google::Apis::MetastoreV1alpha::Operation
689
+ command.params['parent'] = parent unless parent.nil?
690
+ command.query['backupId'] = backup_id unless backup_id.nil?
691
+ command.query['requestId'] = request_id unless request_id.nil?
692
+ command.query['fields'] = fields unless fields.nil?
693
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
694
+ execute_or_queue_command(command, &block)
695
+ end
696
+
697
+ # Deletes a single backup.
698
+ # @param [String] name
699
+ # Required. The relative resource name of the backup to delete, in the following
700
+ # form:projects/`project_number`/locations/`location_id`/services/`service_id`/
701
+ # backups/`backup_id`.
702
+ # @param [String] request_id
703
+ # Optional. A request ID. Specify a unique request ID to allow the server to
704
+ # ignore the request if it has completed. The server will ignore subsequent
705
+ # requests that provide a duplicate request ID for at least 60 minutes after the
706
+ # first request.For example, if an initial request times out, followed by
707
+ # another request with the same request ID, the server ignores the second
708
+ # request to prevent the creation of duplicate commitments.The request ID must
709
+ # be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#
710
+ # Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
711
+ # @param [String] fields
712
+ # Selector specifying which fields to include in a partial response.
713
+ # @param [String] quota_user
714
+ # Available to use for quota purposes for server-side applications. Can be any
715
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
716
+ # @param [Google::Apis::RequestOptions] options
717
+ # Request-specific options
718
+ #
719
+ # @yield [result, err] Result & error if block supplied
720
+ # @yieldparam result [Google::Apis::MetastoreV1alpha::Operation] parsed result object
721
+ # @yieldparam err [StandardError] error object if request failed
722
+ #
723
+ # @return [Google::Apis::MetastoreV1alpha::Operation]
724
+ #
725
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
726
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
727
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
728
+ def delete_project_location_service_backup(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
729
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
730
+ command.response_representation = Google::Apis::MetastoreV1alpha::Operation::Representation
731
+ command.response_class = Google::Apis::MetastoreV1alpha::Operation
732
+ command.params['name'] = name unless name.nil?
733
+ command.query['requestId'] = request_id unless request_id.nil?
734
+ command.query['fields'] = fields unless fields.nil?
735
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
736
+ execute_or_queue_command(command, &block)
737
+ end
738
+
739
+ # Gets details of a single backup.
740
+ # @param [String] name
741
+ # Required. The relative resource name of the backup to retrieve, in the
742
+ # following form:projects/`project_number`/locations/`location_id`/services/`
743
+ # service_id`/backups/`backup_id`.
744
+ # @param [String] fields
745
+ # Selector specifying which fields to include in a partial response.
746
+ # @param [String] quota_user
747
+ # Available to use for quota purposes for server-side applications. Can be any
748
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
749
+ # @param [Google::Apis::RequestOptions] options
750
+ # Request-specific options
751
+ #
752
+ # @yield [result, err] Result & error if block supplied
753
+ # @yieldparam result [Google::Apis::MetastoreV1alpha::Backup] parsed result object
754
+ # @yieldparam err [StandardError] error object if request failed
755
+ #
756
+ # @return [Google::Apis::MetastoreV1alpha::Backup]
757
+ #
758
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
759
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
760
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
761
+ def get_project_location_service_backup(name, fields: nil, quota_user: nil, options: nil, &block)
762
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
763
+ command.response_representation = Google::Apis::MetastoreV1alpha::Backup::Representation
764
+ command.response_class = Google::Apis::MetastoreV1alpha::Backup
765
+ command.params['name'] = name unless name.nil?
766
+ command.query['fields'] = fields unless fields.nil?
767
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
768
+ execute_or_queue_command(command, &block)
769
+ end
770
+
771
+ # Lists backups in a service.
772
+ # @param [String] parent
773
+ # Required. The relative resource name of the service whose backups to list, in
774
+ # the following form:projects/`project_number`/locations/`location_id`/services/`
775
+ # service_id`/backups.
776
+ # @param [String] filter
777
+ # Optional. The filter to apply to list results.
778
+ # @param [String] order_by
779
+ # Optional. Specify the ordering of results as described in Sorting Order (https:
780
+ # //cloud.google.com/apis/design/design_patterns#sorting_order). If not
781
+ # specified, the results will be sorted in the default order.
782
+ # @param [Fixnum] page_size
783
+ # Optional. The maximum number of backups to return. The response may contain
784
+ # less than the maximum number. If unspecified, no more than 500 backups are
785
+ # returned. The maximum value is 1000; values above 1000 are changed to 1000.
786
+ # @param [String] page_token
787
+ # Optional. A page token, received from a previous DataprocMetastore.ListBackups
788
+ # call. Provide this token to retrieve the subsequent page.To retrieve the first
789
+ # page, supply an empty page token.When paginating, other parameters provided to
790
+ # DataprocMetastore.ListBackups must match the call that provided the page token.
791
+ # @param [String] fields
792
+ # Selector specifying which fields to include in a partial response.
793
+ # @param [String] quota_user
794
+ # Available to use for quota purposes for server-side applications. Can be any
795
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
796
+ # @param [Google::Apis::RequestOptions] options
797
+ # Request-specific options
798
+ #
799
+ # @yield [result, err] Result & error if block supplied
800
+ # @yieldparam result [Google::Apis::MetastoreV1alpha::ListBackupsResponse] parsed result object
801
+ # @yieldparam err [StandardError] error object if request failed
802
+ #
803
+ # @return [Google::Apis::MetastoreV1alpha::ListBackupsResponse]
804
+ #
805
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
806
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
807
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
808
+ def list_project_location_service_backups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
809
+ command = make_simple_command(:get, 'v1alpha/{+parent}/backups', options)
810
+ command.response_representation = Google::Apis::MetastoreV1alpha::ListBackupsResponse::Representation
811
+ command.response_class = Google::Apis::MetastoreV1alpha::ListBackupsResponse
812
+ command.params['parent'] = parent unless parent.nil?
813
+ command.query['filter'] = filter unless filter.nil?
814
+ command.query['orderBy'] = order_by unless order_by.nil?
815
+ command.query['pageSize'] = page_size unless page_size.nil?
816
+ command.query['pageToken'] = page_token unless page_token.nil?
817
+ command.query['fields'] = fields unless fields.nil?
818
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
819
+ execute_or_queue_command(command, &block)
820
+ end
821
+
607
822
  # Creates a new MetadataImport in a given project and location.
608
823
  # @param [String] parent
609
824
  # Required. The relative resource name of the service in which to create a
610
- # metastore import, in the following form:"projects/`project_number`/locations/`
611
- # location_id`/services/`service_id`"
825
+ # metastore import, in the following form:projects/`project_number`/locations/`
826
+ # location_id`/services/`service_id`.
612
827
  # @param [Google::Apis::MetastoreV1alpha::MetadataImport] metadata_import_object
613
828
  # @param [String] metadata_import_id
614
829
  # Required. The ID of the metadata import, which is used as the final component
@@ -658,8 +873,8 @@ module Google
658
873
  # Gets details of a single import.
659
874
  # @param [String] name
660
875
  # Required. The relative resource name of the metadata import to retrieve, in
661
- # the following form:"projects/`project_number`/locations/`location_id`/services/
662
- # `service_id`/metadataImports/`import_id`".
876
+ # the following form:projects/`project_number`/locations/`location_id`/services/`
877
+ # service_id`/metadataImports/`import_id`.
663
878
  # @param [String] fields
664
879
  # Selector specifying which fields to include in a partial response.
665
880
  # @param [String] quota_user
@@ -690,13 +905,14 @@ module Google
690
905
  # Lists imports in a service.
691
906
  # @param [String] parent
692
907
  # Required. The relative resource name of the service whose metadata imports to
693
- # list, in the following form:"projects/`project_number`/locations/`location_id`/
694
- # services/`service_id`/metadataImports".
908
+ # list, in the following form:projects/`project_number`/locations/`location_id`/
909
+ # services/`service_id`/metadataImports.
695
910
  # @param [String] filter
696
911
  # Optional. The filter to apply to list results.
697
912
  # @param [String] order_by
698
- # Optional. Specify the ordering of results as described in Sorting Order. If
699
- # not specified, the results will be sorted in the default order.
913
+ # Optional. Specify the ordering of results as described in Sorting Order (https:
914
+ # //cloud.google.com/apis/design/design_patterns#sorting_order). If not
915
+ # specified, the results will be sorted in the default order.
700
916
  # @param [Fixnum] page_size
701
917
  # Optional. The maximum number of imports to return. The response may contain
702
918
  # less than the maximum number. If unspecified, no more than 500 imports are
@@ -741,9 +957,9 @@ module Google
741
957
  # Updates a single import. Only the description field of MetadataImport is
742
958
  # supported to be updated.
743
959
  # @param [String] name
744
- # Immutable. The relative resource name of the metadata import, of the form:"
960
+ # Immutable. The relative resource name of the metadata import, of the form:
745
961
  # projects/`project_number`/locations/`location_id`/services/`service_id`/
746
- # metadataImports/`metadata_import_id`".
962
+ # metadataImports/`metadata_import_id`.
747
963
  # @param [Google::Apis::MetastoreV1alpha::MetadataImport] metadata_import_object
748
964
  # @param [String] request_id
749
965
  # Optional. A request ID. Specify a unique request ID to allow the server to
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-metastore_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-15 00:00:00.000000000 Z
11
+ date: 2021-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-metastore_v1alpha/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1alpha/v0.2.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1alpha/v0.7.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-metastore_v1alpha
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.6
72
+ rubygems_version: 3.2.13
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Dataproc Metastore API V1alpha