google-apis-metastore_v1alpha 0.1.0 → 0.2.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: bf811bbbd71e9e4308cf6407ebc8a116fee20bee87c31e8e982e884ccaa0d370
4
- data.tar.gz: d2e8fe435ec758a34dd01f1425420f0757c78490acc2d4dda3a4cbba5567440f
3
+ metadata.gz: 9726575caccf59932c052e02bea0f860a79acdb06c7b71c45142b11c3d98c8e5
4
+ data.tar.gz: fe09cf8990a58858029e173090760663eb53d8f3a218b1490409ce37ca3549d1
5
5
  SHA512:
6
- metadata.gz: e491e30dc7a7ce8196086f4dfce13348139543c34966ccd86ff157176523369d447b126faadc475f108240f1c78c64ad02ab97b7ca10d77ac1602296a7680227
7
- data.tar.gz: 1f0a155f5babb82089e404909901192663cd4a14e226aac69cae60b03ce1848385e9d997d640cc4d493815f5a3c68c5e13ecabdc6474cbb8faf2d924ba9c8235
6
+ metadata.gz: 8d241c5df3069cc3e4b6091a1c9b2a7167ca42c6f5c22805e2987c56b99acabe641ad9fda1226966dd491a25f6e9bd3f15f1d97ed2df50b758572df1fae51153
7
+ data.tar.gz: 6289c07670e4942e2f39440e2eeb8b44b94220476b82c7b49088de8fc0803c03e08ed72a4bdd0954f3c344749c422c89e81bf8ea6574478360a928158e00ca87
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-metastore_v1alpha
2
2
 
3
+ ### v0.2.0 (2021-02-12)
4
+
5
+ * Regenerated from discovery document revision 20210210
6
+ * Regenerated using generator version 0.1.2
7
+
3
8
  ### v0.1.0 (2021-01-07)
4
9
 
5
10
  * Regenerated using generator version 0.1.1
@@ -776,6 +776,11 @@ module Google
776
776
  # @return [Array<Google::Apis::MetastoreV1alpha::MetadataExport>]
777
777
  attr_accessor :metadata_exports
778
778
 
779
+ # Output only. The latest restores of the metastore service.
780
+ # Corresponds to the JSON property `restores`
781
+ # @return [Array<Google::Apis::MetastoreV1alpha::Restore>]
782
+ attr_accessor :restores
783
+
779
784
  def initialize(**args)
780
785
  update!(**args)
781
786
  end
@@ -783,6 +788,7 @@ module Google
783
788
  # Update properties of this object
784
789
  def update!(**args)
785
790
  @metadata_exports = args[:metadata_exports] if args.key?(:metadata_exports)
791
+ @restores = args[:restores] if args.key?(:restores)
786
792
  end
787
793
  end
788
794
 
@@ -936,6 +942,51 @@ module Google
936
942
  end
937
943
  end
938
944
 
945
+ # The details of a metadata restore operation.
946
+ class Restore
947
+ include Google::Apis::Core::Hashable
948
+
949
+ # Output only. The relative resource name of the metastore service backup to
950
+ # restore from, in the following form:projects/`project_id`/locations/`
951
+ # location_id`/services/`service_id`/backups/`backup_id`
952
+ # Corresponds to the JSON property `backup`
953
+ # @return [String]
954
+ attr_accessor :backup
955
+
956
+ # Output only. The time when the restore ended.
957
+ # Corresponds to the JSON property `endTime`
958
+ # @return [String]
959
+ attr_accessor :end_time
960
+
961
+ # Output only. The time when the restore started.
962
+ # Corresponds to the JSON property `startTime`
963
+ # @return [String]
964
+ attr_accessor :start_time
965
+
966
+ # Output only. The current state of the restore.
967
+ # Corresponds to the JSON property `state`
968
+ # @return [String]
969
+ attr_accessor :state
970
+
971
+ # Output only. The type of restore.
972
+ # Corresponds to the JSON property `type`
973
+ # @return [String]
974
+ attr_accessor :type
975
+
976
+ def initialize(**args)
977
+ update!(**args)
978
+ end
979
+
980
+ # Update properties of this object
981
+ def update!(**args)
982
+ @backup = args[:backup] if args.key?(:backup)
983
+ @end_time = args[:end_time] if args.key?(:end_time)
984
+ @start_time = args[:start_time] if args.key?(:start_time)
985
+ @state = args[:state] if args.key?(:state)
986
+ @type = args[:type] if args.key?(:type)
987
+ end
988
+ end
989
+
939
990
  # A securely stored value.
940
991
  class Secret
941
992
  include Google::Apis::Core::Hashable
@@ -1011,9 +1062,8 @@ module Google
1011
1062
  attr_accessor :name
1012
1063
 
1013
1064
  # Immutable. The relative resource name of the VPC network on which the instance
1014
- # can be accessed. The network must belong to the same project as the metastore
1015
- # instance. It is specified in the following form:"projects/`project_number`/
1016
- # global/networks/`network_id`".
1065
+ # can be accessed. It is specified in the following form:"projects/`
1066
+ # project_number`/global/networks/`network_id`".
1017
1067
  # Corresponds to the JSON property `network`
1018
1068
  # @return [String]
1019
1069
  attr_accessor :network
@@ -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.1.0"
19
+ GEM_VERSION = "0.2.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201212"
25
+ REVISION = "20210210"
26
26
  end
27
27
  end
28
28
  end
@@ -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
 
@@ -402,6 +408,8 @@ module Google
402
408
  class Representation < Google::Apis::Core::JsonRepresentation
403
409
  collection :metadata_exports, as: 'metadataExports', class: Google::Apis::MetastoreV1alpha::MetadataExport, decorator: Google::Apis::MetastoreV1alpha::MetadataExport::Representation
404
410
 
411
+ collection :restores, as: 'restores', class: Google::Apis::MetastoreV1alpha::Restore, decorator: Google::Apis::MetastoreV1alpha::Restore::Representation
412
+
405
413
  end
406
414
  end
407
415
 
@@ -429,6 +437,17 @@ module Google
429
437
  end
430
438
  end
431
439
 
440
+ class Restore
441
+ # @private
442
+ class Representation < Google::Apis::Core::JsonRepresentation
443
+ property :backup, as: 'backup'
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
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.1.0
4
+ version: 0.2.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-01-08 00:00:00.000000000 Z
11
+ date: 2021-02-15 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.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1alpha/v0.2.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.1.4
72
+ rubygems_version: 3.2.6
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Dataproc Metastore API V1alpha