google-apis-sqladmin_v1 0.28.0 → 0.29.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: d6c115d7f6e45468209c232682aa9505834f570b171460944a0535b57ff701ed
4
- data.tar.gz: 5d6fe883c65bc9981d6f490f477d4076220776e3e772dab653af36c4d568cebf
3
+ metadata.gz: aa6e44eba7d90d59be5c1e5f22be2dde33bff5b5548b176fecf66dee5cbc5da1
4
+ data.tar.gz: 7294f2901ba6e185c740d54807ac756c1cf0ad08363e9ad814c20309869b70de
5
5
  SHA512:
6
- metadata.gz: 35a41c87b59fa29696afd023c7365ebee28a5f4f68f221ee72e36dd7d1f5bb6944ec9a3cae376daa6f466e4100dcfb2b5018fd167b4d619503b306f83ff6df79
7
- data.tar.gz: '08915664efae35c339c4d016e3c53f263839b2b9aed102885b171ede85138e88c5cd4379a0640d6760930970cd21e6020d557f673329707d9bf7a7cc6262d75f'
6
+ metadata.gz: e3f8bce896a37b2a2edd60b66d22b065e9fc0843e020a2c634d08c11c83ca6f103f9f3e921eb8a00c44a616d317e35656b26290a1338ab894f4a12d5d8f3568c
7
+ data.tar.gz: 8a5bf9191dc0a9573b2c21308d05f01dc72b7f5df03c8fd1a506558ef96e789cabd3be1edfb148f7bc50a175c8fc81a13d5e26ea25b1cff3b3f37e0dcdd626cc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.29.0 (2022-11-11)
4
+
5
+ * Regenerated from discovery document revision 20221104
6
+
3
7
  ### v0.28.0 (2022-10-20)
4
8
 
5
9
  * Regenerated from discovery document revision 20221017
@@ -1154,11 +1154,6 @@ 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::SqladminV1::ExportContext::BakExportOptions]
1160
- attr_accessor :bak_export_options
1161
-
1162
1157
  # Options for exporting data as CSV. `MySQL` and `PostgreSQL` instances only.
1163
1158
  # Corresponds to the JSON property `csvExportOptions`
1164
1159
  # @return [Google::Apis::SqladminV1::ExportContext::CsvExportOptions]
@@ -1212,7 +1207,6 @@ module Google
1212
1207
 
1213
1208
  # Update properties of this object
1214
1209
  def update!(**args)
1215
- @bak_export_options = args[:bak_export_options] if args.key?(:bak_export_options)
1216
1210
  @csv_export_options = args[:csv_export_options] if args.key?(:csv_export_options)
1217
1211
  @databases = args[:databases] if args.key?(:databases)
1218
1212
  @file_type = args[:file_type] if args.key?(:file_type)
@@ -1222,32 +1216,6 @@ module Google
1222
1216
  @uri = args[:uri] if args.key?(:uri)
1223
1217
  end
1224
1218
 
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
-
1251
1219
  # Options for exporting data as CSV. `MySQL` and `PostgreSQL` instances only.
1252
1220
  class CsvExportOptions
1253
1221
  include Google::Apis::Core::Hashable
@@ -1615,12 +1583,6 @@ module Google
1615
1583
  # @return [Google::Apis::SqladminV1::ImportContext::BakImportOptions::EncryptionOptions]
1616
1584
  attr_accessor :encryption_options
1617
1585
 
1618
- #
1619
- # Corresponds to the JSON property `striped`
1620
- # @return [Boolean]
1621
- attr_accessor :striped
1622
- alias_method :striped?, :striped
1623
-
1624
1586
  def initialize(**args)
1625
1587
  update!(**args)
1626
1588
  end
@@ -1628,7 +1590,6 @@ module Google
1628
1590
  # Update properties of this object
1629
1591
  def update!(**args)
1630
1592
  @encryption_options = args[:encryption_options] if args.key?(:encryption_options)
1631
- @striped = args[:striped] if args.key?(:striped)
1632
1593
  end
1633
1594
 
1634
1595
  #
@@ -2047,13 +2008,6 @@ module Google
2047
2008
  # @return [Array<Google::Apis::SqladminV1::AclEntry>]
2048
2009
  attr_accessor :authorized_networks
2049
2010
 
2050
- # Controls connectivity to private IP instances from Google services, such as
2051
- # BigQuery.
2052
- # Corresponds to the JSON property `enablePrivatePathForGoogleCloudServices`
2053
- # @return [Boolean]
2054
- attr_accessor :enable_private_path_for_google_cloud_services
2055
- alias_method :enable_private_path_for_google_cloud_services?, :enable_private_path_for_google_cloud_services
2056
-
2057
2011
  # Whether the instance is assigned a public IP address or not.
2058
2012
  # Corresponds to the JSON property `ipv4Enabled`
2059
2013
  # @return [Boolean]
@@ -2082,7 +2036,6 @@ module Google
2082
2036
  def update!(**args)
2083
2037
  @allocated_ip_range = args[:allocated_ip_range] if args.key?(:allocated_ip_range)
2084
2038
  @authorized_networks = args[:authorized_networks] if args.key?(:authorized_networks)
2085
- @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)
2086
2039
  @ipv4_enabled = args[:ipv4_enabled] if args.key?(:ipv4_enabled)
2087
2040
  @private_network = args[:private_network] if args.key?(:private_network)
2088
2041
  @require_ssl = args[:require_ssl] if args.key?(:require_ssl)
@@ -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.28.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221017"
25
+ REVISION = "20221104"
26
26
  end
27
27
  end
28
28
  end
@@ -151,12 +151,6 @@ 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
-
160
154
  class CsvExportOptions
161
155
  class Representation < Google::Apis::Core::JsonRepresentation; end
162
156
 
@@ -834,8 +828,6 @@ module Google
834
828
  class ExportContext
835
829
  # @private
836
830
  class Representation < Google::Apis::Core::JsonRepresentation
837
- property :bak_export_options, as: 'bakExportOptions', class: Google::Apis::SqladminV1::ExportContext::BakExportOptions, decorator: Google::Apis::SqladminV1::ExportContext::BakExportOptions::Representation
838
-
839
831
  property :csv_export_options, as: 'csvExportOptions', class: Google::Apis::SqladminV1::ExportContext::CsvExportOptions, decorator: Google::Apis::SqladminV1::ExportContext::CsvExportOptions::Representation
840
832
 
841
833
  collection :databases, as: 'databases'
@@ -847,14 +839,6 @@ module Google
847
839
  property :uri, as: 'uri'
848
840
  end
849
841
 
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
-
858
842
  class CsvExportOptions
859
843
  # @private
860
844
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -954,7 +938,6 @@ module Google
954
938
  class Representation < Google::Apis::Core::JsonRepresentation
955
939
  property :encryption_options, as: 'encryptionOptions', class: Google::Apis::SqladminV1::ImportContext::BakImportOptions::EncryptionOptions, decorator: Google::Apis::SqladminV1::ImportContext::BakImportOptions::EncryptionOptions::Representation
956
940
 
957
- property :striped, as: 'striped'
958
941
  end
959
942
 
960
943
  class EncryptionOptions
@@ -1092,7 +1075,6 @@ module Google
1092
1075
  property :allocated_ip_range, as: 'allocatedIpRange'
1093
1076
  collection :authorized_networks, as: 'authorizedNetworks', class: Google::Apis::SqladminV1::AclEntry, decorator: Google::Apis::SqladminV1::AclEntry::Representation
1094
1077
 
1095
- property :enable_private_path_for_google_cloud_services, as: 'enablePrivatePathForGoogleCloudServices'
1096
1078
  property :ipv4_enabled, as: 'ipv4Enabled'
1097
1079
  property :private_network, as: 'privateNetwork'
1098
1080
  property :require_ssl, as: 'requireSsl'
@@ -1734,9 +1734,8 @@ 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.
1738
- # @param [String] host
1739
- # Host of a user of the instance.
1737
+ # User of the instance. If the database user has a host, this is specified as `
1738
+ # username`@`host` else as `username`.
1740
1739
  # @param [String] fields
1741
1740
  # Selector specifying which fields to include in a partial response.
1742
1741
  # @param [String] quota_user
@@ -1754,14 +1753,13 @@ module Google
1754
1753
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1755
1754
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1756
1755
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1757
- def get_user(project, instance, name, host: nil, fields: nil, quota_user: nil, options: nil, &block)
1756
+ def get_user(project, instance, name, fields: nil, quota_user: nil, options: nil, &block)
1758
1757
  command = make_simple_command(:get, 'v1/projects/{project}/instances/{instance}/users/{name}', options)
1759
1758
  command.response_representation = Google::Apis::SqladminV1::User::Representation
1760
1759
  command.response_class = Google::Apis::SqladminV1::User
1761
1760
  command.params['project'] = project unless project.nil?
1762
1761
  command.params['instance'] = instance unless instance.nil?
1763
1762
  command.params['name'] = name unless name.nil?
1764
- command.query['host'] = host unless host.nil?
1765
1763
  command.query['fields'] = fields unless fields.nil?
1766
1764
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1767
1765
  execute_or_queue_command(command, &block)
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.28.0
4
+ version: 0.29.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-21 00:00:00.000000000 Z
11
+ date: 2022-11-14 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.28.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.29.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: []