google-apis-sqladmin_v1beta4 0.38.0 → 0.39.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: f94106304dc403db488f1e6a9ecadbb51c3c4aac67003205e7faaee751623eb2
4
- data.tar.gz: 95bec43202b5b976150e561581ffc17efcac7053e803a3f08bf7ff712625acfd
3
+ metadata.gz: 3f5ffa611d7e50856453b62f2f65794adcf57583ec4eb3526df0fa27b944d981
4
+ data.tar.gz: d5e236cd613ac417ddced16c76632ecaea5919be5880f44d1bcd402f46a291dc
5
5
  SHA512:
6
- metadata.gz: 3cc44ba6b4573045389eb38b0bba2af36a4f3bd9e346e63e5b94f3cc01d7be2e6b29984af7b533167fc600c48a6aaa3b94a003a51de72d5ca3bdb31e1b7ef7da
7
- data.tar.gz: 6b07898010406bf666b2dec82d2ddbf821d7255e4a054e8c2bbdd3312192e0b1471fe0e893318eb164d65b48bee4d99763bacdd28a85c4a7f5a2c8c823f72d92
6
+ metadata.gz: 4492012fc0ece23d81d7e3de56987384270f041c980cf3baa6123030471fbcc408a438b7d087e069e74ab6a33ad10b0d182c2992d949644b13bdca196c3cd5a3
7
+ data.tar.gz: 3726c87d2a33b4bc8a06064900b832b748f8b9704f13e40297c644a0d4d1106f21a21cc8f3657800bede8d40a4113498c03d40a142f05eff2b597944a260162a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-sqladmin_v1beta4
2
2
 
3
+ ### v0.39.0 (2022-10-27)
4
+
5
+ * Regenerated from discovery document revision 20221017
6
+ * Regenerated using generator version 0.11.0
7
+
3
8
  ### v0.38.0 (2022-09-28)
4
9
 
5
10
  * Regenerated from discovery document revision 20220922
@@ -1154,6 +1154,11 @@ module Google
1154
1154
  class ExportContext
1155
1155
  include Google::Apis::Core::Hashable
1156
1156
 
1157
+ #
1158
+ # Corresponds to the JSON property `bakExportOptions`
1159
+ # @return [Google::Apis::SqladminV1beta4::ExportContext::BakExportOptions]
1160
+ attr_accessor :bak_export_options
1161
+
1157
1162
  # Options for exporting data as CSV. `MySQL` and `PostgreSQL` instances only.
1158
1163
  # Corresponds to the JSON property `csvExportOptions`
1159
1164
  # @return [Google::Apis::SqladminV1beta4::ExportContext::CsvExportOptions]
@@ -1207,6 +1212,7 @@ module Google
1207
1212
 
1208
1213
  # Update properties of this object
1209
1214
  def update!(**args)
1215
+ @bak_export_options = args[:bak_export_options] if args.key?(:bak_export_options)
1210
1216
  @csv_export_options = args[:csv_export_options] if args.key?(:csv_export_options)
1211
1217
  @databases = args[:databases] if args.key?(:databases)
1212
1218
  @file_type = args[:file_type] if args.key?(:file_type)
@@ -1216,6 +1222,32 @@ module Google
1216
1222
  @uri = args[:uri] if args.key?(:uri)
1217
1223
  end
1218
1224
 
1225
+ #
1226
+ class BakExportOptions
1227
+ include Google::Apis::Core::Hashable
1228
+
1229
+ #
1230
+ # Corresponds to the JSON property `stripeCount`
1231
+ # @return [Fixnum]
1232
+ attr_accessor :stripe_count
1233
+
1234
+ #
1235
+ # Corresponds to the JSON property `striped`
1236
+ # @return [Boolean]
1237
+ attr_accessor :striped
1238
+ alias_method :striped?, :striped
1239
+
1240
+ def initialize(**args)
1241
+ update!(**args)
1242
+ end
1243
+
1244
+ # Update properties of this object
1245
+ def update!(**args)
1246
+ @stripe_count = args[:stripe_count] if args.key?(:stripe_count)
1247
+ @striped = args[:striped] if args.key?(:striped)
1248
+ end
1249
+ end
1250
+
1219
1251
  # Options for exporting data as CSV. `MySQL` and `PostgreSQL` instances only.
1220
1252
  class CsvExportOptions
1221
1253
  include Google::Apis::Core::Hashable
@@ -1584,6 +1616,12 @@ module Google
1584
1616
  # @return [Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions::EncryptionOptions]
1585
1617
  attr_accessor :encryption_options
1586
1618
 
1619
+ #
1620
+ # Corresponds to the JSON property `striped`
1621
+ # @return [Boolean]
1622
+ attr_accessor :striped
1623
+ alias_method :striped?, :striped
1624
+
1587
1625
  def initialize(**args)
1588
1626
  update!(**args)
1589
1627
  end
@@ -1591,6 +1629,7 @@ module Google
1591
1629
  # Update properties of this object
1592
1630
  def update!(**args)
1593
1631
  @encryption_options = args[:encryption_options] if args.key?(:encryption_options)
1632
+ @striped = args[:striped] if args.key?(:striped)
1594
1633
  end
1595
1634
 
1596
1635
  #
@@ -2009,6 +2048,13 @@ module Google
2009
2048
  # @return [Array<Google::Apis::SqladminV1beta4::AclEntry>]
2010
2049
  attr_accessor :authorized_networks
2011
2050
 
2051
+ # Controls connectivity to private IP instances from Google services, such as
2052
+ # BigQuery.
2053
+ # Corresponds to the JSON property `enablePrivatePathForGoogleCloudServices`
2054
+ # @return [Boolean]
2055
+ attr_accessor :enable_private_path_for_google_cloud_services
2056
+ alias_method :enable_private_path_for_google_cloud_services?, :enable_private_path_for_google_cloud_services
2057
+
2012
2058
  # Whether the instance is assigned a public IP address or not.
2013
2059
  # Corresponds to the JSON property `ipv4Enabled`
2014
2060
  # @return [Boolean]
@@ -2037,6 +2083,7 @@ module Google
2037
2083
  def update!(**args)
2038
2084
  @allocated_ip_range = args[:allocated_ip_range] if args.key?(:allocated_ip_range)
2039
2085
  @authorized_networks = args[:authorized_networks] if args.key?(:authorized_networks)
2086
+ @enable_private_path_for_google_cloud_services = args[:enable_private_path_for_google_cloud_services] if args.key?(:enable_private_path_for_google_cloud_services)
2040
2087
  @ipv4_enabled = args[:ipv4_enabled] if args.key?(:ipv4_enabled)
2041
2088
  @private_network = args[:private_network] if args.key?(:private_network)
2042
2089
  @require_ssl = args[:require_ssl] if args.key?(:require_ssl)
@@ -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.38.0"
19
+ GEM_VERSION = "0.39.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.10.0"
22
+ GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220922"
25
+ REVISION = "20221017"
26
26
  end
27
27
  end
28
28
  end
@@ -151,6 +151,12 @@ module Google
151
151
  class ExportContext
152
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
153
 
154
+ class BakExportOptions
155
+ class Representation < Google::Apis::Core::JsonRepresentation; end
156
+
157
+ include Google::Apis::Core::JsonObjectSupport
158
+ end
159
+
154
160
  class CsvExportOptions
155
161
  class Representation < Google::Apis::Core::JsonRepresentation; end
156
162
 
@@ -828,6 +834,8 @@ module Google
828
834
  class ExportContext
829
835
  # @private
830
836
  class Representation < Google::Apis::Core::JsonRepresentation
837
+ property :bak_export_options, as: 'bakExportOptions', class: Google::Apis::SqladminV1beta4::ExportContext::BakExportOptions, decorator: Google::Apis::SqladminV1beta4::ExportContext::BakExportOptions::Representation
838
+
831
839
  property :csv_export_options, as: 'csvExportOptions', class: Google::Apis::SqladminV1beta4::ExportContext::CsvExportOptions, decorator: Google::Apis::SqladminV1beta4::ExportContext::CsvExportOptions::Representation
832
840
 
833
841
  collection :databases, as: 'databases'
@@ -839,6 +847,14 @@ module Google
839
847
  property :uri, as: 'uri'
840
848
  end
841
849
 
850
+ class BakExportOptions
851
+ # @private
852
+ class Representation < Google::Apis::Core::JsonRepresentation
853
+ property :stripe_count, as: 'stripeCount'
854
+ property :striped, as: 'striped'
855
+ end
856
+ end
857
+
842
858
  class CsvExportOptions
843
859
  # @private
844
860
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -938,6 +954,7 @@ module Google
938
954
  class Representation < Google::Apis::Core::JsonRepresentation
939
955
  property :encryption_options, as: 'encryptionOptions', class: Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions::EncryptionOptions, decorator: Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions::EncryptionOptions::Representation
940
956
 
957
+ property :striped, as: 'striped'
941
958
  end
942
959
 
943
960
  class EncryptionOptions
@@ -1075,6 +1092,7 @@ module Google
1075
1092
  property :allocated_ip_range, as: 'allocatedIpRange'
1076
1093
  collection :authorized_networks, as: 'authorizedNetworks', class: Google::Apis::SqladminV1beta4::AclEntry, decorator: Google::Apis::SqladminV1beta4::AclEntry::Representation
1077
1094
 
1095
+ property :enable_private_path_for_google_cloud_services, as: 'enablePrivatePathForGoogleCloudServices'
1078
1096
  property :ipv4_enabled, as: 'ipv4Enabled'
1079
1097
  property :private_network, as: 'privateNetwork'
1080
1098
  property :require_ssl, as: 'requireSsl'
@@ -1734,8 +1734,9 @@ module Google
1734
1734
  # @param [String] instance
1735
1735
  # Database instance ID. This does not include the project ID.
1736
1736
  # @param [String] name
1737
- # User of the instance. If the database user has a host, this is specified as `
1738
- # username`@`host` else as `username`.
1737
+ # User of the instance.
1738
+ # @param [String] host
1739
+ # Host of a user of the instance.
1739
1740
  # @param [String] fields
1740
1741
  # Selector specifying which fields to include in a partial response.
1741
1742
  # @param [String] quota_user
@@ -1753,13 +1754,14 @@ module Google
1753
1754
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1754
1755
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1755
1756
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1756
- def get_user(project, instance, name, fields: nil, quota_user: nil, options: nil, &block)
1757
+ def get_user(project, instance, name, host: nil, fields: nil, quota_user: nil, options: nil, &block)
1757
1758
  command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/users/{name}', options)
1758
1759
  command.response_representation = Google::Apis::SqladminV1beta4::User::Representation
1759
1760
  command.response_class = Google::Apis::SqladminV1beta4::User
1760
1761
  command.params['project'] = project unless project.nil?
1761
1762
  command.params['instance'] = instance unless instance.nil?
1762
1763
  command.params['name'] = name unless name.nil?
1764
+ command.query['host'] = host unless host.nil?
1763
1765
  command.query['fields'] = fields unless fields.nil?
1764
1766
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1765
1767
  execute_or_queue_command(command, &block)
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.38.0
4
+ version: 0.39.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-10-03 00:00:00.000000000 Z
11
+ date: 2022-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.0
19
+ version: 0.9.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.0
29
+ version: 0.9.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.38.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.39.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: []