google-apis-metastore_v1alpha 0.1.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/google/apis/metastore_v1alpha.rb +1 -1
- data/lib/google/apis/metastore_v1alpha/classes.rb +126 -75
- data/lib/google/apis/metastore_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/metastore_v1alpha/representations.rb +38 -18
- data/lib/google/apis/metastore_v1alpha/service.rb +32 -27
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bcfd25ced3e901e58fa61058efeabdef0cd520a8a5cc4fc21b296661a33a52f9
|
4
|
+
data.tar.gz: c1e28cd6c806038b85a6abeae6660771a8605bc5e11e96b6dcfe703d22995d2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02340d07b2a533aaedb81bab34432fb32639d089382a29cb3c9069ca025c1b94011732c7bc8076043497f2aaf7578a3b270efc1cb5094bb5d40db87d1dd9c7d2
|
7
|
+
data.tar.gz: 2c54fd7b3fe537e0b40bebb5f8cdb9033cc7b72fa87321f6069d02ed0c84f7ce2955679b3bc44008a8060de388225be96d780b70b24b3d0289be4f56a6b91fec
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-metastore_v1alpha
|
2
2
|
|
3
|
+
### v0.6.0 (2021-03-20)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210318
|
6
|
+
|
7
|
+
### v0.5.0 (2021-03-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210305
|
10
|
+
* Regenerated using generator version 0.2.0
|
11
|
+
|
12
|
+
### v0.4.0 (2021-03-04)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210226
|
15
|
+
|
16
|
+
### v0.3.0 (2021-02-25)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210222
|
19
|
+
|
20
|
+
### v0.2.0 (2021-02-12)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210210
|
23
|
+
* Regenerated using generator version 0.1.2
|
24
|
+
|
3
25
|
### v0.1.0 (2021-01-07)
|
4
26
|
|
5
27
|
* Regenerated using generator version 0.1.1
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1alpha'
|
32
32
|
|
33
|
-
#
|
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
|
@@ -163,6 +163,28 @@ module Google
|
|
163
163
|
end
|
164
164
|
end
|
165
165
|
|
166
|
+
# Specifies how metastore metadata should be integrated with the Data Catalog
|
167
|
+
# service.
|
168
|
+
class DataCatalogConfig
|
169
|
+
include Google::Apis::Core::Hashable
|
170
|
+
|
171
|
+
# Defines whether the metastore metadata should be synced to Data Catalog. The
|
172
|
+
# default value is to disable syncing metastore metadata to Data Catalog.
|
173
|
+
# Corresponds to the JSON property `enabled`
|
174
|
+
# @return [Boolean]
|
175
|
+
attr_accessor :enabled
|
176
|
+
alias_method :enabled?, :enabled
|
177
|
+
|
178
|
+
def initialize(**args)
|
179
|
+
update!(**args)
|
180
|
+
end
|
181
|
+
|
182
|
+
# Update properties of this object
|
183
|
+
def update!(**args)
|
184
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
185
|
+
end
|
186
|
+
end
|
187
|
+
|
166
188
|
# A specification of the location of and metadata about a database dump from a
|
167
189
|
# relational database management system.
|
168
190
|
class DatabaseDump
|
@@ -173,8 +195,8 @@ module Google
|
|
173
195
|
# @return [String]
|
174
196
|
attr_accessor :database_type
|
175
197
|
|
176
|
-
# A Cloud Storage object URI that specifies the source from which to
|
177
|
-
# metadata. It must begin with gs://.
|
198
|
+
# A Cloud Storage object or folder URI that specifies the source from which to
|
199
|
+
# import metadata. It must begin with gs://.
|
178
200
|
# Corresponds to the JSON property `gcsUri`
|
179
201
|
# @return [String]
|
180
202
|
attr_accessor :gcs_uri
|
@@ -184,6 +206,11 @@ module Google
|
|
184
206
|
# @return [String]
|
185
207
|
attr_accessor :source_database
|
186
208
|
|
209
|
+
# Optional. The type of the database dump. If unspecified, defaults to MYSQL.
|
210
|
+
# Corresponds to the JSON property `type`
|
211
|
+
# @return [String]
|
212
|
+
attr_accessor :type
|
213
|
+
|
187
214
|
def initialize(**args)
|
188
215
|
update!(**args)
|
189
216
|
end
|
@@ -193,6 +220,7 @@ module Google
|
|
193
220
|
@database_type = args[:database_type] if args.key?(:database_type)
|
194
221
|
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
|
195
222
|
@source_database = args[:source_database] if args.key?(:source_database)
|
223
|
+
@type = args[:type] if args.key?(:type)
|
196
224
|
end
|
197
225
|
end
|
198
226
|
|
@@ -217,9 +245,13 @@ module Google
|
|
217
245
|
class ExportMetadataRequest
|
218
246
|
include Google::Apis::Core::Hashable
|
219
247
|
|
220
|
-
#
|
221
|
-
#
|
222
|
-
#
|
248
|
+
# Optional. The type of the database dump. If unspecified, defaults to MYSQL.
|
249
|
+
# Corresponds to the JSON property `databaseDumpType`
|
250
|
+
# @return [String]
|
251
|
+
attr_accessor :database_dump_type
|
252
|
+
|
253
|
+
# A Cloud Storage URI of a folder, in the format gs:///. A sub-folder containing
|
254
|
+
# exported files will be created below it.
|
223
255
|
# Corresponds to the JSON property `destinationGcsFolder`
|
224
256
|
# @return [String]
|
225
257
|
attr_accessor :destination_gcs_folder
|
@@ -242,6 +274,7 @@ module Google
|
|
242
274
|
|
243
275
|
# Update properties of this object
|
244
276
|
def update!(**args)
|
277
|
+
@database_dump_type = args[:database_dump_type] if args.key?(:database_dump_type)
|
245
278
|
@destination_gcs_folder = args[:destination_gcs_folder] if args.key?(:destination_gcs_folder)
|
246
279
|
@request_id = args[:request_id] if args.key?(:request_id)
|
247
280
|
end
|
@@ -301,65 +334,6 @@ module Google
|
|
301
334
|
end
|
302
335
|
end
|
303
336
|
|
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
337
|
# Specifies configuration information specific to running Hive metastore
|
364
338
|
# software as the metastore service.
|
365
339
|
class HiveMetastoreConfig
|
@@ -438,7 +412,7 @@ module Google
|
|
438
412
|
attr_accessor :krb5_config_gcs_uri
|
439
413
|
|
440
414
|
# A Kerberos principal that exists in the both the keytab the KDC to
|
441
|
-
# authenticate as. A typical principal is of the form
|
415
|
+
# authenticate as. A typical principal is of the form primary/instance@REALM,
|
442
416
|
# but there is no exact format.
|
443
417
|
# Corresponds to the JSON property `principal`
|
444
418
|
# @return [String]
|
@@ -668,8 +642,13 @@ module Google
|
|
668
642
|
class MetadataExport
|
669
643
|
include Google::Apis::Core::Hashable
|
670
644
|
|
645
|
+
# Output only. The type of the database dump.
|
646
|
+
# Corresponds to the JSON property `databaseDumpType`
|
647
|
+
# @return [String]
|
648
|
+
attr_accessor :database_dump_type
|
649
|
+
|
671
650
|
# Output only. A Cloud Storage URI of a folder that metadata are exported to, in
|
672
|
-
# the form of gs:////, where
|
651
|
+
# the form of gs:////, where is automatically generated.
|
673
652
|
# Corresponds to the JSON property `destinationGcsUri`
|
674
653
|
# @return [String]
|
675
654
|
attr_accessor :destination_gcs_uri
|
@@ -695,6 +674,7 @@ module Google
|
|
695
674
|
|
696
675
|
# Update properties of this object
|
697
676
|
def update!(**args)
|
677
|
+
@database_dump_type = args[:database_dump_type] if args.key?(:database_dump_type)
|
698
678
|
@destination_gcs_uri = args[:destination_gcs_uri] if args.key?(:destination_gcs_uri)
|
699
679
|
@end_time = args[:end_time] if args.key?(:end_time)
|
700
680
|
@start_time = args[:start_time] if args.key?(:start_time)
|
@@ -722,9 +702,9 @@ module Google
|
|
722
702
|
# @return [String]
|
723
703
|
attr_accessor :description
|
724
704
|
|
725
|
-
# Immutable. The relative resource name of the metadata import, of the form:
|
705
|
+
# Immutable. The relative resource name of the metadata import, of the form:
|
726
706
|
# projects/`project_number`/locations/`location_id`/services/`service_id`/
|
727
|
-
# metadataImports/`metadata_import_id
|
707
|
+
# metadataImports/`metadata_import_id`.
|
728
708
|
# Corresponds to the JSON property `name`
|
729
709
|
# @return [String]
|
730
710
|
attr_accessor :name
|
@@ -758,12 +738,19 @@ module Google
|
|
758
738
|
class MetadataIntegration
|
759
739
|
include Google::Apis::Core::Hashable
|
760
740
|
|
741
|
+
# Specifies how metastore metadata should be integrated with the Data Catalog
|
742
|
+
# service.
|
743
|
+
# Corresponds to the JSON property `dataCatalogConfig`
|
744
|
+
# @return [Google::Apis::MetastoreV1alpha::DataCatalogConfig]
|
745
|
+
attr_accessor :data_catalog_config
|
746
|
+
|
761
747
|
def initialize(**args)
|
762
748
|
update!(**args)
|
763
749
|
end
|
764
750
|
|
765
751
|
# Update properties of this object
|
766
752
|
def update!(**args)
|
753
|
+
@data_catalog_config = args[:data_catalog_config] if args.key?(:data_catalog_config)
|
767
754
|
end
|
768
755
|
end
|
769
756
|
|
@@ -776,6 +763,11 @@ module Google
|
|
776
763
|
# @return [Array<Google::Apis::MetastoreV1alpha::MetadataExport>]
|
777
764
|
attr_accessor :metadata_exports
|
778
765
|
|
766
|
+
# Output only. The latest restores of the metastore service.
|
767
|
+
# Corresponds to the JSON property `restores`
|
768
|
+
# @return [Array<Google::Apis::MetastoreV1alpha::Restore>]
|
769
|
+
attr_accessor :restores
|
770
|
+
|
779
771
|
def initialize(**args)
|
780
772
|
update!(**args)
|
781
773
|
end
|
@@ -783,6 +775,7 @@ module Google
|
|
783
775
|
# Update properties of this object
|
784
776
|
def update!(**args)
|
785
777
|
@metadata_exports = args[:metadata_exports] if args.key?(:metadata_exports)
|
778
|
+
@restores = args[:restores] if args.key?(:restores)
|
786
779
|
end
|
787
780
|
end
|
788
781
|
|
@@ -936,13 +929,65 @@ module Google
|
|
936
929
|
end
|
937
930
|
end
|
938
931
|
|
932
|
+
# The details of a metadata restore operation.
|
933
|
+
class Restore
|
934
|
+
include Google::Apis::Core::Hashable
|
935
|
+
|
936
|
+
# Output only. The relative resource name of the metastore service backup to
|
937
|
+
# restore from, in the following form:projects/`project_id`/locations/`
|
938
|
+
# location_id`/services/`service_id`/backups/`backup_id`.
|
939
|
+
# Corresponds to the JSON property `backup`
|
940
|
+
# @return [String]
|
941
|
+
attr_accessor :backup
|
942
|
+
|
943
|
+
# Output only. The restore details containing the revision of the service to be
|
944
|
+
# restored to, in format of JSON.
|
945
|
+
# Corresponds to the JSON property `details`
|
946
|
+
# @return [String]
|
947
|
+
attr_accessor :details
|
948
|
+
|
949
|
+
# Output only. The time when the restore ended.
|
950
|
+
# Corresponds to the JSON property `endTime`
|
951
|
+
# @return [String]
|
952
|
+
attr_accessor :end_time
|
953
|
+
|
954
|
+
# Output only. The time when the restore started.
|
955
|
+
# Corresponds to the JSON property `startTime`
|
956
|
+
# @return [String]
|
957
|
+
attr_accessor :start_time
|
958
|
+
|
959
|
+
# Output only. The current state of the restore.
|
960
|
+
# Corresponds to the JSON property `state`
|
961
|
+
# @return [String]
|
962
|
+
attr_accessor :state
|
963
|
+
|
964
|
+
# Output only. The type of restore.
|
965
|
+
# Corresponds to the JSON property `type`
|
966
|
+
# @return [String]
|
967
|
+
attr_accessor :type
|
968
|
+
|
969
|
+
def initialize(**args)
|
970
|
+
update!(**args)
|
971
|
+
end
|
972
|
+
|
973
|
+
# Update properties of this object
|
974
|
+
def update!(**args)
|
975
|
+
@backup = args[:backup] if args.key?(:backup)
|
976
|
+
@details = args[:details] if args.key?(:details)
|
977
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
978
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
979
|
+
@state = args[:state] if args.key?(:state)
|
980
|
+
@type = args[:type] if args.key?(:type)
|
981
|
+
end
|
982
|
+
end
|
983
|
+
|
939
984
|
# A securely stored value.
|
940
985
|
class Secret
|
941
986
|
include Google::Apis::Core::Hashable
|
942
987
|
|
943
988
|
# The relative resource name of a Secret Manager secret version, in the
|
944
|
-
# following form:
|
945
|
-
# version_id
|
989
|
+
# following form:projects/`project_number`/secrets/`secret_id`/versions/`
|
990
|
+
# version_id`.
|
946
991
|
# Corresponds to the JSON property `cloudSecret`
|
947
992
|
# @return [String]
|
948
993
|
attr_accessor :cloud_secret
|
@@ -1004,16 +1049,15 @@ module Google
|
|
1004
1049
|
# @return [Google::Apis::MetastoreV1alpha::MetadataManagementActivity]
|
1005
1050
|
attr_accessor :metadata_management_activity
|
1006
1051
|
|
1007
|
-
# Immutable. The relative resource name of the metastore service, of the form:
|
1008
|
-
# projects/`project_number`/locations/`location_id`/services/`service_id
|
1052
|
+
# Immutable. The relative resource name of the metastore service, of the form:
|
1053
|
+
# projects/`project_number`/locations/`location_id`/services/`service_id`.
|
1009
1054
|
# Corresponds to the JSON property `name`
|
1010
1055
|
# @return [String]
|
1011
1056
|
attr_accessor :name
|
1012
1057
|
|
1013
1058
|
# Immutable. The relative resource name of the VPC network on which the instance
|
1014
|
-
# can be accessed.
|
1015
|
-
#
|
1016
|
-
# global/networks/`network_id`".
|
1059
|
+
# can be accessed. It is specified in the following form:projects/`
|
1060
|
+
# project_number`/global/networks/`network_id`.
|
1017
1061
|
# Corresponds to the JSON property `network`
|
1018
1062
|
# @return [String]
|
1019
1063
|
attr_accessor :network
|
@@ -1023,6 +1067,12 @@ module Google
|
|
1023
1067
|
# @return [Fixnum]
|
1024
1068
|
attr_accessor :port
|
1025
1069
|
|
1070
|
+
# Immutable. The release channel of the service. If unspecified, defaults to
|
1071
|
+
# STABLE.
|
1072
|
+
# Corresponds to the JSON property `releaseChannel`
|
1073
|
+
# @return [String]
|
1074
|
+
attr_accessor :release_channel
|
1075
|
+
|
1026
1076
|
# Output only. The current state of the metastore service.
|
1027
1077
|
# Corresponds to the JSON property `state`
|
1028
1078
|
# @return [String]
|
@@ -1066,6 +1116,7 @@ module Google
|
|
1066
1116
|
@name = args[:name] if args.key?(:name)
|
1067
1117
|
@network = args[:network] if args.key?(:network)
|
1068
1118
|
@port = args[:port] if args.key?(:port)
|
1119
|
+
@release_channel = args[:release_channel] if args.key?(:release_channel)
|
1069
1120
|
@state = args[:state] if args.key?(:state)
|
1070
1121
|
@state_message = args[:state_message] if args.key?(:state_message)
|
1071
1122
|
@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.
|
19
|
+
GEM_VERSION = "0.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210318"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -40,31 +40,31 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
-
class
|
43
|
+
class DataCatalogConfig
|
44
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
45
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
-
class
|
49
|
+
class DatabaseDump
|
50
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
51
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
-
class
|
55
|
+
class Empty
|
56
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
57
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
59
59
|
end
|
60
60
|
|
61
|
-
class
|
61
|
+
class ExportMetadataRequest
|
62
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
63
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
-
class
|
67
|
+
class Expr
|
68
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
69
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -166,6 +166,12 @@ module Google
|
|
166
166
|
include Google::Apis::Core::JsonObjectSupport
|
167
167
|
end
|
168
168
|
|
169
|
+
class Restore
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
169
175
|
class Secret
|
170
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
177
|
|
@@ -229,12 +235,20 @@ module Google
|
|
229
235
|
end
|
230
236
|
end
|
231
237
|
|
238
|
+
class DataCatalogConfig
|
239
|
+
# @private
|
240
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
241
|
+
property :enabled, as: 'enabled'
|
242
|
+
end
|
243
|
+
end
|
244
|
+
|
232
245
|
class DatabaseDump
|
233
246
|
# @private
|
234
247
|
class Representation < Google::Apis::Core::JsonRepresentation
|
235
248
|
property :database_type, as: 'databaseType'
|
236
249
|
property :gcs_uri, as: 'gcsUri'
|
237
250
|
property :source_database, as: 'sourceDatabase'
|
251
|
+
property :type, as: 'type'
|
238
252
|
end
|
239
253
|
end
|
240
254
|
|
@@ -247,6 +261,7 @@ module Google
|
|
247
261
|
class ExportMetadataRequest
|
248
262
|
# @private
|
249
263
|
class Representation < Google::Apis::Core::JsonRepresentation
|
264
|
+
property :database_dump_type, as: 'databaseDumpType'
|
250
265
|
property :destination_gcs_folder, as: 'destinationGcsFolder'
|
251
266
|
property :request_id, as: 'requestId'
|
252
267
|
end
|
@@ -262,19 +277,6 @@ module Google
|
|
262
277
|
end
|
263
278
|
end
|
264
279
|
|
265
|
-
class GoogleCloudMetastoreV1alphaOperationMetadata
|
266
|
-
# @private
|
267
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
268
|
-
property :api_version, as: 'apiVersion'
|
269
|
-
property :create_time, as: 'createTime'
|
270
|
-
property :end_time, as: 'endTime'
|
271
|
-
property :requested_cancellation, as: 'requestedCancellation'
|
272
|
-
property :status_message, as: 'statusMessage'
|
273
|
-
property :target, as: 'target'
|
274
|
-
property :verb, as: 'verb'
|
275
|
-
end
|
276
|
-
end
|
277
|
-
|
278
280
|
class HiveMetastoreConfig
|
279
281
|
# @private
|
280
282
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -371,6 +373,7 @@ module Google
|
|
371
373
|
class MetadataExport
|
372
374
|
# @private
|
373
375
|
class Representation < Google::Apis::Core::JsonRepresentation
|
376
|
+
property :database_dump_type, as: 'databaseDumpType'
|
374
377
|
property :destination_gcs_uri, as: 'destinationGcsUri'
|
375
378
|
property :end_time, as: 'endTime'
|
376
379
|
property :start_time, as: 'startTime'
|
@@ -394,6 +397,8 @@ module Google
|
|
394
397
|
class MetadataIntegration
|
395
398
|
# @private
|
396
399
|
class Representation < Google::Apis::Core::JsonRepresentation
|
400
|
+
property :data_catalog_config, as: 'dataCatalogConfig', class: Google::Apis::MetastoreV1alpha::DataCatalogConfig, decorator: Google::Apis::MetastoreV1alpha::DataCatalogConfig::Representation
|
401
|
+
|
397
402
|
end
|
398
403
|
end
|
399
404
|
|
@@ -402,6 +407,8 @@ module Google
|
|
402
407
|
class Representation < Google::Apis::Core::JsonRepresentation
|
403
408
|
collection :metadata_exports, as: 'metadataExports', class: Google::Apis::MetastoreV1alpha::MetadataExport, decorator: Google::Apis::MetastoreV1alpha::MetadataExport::Representation
|
404
409
|
|
410
|
+
collection :restores, as: 'restores', class: Google::Apis::MetastoreV1alpha::Restore, decorator: Google::Apis::MetastoreV1alpha::Restore::Representation
|
411
|
+
|
405
412
|
end
|
406
413
|
end
|
407
414
|
|
@@ -429,6 +436,18 @@ module Google
|
|
429
436
|
end
|
430
437
|
end
|
431
438
|
|
439
|
+
class Restore
|
440
|
+
# @private
|
441
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
442
|
+
property :backup, as: 'backup'
|
443
|
+
property :details, as: 'details'
|
444
|
+
property :end_time, as: 'endTime'
|
445
|
+
property :start_time, as: 'startTime'
|
446
|
+
property :state, as: 'state'
|
447
|
+
property :type, as: 'type'
|
448
|
+
end
|
449
|
+
end
|
450
|
+
|
432
451
|
class Secret
|
433
452
|
# @private
|
434
453
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -454,6 +473,7 @@ module Google
|
|
454
473
|
property :name, as: 'name'
|
455
474
|
property :network, as: 'network'
|
456
475
|
property :port, as: 'port'
|
476
|
+
property :release_channel, as: 'releaseChannel'
|
457
477
|
property :state, as: 'state'
|
458
478
|
property :state_message, as: 'stateMessage'
|
459
479
|
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
|
-
#
|
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
|
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
|
-
#
|
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:
|
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:
|
287
|
-
#
|
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:
|
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:
|
364
|
-
#
|
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:
|
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
|
441
|
-
#
|
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
|
@@ -607,8 +611,8 @@ module Google
|
|
607
611
|
# Creates a new MetadataImport in a given project and location.
|
608
612
|
# @param [String] parent
|
609
613
|
# Required. The relative resource name of the service in which to create a
|
610
|
-
# metastore import, in the following form:
|
611
|
-
# location_id`/services/`service_id
|
614
|
+
# metastore import, in the following form:projects/`project_number`/locations/`
|
615
|
+
# location_id`/services/`service_id`.
|
612
616
|
# @param [Google::Apis::MetastoreV1alpha::MetadataImport] metadata_import_object
|
613
617
|
# @param [String] metadata_import_id
|
614
618
|
# Required. The ID of the metadata import, which is used as the final component
|
@@ -658,8 +662,8 @@ module Google
|
|
658
662
|
# Gets details of a single import.
|
659
663
|
# @param [String] name
|
660
664
|
# Required. The relative resource name of the metadata import to retrieve, in
|
661
|
-
# the following form:
|
662
|
-
#
|
665
|
+
# the following form:projects/`project_number`/locations/`location_id`/services/`
|
666
|
+
# service_id`/metadataImports/`import_id`.
|
663
667
|
# @param [String] fields
|
664
668
|
# Selector specifying which fields to include in a partial response.
|
665
669
|
# @param [String] quota_user
|
@@ -690,13 +694,14 @@ module Google
|
|
690
694
|
# Lists imports in a service.
|
691
695
|
# @param [String] parent
|
692
696
|
# Required. The relative resource name of the service whose metadata imports to
|
693
|
-
# list, in the following form:
|
694
|
-
# services/`service_id`/metadataImports
|
697
|
+
# list, in the following form:projects/`project_number`/locations/`location_id`/
|
698
|
+
# services/`service_id`/metadataImports.
|
695
699
|
# @param [String] filter
|
696
700
|
# Optional. The filter to apply to list results.
|
697
701
|
# @param [String] order_by
|
698
|
-
# Optional. Specify the ordering of results as described in Sorting Order
|
699
|
-
#
|
702
|
+
# Optional. Specify the ordering of results as described in Sorting Order (https:
|
703
|
+
# //cloud.google.com/apis/design/design_patterns#sorting_order). If not
|
704
|
+
# specified, the results will be sorted in the default order.
|
700
705
|
# @param [Fixnum] page_size
|
701
706
|
# Optional. The maximum number of imports to return. The response may contain
|
702
707
|
# less than the maximum number. If unspecified, no more than 500 imports are
|
@@ -741,9 +746,9 @@ module Google
|
|
741
746
|
# Updates a single import. Only the description field of MetadataImport is
|
742
747
|
# supported to be updated.
|
743
748
|
# @param [String] name
|
744
|
-
# Immutable. The relative resource name of the metadata import, of the form:
|
749
|
+
# Immutable. The relative resource name of the metadata import, of the form:
|
745
750
|
# projects/`project_number`/locations/`location_id`/services/`service_id`/
|
746
|
-
# metadataImports/`metadata_import_id
|
751
|
+
# metadataImports/`metadata_import_id`.
|
747
752
|
# @param [Google::Apis::MetastoreV1alpha::MetadataImport] metadata_import_object
|
748
753
|
# @param [String] request_id
|
749
754
|
# 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.
|
4
|
+
version: 0.6.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-
|
11
|
+
date: 2021-03-22 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.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1alpha/v0.6.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.
|
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.
|
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
|