google-apis-metastore_v1alpha 0.4.0 → 0.9.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 +21 -0
- data/lib/google/apis/metastore_v1alpha.rb +1 -1
- data/lib/google/apis/metastore_v1alpha/classes.rb +232 -15
- data/lib/google/apis/metastore_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/metastore_v1alpha/representations.rb +85 -0
- data/lib/google/apis/metastore_v1alpha/service.rb +243 -27
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f32d141aed25b5c3df3fefbb4499ffab153e459592deb8e4a88a95c987b4afdd
|
4
|
+
data.tar.gz: dea4ddf83409903897c652cd825a3a7aa8d60c733502d683d642216312ffb4c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a5b8db8bf0e75089d46b84f44e4ed9fb592f0b0489c79ccc2aeed57e7c56e2c726ef97a5b45dd625c8a7fb02c1fab754be9459bf32057181fa8783cb75ce245
|
7
|
+
data.tar.gz: 53ad84d6373996a875b9414ae7631de9dda72ad646885a1c3177f0dd73b20245a422c8f54e3da5100cb7addf9e8169b84156ad419cb54848dbf5ff7db38dd2e6
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-metastore_v1alpha
|
2
2
|
|
3
|
+
### v0.9.0 (2021-05-19)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.8.0 (2021-05-08)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210503
|
10
|
+
|
11
|
+
### v0.7.0 (2021-03-28)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210325
|
14
|
+
|
15
|
+
### v0.6.0 (2021-03-20)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210318
|
18
|
+
|
19
|
+
### v0.5.0 (2021-03-10)
|
20
|
+
|
21
|
+
* Regenerated from discovery document revision 20210305
|
22
|
+
* Regenerated using generator version 0.2.0
|
23
|
+
|
3
24
|
### v0.4.0 (2021-03-04)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210226
|
@@ -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
|
@@ -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
|
@@ -228,9 +301,8 @@ module Google
|
|
228
301
|
# @return [String]
|
229
302
|
attr_accessor :database_dump_type
|
230
303
|
|
231
|
-
#
|
232
|
-
#
|
233
|
-
# below it.
|
304
|
+
# A Cloud Storage URI of a folder, in the format gs:///. A sub-folder containing
|
305
|
+
# exported files will be created below it.
|
234
306
|
# Corresponds to the JSON property `destinationGcsFolder`
|
235
307
|
# @return [String]
|
236
308
|
attr_accessor :destination_gcs_folder
|
@@ -391,7 +463,7 @@ module Google
|
|
391
463
|
attr_accessor :krb5_config_gcs_uri
|
392
464
|
|
393
465
|
# A Kerberos principal that exists in the both the keytab the KDC to
|
394
|
-
# authenticate as. A typical principal is of the form
|
466
|
+
# authenticate as. A typical principal is of the form primary/instance@REALM,
|
395
467
|
# but there is no exact format.
|
396
468
|
# Corresponds to the JSON property `principal`
|
397
469
|
# @return [String]
|
@@ -409,6 +481,38 @@ module Google
|
|
409
481
|
end
|
410
482
|
end
|
411
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
|
+
|
412
516
|
# The response message for Locations.ListLocations.
|
413
517
|
class ListLocationsResponse
|
414
518
|
include Google::Apis::Core::Hashable
|
@@ -627,7 +731,7 @@ module Google
|
|
627
731
|
attr_accessor :database_dump_type
|
628
732
|
|
629
733
|
# Output only. A Cloud Storage URI of a folder that metadata are exported to, in
|
630
|
-
# the form of gs:////, where
|
734
|
+
# the form of gs:////, where is automatically generated.
|
631
735
|
# Corresponds to the JSON property `destinationGcsUri`
|
632
736
|
# @return [String]
|
633
737
|
attr_accessor :destination_gcs_uri
|
@@ -665,7 +769,7 @@ module Google
|
|
665
769
|
class MetadataImport
|
666
770
|
include Google::Apis::Core::Hashable
|
667
771
|
|
668
|
-
# Output only. The time when the metadata import was
|
772
|
+
# Output only. The time when the metadata import was started.
|
669
773
|
# Corresponds to the JSON property `createTime`
|
670
774
|
# @return [String]
|
671
775
|
attr_accessor :create_time
|
@@ -681,9 +785,9 @@ module Google
|
|
681
785
|
# @return [String]
|
682
786
|
attr_accessor :description
|
683
787
|
|
684
|
-
# 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:
|
685
789
|
# projects/`project_number`/locations/`location_id`/services/`service_id`/
|
686
|
-
# metadataImports/`metadata_import_id
|
790
|
+
# metadataImports/`metadata_import_id`.
|
687
791
|
# Corresponds to the JSON property `name`
|
688
792
|
# @return [String]
|
689
793
|
attr_accessor :name
|
@@ -717,12 +821,19 @@ module Google
|
|
717
821
|
class MetadataIntegration
|
718
822
|
include Google::Apis::Core::Hashable
|
719
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
|
+
|
720
830
|
def initialize(**args)
|
721
831
|
update!(**args)
|
722
832
|
end
|
723
833
|
|
724
834
|
# Update properties of this object
|
725
835
|
def update!(**args)
|
836
|
+
@data_catalog_config = args[:data_catalog_config] if args.key?(:data_catalog_config)
|
726
837
|
end
|
727
838
|
end
|
728
839
|
|
@@ -813,6 +924,65 @@ module Google
|
|
813
924
|
end
|
814
925
|
end
|
815
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
|
+
|
816
986
|
# An Identity and Access Management (IAM) policy, which specifies access
|
817
987
|
# controls for Google Cloud resources.A Policy is a collection of bindings. A
|
818
988
|
# binding binds one or more members to a single role. Members can be user
|
@@ -907,7 +1077,7 @@ module Google
|
|
907
1077
|
|
908
1078
|
# Output only. The relative resource name of the metastore service backup to
|
909
1079
|
# restore from, in the following form:projects/`project_id`/locations/`
|
910
|
-
# location_id`/services/`service_id`/backups/`backup_id
|
1080
|
+
# location_id`/services/`service_id`/backups/`backup_id`.
|
911
1081
|
# Corresponds to the JSON property `backup`
|
912
1082
|
# @return [String]
|
913
1083
|
attr_accessor :backup
|
@@ -953,13 +1123,53 @@ module Google
|
|
953
1123
|
end
|
954
1124
|
end
|
955
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
|
+
|
956
1166
|
# A securely stored value.
|
957
1167
|
class Secret
|
958
1168
|
include Google::Apis::Core::Hashable
|
959
1169
|
|
960
1170
|
# The relative resource name of a Secret Manager secret version, in the
|
961
|
-
# following form:
|
962
|
-
# version_id
|
1171
|
+
# following form:projects/`project_number`/secrets/`secret_id`/versions/`
|
1172
|
+
# version_id`.
|
963
1173
|
# Corresponds to the JSON property `cloudSecret`
|
964
1174
|
# @return [String]
|
965
1175
|
attr_accessor :cloud_secret
|
@@ -1021,15 +1231,15 @@ module Google
|
|
1021
1231
|
# @return [Google::Apis::MetastoreV1alpha::MetadataManagementActivity]
|
1022
1232
|
attr_accessor :metadata_management_activity
|
1023
1233
|
|
1024
|
-
# Immutable. The relative resource name of the metastore service, of the form:
|
1025
|
-
# 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`.
|
1026
1236
|
# Corresponds to the JSON property `name`
|
1027
1237
|
# @return [String]
|
1028
1238
|
attr_accessor :name
|
1029
1239
|
|
1030
1240
|
# Immutable. The relative resource name of the VPC network on which the instance
|
1031
|
-
# can be accessed. It is specified in the following form:
|
1032
|
-
# 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`.
|
1033
1243
|
# Corresponds to the JSON property `network`
|
1034
1244
|
# @return [String]
|
1035
1245
|
attr_accessor :network
|
@@ -1039,6 +1249,12 @@ module Google
|
|
1039
1249
|
# @return [Fixnum]
|
1040
1250
|
attr_accessor :port
|
1041
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
|
+
|
1042
1258
|
# Output only. The current state of the metastore service.
|
1043
1259
|
# Corresponds to the JSON property `state`
|
1044
1260
|
# @return [String]
|
@@ -1082,6 +1298,7 @@ module Google
|
|
1082
1298
|
@name = args[:name] if args.key?(:name)
|
1083
1299
|
@network = args[:network] if args.key?(:network)
|
1084
1300
|
@port = args[:port] if args.key?(:port)
|
1301
|
+
@release_channel = args[:release_channel] if args.key?(:release_channel)
|
1085
1302
|
@state = args[:state] if args.key?(:state)
|
1086
1303
|
@state_message = args[:state_message] if args.key?(:state_message)
|
1087
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.
|
19
|
+
GEM_VERSION = "0.9.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 = "20210503"
|
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
|
|
@@ -82,6 +94,12 @@ module Google
|
|
82
94
|
include Google::Apis::Core::JsonObjectSupport
|
83
95
|
end
|
84
96
|
|
97
|
+
class ListBackupsResponse
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
85
103
|
class ListLocationsResponse
|
86
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
105
|
|
@@ -154,6 +172,12 @@ module Google
|
|
154
172
|
include Google::Apis::Core::JsonObjectSupport
|
155
173
|
end
|
156
174
|
|
175
|
+
class OperationMetadata
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
157
181
|
class Policy
|
158
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
183
|
|
@@ -166,6 +190,12 @@ module Google
|
|
166
190
|
include Google::Apis::Core::JsonObjectSupport
|
167
191
|
end
|
168
192
|
|
193
|
+
class RestoreServiceRequest
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
169
199
|
class Secret
|
170
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
201
|
|
@@ -219,6 +249,19 @@ module Google
|
|
219
249
|
end
|
220
250
|
end
|
221
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
|
+
|
222
265
|
class Binding
|
223
266
|
# @private
|
224
267
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -229,6 +272,13 @@ module Google
|
|
229
272
|
end
|
230
273
|
end
|
231
274
|
|
275
|
+
class DataCatalogConfig
|
276
|
+
# @private
|
277
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
278
|
+
property :enabled, as: 'enabled'
|
279
|
+
end
|
280
|
+
end
|
281
|
+
|
232
282
|
class DatabaseDump
|
233
283
|
# @private
|
234
284
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -292,6 +342,16 @@ module Google
|
|
292
342
|
end
|
293
343
|
end
|
294
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
|
+
|
295
355
|
class ListLocationsResponse
|
296
356
|
# @private
|
297
357
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -384,6 +444,8 @@ module Google
|
|
384
444
|
class MetadataIntegration
|
385
445
|
# @private
|
386
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
|
+
|
387
449
|
end
|
388
450
|
end
|
389
451
|
|
@@ -409,6 +471,19 @@ module Google
|
|
409
471
|
end
|
410
472
|
end
|
411
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
|
+
|
412
487
|
class Policy
|
413
488
|
# @private
|
414
489
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -433,6 +508,15 @@ module Google
|
|
433
508
|
end
|
434
509
|
end
|
435
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
|
+
|
436
520
|
class Secret
|
437
521
|
# @private
|
438
522
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -458,6 +542,7 @@ module Google
|
|
458
542
|
property :name, as: 'name'
|
459
543
|
property :network, as: 'network'
|
460
544
|
property :port, as: 'port'
|
545
|
+
property :release_channel, as: 'releaseChannel'
|
461
546
|
property :state, as: 'state'
|
462
547
|
property :state_message, as: 'stateMessage'
|
463
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
|
-
#
|
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 selects 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
|
@@ -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:
|
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:
|
662
|
-
#
|
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:
|
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
|
699
|
-
#
|
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.
|
4
|
+
version: 0.9.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-05-24 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.9.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: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Dataproc Metastore API V1alpha
|