google-apis-sqladmin_v1 0.56.0 → 0.57.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: c0bcc7df6c85ee79128cbf93aaf306b8236ae2f095b741b84cd085d6bedc3dd5
4
- data.tar.gz: 979b4b1418357db3d1abb4b9da7889f61151e56aca72ef3485a9235ae1537179
3
+ metadata.gz: 3bcb28b381631fced4ebf4c2f390e80bf23a261bc39a1587c69354dc8714581e
4
+ data.tar.gz: c440521d9276fe0ee3c90e8bdd8f0c5c3e0fea65aa84bacaa9dc34eface7b016
5
5
  SHA512:
6
- metadata.gz: 1cbbb34479db278de3b263d78f23e0f68570c57ee27696f3990c55e8565213acb4a4ed07c1d2c098fefea19f3863cb1c0d3698727c9e2da5787f3ac99c3f66b4
7
- data.tar.gz: 48a1ff2aff0e4eb12e3730677f45f17bd2c0832541a41e97fc5ae43f5416b85ab313c50e425b8979d6facd8af3a269d38690af1d79d5f0d33d0ed7d3b416ee53
6
+ metadata.gz: c5618aa669d29dfd13540217db055e1db1d7820ec816208fec7d4fc1f015a1ce0cecbf1c79915627cfc1ff173898bca2604971945a6e5b35ba56dda49941819f
7
+ data.tar.gz: 20504be29e7ea2f2a3547b61a69e9cef6db00a6088e2a72da61c94898ea4c0424c53e76e6113b95e5e8e7557db6f04210ca81277aa868d4de65483706aed70be
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.57.0 (2024-03-31)
4
+
5
+ * Regenerated from discovery document revision 20240324
6
+
3
7
  ### v0.56.0 (2024-03-24)
4
8
 
5
9
  * Regenerated from discovery document revision 20240317
@@ -1890,6 +1890,11 @@ module Google
1890
1890
  # @return [String]
1891
1891
  attr_accessor :kind
1892
1892
 
1893
+ # Optional. Options for importing data from SQL statements.
1894
+ # Corresponds to the JSON property `sqlImportOptions`
1895
+ # @return [Google::Apis::SqladminV1::ImportContext::SqlImportOptions]
1896
+ attr_accessor :sql_import_options
1897
+
1893
1898
  # Path to the import file in Cloud Storage, in the form `gs://bucketName/
1894
1899
  # fileName`. Compressed gzip files (.gz) are supported when `fileType` is `SQL`.
1895
1900
  # The instance must have write permissions to the bucket and read access to the
@@ -1910,6 +1915,7 @@ module Google
1910
1915
  @file_type = args[:file_type] if args.key?(:file_type)
1911
1916
  @import_user = args[:import_user] if args.key?(:import_user)
1912
1917
  @kind = args[:kind] if args.key?(:kind)
1918
+ @sql_import_options = args[:sql_import_options] if args.key?(:sql_import_options)
1913
1919
  @uri = args[:uri] if args.key?(:uri)
1914
1920
  end
1915
1921
 
@@ -2068,6 +2074,32 @@ module Google
2068
2074
  @table = args[:table] if args.key?(:table)
2069
2075
  end
2070
2076
  end
2077
+
2078
+ # Optional. Options for importing data from SQL statements.
2079
+ class SqlImportOptions
2080
+ include Google::Apis::Core::Hashable
2081
+
2082
+ # Optional. Whether or not the import should be parallel.
2083
+ # Corresponds to the JSON property `parallel`
2084
+ # @return [Boolean]
2085
+ attr_accessor :parallel
2086
+ alias_method :parallel?, :parallel
2087
+
2088
+ # Optional. The number of threads to use for parallel import.
2089
+ # Corresponds to the JSON property `threads`
2090
+ # @return [Fixnum]
2091
+ attr_accessor :threads
2092
+
2093
+ def initialize(**args)
2094
+ update!(**args)
2095
+ end
2096
+
2097
+ # Update properties of this object
2098
+ def update!(**args)
2099
+ @parallel = args[:parallel] if args.key?(:parallel)
2100
+ @threads = args[:threads] if args.key?(:threads)
2101
+ end
2102
+ end
2071
2103
  end
2072
2104
 
2073
2105
  # Insights configuration. This specifies when Cloud SQL Insights feature is
@@ -2481,31 +2513,31 @@ module Google
2481
2513
  # @return [Google::Apis::SqladminV1::PscConfig]
2482
2514
  attr_accessor :psc_config
2483
2515
 
2484
- # Use `ssl_mode` instead for MySQL and PostgreSQL. SQL Server uses this flag.
2485
- # Whether SSL/TLS connections over IP are enforced. If set to false, then allow
2486
- # both non-SSL/non-TLS and SSL/TLS connections. For SSL/TLS connections, the
2487
- # client certificate won't be verified. If set to true, then only allow
2488
- # connections encrypted with SSL/TLS and with valid client certificates. If you
2489
- # want to enforce SSL/TLS without enforcing the requirement for valid client
2490
- # certificates, then use the `ssl_mode` flag instead of the `require_ssl` flag.
2516
+ # Use `ssl_mode` instead. Whether SSL/TLS connections over IP are enforced. If
2517
+ # set to false, then allow both non-SSL/non-TLS and SSL/TLS connections. For SSL/
2518
+ # TLS connections, the client certificate won't be verified. If set to true,
2519
+ # then only allow connections encrypted with SSL/TLS and with valid client
2520
+ # certificates. If you want to enforce SSL/TLS without enforcing the requirement
2521
+ # for valid client certificates, then use the `ssl_mode` flag instead of the `
2522
+ # require_ssl` flag.
2491
2523
  # Corresponds to the JSON property `requireSsl`
2492
2524
  # @return [Boolean]
2493
2525
  attr_accessor :require_ssl
2494
2526
  alias_method :require_ssl?, :require_ssl
2495
2527
 
2496
- # Specify how SSL/TLS is enforced in database connections. MySQL and PostgreSQL
2497
- # use the `ssl_mode` flag. If you must use the `require_ssl` flag for backward
2498
- # compatibility, then only the following value pairs are valid: * `ssl_mode=
2528
+ # Specify how SSL/TLS is enforced in database connections. If you must use the `
2529
+ # require_ssl` flag for backward compatibility, then only the following value
2530
+ # pairs are valid: For PostgreSQL and MySQL: * `ssl_mode=
2499
2531
  # ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=
2500
2532
  # ENCRYPTED_ONLY` and `require_ssl=false` * `ssl_mode=
2501
- # TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true` The value of `
2502
- # ssl_mode` gets priority over the value of `require_ssl`. For example, for the
2503
- # pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`, the `ssl_mode=
2504
- # ENCRYPTED_ONLY` means only accept SSL connections, while the `require_ssl=
2505
- # false` means accept both non-SSL and SSL connections. MySQL and PostgreSQL
2506
- # databases respect `ssl_mode` in this case and accept only SSL connections. SQL
2507
- # Server uses the `require_ssl` flag. You can set the value for this flag to `
2508
- # true` or `false`.
2533
+ # TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true` For SQL Server: * `
2534
+ # ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=
2535
+ # ENCRYPTED_ONLY` and `require_ssl=true` The value of `ssl_mode` gets priority
2536
+ # over the value of `require_ssl`. For example, for the pair `ssl_mode=
2537
+ # ENCRYPTED_ONLY` and `require_ssl=false`, the `ssl_mode=ENCRYPTED_ONLY` means
2538
+ # only accept SSL connections, while the `require_ssl=false` means accept both
2539
+ # non-SSL and SSL connections. MySQL and PostgreSQL databases respect `ssl_mode`
2540
+ # in this case and accept only SSL connections.
2509
2541
  # Corresponds to the JSON property `sslMode`
2510
2542
  # @return [String]
2511
2543
  attr_accessor :ssl_mode
@@ -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.56.0"
19
+ GEM_VERSION = "0.57.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::SqladminV1::ImportContext::SqlImportOptions, decorator: Google::Apis::SqladminV1::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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.56.0
4
+ version: 0.57.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.56.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.57.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: []