google-apis-sqladmin_v1beta4 0.32.0 → 0.35.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: ee7a6128585beda7113756cc1b64ae1c58e382ede059fb2bc2695da2ce654680
4
- data.tar.gz: b48ade3c18bca652a06e918931d8dd3595c3c37dcb4973a628b171ce7ae87ee9
3
+ metadata.gz: fb62515bc4cc823719437644624c08c39ab012bbc5788e8c8319780095430e36
4
+ data.tar.gz: 0d88bf9702615339cc90e21ada782dc40032d977317bb91d0c1a28a93b3d17c7
5
5
  SHA512:
6
- metadata.gz: ffbcd1e845c5946fc448296ac3785e618d52aa03da6c4005ea86af69e165b37ee8f57e82e75c11e683eaa85e27be5d16832e83353cdc4fd4aa4a5591bc42083f
7
- data.tar.gz: aedefae1c5bc78058d084b937306f5fdd9d8757117e0946df792165d66c582081565bc14309237cab590ff7dca8a50081dc56b3c13051edc1861391a2d46e8a9
6
+ metadata.gz: 8880bbaccc9a88bd447f4755f862dbc2b25e52e6cd0b923ea3c83552ecade57542aa2b9cf1cd5c88b56e9deb0c93d8927c8df5750cf388c69c7ae8215549297a
7
+ data.tar.gz: 39e2afbb998c7f58cdd0064929b68917d50a9b5707bf50b2c51e0b47b6d06ddbaed67f2cab60dfb8a25b0a02bfd7e5a26494ca7e50efbd4b8f979db08e42664d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-sqladmin_v1beta4
2
2
 
3
+ ### v0.35.0 (2022-09-07)
4
+
5
+ * Regenerated from discovery document revision 20220905
6
+
7
+ ### v0.34.0 (2022-08-24)
8
+
9
+ * Regenerated from discovery document revision 20220804
10
+
11
+ ### v0.33.0 (2022-08-04)
12
+
13
+ * Regenerated from discovery document revision 20220724
14
+
3
15
  ### v0.32.0 (2022-07-06)
4
16
 
5
17
  * Regenerated from discovery document revision 20220623
@@ -298,8 +298,15 @@ module Google
298
298
  # @return [String]
299
299
  attr_accessor :status
300
300
 
301
- # The type of this run; can be either "AUTOMATED" or "ON_DEMAND". This field
302
- # defaults to "ON_DEMAND" and is ignored, when specified for insert requests.
301
+ # Backup time zone to prevent restores to an instance with a different time zone.
302
+ # Now relevant only for SQL Server.
303
+ # Corresponds to the JSON property `timeZone`
304
+ # @return [String]
305
+ attr_accessor :time_zone
306
+
307
+ # The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL".
308
+ # This field defaults to "ON_DEMAND" and is ignored, when specified for insert
309
+ # requests.
303
310
  # Corresponds to the JSON property `type`
304
311
  # @return [String]
305
312
  attr_accessor :type
@@ -331,6 +338,7 @@ module Google
331
338
  @self_link = args[:self_link] if args.key?(:self_link)
332
339
  @start_time = args[:start_time] if args.key?(:start_time)
333
340
  @status = args[:status] if args.key?(:status)
341
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
334
342
  @type = args[:type] if args.key?(:type)
335
343
  @window_start_time = args[:window_start_time] if args.key?(:window_start_time)
336
344
  end
@@ -418,6 +426,12 @@ module Google
418
426
  # @return [Google::Apis::SqladminV1beta4::BinLogCoordinates]
419
427
  attr_accessor :bin_log_coordinates
420
428
 
429
+ # (SQL Server only) Clone only the specified databases from the source instance.
430
+ # Clone all databases if empty.
431
+ # Corresponds to the JSON property `databaseNames`
432
+ # @return [Array<String>]
433
+ attr_accessor :database_names
434
+
421
435
  # Name of the Cloud SQL instance to be created as a clone.
422
436
  # Corresponds to the JSON property `destinationInstanceName`
423
437
  # @return [String]
@@ -447,6 +461,7 @@ module Google
447
461
  def update!(**args)
448
462
  @allocated_ip_range = args[:allocated_ip_range] if args.key?(:allocated_ip_range)
449
463
  @bin_log_coordinates = args[:bin_log_coordinates] if args.key?(:bin_log_coordinates)
464
+ @database_names = args[:database_names] if args.key?(:database_names)
450
465
  @destination_instance_name = args[:destination_instance_name] if args.key?(:destination_instance_name)
451
466
  @kind = args[:kind] if args.key?(:kind)
452
467
  @pitr_timestamp_ms = args[:pitr_timestamp_ms] if args.key?(:pitr_timestamp_ms)
@@ -763,7 +778,8 @@ module Google
763
778
  # @return [Array<String>]
764
779
  attr_accessor :replica_names
765
780
 
766
- # Initial root password. Use only on creation.
781
+ # Initial root password. Use only on creation. You must set root passwords
782
+ # before you can connect to PostgreSQL instances.
767
783
  # Corresponds to the JSON property `rootPassword`
768
784
  # @return [String]
769
785
  attr_accessor :root_password
@@ -2772,6 +2788,17 @@ module Google
2772
2788
  # @return [String]
2773
2789
  attr_accessor :collation
2774
2790
 
2791
+ # Specifies if connections must use Cloud SQL connectors. Option values include
2792
+ # the following: `NOT_REQUIRED` (Cloud SQL instances can be connected without
2793
+ # Cloud SQL Connectors) and `REQUIRED` (Only allow connections that use Cloud
2794
+ # SQL Connectors) Note that using REQUIRED disables all existing authorized
2795
+ # networks. If this field is not specified when creating a new instance,
2796
+ # NOT_REQUIRED is used. If this field is not specified when patching or updating
2797
+ # an existing instance, it is left unchanged in the instance.
2798
+ # Corresponds to the JSON property `connectorEnforcement`
2799
+ # @return [String]
2800
+ attr_accessor :connector_enforcement
2801
+
2775
2802
  # Configuration specific to read replica instances. Indicates whether database
2776
2803
  # flags for crash-safe replication are enabled. This property was only
2777
2804
  # applicable to First Generation instances.
@@ -2803,6 +2830,12 @@ module Google
2803
2830
  attr_accessor :database_replication_enabled
2804
2831
  alias_method :database_replication_enabled?, :database_replication_enabled
2805
2832
 
2833
+ # Configuration to protect against accidental instance deletion.
2834
+ # Corresponds to the JSON property `deletionProtectionEnabled`
2835
+ # @return [Boolean]
2836
+ attr_accessor :deletion_protection_enabled
2837
+ alias_method :deletion_protection_enabled?, :deletion_protection_enabled
2838
+
2806
2839
  # Deny maintenance periods
2807
2840
  # Corresponds to the JSON property `denyMaintenancePeriods`
2808
2841
  # @return [Array<Google::Apis::SqladminV1beta4::DenyMaintenancePeriod>]
@@ -2887,6 +2920,11 @@ module Google
2887
2920
  # @return [String]
2888
2921
  attr_accessor :tier
2889
2922
 
2923
+ # Server timezone, relevant only for Cloud SQL for SQL Server.
2924
+ # Corresponds to the JSON property `timeZone`
2925
+ # @return [String]
2926
+ attr_accessor :time_zone
2927
+
2890
2928
  # User-provided labels, represented as a dictionary where each label is a single
2891
2929
  # key value pair.
2892
2930
  # Corresponds to the JSON property `userLabels`
@@ -2905,11 +2943,13 @@ module Google
2905
2943
  @availability_type = args[:availability_type] if args.key?(:availability_type)
2906
2944
  @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
2907
2945
  @collation = args[:collation] if args.key?(:collation)
2946
+ @connector_enforcement = args[:connector_enforcement] if args.key?(:connector_enforcement)
2908
2947
  @crash_safe_replication_enabled = args[:crash_safe_replication_enabled] if args.key?(:crash_safe_replication_enabled)
2909
2948
  @data_disk_size_gb = args[:data_disk_size_gb] if args.key?(:data_disk_size_gb)
2910
2949
  @data_disk_type = args[:data_disk_type] if args.key?(:data_disk_type)
2911
2950
  @database_flags = args[:database_flags] if args.key?(:database_flags)
2912
2951
  @database_replication_enabled = args[:database_replication_enabled] if args.key?(:database_replication_enabled)
2952
+ @deletion_protection_enabled = args[:deletion_protection_enabled] if args.key?(:deletion_protection_enabled)
2913
2953
  @deny_maintenance_periods = args[:deny_maintenance_periods] if args.key?(:deny_maintenance_periods)
2914
2954
  @insights_config = args[:insights_config] if args.key?(:insights_config)
2915
2955
  @ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration)
@@ -2924,6 +2964,7 @@ module Google
2924
2964
  @storage_auto_resize = args[:storage_auto_resize] if args.key?(:storage_auto_resize)
2925
2965
  @storage_auto_resize_limit = args[:storage_auto_resize_limit] if args.key?(:storage_auto_resize_limit)
2926
2966
  @tier = args[:tier] if args.key?(:tier)
2967
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
2927
2968
  @user_labels = args[:user_labels] if args.key?(:user_labels)
2928
2969
  end
2929
2970
  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.32.0"
19
+ GEM_VERSION = "0.35.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220623"
25
+ REVISION = "20220905"
26
26
  end
27
27
  end
28
28
  end
@@ -621,6 +621,7 @@ module Google
621
621
  property :self_link, as: 'selfLink'
622
622
  property :start_time, as: 'startTime'
623
623
  property :status, as: 'status'
624
+ property :time_zone, as: 'timeZone'
624
625
  property :type, as: 'type'
625
626
  property :window_start_time, as: 'windowStartTime'
626
627
  end
@@ -651,6 +652,7 @@ module Google
651
652
  property :allocated_ip_range, as: 'allocatedIpRange'
652
653
  property :bin_log_coordinates, as: 'binLogCoordinates', class: Google::Apis::SqladminV1beta4::BinLogCoordinates, decorator: Google::Apis::SqladminV1beta4::BinLogCoordinates::Representation
653
654
 
655
+ collection :database_names, as: 'databaseNames'
654
656
  property :destination_instance_name, as: 'destinationInstanceName'
655
657
  property :kind, as: 'kind'
656
658
  property :pitr_timestamp_ms, :numeric_string => true, as: 'pitrTimestampMs'
@@ -1270,12 +1272,14 @@ module Google
1270
1272
  property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::SqladminV1beta4::BackupConfiguration, decorator: Google::Apis::SqladminV1beta4::BackupConfiguration::Representation
1271
1273
 
1272
1274
  property :collation, as: 'collation'
1275
+ property :connector_enforcement, as: 'connectorEnforcement'
1273
1276
  property :crash_safe_replication_enabled, as: 'crashSafeReplicationEnabled'
1274
1277
  property :data_disk_size_gb, :numeric_string => true, as: 'dataDiskSizeGb'
1275
1278
  property :data_disk_type, as: 'dataDiskType'
1276
1279
  collection :database_flags, as: 'databaseFlags', class: Google::Apis::SqladminV1beta4::DatabaseFlags, decorator: Google::Apis::SqladminV1beta4::DatabaseFlags::Representation
1277
1280
 
1278
1281
  property :database_replication_enabled, as: 'databaseReplicationEnabled'
1282
+ property :deletion_protection_enabled, as: 'deletionProtectionEnabled'
1279
1283
  collection :deny_maintenance_periods, as: 'denyMaintenancePeriods', class: Google::Apis::SqladminV1beta4::DenyMaintenancePeriod, decorator: Google::Apis::SqladminV1beta4::DenyMaintenancePeriod::Representation
1280
1284
 
1281
1285
  property :insights_config, as: 'insightsConfig', class: Google::Apis::SqladminV1beta4::InsightsConfig, decorator: Google::Apis::SqladminV1beta4::InsightsConfig::Representation
@@ -1297,6 +1301,7 @@ module Google
1297
1301
  property :storage_auto_resize, as: 'storageAutoResize'
1298
1302
  property :storage_auto_resize_limit, :numeric_string => true, as: 'storageAutoResizeLimit'
1299
1303
  property :tier, as: 'tier'
1304
+ property :time_zone, as: 'timeZone'
1300
1305
  hash :user_labels, as: 'userLabels'
1301
1306
  end
1302
1307
  end
@@ -941,7 +941,8 @@ module Google
941
941
  execute_or_queue_command(command, &block)
942
942
  end
943
943
 
944
- # Updates settings of a Cloud SQL instance. This method supports patch semantics.
944
+ # Partially updates settings of a Cloud SQL instance by merging the request with
945
+ # the current configuration. This method supports patch semantics.
945
946
  # @param [String] project
946
947
  # Project ID of the project that contains the instance.
947
948
  # @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.32.0
4
+ version: 0.35.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: 2022-07-11 00:00:00.000000000 Z
11
+ date: 2022-09-12 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.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.35.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: []