google-apis-metastore_v1beta 0.58.0 → 0.59.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: 499e345c4440e8439591aae7cd0a69582da9e357248ce7b448afa757e820d827
4
- data.tar.gz: d119a016447e19c7d71e9df9afadb0c0922e06d6564e0ee2ed81c96028705a9a
3
+ metadata.gz: 51a665036ad3e24e7b3a0c29405a4ff94fa64b6e1e0a2138464fb614b2d1fdf2
4
+ data.tar.gz: 71dbeeccfc2d4cd00fbc9df8790dc59e52776a62ef508cecd985900429a2fe88
5
5
  SHA512:
6
- metadata.gz: 809e37927e3bd3f2f06ac398526f8f0d3839c49b7d9cd1fd3125ccc38a7be052e8780515fa57598758197d41a2db4a3e24eca1ba39d6657fcf315ddcad48adfc
7
- data.tar.gz: '0085f3e17aa4fd19f4d8c4c669dd47b77631e062b13af3448aa98dbe4c2c4ecddacf65425f39edd21138af36fffbd3bb62d76219eb6b6afff63ed01904781184'
6
+ metadata.gz: fa001f49ace18ac96a7dd34d8f90b461bd83ca85b5b2110e084dcd7e735b78d99517cdd3a15ea62c9b5381a6a407d08518bc3ca79b757ca2b3fd1ba96d385188
7
+ data.tar.gz: 215897172a5cab273435d96455e66938f324361a73e10320a3931aaeba3fc4d08acc1efad3f425ea6c199ba14684125fbacb5c3ea22edc99ab116f3908be7743
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-metastore_v1beta
2
2
 
3
+ ### v0.59.0 (2024-03-03)
4
+
5
+ * Regenerated from discovery document revision 20240228
6
+
3
7
  ### v0.58.0 (2024-02-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20240218
@@ -897,6 +897,44 @@ module Google
897
897
  end
898
898
  end
899
899
 
900
+ # The details of the latest scheduled backup.
901
+ class LatestBackup
902
+ include Google::Apis::Core::Hashable
903
+
904
+ # Output only. The ID of an in-progress scheduled backup. Empty if no backup is
905
+ # in progress.
906
+ # Corresponds to the JSON property `backupId`
907
+ # @return [String]
908
+ attr_accessor :backup_id
909
+
910
+ # Output only. The duration of the backup completion.
911
+ # Corresponds to the JSON property `duration`
912
+ # @return [String]
913
+ attr_accessor :duration
914
+
915
+ # Output only. The time when the backup was started.
916
+ # Corresponds to the JSON property `startTime`
917
+ # @return [String]
918
+ attr_accessor :start_time
919
+
920
+ # Output only. The current state of the backup.
921
+ # Corresponds to the JSON property `state`
922
+ # @return [String]
923
+ attr_accessor :state
924
+
925
+ def initialize(**args)
926
+ update!(**args)
927
+ end
928
+
929
+ # Update properties of this object
930
+ def update!(**args)
931
+ @backup_id = args[:backup_id] if args.key?(:backup_id)
932
+ @duration = args[:duration] if args.key?(:duration)
933
+ @start_time = args[:start_time] if args.key?(:start_time)
934
+ @state = args[:state] if args.key?(:state)
935
+ end
936
+ end
937
+
900
938
  # Response message for DataprocMetastore.ListBackups.
901
939
  class ListBackupsResponse
902
940
  include Google::Apis::Core::Hashable
@@ -1732,6 +1770,12 @@ module Google
1732
1770
  # @return [String]
1733
1771
  attr_accessor :backup
1734
1772
 
1773
+ # Optional. A Cloud Storage URI specifying where the backup artifacts are stored,
1774
+ # in the format gs:///.
1775
+ # Corresponds to the JSON property `backupLocation`
1776
+ # @return [String]
1777
+ attr_accessor :backup_location
1778
+
1735
1779
  # Output only. The restore details containing the revision of the service to be
1736
1780
  # restored to, in format of JSON.
1737
1781
  # Corresponds to the JSON property `details`
@@ -1765,6 +1809,7 @@ module Google
1765
1809
  # Update properties of this object
1766
1810
  def update!(**args)
1767
1811
  @backup = args[:backup] if args.key?(:backup)
1812
+ @backup_location = args[:backup_location] if args.key?(:backup_location)
1768
1813
  @details = args[:details] if args.key?(:details)
1769
1814
  @end_time = args[:end_time] if args.key?(:end_time)
1770
1815
  @start_time = args[:start_time] if args.key?(:start_time)
@@ -1785,6 +1830,14 @@ module Google
1785
1830
  # @return [String]
1786
1831
  attr_accessor :backup
1787
1832
 
1833
+ # Optional. A Cloud Storage URI specifying the location of the backup artifacts,
1834
+ # namely - backup avro files under "avro/", backup_metastore.json and service.
1835
+ # json, in the following form:gs://. Mutually exclusive with backup, and exactly
1836
+ # one of the two must be set.
1837
+ # Corresponds to the JSON property `backupLocation`
1838
+ # @return [String]
1839
+ attr_accessor :backup_location
1840
+
1788
1841
  # Optional. A request ID. Specify a unique request ID to allow the server to
1789
1842
  # ignore the request if it has completed. The server will ignore subsequent
1790
1843
  # requests that provide a duplicate request ID for at least 60 minutes after the
@@ -1809,6 +1862,7 @@ module Google
1809
1862
  # Update properties of this object
1810
1863
  def update!(**args)
1811
1864
  @backup = args[:backup] if args.key?(:backup)
1865
+ @backup_location = args[:backup_location] if args.key?(:backup_location)
1812
1866
  @request_id = args[:request_id] if args.key?(:request_id)
1813
1867
  @restore_type = args[:restore_type] if args.key?(:restore_type)
1814
1868
  end
@@ -1841,6 +1895,63 @@ module Google
1841
1895
  end
1842
1896
  end
1843
1897
 
1898
+ # This specifies the configuration of scheduled backup.
1899
+ class ScheduledBackup
1900
+ include Google::Apis::Core::Hashable
1901
+
1902
+ # Optional. A Cloud Storage URI of a folder, in the format gs:///. A sub-folder
1903
+ # containing backup files will be stored below it.
1904
+ # Corresponds to the JSON property `backupLocation`
1905
+ # @return [String]
1906
+ attr_accessor :backup_location
1907
+
1908
+ # Optional. The scheduled interval in Cron format, see https://en.wikipedia.org/
1909
+ # wiki/Cron The default is empty: scheduled backup is not enabled. Must be
1910
+ # specified to enable scheduled backups.
1911
+ # Corresponds to the JSON property `cronSchedule`
1912
+ # @return [String]
1913
+ attr_accessor :cron_schedule
1914
+
1915
+ # Optional. Defines whether the scheduled backup is enabled. The default value
1916
+ # is false.
1917
+ # Corresponds to the JSON property `enabled`
1918
+ # @return [Boolean]
1919
+ attr_accessor :enabled
1920
+ alias_method :enabled?, :enabled
1921
+
1922
+ # The details of the latest scheduled backup.
1923
+ # Corresponds to the JSON property `latestBackup`
1924
+ # @return [Google::Apis::MetastoreV1beta::LatestBackup]
1925
+ attr_accessor :latest_backup
1926
+
1927
+ # Output only. The time when the next backups execution is scheduled to start.
1928
+ # Corresponds to the JSON property `nextScheduledTime`
1929
+ # @return [String]
1930
+ attr_accessor :next_scheduled_time
1931
+
1932
+ # Optional. Specifies the time zone to be used when interpreting cron_schedule.
1933
+ # Must be a time zone name from the time zone database (https://en.wikipedia.org/
1934
+ # wiki/List_of_tz_database_time_zones), e.g. America/Los_Angeles or Africa/
1935
+ # Abidjan. If left unspecified, the default is UTC.
1936
+ # Corresponds to the JSON property `timeZone`
1937
+ # @return [String]
1938
+ attr_accessor :time_zone
1939
+
1940
+ def initialize(**args)
1941
+ update!(**args)
1942
+ end
1943
+
1944
+ # Update properties of this object
1945
+ def update!(**args)
1946
+ @backup_location = args[:backup_location] if args.key?(:backup_location)
1947
+ @cron_schedule = args[:cron_schedule] if args.key?(:cron_schedule)
1948
+ @enabled = args[:enabled] if args.key?(:enabled)
1949
+ @latest_backup = args[:latest_backup] if args.key?(:latest_backup)
1950
+ @next_scheduled_time = args[:next_scheduled_time] if args.key?(:next_scheduled_time)
1951
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
1952
+ end
1953
+ end
1954
+
1844
1955
  # A securely stored value.
1845
1956
  class Secret
1846
1957
  include Google::Apis::Core::Hashable
@@ -1954,6 +2065,11 @@ module Google
1954
2065
  # @return [Google::Apis::MetastoreV1beta::ScalingConfig]
1955
2066
  attr_accessor :scaling_config
1956
2067
 
2068
+ # This specifies the configuration of scheduled backup.
2069
+ # Corresponds to the JSON property `scheduledBackup`
2070
+ # @return [Google::Apis::MetastoreV1beta::ScheduledBackup]
2071
+ attr_accessor :scheduled_backup
2072
+
1957
2073
  # Output only. The current state of the metastore service.
1958
2074
  # Corresponds to the JSON property `state`
1959
2075
  # @return [String]
@@ -2007,6 +2123,7 @@ module Google
2007
2123
  @port = args[:port] if args.key?(:port)
2008
2124
  @release_channel = args[:release_channel] if args.key?(:release_channel)
2009
2125
  @scaling_config = args[:scaling_config] if args.key?(:scaling_config)
2126
+ @scheduled_backup = args[:scheduled_backup] if args.key?(:scheduled_backup)
2010
2127
  @state = args[:state] if args.key?(:state)
2011
2128
  @state_message = args[:state_message] if args.key?(:state_message)
2012
2129
  @telemetry_config = args[:telemetry_config] if args.key?(:telemetry_config)
@@ -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.58.0"
19
+ GEM_VERSION = "0.59.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240218"
25
+ REVISION = "20240228"
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 LatestBackup
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
169
175
  class ListBackupsResponse
170
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
177
 
@@ -328,6 +334,12 @@ module Google
328
334
  include Google::Apis::Core::JsonObjectSupport
329
335
  end
330
336
 
337
+ class ScheduledBackup
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
331
343
  class Secret
332
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
345
 
@@ -586,6 +598,16 @@ module Google
586
598
  end
587
599
  end
588
600
 
601
+ class LatestBackup
602
+ # @private
603
+ class Representation < Google::Apis::Core::JsonRepresentation
604
+ property :backup_id, as: 'backupId'
605
+ property :duration, as: 'duration'
606
+ property :start_time, as: 'startTime'
607
+ property :state, as: 'state'
608
+ end
609
+ end
610
+
589
611
  class ListBackupsResponse
590
612
  # @private
591
613
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -818,6 +840,7 @@ module Google
818
840
  # @private
819
841
  class Representation < Google::Apis::Core::JsonRepresentation
820
842
  property :backup, as: 'backup'
843
+ property :backup_location, as: 'backupLocation'
821
844
  property :details, as: 'details'
822
845
  property :end_time, as: 'endTime'
823
846
  property :start_time, as: 'startTime'
@@ -830,6 +853,7 @@ module Google
830
853
  # @private
831
854
  class Representation < Google::Apis::Core::JsonRepresentation
832
855
  property :backup, as: 'backup'
856
+ property :backup_location, as: 'backupLocation'
833
857
  property :request_id, as: 'requestId'
834
858
  property :restore_type, as: 'restoreType'
835
859
  end
@@ -843,6 +867,19 @@ module Google
843
867
  end
844
868
  end
845
869
 
870
+ class ScheduledBackup
871
+ # @private
872
+ class Representation < Google::Apis::Core::JsonRepresentation
873
+ property :backup_location, as: 'backupLocation'
874
+ property :cron_schedule, as: 'cronSchedule'
875
+ property :enabled, as: 'enabled'
876
+ property :latest_backup, as: 'latestBackup', class: Google::Apis::MetastoreV1beta::LatestBackup, decorator: Google::Apis::MetastoreV1beta::LatestBackup::Representation
877
+
878
+ property :next_scheduled_time, as: 'nextScheduledTime'
879
+ property :time_zone, as: 'timeZone'
880
+ end
881
+ end
882
+
846
883
  class Secret
847
884
  # @private
848
885
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -876,6 +913,8 @@ module Google
876
913
  property :release_channel, as: 'releaseChannel'
877
914
  property :scaling_config, as: 'scalingConfig', class: Google::Apis::MetastoreV1beta::ScalingConfig, decorator: Google::Apis::MetastoreV1beta::ScalingConfig::Representation
878
915
 
916
+ property :scheduled_backup, as: 'scheduledBackup', class: Google::Apis::MetastoreV1beta::ScheduledBackup, decorator: Google::Apis::MetastoreV1beta::ScheduledBackup::Representation
917
+
879
918
  property :state, as: 'state'
880
919
  property :state_message, as: 'stateMessage'
881
920
  property :telemetry_config, as: 'telemetryConfig', class: Google::Apis::MetastoreV1beta::TelemetryConfig, decorator: Google::Apis::MetastoreV1beta::TelemetryConfig::Representation
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.58.0
4
+ version: 0.59.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: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.58.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.59.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []