google-apis-sqladmin_v1 0.35.0 → 0.37.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: ab4005cb7ba1cd249befe2b9b209be32d127d249f21b3b275004481577eea975
4
- data.tar.gz: 69418ee071e54c6ab3e58e28b0d54f97892c2e8e4257eaa0b1aaa8fd73845e2e
3
+ metadata.gz: e553f9da2c71ab295b8acd8b08234d4394867a5df24e3dffdfca66980e9bb1db
4
+ data.tar.gz: ec53a84e9f12208a6314149562d2298935380175f8ddd81cd02c34a474006b78
5
5
  SHA512:
6
- metadata.gz: 3cb13804ad4556064d33693de83945f05a5196f855a248e58667a81bde32a531e31b6d206b34745b6f8943b9968d9ed4077951c6f7b207451aa222dadee73db0
7
- data.tar.gz: d56396b67394837284511614a56662f1ee362f750de4aa54d1c2e6856acd5b81600ba35fa49ed2a3e200a32570a427287c9d751cce7adf64cbb084817b6f0873
6
+ metadata.gz: a142c489a729999f65213c03c8b4f764b3cf22e6378a4ee049f581ef7fe230c78c236f19c19c2909db5a607c6bd13ff0f75a79a3cde8d923c70c30209bc7bc1b
7
+ data.tar.gz: e5986e85dd339ff1f14f0c96731c23d1c4986c48a9c9506728e25504cd9e86c9f7bd8fb8c27a3999bf74b766d397614de582aa76663bf280afd1afaae0eb1c09
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.36.0 (2023-04-30)
8
+
9
+ * Regenerated from discovery document revision 20230422
10
+
3
11
  ### v0.35.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
@@ -1631,11 +1662,32 @@ module Google
1631
1662
  class BakImportOptions
1632
1663
  include Google::Apis::Core::Hashable
1633
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
+
1634
1670
  #
1635
1671
  # Corresponds to the JSON property `encryptionOptions`
1636
1672
  # @return [Google::Apis::SqladminV1::ImportContext::BakImportOptions::EncryptionOptions]
1637
1673
  attr_accessor :encryption_options
1638
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
+
1639
1691
  # Whether or not the backup set being restored is striped. Applies only to Cloud
1640
1692
  # SQL for SQL Server.
1641
1693
  # Corresponds to the JSON property `striped`
@@ -1649,7 +1701,10 @@ module Google
1649
1701
 
1650
1702
  # Update properties of this object
1651
1703
  def update!(**args)
1704
+ @bak_type = args[:bak_type] if args.key?(:bak_type)
1652
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)
1653
1708
  @striped = args[:striped] if args.key?(:striped)
1654
1709
  end
1655
1710
 
@@ -3186,6 +3241,11 @@ module Google
3186
3241
  # @return [String]
3187
3242
  attr_accessor :kind
3188
3243
 
3244
+ # Additional message to customers.
3245
+ # Corresponds to the JSON property `message`
3246
+ # @return [String]
3247
+ attr_accessor :message
3248
+
3189
3249
  # The minimum size to which a disk can be shrunk in GigaBytes.
3190
3250
  # Corresponds to the JSON property `minimalTargetSizeGb`
3191
3251
  # @return [Fixnum]
@@ -3198,6 +3258,7 @@ module Google
3198
3258
  # Update properties of this object
3199
3259
  def update!(**args)
3200
3260
  @kind = args[:kind] if args.key?(:kind)
3261
+ @message = args[:message] if args.key?(:message)
3201
3262
  @minimal_target_size_gb = args[:minimal_target_size_gb] if args.key?(:minimal_target_size_gb)
3202
3263
  end
3203
3264
  end
@@ -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.35.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 = "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::SqladminV1::ImportContext::BakImportOptions::EncryptionOptions, decorator: Google::Apis::SqladminV1::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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.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-23 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.35.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: []