google-apis-sqladmin_v1 0.27.0 → 0.28.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: ffd0157fcb65ace14b3cc160638ef9aecb0056458098d55bec7e15568e759bbd
4
- data.tar.gz: 84d87bedaf279750731ac6dda9654e7aa68866858e444da148d250321a66145c
3
+ metadata.gz: d6c115d7f6e45468209c232682aa9505834f570b171460944a0535b57ff701ed
4
+ data.tar.gz: 5d6fe883c65bc9981d6f490f477d4076220776e3e772dab653af36c4d568cebf
5
5
  SHA512:
6
- metadata.gz: c4be86105e4652789f885ee877540b551a40e72459893724a1da4d65a429b800974cba971becf1f2559ca44883ccea2ed0fc147738bfd14e35c082432d3badb7
7
- data.tar.gz: 94abab0772b746353d5b3ce527e6cb53348d67c08c7020dd9bff5f04682b90658963c6fb5a3170f1c8b6e1904a7cf48a0fb79a57cc6a77fdca22c5dcab2fb8d4
6
+ metadata.gz: 35a41c87b59fa29696afd023c7365ebee28a5f4f68f221ee72e36dd7d1f5bb6944ec9a3cae376daa6f466e4100dcfb2b5018fd167b4d619503b306f83ff6df79
7
+ data.tar.gz: '08915664efae35c339c4d016e3c53f263839b2b9aed102885b171ede85138e88c5cd4379a0640d6760930970cd21e6020d557f673329707d9bf7a7cc6262d75f'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.28.0 (2022-10-20)
4
+
5
+ * Regenerated from discovery document revision 20221017
6
+ * Regenerated using generator version 0.11.0
7
+
3
8
  ### v0.27.0 (2022-09-26)
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::SqladminV1::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::SqladminV1::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
@@ -1583,6 +1615,12 @@ module Google
1583
1615
  # @return [Google::Apis::SqladminV1::ImportContext::BakImportOptions::EncryptionOptions]
1584
1616
  attr_accessor :encryption_options
1585
1617
 
1618
+ #
1619
+ # Corresponds to the JSON property `striped`
1620
+ # @return [Boolean]
1621
+ attr_accessor :striped
1622
+ alias_method :striped?, :striped
1623
+
1586
1624
  def initialize(**args)
1587
1625
  update!(**args)
1588
1626
  end
@@ -1590,6 +1628,7 @@ module Google
1590
1628
  # Update properties of this object
1591
1629
  def update!(**args)
1592
1630
  @encryption_options = args[:encryption_options] if args.key?(:encryption_options)
1631
+ @striped = args[:striped] if args.key?(:striped)
1593
1632
  end
1594
1633
 
1595
1634
  #
@@ -2008,6 +2047,13 @@ module Google
2008
2047
  # @return [Array<Google::Apis::SqladminV1::AclEntry>]
2009
2048
  attr_accessor :authorized_networks
2010
2049
 
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
+
2011
2057
  # Whether the instance is assigned a public IP address or not.
2012
2058
  # Corresponds to the JSON property `ipv4Enabled`
2013
2059
  # @return [Boolean]
@@ -2036,6 +2082,7 @@ module Google
2036
2082
  def update!(**args)
2037
2083
  @allocated_ip_range = args[:allocated_ip_range] if args.key?(:allocated_ip_range)
2038
2084
  @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)
2039
2086
  @ipv4_enabled = args[:ipv4_enabled] if args.key?(:ipv4_enabled)
2040
2087
  @private_network = args[:private_network] if args.key?(:private_network)
2041
2088
  @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.27.0"
19
+ GEM_VERSION = "0.28.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::SqladminV1::ExportContext::BakExportOptions, decorator: Google::Apis::SqladminV1::ExportContext::BakExportOptions::Representation
838
+
831
839
  property :csv_export_options, as: 'csvExportOptions', class: Google::Apis::SqladminV1::ExportContext::CsvExportOptions, decorator: Google::Apis::SqladminV1::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::SqladminV1::ImportContext::BakImportOptions::EncryptionOptions, decorator: Google::Apis::SqladminV1::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::SqladminV1::AclEntry, decorator: Google::Apis::SqladminV1::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, 'v1/projects/{project}/instances/{instance}/users/{name}', options)
1758
1759
  command.response_representation = Google::Apis::SqladminV1::User::Representation
1759
1760
  command.response_class = Google::Apis::SqladminV1::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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.28.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-21 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.28.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: []