google-apis-metastore_v1 0.21.0 → 0.23.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: e1056ecd0336992be3d451300949a9e1c278f2ae58159fd18eadecab76483b34
4
- data.tar.gz: fd089c4981b3198ee9f353eb8e811b0408270ac0db2a75557522280c44ed2e25
3
+ metadata.gz: 026fe8d82365ee9e00d11bba67a885efb7a012eebf3893f334849dd626b9fd5e
4
+ data.tar.gz: bcc0d4883edf18dcc684fce25868e465530ee1682d0f6870da8f5d04d88167ac
5
5
  SHA512:
6
- metadata.gz: f061b458d5558f4a000bc10fa5bc951d37bbd7fe74197fff9cd54a8233fc9a4a03370f4b6c85d58f8bba3b3872c8dda0da99982ae287cab7751276d7a95bc756
7
- data.tar.gz: 2c0eae53a0836d248826ba5c7e7224a26e8e1287bf92caaffd12195d93c4652bceefd6bebe2e3972ca4f94f28de91b259b6e428490c2f271d69eaa67aac4b46f
6
+ metadata.gz: 725dcbf9e967df4d4dd6affdf0da30deb12ce17c7095f5c16ac802b7fba4397f5e4c2476120e1bc3c24c006b476c0363d19e6fca10c813d04a9200335f7e67e2
7
+ data.tar.gz: 11e42b7238c3993d911a7499375cea5a0b41ee3b2d25a4931788c7fa02f606ccb56cfdbea60ccd78e119d3a889a54bcca732e05342c7854f4517b938862b3272
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-metastore_v1
2
2
 
3
+ ### v0.23.0 (2024-03-17)
4
+
5
+ * Regenerated from discovery document revision 20240312
6
+
7
+ ### v0.22.0 (2024-03-03)
8
+
9
+ * Regenerated from discovery document revision 20240228
10
+
3
11
  ### v0.21.0 (2024-02-24)
4
12
 
5
13
  * Regenerated from discovery document revision 20240218
@@ -855,6 +855,44 @@ module Google
855
855
  end
856
856
  end
857
857
 
858
+ # The details of the latest scheduled backup.
859
+ class LatestBackup
860
+ include Google::Apis::Core::Hashable
861
+
862
+ # Output only. The ID of an in-progress scheduled backup. Empty if no backup is
863
+ # in progress.
864
+ # Corresponds to the JSON property `backupId`
865
+ # @return [String]
866
+ attr_accessor :backup_id
867
+
868
+ # Output only. The duration of the backup completion.
869
+ # Corresponds to the JSON property `duration`
870
+ # @return [String]
871
+ attr_accessor :duration
872
+
873
+ # Output only. The time when the backup was started.
874
+ # Corresponds to the JSON property `startTime`
875
+ # @return [String]
876
+ attr_accessor :start_time
877
+
878
+ # Output only. The current state of the backup.
879
+ # Corresponds to the JSON property `state`
880
+ # @return [String]
881
+ attr_accessor :state
882
+
883
+ def initialize(**args)
884
+ update!(**args)
885
+ end
886
+
887
+ # Update properties of this object
888
+ def update!(**args)
889
+ @backup_id = args[:backup_id] if args.key?(:backup_id)
890
+ @duration = args[:duration] if args.key?(:duration)
891
+ @start_time = args[:start_time] if args.key?(:start_time)
892
+ @state = args[:state] if args.key?(:state)
893
+ end
894
+ end
895
+
858
896
  # Response message for DataprocMetastore.ListBackups.
859
897
  class ListBackupsResponse
860
898
  include Google::Apis::Core::Hashable
@@ -1634,6 +1672,12 @@ module Google
1634
1672
  # @return [String]
1635
1673
  attr_accessor :backup
1636
1674
 
1675
+ # Optional. A Cloud Storage URI specifying where the backup artifacts are stored,
1676
+ # in the format gs:///.
1677
+ # Corresponds to the JSON property `backupLocation`
1678
+ # @return [String]
1679
+ attr_accessor :backup_location
1680
+
1637
1681
  # Output only. The restore details containing the revision of the service to be
1638
1682
  # restored to, in format of JSON.
1639
1683
  # Corresponds to the JSON property `details`
@@ -1667,6 +1711,7 @@ module Google
1667
1711
  # Update properties of this object
1668
1712
  def update!(**args)
1669
1713
  @backup = args[:backup] if args.key?(:backup)
1714
+ @backup_location = args[:backup_location] if args.key?(:backup_location)
1670
1715
  @details = args[:details] if args.key?(:details)
1671
1716
  @end_time = args[:end_time] if args.key?(:end_time)
1672
1717
  @start_time = args[:start_time] if args.key?(:start_time)
@@ -1687,6 +1732,14 @@ module Google
1687
1732
  # @return [String]
1688
1733
  attr_accessor :backup
1689
1734
 
1735
+ # Optional. A Cloud Storage URI specifying the location of the backup artifacts,
1736
+ # namely - backup avro files under "avro/", backup_metastore.json and service.
1737
+ # json, in the following form:gs://. Mutually exclusive with backup, and exactly
1738
+ # one of the two must be set.
1739
+ # Corresponds to the JSON property `backupLocation`
1740
+ # @return [String]
1741
+ attr_accessor :backup_location
1742
+
1690
1743
  # Optional. A request ID. Specify a unique request ID to allow the server to
1691
1744
  # ignore the request if it has completed. The server will ignore subsequent
1692
1745
  # requests that provide a duplicate request ID for at least 60 minutes after the
@@ -1711,6 +1764,7 @@ module Google
1711
1764
  # Update properties of this object
1712
1765
  def update!(**args)
1713
1766
  @backup = args[:backup] if args.key?(:backup)
1767
+ @backup_location = args[:backup_location] if args.key?(:backup_location)
1714
1768
  @request_id = args[:request_id] if args.key?(:request_id)
1715
1769
  @restore_type = args[:restore_type] if args.key?(:restore_type)
1716
1770
  end
@@ -1743,6 +1797,63 @@ module Google
1743
1797
  end
1744
1798
  end
1745
1799
 
1800
+ # This specifies the configuration of scheduled backup.
1801
+ class ScheduledBackup
1802
+ include Google::Apis::Core::Hashable
1803
+
1804
+ # Optional. A Cloud Storage URI of a folder, in the format gs:///. A sub-folder
1805
+ # containing backup files will be stored below it.
1806
+ # Corresponds to the JSON property `backupLocation`
1807
+ # @return [String]
1808
+ attr_accessor :backup_location
1809
+
1810
+ # Optional. The scheduled interval in Cron format, see https://en.wikipedia.org/
1811
+ # wiki/Cron The default is empty: scheduled backup is not enabled. Must be
1812
+ # specified to enable scheduled backups.
1813
+ # Corresponds to the JSON property `cronSchedule`
1814
+ # @return [String]
1815
+ attr_accessor :cron_schedule
1816
+
1817
+ # Optional. Defines whether the scheduled backup is enabled. The default value
1818
+ # is false.
1819
+ # Corresponds to the JSON property `enabled`
1820
+ # @return [Boolean]
1821
+ attr_accessor :enabled
1822
+ alias_method :enabled?, :enabled
1823
+
1824
+ # The details of the latest scheduled backup.
1825
+ # Corresponds to the JSON property `latestBackup`
1826
+ # @return [Google::Apis::MetastoreV1::LatestBackup]
1827
+ attr_accessor :latest_backup
1828
+
1829
+ # Output only. The time when the next backups execution is scheduled to start.
1830
+ # Corresponds to the JSON property `nextScheduledTime`
1831
+ # @return [String]
1832
+ attr_accessor :next_scheduled_time
1833
+
1834
+ # Optional. Specifies the time zone to be used when interpreting cron_schedule.
1835
+ # Must be a time zone name from the time zone database (https://en.wikipedia.org/
1836
+ # wiki/List_of_tz_database_time_zones), e.g. America/Los_Angeles or Africa/
1837
+ # Abidjan. If left unspecified, the default is UTC.
1838
+ # Corresponds to the JSON property `timeZone`
1839
+ # @return [String]
1840
+ attr_accessor :time_zone
1841
+
1842
+ def initialize(**args)
1843
+ update!(**args)
1844
+ end
1845
+
1846
+ # Update properties of this object
1847
+ def update!(**args)
1848
+ @backup_location = args[:backup_location] if args.key?(:backup_location)
1849
+ @cron_schedule = args[:cron_schedule] if args.key?(:cron_schedule)
1850
+ @enabled = args[:enabled] if args.key?(:enabled)
1851
+ @latest_backup = args[:latest_backup] if args.key?(:latest_backup)
1852
+ @next_scheduled_time = args[:next_scheduled_time] if args.key?(:next_scheduled_time)
1853
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
1854
+ end
1855
+ end
1856
+
1746
1857
  # A securely stored value.
1747
1858
  class Secret
1748
1859
  include Google::Apis::Core::Hashable
@@ -1856,6 +1967,11 @@ module Google
1856
1967
  # @return [Google::Apis::MetastoreV1::ScalingConfig]
1857
1968
  attr_accessor :scaling_config
1858
1969
 
1970
+ # This specifies the configuration of scheduled backup.
1971
+ # Corresponds to the JSON property `scheduledBackup`
1972
+ # @return [Google::Apis::MetastoreV1::ScheduledBackup]
1973
+ attr_accessor :scheduled_backup
1974
+
1859
1975
  # Output only. The current state of the metastore service.
1860
1976
  # Corresponds to the JSON property `state`
1861
1977
  # @return [String]
@@ -1909,6 +2025,7 @@ module Google
1909
2025
  @port = args[:port] if args.key?(:port)
1910
2026
  @release_channel = args[:release_channel] if args.key?(:release_channel)
1911
2027
  @scaling_config = args[:scaling_config] if args.key?(:scaling_config)
2028
+ @scheduled_backup = args[:scheduled_backup] if args.key?(:scheduled_backup)
1912
2029
  @state = args[:state] if args.key?(:state)
1913
2030
  @state_message = args[:state_message] if args.key?(:state_message)
1914
2031
  @telemetry_config = args[:telemetry_config] if args.key?(:telemetry_config)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MetastoreV1
18
18
  # Version of the google-apis-metastore_v1 gem
19
- GEM_VERSION = "0.21.0"
19
+ GEM_VERSION = "0.23.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 = "20240312"
26
26
  end
27
27
  end
28
28
  end
@@ -154,6 +154,12 @@ module Google
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
+ class LatestBackup
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
157
163
  class ListBackupsResponse
158
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
165
 
@@ -304,6 +310,12 @@ module Google
304
310
  include Google::Apis::Core::JsonObjectSupport
305
311
  end
306
312
 
313
+ class ScheduledBackup
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
307
319
  class Secret
308
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
321
 
@@ -547,6 +559,16 @@ module Google
547
559
  end
548
560
  end
549
561
 
562
+ class LatestBackup
563
+ # @private
564
+ class Representation < Google::Apis::Core::JsonRepresentation
565
+ property :backup_id, as: 'backupId'
566
+ property :duration, as: 'duration'
567
+ property :start_time, as: 'startTime'
568
+ property :state, as: 'state'
569
+ end
570
+ end
571
+
550
572
  class ListBackupsResponse
551
573
  # @private
552
574
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -762,6 +784,7 @@ module Google
762
784
  # @private
763
785
  class Representation < Google::Apis::Core::JsonRepresentation
764
786
  property :backup, as: 'backup'
787
+ property :backup_location, as: 'backupLocation'
765
788
  property :details, as: 'details'
766
789
  property :end_time, as: 'endTime'
767
790
  property :start_time, as: 'startTime'
@@ -774,6 +797,7 @@ module Google
774
797
  # @private
775
798
  class Representation < Google::Apis::Core::JsonRepresentation
776
799
  property :backup, as: 'backup'
800
+ property :backup_location, as: 'backupLocation'
777
801
  property :request_id, as: 'requestId'
778
802
  property :restore_type, as: 'restoreType'
779
803
  end
@@ -787,6 +811,19 @@ module Google
787
811
  end
788
812
  end
789
813
 
814
+ class ScheduledBackup
815
+ # @private
816
+ class Representation < Google::Apis::Core::JsonRepresentation
817
+ property :backup_location, as: 'backupLocation'
818
+ property :cron_schedule, as: 'cronSchedule'
819
+ property :enabled, as: 'enabled'
820
+ property :latest_backup, as: 'latestBackup', class: Google::Apis::MetastoreV1::LatestBackup, decorator: Google::Apis::MetastoreV1::LatestBackup::Representation
821
+
822
+ property :next_scheduled_time, as: 'nextScheduledTime'
823
+ property :time_zone, as: 'timeZone'
824
+ end
825
+ end
826
+
790
827
  class Secret
791
828
  # @private
792
829
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -820,6 +857,8 @@ module Google
820
857
  property :release_channel, as: 'releaseChannel'
821
858
  property :scaling_config, as: 'scalingConfig', class: Google::Apis::MetastoreV1::ScalingConfig, decorator: Google::Apis::MetastoreV1::ScalingConfig::Representation
822
859
 
860
+ property :scheduled_backup, as: 'scheduledBackup', class: Google::Apis::MetastoreV1::ScheduledBackup, decorator: Google::Apis::MetastoreV1::ScheduledBackup::Representation
861
+
823
862
  property :state, as: 'state'
824
863
  property :state_message, as: 'stateMessage'
825
864
  property :telemetry_config, as: 'telemetryConfig', class: Google::Apis::MetastoreV1::TelemetryConfig, decorator: Google::Apis::MetastoreV1::TelemetryConfig::Representation
@@ -1622,48 +1622,6 @@ module Google
1622
1622
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1623
1623
  execute_or_queue_command(command, &block)
1624
1624
  end
1625
-
1626
- # Deletes a single migration execution.
1627
- # @param [String] name
1628
- # Required. The relative resource name of the migrationExecution to delete, in
1629
- # the following form:projects/`project_number`/locations/`location_id`/services/`
1630
- # service_id`/migrationExecutions/`migration_execution_id`.
1631
- # @param [String] request_id
1632
- # Optional. A request ID. Specify a unique request ID to allow the server to
1633
- # ignore the request if it has completed. The server will ignore subsequent
1634
- # requests that provide a duplicate request ID for at least 60 minutes after the
1635
- # first request.For example, if an initial request times out, followed by
1636
- # another request with the same request ID, the server ignores the second
1637
- # request to prevent the creation of duplicate commitments.The request ID must
1638
- # be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#
1639
- # Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
1640
- # @param [String] fields
1641
- # Selector specifying which fields to include in a partial response.
1642
- # @param [String] quota_user
1643
- # Available to use for quota purposes for server-side applications. Can be any
1644
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1645
- # @param [Google::Apis::RequestOptions] options
1646
- # Request-specific options
1647
- #
1648
- # @yield [result, err] Result & error if block supplied
1649
- # @yieldparam result [Google::Apis::MetastoreV1::Operation] parsed result object
1650
- # @yieldparam err [StandardError] error object if request failed
1651
- #
1652
- # @return [Google::Apis::MetastoreV1::Operation]
1653
- #
1654
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1655
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1656
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1657
- def delete_project_location_service_migration_execution(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1658
- command = make_simple_command(:delete, 'v1/{+name}', options)
1659
- command.response_representation = Google::Apis::MetastoreV1::Operation::Representation
1660
- command.response_class = Google::Apis::MetastoreV1::Operation
1661
- command.params['name'] = name unless name.nil?
1662
- command.query['requestId'] = request_id unless request_id.nil?
1663
- command.query['fields'] = fields unless fields.nil?
1664
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1665
- execute_or_queue_command(command, &block)
1666
- end
1667
1625
 
1668
1626
  protected
1669
1627
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-metastore_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.23.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-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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1/v0.21.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1/v0.23.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1
63
63
  post_install_message:
64
64
  rdoc_options: []