google-apis-metastore_v1beta 0.57.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: cc43dcc1dc9a27340db00cb6286b52b2bf009284b9604dc0353429ac942798e1
4
- data.tar.gz: f76cd24884e0430e6474bfb17527cc1f177894fc0eec5824e385cc46d090925b
3
+ metadata.gz: 51a665036ad3e24e7b3a0c29405a4ff94fa64b6e1e0a2138464fb614b2d1fdf2
4
+ data.tar.gz: 71dbeeccfc2d4cd00fbc9df8790dc59e52776a62ef508cecd985900429a2fe88
5
5
  SHA512:
6
- metadata.gz: '0378eb4877526cb3e1a08273400facd14b1c2bc02d381493223fce71b6f637b6c0c7efd1238160c88c719b0142d63bb5509d573e3767e15b4073fb433dadc12f'
7
- data.tar.gz: 453749c5f177fc4f39f434f77c30687363b707f08de50639b0123040a7f3b54e71eb0e8cad95a62a1cf402f59b46259b272da143ef1eb6f26150f7edccf5137b
6
+ metadata.gz: fa001f49ace18ac96a7dd34d8f90b461bd83ca85b5b2110e084dcd7e735b78d99517cdd3a15ea62c9b5381a6a407d08518bc3ca79b757ca2b3fd1ba96d385188
7
+ data.tar.gz: 215897172a5cab273435d96455e66938f324361a73e10320a3931aaeba3fc4d08acc1efad3f425ea6c199ba14684125fbacb5c3ea22edc99ab116f3908be7743
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
7
+ ### v0.58.0 (2024-02-23)
8
+
9
+ * Regenerated from discovery document revision 20240218
10
+ * Regenerated using generator version 0.14.0
11
+
3
12
  ### v0.57.0 (2024-01-28)
4
13
 
5
14
  * Regenerated from discovery document revision 20240123
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/dataproc-metastore/docs) ma
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -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.57.0"
19
+ GEM_VERSION = "0.59.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.1"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240123"
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
@@ -1940,6 +1940,48 @@ module Google
1940
1940
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1941
1941
  execute_or_queue_command(command, &block)
1942
1942
  end
1943
+
1944
+ # Deletes a single migration execution.
1945
+ # @param [String] name
1946
+ # Required. The relative resource name of the migrationExecution to delete, in
1947
+ # the following form:projects/`project_number`/locations/`location_id`/services/`
1948
+ # service_id`/migrationExecutions/`migration_execution_id`.
1949
+ # @param [String] request_id
1950
+ # Optional. A request ID. Specify a unique request ID to allow the server to
1951
+ # ignore the request if it has completed. The server will ignore subsequent
1952
+ # requests that provide a duplicate request ID for at least 60 minutes after the
1953
+ # first request.For example, if an initial request times out, followed by
1954
+ # another request with the same request ID, the server ignores the second
1955
+ # request to prevent the creation of duplicate commitments.The request ID must
1956
+ # be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#
1957
+ # Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
1958
+ # @param [String] fields
1959
+ # Selector specifying which fields to include in a partial response.
1960
+ # @param [String] quota_user
1961
+ # Available to use for quota purposes for server-side applications. Can be any
1962
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1963
+ # @param [Google::Apis::RequestOptions] options
1964
+ # Request-specific options
1965
+ #
1966
+ # @yield [result, err] Result & error if block supplied
1967
+ # @yieldparam result [Google::Apis::MetastoreV1beta::Operation] parsed result object
1968
+ # @yieldparam err [StandardError] error object if request failed
1969
+ #
1970
+ # @return [Google::Apis::MetastoreV1beta::Operation]
1971
+ #
1972
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1973
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1974
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1975
+ def delete_project_location_service_migration_execution(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1976
+ command = make_simple_command(:delete, 'v1beta/{+name}', options)
1977
+ command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation
1978
+ command.response_class = Google::Apis::MetastoreV1beta::Operation
1979
+ command.params['name'] = name unless name.nil?
1980
+ command.query['requestId'] = request_id unless request_id.nil?
1981
+ command.query['fields'] = fields unless fields.nil?
1982
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1983
+ execute_or_queue_command(command, &block)
1984
+ end
1943
1985
 
1944
1986
  protected
1945
1987
 
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.57.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-01-28 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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.12.0
19
+ version: 0.14.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.12.0
29
+ version: 0.14.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.57.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: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.3
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Dataproc Metastore API V1beta