google-apis-sqladmin_v1beta4 0.39.0 → 0.40.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49c131cd83eda3c7ba4455897d9770475bd82812884b96582f5d03e0eb594966
|
4
|
+
data.tar.gz: a24881d5e87b8692e1754b544c7fc1858251b17a753b4cedd2979d1001ac343a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72adcab9c4d374d3e5484b6dbb60588eef76eae1ab599e729c955c365ae4f6871342dd5533d2ddf3af38de202d0bbdbcd9221ae4bcb3653bca19a2975523e69f
|
7
|
+
data.tar.gz: 43761deb75c73d5e0d14ba89ed0727c3a4de0e9f5d9c31185e5cfb47b421039ecc7b507ad9c879466e7008956cf574cfa6bcfa6752ba38322f0fbca998a3a964
|
data/CHANGELOG.md
CHANGED
@@ -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::SqladminV1beta4::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::SqladminV1beta4::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
|
@@ -1616,12 +1584,6 @@ module Google
|
|
1616
1584
|
# @return [Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions::EncryptionOptions]
|
1617
1585
|
attr_accessor :encryption_options
|
1618
1586
|
|
1619
|
-
#
|
1620
|
-
# Corresponds to the JSON property `striped`
|
1621
|
-
# @return [Boolean]
|
1622
|
-
attr_accessor :striped
|
1623
|
-
alias_method :striped?, :striped
|
1624
|
-
|
1625
1587
|
def initialize(**args)
|
1626
1588
|
update!(**args)
|
1627
1589
|
end
|
@@ -1629,7 +1591,6 @@ module Google
|
|
1629
1591
|
# Update properties of this object
|
1630
1592
|
def update!(**args)
|
1631
1593
|
@encryption_options = args[:encryption_options] if args.key?(:encryption_options)
|
1632
|
-
@striped = args[:striped] if args.key?(:striped)
|
1633
1594
|
end
|
1634
1595
|
|
1635
1596
|
#
|
@@ -2048,13 +2009,6 @@ module Google
|
|
2048
2009
|
# @return [Array<Google::Apis::SqladminV1beta4::AclEntry>]
|
2049
2010
|
attr_accessor :authorized_networks
|
2050
2011
|
|
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
|
-
|
2058
2012
|
# Whether the instance is assigned a public IP address or not.
|
2059
2013
|
# Corresponds to the JSON property `ipv4Enabled`
|
2060
2014
|
# @return [Boolean]
|
@@ -2083,7 +2037,6 @@ module Google
|
|
2083
2037
|
def update!(**args)
|
2084
2038
|
@allocated_ip_range = args[:allocated_ip_range] if args.key?(:allocated_ip_range)
|
2085
2039
|
@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)
|
2087
2040
|
@ipv4_enabled = args[:ipv4_enabled] if args.key?(:ipv4_enabled)
|
2088
2041
|
@private_network = args[:private_network] if args.key?(:private_network)
|
2089
2042
|
@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.
|
19
|
+
GEM_VERSION = "0.40.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 = "
|
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::SqladminV1beta4::ExportContext::BakExportOptions, decorator: Google::Apis::SqladminV1beta4::ExportContext::BakExportOptions::Representation
|
838
|
-
|
839
831
|
property :csv_export_options, as: 'csvExportOptions', class: Google::Apis::SqladminV1beta4::ExportContext::CsvExportOptions, decorator: Google::Apis::SqladminV1beta4::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::SqladminV1beta4::ImportContext::BakImportOptions::EncryptionOptions, decorator: Google::Apis::SqladminV1beta4::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::SqladminV1beta4::AclEntry, decorator: Google::Apis::SqladminV1beta4::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
|
-
#
|
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,
|
1756
|
+
def get_user(project, instance, name, fields: nil, quota_user: nil, options: nil, &block)
|
1758
1757
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/users/{name}', options)
|
1759
1758
|
command.response_representation = Google::Apis::SqladminV1beta4::User::Representation
|
1760
1759
|
command.response_class = Google::Apis::SqladminV1beta4::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_v1beta4
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.40.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-
|
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_v1beta4/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.40.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: []
|