google-apis-metastore_v1beta 0.58.0 → 0.60.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70852562a559b7ff37ad95c27321052531a2e799cc009c4790ff2dd13ae15784
|
4
|
+
data.tar.gz: 53fa1a2ef065d665d931bde59969f4ee65a86127df60574f430e1b7c3f087bbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cb13f5574c18439a16bb08e83e14838d1f242613279ebbc96f95065913e5c3daa9875d857086b13a0ccda3269983fddeda3fdea7c7446d512dd0e8ebacdf668
|
7
|
+
data.tar.gz: 06c1fba68486d2182a528adfdc06f85955f929d9c1fd1dfb388c8a49fcf98c78cbd92bac27312047c09a7ef97d07ce5a46476ba45e835a16e8d5138013da321a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-metastore_v1beta
|
2
2
|
|
3
|
+
### v0.60.0 (2024-03-17)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240312
|
6
|
+
|
7
|
+
### v0.59.0 (2024-03-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240228
|
10
|
+
|
3
11
|
### v0.58.0 (2024-02-23)
|
4
12
|
|
5
13
|
* 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.
|
19
|
+
GEM_VERSION = "0.60.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 = "
|
25
|
+
REVISION = "20240312"
|
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,48 +1940,6 @@ 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
|
1985
1943
|
|
1986
1944
|
protected
|
1987
1945
|
|
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.
|
4
|
+
version: 0.60.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-
|
11
|
+
date: 2024-03-17 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.60.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: []
|