google-apis-sqladmin_v1beta4 0.51.0 → 0.53.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: c69631f4458530cbdd9e9ea0586067768726fcd2bd8e1a19b8283923b9732db8
4
- data.tar.gz: e198c96dc09e4b27680e597491e00d85feae02afb7d4000ac96b2cd55a9a7100
3
+ metadata.gz: b5b226d8113f0e82e61c74a72c8a4c0aaa57660abedf44471fb6782034dd4cbc
4
+ data.tar.gz: 1ff5581642e8025483ebe2a9b476ce97456dec529e0d0dc3e893580e1d11b0a4
5
5
  SHA512:
6
- metadata.gz: 2ac00354cef13b33dc0c8dd0b0f88a05121a5bc263ba4220f9c3123ef54e535a35bc2d1502a381ec43b62a30b87509e1241b85c8f89daee9f2f9c9f207613ec8
7
- data.tar.gz: 1c88677bf25c6b5a7e2a758cb72f18153d99e6e02afaa002de0e9c574e4dcfecb1fb9e0415329a56c96f14f2ece724819c8e2a38b6ad5e99e0dfffd0bb3cd78c
6
+ metadata.gz: 1522241cf3d3ad90c92a9e0f1d2600584bf5db605f2374b204894a4cf9b1d1d092dc7ad829061da7224250bbd940c69c2874b267a0925cb4e8fe4741856f8664
7
+ data.tar.gz: fc5a54c8212496926e2cabc0ffe79d3132e8b52d2d0d682b52d67cf85d34ac0897d9fb3ceabc389065d7de25f9d781c99a2bbe4b4df7c9acd81a5bc79d3694a7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-sqladmin_v1beta4
2
2
 
3
+ ### v0.53.0 (2023-07-16)
4
+
5
+ * Regenerated from discovery document revision 20230710
6
+
7
+ ### v0.52.0 (2023-07-02)
8
+
9
+ * Regenerated from discovery document revision 20230627
10
+
3
11
  ### v0.51.0 (2023-06-25)
4
12
 
5
13
  * Regenerated from discovery document revision 20230621
@@ -497,6 +497,13 @@ module Google
497
497
  # @return [String]
498
498
  attr_accessor :point_in_time
499
499
 
500
+ # Optional. (Point-in-time recovery for PostgreSQL only) Clone to an instance in
501
+ # the specified zone. If no zone is specified, clone to the same zone as the
502
+ # source instance.
503
+ # Corresponds to the JSON property `preferredZone`
504
+ # @return [String]
505
+ attr_accessor :preferred_zone
506
+
500
507
  def initialize(**args)
501
508
  update!(**args)
502
509
  end
@@ -510,6 +517,7 @@ module Google
510
517
  @kind = args[:kind] if args.key?(:kind)
511
518
  @pitr_timestamp_ms = args[:pitr_timestamp_ms] if args.key?(:pitr_timestamp_ms)
512
519
  @point_in_time = args[:point_in_time] if args.key?(:point_in_time)
520
+ @preferred_zone = args[:preferred_zone] if args.key?(:preferred_zone)
513
521
  end
514
522
  end
515
523
 
@@ -1746,6 +1754,18 @@ module Google
1746
1754
  attr_accessor :recovery_only
1747
1755
  alias_method :recovery_only?, :recovery_only
1748
1756
 
1757
+ # Optional. StopAt keyword for transaction log import, Applies to Cloud SQL for
1758
+ # SQL Server only
1759
+ # Corresponds to the JSON property `stopAt`
1760
+ # @return [String]
1761
+ attr_accessor :stop_at
1762
+
1763
+ # Optional. StopAtMark keyword for transaction log import, Applies to Cloud SQL
1764
+ # for SQL Server only
1765
+ # Corresponds to the JSON property `stopAtMark`
1766
+ # @return [String]
1767
+ attr_accessor :stop_at_mark
1768
+
1749
1769
  # Whether or not the backup set being restored is striped. Applies only to Cloud
1750
1770
  # SQL for SQL Server.
1751
1771
  # Corresponds to the JSON property `striped`
@@ -1763,6 +1783,8 @@ module Google
1763
1783
  @encryption_options = args[:encryption_options] if args.key?(:encryption_options)
1764
1784
  @no_recovery = args[:no_recovery] if args.key?(:no_recovery)
1765
1785
  @recovery_only = args[:recovery_only] if args.key?(:recovery_only)
1786
+ @stop_at = args[:stop_at] if args.key?(:stop_at)
1787
+ @stop_at_mark = args[:stop_at_mark] if args.key?(:stop_at_mark)
1766
1788
  @striped = args[:striped] if args.key?(:striped)
1767
1789
  end
1768
1790
 
@@ -3352,6 +3374,31 @@ module Google
3352
3374
  end
3353
3375
  end
3354
3376
 
3377
+ # Instance get latest recovery time response.
3378
+ class SqlInstancesGetLatestRecoveryTimeResponse
3379
+ include Google::Apis::Core::Hashable
3380
+
3381
+ # This is always `sql#getLatestRecoveryTime`.
3382
+ # Corresponds to the JSON property `kind`
3383
+ # @return [String]
3384
+ attr_accessor :kind
3385
+
3386
+ # Timestamp, identifies the latest recovery time of the source instance.
3387
+ # Corresponds to the JSON property `latestRecoveryTime`
3388
+ # @return [String]
3389
+ attr_accessor :latest_recovery_time
3390
+
3391
+ def initialize(**args)
3392
+ update!(**args)
3393
+ end
3394
+
3395
+ # Update properties of this object
3396
+ def update!(**args)
3397
+ @kind = args[:kind] if args.key?(:kind)
3398
+ @latest_recovery_time = args[:latest_recovery_time] if args.key?(:latest_recovery_time)
3399
+ end
3400
+ end
3401
+
3355
3402
  # Reschedule options for maintenance windows.
3356
3403
  class SqlInstancesRescheduleMaintenanceRequestBody
3357
3404
  include Google::Apis::Core::Hashable
@@ -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.51.0"
19
+ GEM_VERSION = "0.53.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 = "20230621"
25
+ REVISION = "20230710"
26
26
  end
27
27
  end
28
28
  end
@@ -472,6 +472,12 @@ module Google
472
472
  include Google::Apis::Core::JsonObjectSupport
473
473
  end
474
474
 
475
+ class SqlInstancesGetLatestRecoveryTimeResponse
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
475
481
  class SqlInstancesRescheduleMaintenanceRequestBody
476
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
483
 
@@ -732,6 +738,7 @@ module Google
732
738
  property :kind, as: 'kind'
733
739
  property :pitr_timestamp_ms, :numeric_string => true, as: 'pitrTimestampMs'
734
740
  property :point_in_time, as: 'pointInTime'
741
+ property :preferred_zone, as: 'preferredZone'
735
742
  end
736
743
  end
737
744
 
@@ -1043,6 +1050,8 @@ module Google
1043
1050
 
1044
1051
  property :no_recovery, as: 'noRecovery'
1045
1052
  property :recovery_only, as: 'recoveryOnly'
1053
+ property :stop_at, as: 'stopAt'
1054
+ property :stop_at_mark, as: 'stopAtMark'
1046
1055
  property :striped, as: 'striped'
1047
1056
  end
1048
1057
 
@@ -1472,6 +1481,14 @@ module Google
1472
1481
  end
1473
1482
  end
1474
1483
 
1484
+ class SqlInstancesGetLatestRecoveryTimeResponse
1485
+ # @private
1486
+ class Representation < Google::Apis::Core::JsonRepresentation
1487
+ property :kind, as: 'kind'
1488
+ property :latest_recovery_time, as: 'latestRecoveryTime'
1489
+ end
1490
+ end
1491
+
1475
1492
  class SqlInstancesRescheduleMaintenanceRequestBody
1476
1493
  # @private
1477
1494
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1468,6 +1468,39 @@ module Google
1468
1468
  execute_or_queue_command(command, &block)
1469
1469
  end
1470
1470
 
1471
+ # Get Latest Recovery Time for a given instance.
1472
+ # @param [String] project
1473
+ # Project ID of the project that contains the instance.
1474
+ # @param [String] instance
1475
+ # Cloud SQL instance ID. This does not include the project ID.
1476
+ # @param [String] fields
1477
+ # Selector specifying which fields to include in a partial response.
1478
+ # @param [String] quota_user
1479
+ # Available to use for quota purposes for server-side applications. Can be any
1480
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1481
+ # @param [Google::Apis::RequestOptions] options
1482
+ # Request-specific options
1483
+ #
1484
+ # @yield [result, err] Result & error if block supplied
1485
+ # @yieldparam result [Google::Apis::SqladminV1beta4::SqlInstancesGetLatestRecoveryTimeResponse] parsed result object
1486
+ # @yieldparam err [StandardError] error object if request failed
1487
+ #
1488
+ # @return [Google::Apis::SqladminV1beta4::SqlInstancesGetLatestRecoveryTimeResponse]
1489
+ #
1490
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1491
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1492
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1493
+ def get_project_instance_latest_recovery_time(project, instance, fields: nil, quota_user: nil, options: nil, &block)
1494
+ command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/getLatestRecoveryTime', options)
1495
+ command.response_representation = Google::Apis::SqladminV1beta4::SqlInstancesGetLatestRecoveryTimeResponse::Representation
1496
+ command.response_class = Google::Apis::SqladminV1beta4::SqlInstancesGetLatestRecoveryTimeResponse
1497
+ command.params['project'] = project unless project.nil?
1498
+ command.params['instance'] = instance unless instance.nil?
1499
+ command.query['fields'] = fields unless fields.nil?
1500
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1501
+ execute_or_queue_command(command, &block)
1502
+ end
1503
+
1471
1504
  # Perform Disk Shrink on primary instance.
1472
1505
  # @param [String] project
1473
1506
  # Project ID of the project that contains the 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.51.0
4
+ version: 0.53.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-06-25 00:00:00.000000000 Z
11
+ date: 2023-07-16 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.51.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.53.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: []