google-apis-sqladmin_v1 0.24.0 → 0.25.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: 844ab82b9a4517129b29f9a8bfa81b08cac3ce3bcca8aa4684624f72671f2a5d
4
- data.tar.gz: 62d2bd56d40b5b17f0012b5ef6333fd67e06e0981056838b93db3a86f2f6e88c
3
+ metadata.gz: 9e7f23a8529cb7ede8b4e5d062841ed348869d397bf1b6b4c3cffcabc25b0fcc
4
+ data.tar.gz: 4eab8a50c0d62db9639e174dac9289b692bb839d2ce316152e04c5ea6c6cf672
5
5
  SHA512:
6
- metadata.gz: af0250f7a0a37485e5b0c1cfde303d756d2ab3e9de4a2e68abe806c700664089f4bcbcbde9f92e22988ea8c1fc5d17c15650162abfb6a1d9a4faa9ae3e9e1129
7
- data.tar.gz: 6b12be0d22cff1435a9b483357470c0b0b3fcf8751974e87719b348eb99b28414bd7d482cbf624812c83dc97c89f1330952b1a2f43b70aff3587a9150280bfb9
6
+ metadata.gz: 2bbc181dc82f5d55a2132152d5dbf2a261b327c1b806004dfdbf759e348eb3065e422782a0bcc7ac291e95e4069025690683821b99e87466056ee82fbb7c9e1a
7
+ data.tar.gz: acf7e58b8eb657f090c85ad87325541128128980bc47a2283ee87ce0d9b78dafc42e7bb7e61a27aa00216adc7720e976240edbeb8e04e556a0f7a21aea4c0b02
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.24.0 (2022-08-24)
4
8
 
5
9
  * Regenerated from discovery document revision 20220804
@@ -298,6 +298,12 @@ module Google
298
298
  # @return [String]
299
299
  attr_accessor :status
300
300
 
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
+
301
307
  # The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL".
302
308
  # This field defaults to "ON_DEMAND" and is ignored, when specified for insert
303
309
  # requests.
@@ -332,6 +338,7 @@ module Google
332
338
  @self_link = args[:self_link] if args.key?(:self_link)
333
339
  @start_time = args[:start_time] if args.key?(:start_time)
334
340
  @status = args[:status] if args.key?(:status)
341
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
335
342
  @type = args[:type] if args.key?(:type)
336
343
  @window_start_time = args[:window_start_time] if args.key?(:window_start_time)
337
344
  end
@@ -419,6 +426,12 @@ module Google
419
426
  # @return [Google::Apis::SqladminV1::BinLogCoordinates]
420
427
  attr_accessor :bin_log_coordinates
421
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
+
422
435
  # Name of the Cloud SQL instance to be created as a clone.
423
436
  # Corresponds to the JSON property `destinationInstanceName`
424
437
  # @return [String]
@@ -448,6 +461,7 @@ module Google
448
461
  def update!(**args)
449
462
  @allocated_ip_range = args[:allocated_ip_range] if args.key?(:allocated_ip_range)
450
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)
451
465
  @destination_instance_name = args[:destination_instance_name] if args.key?(:destination_instance_name)
452
466
  @kind = args[:kind] if args.key?(:kind)
453
467
  @pitr_timestamp_ms = args[:pitr_timestamp_ms] if args.key?(:pitr_timestamp_ms)
@@ -2774,12 +2788,12 @@ module Google
2774
2788
  attr_accessor :collation
2775
2789
 
2776
2790
  # Specifies if connections must use Cloud SQL connectors. Option values include
2777
- # the following: * `NOT_REQUIRED`: Cloud SQL instances can be connected without
2778
- # Cloud SQL Connectors. * `REQUIRED`: Only allow connections that use Cloud SQL
2779
- # Connectors. Note that using REQUIRED disables all existing authorized networks.
2780
- # If this field is not specified when creating a new instance, NOT_REQUIRED is
2781
- # used. If this field is not specified when patching or updating an existing
2782
- # instance, it is left unchanged in the instance.
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.
2783
2797
  # Corresponds to the JSON property `connectorEnforcement`
2784
2798
  # @return [String]
2785
2799
  attr_accessor :connector_enforcement
@@ -2905,6 +2919,11 @@ module Google
2905
2919
  # @return [String]
2906
2920
  attr_accessor :tier
2907
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
+
2908
2927
  # User-provided labels, represented as a dictionary where each label is a single
2909
2928
  # key value pair.
2910
2929
  # Corresponds to the JSON property `userLabels`
@@ -2944,6 +2963,7 @@ module Google
2944
2963
  @storage_auto_resize = args[:storage_auto_resize] if args.key?(:storage_auto_resize)
2945
2964
  @storage_auto_resize_limit = args[:storage_auto_resize_limit] if args.key?(:storage_auto_resize_limit)
2946
2965
  @tier = args[:tier] if args.key?(:tier)
2966
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
2947
2967
  @user_labels = args[:user_labels] if args.key?(:user_labels)
2948
2968
  end
2949
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.24.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 = "20220804"
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'
@@ -1299,6 +1301,7 @@ module Google
1299
1301
  property :storage_auto_resize, as: 'storageAutoResize'
1300
1302
  property :storage_auto_resize_limit, :numeric_string => true, as: 'storageAutoResizeLimit'
1301
1303
  property :tier, as: 'tier'
1304
+ property :time_zone, as: 'timeZone'
1302
1305
  hash :user_labels, as: 'userLabels'
1303
1306
  end
1304
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.24.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-08-29 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.24.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: []