google-apis-sqladmin_v1 0.36.0 → 0.37.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: 921c248a13dc0df7cbbe60ed29c2affff4fb98dadefa4020f4f2005377171edd
4
- data.tar.gz: 7006ecdd739abc22654bbef495391dfb6a230298275828d0bfe7d976fc2f8829
3
+ metadata.gz: e553f9da2c71ab295b8acd8b08234d4394867a5df24e3dffdfca66980e9bb1db
4
+ data.tar.gz: ec53a84e9f12208a6314149562d2298935380175f8ddd81cd02c34a474006b78
5
5
  SHA512:
6
- metadata.gz: 0ee87b37cd134062d70a85f8a5580c02b296b23d5344889bf22f0495c85a32fe54a3e3964e80f0f1ce9e2e29e68947ad97e6b0d92846034738f4430c29ff9c49
7
- data.tar.gz: 2dcb80ac694adbaeccc8e82613ac9b9410840976eff0de3cbe73eac2d48171a5f7a31625d30bb8702a2753ef5bf7567dc0347b050f1bf292048766159e8bd7cc
6
+ metadata.gz: a142c489a729999f65213c03c8b4f764b3cf22e6378a4ee049f581ef7fe230c78c236f19c19c2909db5a607c6bd13ff0f75a79a3cde8d923c70c30209bc7bc1b
7
+ data.tar.gz: e5986e85dd339ff1f14f0c96731c23d1c4986c48a9c9506728e25504cd9e86c9f7bd8fb8c27a3999bf74b766d397614de582aa76663bf280afd1afaae0eb1c09
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.37.0 (2023-05-14)
4
+
5
+ * Regenerated from discovery document revision 20230505
6
+
3
7
  ### v0.36.0 (2023-04-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20230422
@@ -1253,6 +1253,26 @@ module Google
1253
1253
  class BakExportOptions
1254
1254
  include Google::Apis::Core::Hashable
1255
1255
 
1256
+ # Type of this bak file will be export, FULL or DIFF, SQL Server only
1257
+ # Corresponds to the JSON property `bakType`
1258
+ # @return [String]
1259
+ attr_accessor :bak_type
1260
+
1261
+ # Whether or not the export will be exeucted with COPY_ONLY, SQL Server only
1262
+ # deprecated as the behavior should default to copy_only = true use
1263
+ # differential_base instead
1264
+ # Corresponds to the JSON property `copyOnly`
1265
+ # @return [Boolean]
1266
+ attr_accessor :copy_only
1267
+ alias_method :copy_only?, :copy_only
1268
+
1269
+ # Whether or not the backup can be use as differential base only non copy only
1270
+ # backup can be served as differential base
1271
+ # Corresponds to the JSON property `differentialBase`
1272
+ # @return [Boolean]
1273
+ attr_accessor :differential_base
1274
+ alias_method :differential_base?, :differential_base
1275
+
1256
1276
  # Option for specifying how many stripes to use for the export. If blank, and
1257
1277
  # the value of the striped field is true, the number of stripes is automatically
1258
1278
  # chosen.
@@ -1272,6 +1292,9 @@ module Google
1272
1292
 
1273
1293
  # Update properties of this object
1274
1294
  def update!(**args)
1295
+ @bak_type = args[:bak_type] if args.key?(:bak_type)
1296
+ @copy_only = args[:copy_only] if args.key?(:copy_only)
1297
+ @differential_base = args[:differential_base] if args.key?(:differential_base)
1275
1298
  @stripe_count = args[:stripe_count] if args.key?(:stripe_count)
1276
1299
  @striped = args[:striped] if args.key?(:striped)
1277
1300
  end
@@ -1639,11 +1662,32 @@ module Google
1639
1662
  class BakImportOptions
1640
1663
  include Google::Apis::Core::Hashable
1641
1664
 
1665
+ # Type of the bak content, FULL or DIFF
1666
+ # Corresponds to the JSON property `bakType`
1667
+ # @return [String]
1668
+ attr_accessor :bak_type
1669
+
1642
1670
  #
1643
1671
  # Corresponds to the JSON property `encryptionOptions`
1644
1672
  # @return [Google::Apis::SqladminV1::ImportContext::BakImportOptions::EncryptionOptions]
1645
1673
  attr_accessor :encryption_options
1646
1674
 
1675
+ # Whether or not the backup importing will restore database with NORECOVERY
1676
+ # option Applies only to Cloud SQL for SQL Server.
1677
+ # Corresponds to the JSON property `noRecovery`
1678
+ # @return [Boolean]
1679
+ attr_accessor :no_recovery
1680
+ alias_method :no_recovery?, :no_recovery
1681
+
1682
+ # Whether or not the backup importing request will just bring database online
1683
+ # without downloading Bak content only one of "no_recovery" and "recovery_only"
1684
+ # can be true otherwise error will return. Applies only to Cloud SQL for SQL
1685
+ # Server.
1686
+ # Corresponds to the JSON property `recoveryOnly`
1687
+ # @return [Boolean]
1688
+ attr_accessor :recovery_only
1689
+ alias_method :recovery_only?, :recovery_only
1690
+
1647
1691
  # Whether or not the backup set being restored is striped. Applies only to Cloud
1648
1692
  # SQL for SQL Server.
1649
1693
  # Corresponds to the JSON property `striped`
@@ -1657,7 +1701,10 @@ module Google
1657
1701
 
1658
1702
  # Update properties of this object
1659
1703
  def update!(**args)
1704
+ @bak_type = args[:bak_type] if args.key?(:bak_type)
1660
1705
  @encryption_options = args[:encryption_options] if args.key?(:encryption_options)
1706
+ @no_recovery = args[:no_recovery] if args.key?(:no_recovery)
1707
+ @recovery_only = args[:recovery_only] if args.key?(:recovery_only)
1661
1708
  @striped = args[:striped] if args.key?(:striped)
1662
1709
  end
1663
1710
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SqladminV1
18
18
  # Version of the google-apis-sqladmin_v1 gem
19
- GEM_VERSION = "0.36.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230422"
25
+ REVISION = "20230505"
26
26
  end
27
27
  end
28
28
  end
@@ -888,6 +888,9 @@ module Google
888
888
  class BakExportOptions
889
889
  # @private
890
890
  class Representation < Google::Apis::Core::JsonRepresentation
891
+ property :bak_type, as: 'bakType'
892
+ property :copy_only, as: 'copyOnly'
893
+ property :differential_base, as: 'differentialBase'
891
894
  property :stripe_count, as: 'stripeCount'
892
895
  property :striped, as: 'striped'
893
896
  end
@@ -990,8 +993,11 @@ module Google
990
993
  class BakImportOptions
991
994
  # @private
992
995
  class Representation < Google::Apis::Core::JsonRepresentation
996
+ property :bak_type, as: 'bakType'
993
997
  property :encryption_options, as: 'encryptionOptions', class: Google::Apis::SqladminV1::ImportContext::BakImportOptions::EncryptionOptions, decorator: Google::Apis::SqladminV1::ImportContext::BakImportOptions::EncryptionOptions::Representation
994
998
 
999
+ property :no_recovery, as: 'noRecovery'
1000
+ property :recovery_only, as: 'recoveryOnly'
995
1001
  property :striped, as: 'striped'
996
1002
  end
997
1003
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-sqladmin_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.0
4
+ version: 0.37.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: 2023-04-30 00:00:00.000000000 Z
11
+ date: 2023-05-14 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-sqladmin_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.37.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1
63
63
  post_install_message:
64
64
  rdoc_options: []