google-apis-sqladmin_v1beta4 0.46.0 → 0.48.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: 4d1cca037637190d4212a773c277a7af489af2a63b562655aa3dbb5dac28e36e
4
- data.tar.gz: dab62b07d5edc528c9571dd56374965c485bb58194016b90ffcafb8fec5ab77d
3
+ metadata.gz: 8b710ae812d3c41ea90a3d713f24cb3b7b3ee3184f9fa014dfecda4ed05512e9
4
+ data.tar.gz: 857861fba8cd8562ab6d57d436e8e80f5e0f81bc5f4fb4a0f065ab2a759c7fec
5
5
  SHA512:
6
- metadata.gz: def4c8fbb29d2aef46af604c4db30425354a913e70687b3eeb7f17d0d5634028c29aacaa4ef4fc71b153d82dae505f55d667f0f2b081c89321736cfbf090c164
7
- data.tar.gz: ae1829f82efbbc9451de1652d31c01fe392e90c23cdb4a11d375cb2225c7ff5d0b2520450b180f57affc2a63cad45c948dde332804be334ad0884fe625d4743b
6
+ metadata.gz: 8d8d0e27d382e741b89bb56a9036d24450d41fce64af745dd2cd8eba538971c89d2c15fcd98119468427aeb521a0dd519d8f6df619e60741e2cbabe14b2175cc
7
+ data.tar.gz: cd1ae25e9b4f0d616609da8792d60458d3f893ebfd1e432803c8e7b397dc7b4d1059492f0b06afd9f5dbf505d33c2a0ccf840886ea025d0042781646634cef90
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-sqladmin_v1beta4
2
2
 
3
+ ### v0.48.0 (2023-05-14)
4
+
5
+ * Regenerated from discovery document revision 20230505
6
+
7
+ ### v0.47.0 (2023-04-30)
8
+
9
+ * Regenerated from discovery document revision 20230422
10
+
3
11
  ### v0.46.0 (2023-04-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20230405
@@ -472,6 +472,13 @@ module Google
472
472
  # @return [String]
473
473
  attr_accessor :point_in_time
474
474
 
475
+ # (Point-in-time recovery for PostgreSQL only) Clone to an instance in the
476
+ # specified zone. If no zone is specified, clone to the same zone as the source
477
+ # instance.
478
+ # Corresponds to the JSON property `preferredZone`
479
+ # @return [String]
480
+ attr_accessor :preferred_zone
481
+
475
482
  def initialize(**args)
476
483
  update!(**args)
477
484
  end
@@ -485,6 +492,7 @@ module Google
485
492
  @kind = args[:kind] if args.key?(:kind)
486
493
  @pitr_timestamp_ms = args[:pitr_timestamp_ms] if args.key?(:pitr_timestamp_ms)
487
494
  @point_in_time = args[:point_in_time] if args.key?(:point_in_time)
495
+ @preferred_zone = args[:preferred_zone] if args.key?(:preferred_zone)
488
496
  end
489
497
  end
490
498
 
@@ -1245,6 +1253,26 @@ module Google
1245
1253
  class BakExportOptions
1246
1254
  include Google::Apis::Core::Hashable
1247
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
+
1248
1276
  # Option for specifying how many stripes to use for the export. If blank, and
1249
1277
  # the value of the striped field is true, the number of stripes is automatically
1250
1278
  # chosen.
@@ -1264,6 +1292,9 @@ module Google
1264
1292
 
1265
1293
  # Update properties of this object
1266
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)
1267
1298
  @stripe_count = args[:stripe_count] if args.key?(:stripe_count)
1268
1299
  @striped = args[:striped] if args.key?(:striped)
1269
1300
  end
@@ -1632,11 +1663,32 @@ module Google
1632
1663
  class BakImportOptions
1633
1664
  include Google::Apis::Core::Hashable
1634
1665
 
1666
+ # Type of the bak content, FULL or DIFF.
1667
+ # Corresponds to the JSON property `bakType`
1668
+ # @return [String]
1669
+ attr_accessor :bak_type
1670
+
1635
1671
  #
1636
1672
  # Corresponds to the JSON property `encryptionOptions`
1637
1673
  # @return [Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions::EncryptionOptions]
1638
1674
  attr_accessor :encryption_options
1639
1675
 
1676
+ # Whether or not the backup importing will restore database with NORECOVERY
1677
+ # option Applies only to Cloud SQL for SQL Server.
1678
+ # Corresponds to the JSON property `noRecovery`
1679
+ # @return [Boolean]
1680
+ attr_accessor :no_recovery
1681
+ alias_method :no_recovery?, :no_recovery
1682
+
1683
+ # Whether or not the backup importing request will just bring database online
1684
+ # without downloading Bak content only one of "no_recovery" and "recovery_only"
1685
+ # can be true otherwise error will return. Applies only to Cloud SQL for SQL
1686
+ # Server.
1687
+ # Corresponds to the JSON property `recoveryOnly`
1688
+ # @return [Boolean]
1689
+ attr_accessor :recovery_only
1690
+ alias_method :recovery_only?, :recovery_only
1691
+
1640
1692
  # Whether or not the backup set being restored is striped. Applies only to Cloud
1641
1693
  # SQL for SQL Server.
1642
1694
  # Corresponds to the JSON property `striped`
@@ -1650,7 +1702,10 @@ module Google
1650
1702
 
1651
1703
  # Update properties of this object
1652
1704
  def update!(**args)
1705
+ @bak_type = args[:bak_type] if args.key?(:bak_type)
1653
1706
  @encryption_options = args[:encryption_options] if args.key?(:encryption_options)
1707
+ @no_recovery = args[:no_recovery] if args.key?(:no_recovery)
1708
+ @recovery_only = args[:recovery_only] if args.key?(:recovery_only)
1654
1709
  @striped = args[:striped] if args.key?(:striped)
1655
1710
  end
1656
1711
 
@@ -3187,6 +3242,11 @@ module Google
3187
3242
  # @return [String]
3188
3243
  attr_accessor :kind
3189
3244
 
3245
+ # Additional message to customers.
3246
+ # Corresponds to the JSON property `message`
3247
+ # @return [String]
3248
+ attr_accessor :message
3249
+
3190
3250
  # The minimum size to which a disk can be shrunk in GigaBytes.
3191
3251
  # Corresponds to the JSON property `minimalTargetSizeGb`
3192
3252
  # @return [Fixnum]
@@ -3199,6 +3259,7 @@ module Google
3199
3259
  # Update properties of this object
3200
3260
  def update!(**args)
3201
3261
  @kind = args[:kind] if args.key?(:kind)
3262
+ @message = args[:message] if args.key?(:message)
3202
3263
  @minimal_target_size_gb = args[:minimal_target_size_gb] if args.key?(:minimal_target_size_gb)
3203
3264
  end
3204
3265
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SqladminV1beta4
18
18
  # Version of the google-apis-sqladmin_v1beta4 gem
19
- GEM_VERSION = "0.46.0"
19
+ GEM_VERSION = "0.48.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 = "20230405"
25
+ REVISION = "20230505"
26
26
  end
27
27
  end
28
28
  end
@@ -700,6 +700,7 @@ module Google
700
700
  property :kind, as: 'kind'
701
701
  property :pitr_timestamp_ms, :numeric_string => true, as: 'pitrTimestampMs'
702
702
  property :point_in_time, as: 'pointInTime'
703
+ property :preferred_zone, as: 'preferredZone'
703
704
  end
704
705
  end
705
706
 
@@ -887,6 +888,9 @@ module Google
887
888
  class BakExportOptions
888
889
  # @private
889
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'
890
894
  property :stripe_count, as: 'stripeCount'
891
895
  property :striped, as: 'striped'
892
896
  end
@@ -989,8 +993,11 @@ module Google
989
993
  class BakImportOptions
990
994
  # @private
991
995
  class Representation < Google::Apis::Core::JsonRepresentation
996
+ property :bak_type, as: 'bakType'
992
997
  property :encryption_options, as: 'encryptionOptions', class: Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions::EncryptionOptions, decorator: Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions::EncryptionOptions::Representation
993
998
 
999
+ property :no_recovery, as: 'noRecovery'
1000
+ property :recovery_only, as: 'recoveryOnly'
994
1001
  property :striped, as: 'striped'
995
1002
  end
996
1003
 
@@ -1404,6 +1411,7 @@ module Google
1404
1411
  # @private
1405
1412
  class Representation < Google::Apis::Core::JsonRepresentation
1406
1413
  property :kind, as: 'kind'
1414
+ property :message, as: 'message'
1407
1415
  property :minimal_target_size_gb, :numeric_string => true, as: 'minimalTargetSizeGb'
1408
1416
  end
1409
1417
  end
@@ -349,7 +349,7 @@ module Google
349
349
  end
350
350
 
351
351
  # Inserts a resource containing information about a database inside a Cloud SQL
352
- # instance.
352
+ # instance. **Note:** You can't modify the default character set and collation.
353
353
  # @param [String] project
354
354
  # Project ID of the project that contains the instance.
355
355
  # @param [String] instance
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-sqladmin_v1beta4
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.46.0
4
+ version: 0.48.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-23 00:00:00.000000000 Z
11
+ date: 2023-05-21 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_v1beta4/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.46.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.48.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1beta4
63
63
  post_install_message:
64
64
  rdoc_options: []