google-apis-metastore_v1beta 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: de6fa550363242caa8ec2bb0a13af7f43b5913b8916302c394e12dc81b3bf855
4
- data.tar.gz: 73a03efc530508f32c3e0f695479df64f7ff19f121fc30b81ce7a3ad84111e67
3
+ metadata.gz: b98fc4cd9c2cbf41d701be2a0f142d9fef7a4a42f8a29e456fb25179758f17d5
4
+ data.tar.gz: 8ec8978f7f6151ca82fe305c34b84581a890bdf75ae61005a64d91e1cff7fdbb
5
5
  SHA512:
6
- metadata.gz: e78075fd61524eede3adb1da3eaf1c09a850b0a7d9d16580635f1fa00593fd076971bd8ac1a4afd743e41e735f610004a02a45b3327ec0cce2605bed754da4c9
7
- data.tar.gz: 853718ddaadd0dbb6928aa15ae6cf3fcc0d91cc1a58c6319da095fb591187cb1b160ecf16572b74f2d62443e8df1818ff8522e5aa1169f932e1ff571a92564b3
6
+ metadata.gz: 692665c980b60917fbee5c9f01f4995ebad6dfd58fd8060fd39995e8be581cd87a5ee59dec00f4f0421e7214cd24a29c4df67902eb17fdb23065da1930365fba
7
+ data.tar.gz: 7c2714000aec6d2d4369a41a72bafd4782204425b1fbdeb7cba4aaa97370336518f32606fd7c2b5bca7bc3939a05c6df6032eb26d3babc19aebf1e5b8c1be261
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-metastore_v1beta
2
2
 
3
+ ### v0.2.0 (2021-02-11)
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
@@ -717,6 +717,11 @@ module Google
717
717
  # @return [Array<Google::Apis::MetastoreV1beta::MetadataExport>]
718
718
  attr_accessor :metadata_exports
719
719
 
720
+ # Output only. The latest restores of the metastore service.
721
+ # Corresponds to the JSON property `restores`
722
+ # @return [Array<Google::Apis::MetastoreV1beta::Restore>]
723
+ attr_accessor :restores
724
+
720
725
  def initialize(**args)
721
726
  update!(**args)
722
727
  end
@@ -724,6 +729,7 @@ module Google
724
729
  # Update properties of this object
725
730
  def update!(**args)
726
731
  @metadata_exports = args[:metadata_exports] if args.key?(:metadata_exports)
732
+ @restores = args[:restores] if args.key?(:restores)
727
733
  end
728
734
  end
729
735
 
@@ -877,6 +883,51 @@ module Google
877
883
  end
878
884
  end
879
885
 
886
+ # The details of a metadata restore operation.
887
+ class Restore
888
+ include Google::Apis::Core::Hashable
889
+
890
+ # Output only. The relative resource name of the metastore service backup to
891
+ # restore from, in the following form:projects/`project_id`/locations/`
892
+ # location_id`/services/`service_id`/backups/`backup_id`
893
+ # Corresponds to the JSON property `backup`
894
+ # @return [String]
895
+ attr_accessor :backup
896
+
897
+ # Output only. The time when the restore ended.
898
+ # Corresponds to the JSON property `endTime`
899
+ # @return [String]
900
+ attr_accessor :end_time
901
+
902
+ # Output only. The time when the restore started.
903
+ # Corresponds to the JSON property `startTime`
904
+ # @return [String]
905
+ attr_accessor :start_time
906
+
907
+ # Output only. The current state of the restore.
908
+ # Corresponds to the JSON property `state`
909
+ # @return [String]
910
+ attr_accessor :state
911
+
912
+ # Output only. The type of restore.
913
+ # Corresponds to the JSON property `type`
914
+ # @return [String]
915
+ attr_accessor :type
916
+
917
+ def initialize(**args)
918
+ update!(**args)
919
+ end
920
+
921
+ # Update properties of this object
922
+ def update!(**args)
923
+ @backup = args[:backup] if args.key?(:backup)
924
+ @end_time = args[:end_time] if args.key?(:end_time)
925
+ @start_time = args[:start_time] if args.key?(:start_time)
926
+ @state = args[:state] if args.key?(:state)
927
+ @type = args[:type] if args.key?(:type)
928
+ end
929
+ end
930
+
880
931
  # A securely stored value.
881
932
  class Secret
882
933
  include Google::Apis::Core::Hashable
@@ -952,9 +1003,8 @@ module Google
952
1003
  attr_accessor :name
953
1004
 
954
1005
  # Immutable. The relative resource name of the VPC network on which the instance
955
- # can be accessed. The network must belong to the same project as the metastore
956
- # instance. It is specified in the following form:"projects/`project_number`/
957
- # global/networks/`network_id`".
1006
+ # can be accessed. It is specified in the following form:"projects/`
1007
+ # project_number`/global/networks/`network_id`".
958
1008
  # Corresponds to the JSON property `network`
959
1009
  # @return [String]
960
1010
  attr_accessor :network
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MetastoreV1beta
18
18
  # Version of the google-apis-metastore_v1beta 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
@@ -160,6 +160,12 @@ module Google
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
+ class Restore
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
163
169
  class Secret
164
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
171
 
@@ -383,6 +389,8 @@ module Google
383
389
  class Representation < Google::Apis::Core::JsonRepresentation
384
390
  collection :metadata_exports, as: 'metadataExports', class: Google::Apis::MetastoreV1beta::MetadataExport, decorator: Google::Apis::MetastoreV1beta::MetadataExport::Representation
385
391
 
392
+ collection :restores, as: 'restores', class: Google::Apis::MetastoreV1beta::Restore, decorator: Google::Apis::MetastoreV1beta::Restore::Representation
393
+
386
394
  end
387
395
  end
388
396
 
@@ -410,6 +418,17 @@ module Google
410
418
  end
411
419
  end
412
420
 
421
+ class Restore
422
+ # @private
423
+ class Representation < Google::Apis::Core::JsonRepresentation
424
+ property :backup, as: 'backup'
425
+ property :end_time, as: 'endTime'
426
+ property :start_time, as: 'startTime'
427
+ property :state, as: 'state'
428
+ property :type, as: 'type'
429
+ end
430
+ end
431
+
413
432
  class Secret
414
433
  # @private
415
434
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-metastore_v1beta
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_v1beta/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.2.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-metastore_v1beta
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 V1beta