google-apis-sqladmin_v1 0.22.0 → 0.25.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: 3d03338ee1629e6d0da866bd66774d4cc9b8e41776c01bed9dab425837af58fb
4
- data.tar.gz: a679faa87a4ec96171c66db441a4fde123e4fb275810d08abd48520022b09a1f
3
+ metadata.gz: 9e7f23a8529cb7ede8b4e5d062841ed348869d397bf1b6b4c3cffcabc25b0fcc
4
+ data.tar.gz: 4eab8a50c0d62db9639e174dac9289b692bb839d2ce316152e04c5ea6c6cf672
5
5
  SHA512:
6
- metadata.gz: 16ffc7304dec2678cc6b307bfc7f028f6836fc06a89704eb6d67b8bb55f8bf76d2cc40afa19693a0b895c0d09777115259f49692a3ceeee4f2b428596804fd0e
7
- data.tar.gz: f728f5853f9c06435dc6083674c7f0e7bac55398ee9b79926e2b1aee5e48b6d4b2df1a59adf4b00b9ac4f870de05965fedd5976f65df1629f1b3f7da4c71f1ca
6
+ metadata.gz: 2bbc181dc82f5d55a2132152d5dbf2a261b327c1b806004dfdbf759e348eb3065e422782a0bcc7ac291e95e4069025690683821b99e87466056ee82fbb7c9e1a
7
+ data.tar.gz: acf7e58b8eb657f090c85ad87325541128128980bc47a2283ee87ce0d9b78dafc42e7bb7e61a27aa00216adc7720e976240edbeb8e04e556a0f7a21aea4c0b02
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.25.0 (2022-09-07)
4
+
5
+ * Regenerated from discovery document revision 20220905
6
+
7
+ ### v0.24.0 (2022-08-24)
8
+
9
+ * Regenerated from discovery document revision 20220804
10
+
11
+ ### v0.23.0 (2022-08-04)
12
+
13
+ * Regenerated from discovery document revision 20220724
14
+
3
15
  ### v0.22.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::SqladminV1::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
@@ -2771,6 +2787,17 @@ module Google
2771
2787
  # @return [String]
2772
2788
  attr_accessor :collation
2773
2789
 
2790
+ # Specifies if connections must use Cloud SQL connectors. Option values include
2791
+ # the following: `NOT_REQUIRED` (Cloud SQL instances can be connected without
2792
+ # Cloud SQL Connectors) and `REQUIRED` (Only allow connections that use Cloud
2793
+ # SQL Connectors). Note that using REQUIRED disables all existing authorized
2794
+ # networks. If this field is not specified when creating a new instance,
2795
+ # NOT_REQUIRED is used. If this field is not specified when patching or updating
2796
+ # an existing instance, it is left unchanged in the instance.
2797
+ # Corresponds to the JSON property `connectorEnforcement`
2798
+ # @return [String]
2799
+ attr_accessor :connector_enforcement
2800
+
2774
2801
  # Configuration specific to read replica instances. Indicates whether database
2775
2802
  # flags for crash-safe replication are enabled. This property was only
2776
2803
  # applicable to First Generation instances.
@@ -2802,6 +2829,12 @@ module Google
2802
2829
  attr_accessor :database_replication_enabled
2803
2830
  alias_method :database_replication_enabled?, :database_replication_enabled
2804
2831
 
2832
+ # Configuration to protect against accidental instance deletion.
2833
+ # Corresponds to the JSON property `deletionProtectionEnabled`
2834
+ # @return [Boolean]
2835
+ attr_accessor :deletion_protection_enabled
2836
+ alias_method :deletion_protection_enabled?, :deletion_protection_enabled
2837
+
2805
2838
  # Deny maintenance periods
2806
2839
  # Corresponds to the JSON property `denyMaintenancePeriods`
2807
2840
  # @return [Array<Google::Apis::SqladminV1::DenyMaintenancePeriod>]
@@ -2886,6 +2919,11 @@ module Google
2886
2919
  # @return [String]
2887
2920
  attr_accessor :tier
2888
2921
 
2922
+ # Server timezone, relevant only for Cloud SQL for SQL Server.
2923
+ # Corresponds to the JSON property `timeZone`
2924
+ # @return [String]
2925
+ attr_accessor :time_zone
2926
+
2889
2927
  # User-provided labels, represented as a dictionary where each label is a single
2890
2928
  # key value pair.
2891
2929
  # Corresponds to the JSON property `userLabels`
@@ -2904,11 +2942,13 @@ module Google
2904
2942
  @availability_type = args[:availability_type] if args.key?(:availability_type)
2905
2943
  @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
2906
2944
  @collation = args[:collation] if args.key?(:collation)
2945
+ @connector_enforcement = args[:connector_enforcement] if args.key?(:connector_enforcement)
2907
2946
  @crash_safe_replication_enabled = args[:crash_safe_replication_enabled] if args.key?(:crash_safe_replication_enabled)
2908
2947
  @data_disk_size_gb = args[:data_disk_size_gb] if args.key?(:data_disk_size_gb)
2909
2948
  @data_disk_type = args[:data_disk_type] if args.key?(:data_disk_type)
2910
2949
  @database_flags = args[:database_flags] if args.key?(:database_flags)
2911
2950
  @database_replication_enabled = args[:database_replication_enabled] if args.key?(:database_replication_enabled)
2951
+ @deletion_protection_enabled = args[:deletion_protection_enabled] if args.key?(:deletion_protection_enabled)
2912
2952
  @deny_maintenance_periods = args[:deny_maintenance_periods] if args.key?(:deny_maintenance_periods)
2913
2953
  @insights_config = args[:insights_config] if args.key?(:insights_config)
2914
2954
  @ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration)
@@ -2923,6 +2963,7 @@ module Google
2923
2963
  @storage_auto_resize = args[:storage_auto_resize] if args.key?(:storage_auto_resize)
2924
2964
  @storage_auto_resize_limit = args[:storage_auto_resize_limit] if args.key?(:storage_auto_resize_limit)
2925
2965
  @tier = args[:tier] if args.key?(:tier)
2966
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
2926
2967
  @user_labels = args[:user_labels] if args.key?(:user_labels)
2927
2968
  end
2928
2969
  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.22.0"
19
+ GEM_VERSION = "0.25.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::SqladminV1::BinLogCoordinates, decorator: Google::Apis::SqladminV1::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::SqladminV1::BackupConfiguration, decorator: Google::Apis::SqladminV1::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::SqladminV1::DatabaseFlags, decorator: Google::Apis::SqladminV1::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::SqladminV1::DenyMaintenancePeriod, decorator: Google::Apis::SqladminV1::DenyMaintenancePeriod::Representation
1280
1284
 
1281
1285
  property :insights_config, as: 'insightsConfig', class: Google::Apis::SqladminV1::InsightsConfig, decorator: Google::Apis::SqladminV1::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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.25.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.25.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: []