google-apis-sqladmin_v1beta4 0.68.0 → 0.69.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: 413308ea999de90d73ee3f506ff0ff381fb241e290ccedb6cf9008eec81e99ca
4
- data.tar.gz: 29a4a04e174c6576b3e5a4d8036cfcdf129edeec51ab84865a4da63420c7cc10
3
+ metadata.gz: fb6b099a75987926998a939edd8e1c313ec1fcf8a4dcc2db429ab65fbc104dab
4
+ data.tar.gz: 58b99dec46ef9c3c6b275f94964b746a2edcfdca95369e15edd493b67b4d8a8a
5
5
  SHA512:
6
- metadata.gz: a74c76a9e7fd18ea34ba05a8edbd82f621e5bf9738b9bd359b7a66c4d81003064106cafc0594b83c5dcc416e58e80f5fe12b18dc529d836f0bbafbeec1f96c1a
7
- data.tar.gz: 46f81602ef21fe4b30e4940a493776da658572eb07f84deb367431378a96f88d839e78f06758a84143370197dbcfd9226b8b17c9c75ac7515bb23100c85aa5a2
6
+ metadata.gz: eec7acef090b3d6033260fc28cd4245218cb00e573152172299714bd614f34d6b791db37dc51551cf0c9e879b9bcb1bfe9f0691e9bc47c882d5c6df68cd717d6
7
+ data.tar.gz: 1026d3fa6dba9b9971e9acf847952d318f22eed08c8d6fcaf5e0e702bb8e6288c4ab9ccc37c56f1a929ab1f48f0a99dbe69d39cb6f18803755a3ce15259a2ed1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-sqladmin_v1beta4
2
2
 
3
+ ### v0.69.0 (2024-03-31)
4
+
5
+ * Regenerated from discovery document revision 20240324
6
+
3
7
  ### v0.68.0 (2024-03-24)
4
8
 
5
9
  * Regenerated from discovery document revision 20240317
@@ -1891,6 +1891,11 @@ module Google
1891
1891
  # @return [String]
1892
1892
  attr_accessor :kind
1893
1893
 
1894
+ # Optional. Options for importing data from SQL statements.
1895
+ # Corresponds to the JSON property `sqlImportOptions`
1896
+ # @return [Google::Apis::SqladminV1beta4::ImportContext::SqlImportOptions]
1897
+ attr_accessor :sql_import_options
1898
+
1894
1899
  # Path to the import file in Cloud Storage, in the form `gs://bucketName/
1895
1900
  # fileName`. Compressed gzip files (.gz) are supported when `fileType` is `SQL`.
1896
1901
  # The instance must have write permissions to the bucket and read access to the
@@ -1911,6 +1916,7 @@ module Google
1911
1916
  @file_type = args[:file_type] if args.key?(:file_type)
1912
1917
  @import_user = args[:import_user] if args.key?(:import_user)
1913
1918
  @kind = args[:kind] if args.key?(:kind)
1919
+ @sql_import_options = args[:sql_import_options] if args.key?(:sql_import_options)
1914
1920
  @uri = args[:uri] if args.key?(:uri)
1915
1921
  end
1916
1922
 
@@ -2069,6 +2075,32 @@ module Google
2069
2075
  @table = args[:table] if args.key?(:table)
2070
2076
  end
2071
2077
  end
2078
+
2079
+ # Optional. Options for importing data from SQL statements.
2080
+ class SqlImportOptions
2081
+ include Google::Apis::Core::Hashable
2082
+
2083
+ # Optional. Whether or not the import should be parallel.
2084
+ # Corresponds to the JSON property `parallel`
2085
+ # @return [Boolean]
2086
+ attr_accessor :parallel
2087
+ alias_method :parallel?, :parallel
2088
+
2089
+ # Optional. The number of threads to use for parallel import.
2090
+ # Corresponds to the JSON property `threads`
2091
+ # @return [Fixnum]
2092
+ attr_accessor :threads
2093
+
2094
+ def initialize(**args)
2095
+ update!(**args)
2096
+ end
2097
+
2098
+ # Update properties of this object
2099
+ def update!(**args)
2100
+ @parallel = args[:parallel] if args.key?(:parallel)
2101
+ @threads = args[:threads] if args.key?(:threads)
2102
+ end
2103
+ end
2072
2104
  end
2073
2105
 
2074
2106
  # Insights configuration. This specifies when Cloud SQL Insights feature is
@@ -2482,32 +2514,31 @@ module Google
2482
2514
  # @return [Google::Apis::SqladminV1beta4::PscConfig]
2483
2515
  attr_accessor :psc_config
2484
2516
 
2485
- # Use `ssl_mode` instead for MySQL and PostgreSQL. SQL Server uses this flag.
2486
- # Whether SSL/TLS connections over IP are enforced. If set to false, then allow
2487
- # both non-SSL/non-TLS and SSL/TLS connections. For SSL/TLS connections, the
2488
- # client certificate won't be verified. If set to true, then only allow
2489
- # connections encrypted with SSL/TLS and with valid client certificates. If you
2490
- # want to enforce SSL/TLS without enforcing the requirement for valid client
2491
- # certificates, then use the `ssl_mode` flag instead of the legacy `require_ssl`
2492
- # flag.
2517
+ # Use `ssl_mode` instead. Whether SSL/TLS connections over IP are enforced. If
2518
+ # set to false, then allow both non-SSL/non-TLS and SSL/TLS connections. For SSL/
2519
+ # TLS connections, the client certificate won't be verified. If set to true,
2520
+ # then only allow connections encrypted with SSL/TLS and with valid client
2521
+ # certificates. If you want to enforce SSL/TLS without enforcing the requirement
2522
+ # for valid client certificates, then use the `ssl_mode` flag instead of the
2523
+ # legacy `require_ssl` flag.
2493
2524
  # Corresponds to the JSON property `requireSsl`
2494
2525
  # @return [Boolean]
2495
2526
  attr_accessor :require_ssl
2496
2527
  alias_method :require_ssl?, :require_ssl
2497
2528
 
2498
- # Specify how SSL/TLS is enforced in database connections. MySQL and PostgreSQL
2499
- # use the `ssl_mode` flag. If you must use the `require_ssl` flag for backward
2500
- # compatibility, then only the following value pairs are valid: * `ssl_mode=
2529
+ # Specify how SSL/TLS is enforced in database connections. If you must use the `
2530
+ # require_ssl` flag for backward compatibility, then only the following value
2531
+ # pairs are valid: For PostgreSQL and MySQL: * `ssl_mode=
2501
2532
  # ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=
2502
2533
  # ENCRYPTED_ONLY` and `require_ssl=false` * `ssl_mode=
2503
- # TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true` The value of `
2504
- # ssl_mode` gets priority over the value of `require_ssl`. For example, for the
2505
- # pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`, the `ssl_mode=
2506
- # ENCRYPTED_ONLY` means only accept SSL connections, while the `require_ssl=
2507
- # false` means accept both non-SSL and SSL connections. MySQL and PostgreSQL
2508
- # databases respect `ssl_mode` in this case and accept only SSL connections. SQL
2509
- # Server uses the `require_ssl` flag. You can set the value for this flag to `
2510
- # true` or `false`.
2534
+ # TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true` For SQL Server: * `
2535
+ # ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=
2536
+ # ENCRYPTED_ONLY` and `require_ssl=true` The value of `ssl_mode` gets priority
2537
+ # over the value of `require_ssl`. For example, for the pair `ssl_mode=
2538
+ # ENCRYPTED_ONLY` and `require_ssl=false`, the `ssl_mode=ENCRYPTED_ONLY` means
2539
+ # only accept SSL connections, while the `require_ssl=false` means accept both
2540
+ # non-SSL and SSL connections. MySQL and PostgreSQL databases respect `ssl_mode`
2541
+ # in this case and accept only SSL connections.
2511
2542
  # Corresponds to the JSON property `sslMode`
2512
2543
  # @return [String]
2513
2544
  attr_accessor :ssl_mode
@@ -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.68.0"
19
+ GEM_VERSION = "0.69.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240317"
25
+ REVISION = "20240324"
26
26
  end
27
27
  end
28
28
  end
@@ -270,6 +270,12 @@ module Google
270
270
 
271
271
  include Google::Apis::Core::JsonObjectSupport
272
272
  end
273
+
274
+ class SqlImportOptions
275
+ class Representation < Google::Apis::Core::JsonRepresentation; end
276
+
277
+ include Google::Apis::Core::JsonObjectSupport
278
+ end
273
279
 
274
280
  include Google::Apis::Core::JsonObjectSupport
275
281
  end
@@ -1136,6 +1142,8 @@ module Google
1136
1142
  property :file_type, as: 'fileType'
1137
1143
  property :import_user, as: 'importUser'
1138
1144
  property :kind, as: 'kind'
1145
+ property :sql_import_options, as: 'sqlImportOptions', class: Google::Apis::SqladminV1beta4::ImportContext::SqlImportOptions, decorator: Google::Apis::SqladminV1beta4::ImportContext::SqlImportOptions::Representation
1146
+
1139
1147
  property :uri, as: 'uri'
1140
1148
  end
1141
1149
 
@@ -1173,6 +1181,14 @@ module Google
1173
1181
  property :table, as: 'table'
1174
1182
  end
1175
1183
  end
1184
+
1185
+ class SqlImportOptions
1186
+ # @private
1187
+ class Representation < Google::Apis::Core::JsonRepresentation
1188
+ property :parallel, as: 'parallel'
1189
+ property :threads, as: 'threads'
1190
+ end
1191
+ end
1176
1192
  end
1177
1193
 
1178
1194
  class InsightsConfig
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.68.0
4
+ version: 0.69.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: 2024-03-24 00:00:00.000000000 Z
11
+ date: 2024-03-31 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.68.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.69.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: []