google-apis-alloydb_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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f13423a0a7dcb498a037d1524f2e9551b922f5b41f82644fc36d167e8e713f67
|
4
|
+
data.tar.gz: ac642aa9b03d8b115aaa82f218b1568e3ba620a4ac6eda28577196f7f777e18e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7593cc450c77fdf47258f96e25861751e1bd9b4e94cb126683f247759fb990ac4b8f76dca0d87dd391efdc78a2b140afd40789ba042b0e675e2a3e467dc67af
|
7
|
+
data.tar.gz: a5d7f331b1fce156bd2b652435f8bd01d136085580f6e6fba3bafed3b67514e000e201ea33045afd874ebe3df7ec217c33f16511a27938f6e487ff7dd1a21f7f
|
data/CHANGELOG.md
CHANGED
@@ -837,12 +837,32 @@ module Google
|
|
837
837
|
end
|
838
838
|
end
|
839
839
|
|
840
|
-
# Options for exporting data in CSV format.
|
841
|
-
# get the data that needs to be exported.
|
840
|
+
# Options for exporting data in CSV format.
|
842
841
|
class CsvExportOptions
|
843
842
|
include Google::Apis::Core::Hashable
|
844
843
|
|
845
|
-
#
|
844
|
+
# Optional. Specifies the character that should appear before a data character
|
845
|
+
# that needs to be escaped. The default is the same as quote character. The
|
846
|
+
# value of this argument has to be a character in Hex ASCII Code.
|
847
|
+
# Corresponds to the JSON property `escapeCharacter`
|
848
|
+
# @return [String]
|
849
|
+
attr_accessor :escape_character
|
850
|
+
|
851
|
+
# Optional. Specifies the character that separates columns within each row (line)
|
852
|
+
# of the file. The default is comma. The value of this argument has to be a
|
853
|
+
# character in Hex ASCII Code.
|
854
|
+
# Corresponds to the JSON property `fieldDelimiter`
|
855
|
+
# @return [String]
|
856
|
+
attr_accessor :field_delimiter
|
857
|
+
|
858
|
+
# Optional. Specifies the quoting character to be used when a data value is
|
859
|
+
# quoted. The default is double-quote. The value of this argument has to be a
|
860
|
+
# character in Hex ASCII Code.
|
861
|
+
# Corresponds to the JSON property `quoteCharacter`
|
862
|
+
# @return [String]
|
863
|
+
attr_accessor :quote_character
|
864
|
+
|
865
|
+
# Required. The SELECT query used to extract the data.
|
846
866
|
# Corresponds to the JSON property `selectQuery`
|
847
867
|
# @return [String]
|
848
868
|
attr_accessor :select_query
|
@@ -853,6 +873,9 @@ module Google
|
|
853
873
|
|
854
874
|
# Update properties of this object
|
855
875
|
def update!(**args)
|
876
|
+
@escape_character = args[:escape_character] if args.key?(:escape_character)
|
877
|
+
@field_delimiter = args[:field_delimiter] if args.key?(:field_delimiter)
|
878
|
+
@quote_character = args[:quote_character] if args.key?(:quote_character)
|
856
879
|
@select_query = args[:select_query] if args.key?(:select_query)
|
857
880
|
end
|
858
881
|
end
|
@@ -925,15 +948,14 @@ module Google
|
|
925
948
|
class ExportClusterRequest
|
926
949
|
include Google::Apis::Core::Hashable
|
927
950
|
|
928
|
-
# Options for exporting data in CSV format.
|
929
|
-
# get the data that needs to be exported.
|
951
|
+
# Options for exporting data in CSV format.
|
930
952
|
# Corresponds to the JSON property `csvExportOptions`
|
931
953
|
# @return [Google::Apis::AlloydbV1::CsvExportOptions]
|
932
954
|
attr_accessor :csv_export_options
|
933
955
|
|
934
|
-
# Required. Name of the database where the
|
935
|
-
# provided should be the same as expected from `SELECT current_database()
|
936
|
-
# NOT as a resource reference.
|
956
|
+
# Required. Name of the database where the export command will be executed. Note
|
957
|
+
# - Value provided should be the same as expected from `SELECT current_database()
|
958
|
+
# ;` and NOT as a resource reference.
|
937
959
|
# Corresponds to the JSON property `database`
|
938
960
|
# @return [String]
|
939
961
|
attr_accessor :database
|
@@ -943,6 +965,11 @@ module Google
|
|
943
965
|
# @return [Google::Apis::AlloydbV1::GcsDestination]
|
944
966
|
attr_accessor :gcs_destination
|
945
967
|
|
968
|
+
# Options for exporting data in SQL format.
|
969
|
+
# Corresponds to the JSON property `sqlExportOptions`
|
970
|
+
# @return [Google::Apis::AlloydbV1::SqlExportOptions]
|
971
|
+
attr_accessor :sql_export_options
|
972
|
+
|
946
973
|
def initialize(**args)
|
947
974
|
update!(**args)
|
948
975
|
end
|
@@ -952,6 +979,7 @@ module Google
|
|
952
979
|
@csv_export_options = args[:csv_export_options] if args.key?(:csv_export_options)
|
953
980
|
@database = args[:database] if args.key?(:database)
|
954
981
|
@gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
|
982
|
+
@sql_export_options = args[:sql_export_options] if args.key?(:sql_export_options)
|
955
983
|
end
|
956
984
|
end
|
957
985
|
|
@@ -1016,8 +1044,7 @@ module Google
|
|
1016
1044
|
include Google::Apis::Core::Hashable
|
1017
1045
|
|
1018
1046
|
# Required. The path to the file in Google Cloud Storage where the export will
|
1019
|
-
# be stored. The URI is in the form `gs://bucketName/fileName`.
|
1020
|
-
# already exists, the request succeeds, but the operation fails.
|
1047
|
+
# be stored. The URI is in the form `gs://bucketName/fileName`.
|
1021
1048
|
# Corresponds to the JSON property `uri`
|
1022
1049
|
# @return [String]
|
1023
1050
|
attr_accessor :uri
|
@@ -1950,9 +1977,9 @@ module Google
|
|
1950
1977
|
attr_accessor :end_time
|
1951
1978
|
|
1952
1979
|
# Output only. Identifies whether the user has requested cancellation of the
|
1953
|
-
# operation. Operations that have successfully been cancelled have
|
1954
|
-
# error value with a google.rpc.Status.code of 1,
|
1955
|
-
# CANCELLED`.
|
1980
|
+
# operation. Operations that have successfully been cancelled have google.
|
1981
|
+
# longrunning.Operation.error value with a google.rpc.Status.code of 1,
|
1982
|
+
# corresponding to `Code.CANCELLED`.
|
1956
1983
|
# Corresponds to the JSON property `requestedCancellation`
|
1957
1984
|
# @return [Boolean]
|
1958
1985
|
attr_accessor :requested_cancellation
|
@@ -2356,6 +2383,48 @@ module Google
|
|
2356
2383
|
end
|
2357
2384
|
end
|
2358
2385
|
|
2386
|
+
# Options for exporting data in SQL format.
|
2387
|
+
class SqlExportOptions
|
2388
|
+
include Google::Apis::Core::Hashable
|
2389
|
+
|
2390
|
+
# Optional. If true, output commands to DROP all the dumped database objects
|
2391
|
+
# prior to outputting the commands for creating them.
|
2392
|
+
# Corresponds to the JSON property `cleanTargetObjects`
|
2393
|
+
# @return [Boolean]
|
2394
|
+
attr_accessor :clean_target_objects
|
2395
|
+
alias_method :clean_target_objects?, :clean_target_objects
|
2396
|
+
|
2397
|
+
# Optional. If true, use DROP ... IF EXISTS commands to check for the object's
|
2398
|
+
# existence before dropping it in clean_target_objects mode.
|
2399
|
+
# Corresponds to the JSON property `ifExistTargetObjects`
|
2400
|
+
# @return [Boolean]
|
2401
|
+
attr_accessor :if_exist_target_objects
|
2402
|
+
alias_method :if_exist_target_objects?, :if_exist_target_objects
|
2403
|
+
|
2404
|
+
# Optional. If true, only export the schema.
|
2405
|
+
# Corresponds to the JSON property `schemaOnly`
|
2406
|
+
# @return [Boolean]
|
2407
|
+
attr_accessor :schema_only
|
2408
|
+
alias_method :schema_only?, :schema_only
|
2409
|
+
|
2410
|
+
# Optional. Tables to export from.
|
2411
|
+
# Corresponds to the JSON property `tables`
|
2412
|
+
# @return [Array<String>]
|
2413
|
+
attr_accessor :tables
|
2414
|
+
|
2415
|
+
def initialize(**args)
|
2416
|
+
update!(**args)
|
2417
|
+
end
|
2418
|
+
|
2419
|
+
# Update properties of this object
|
2420
|
+
def update!(**args)
|
2421
|
+
@clean_target_objects = args[:clean_target_objects] if args.key?(:clean_target_objects)
|
2422
|
+
@if_exist_target_objects = args[:if_exist_target_objects] if args.key?(:if_exist_target_objects)
|
2423
|
+
@schema_only = args[:schema_only] if args.key?(:schema_only)
|
2424
|
+
@tables = args[:tables] if args.key?(:tables)
|
2425
|
+
end
|
2426
|
+
end
|
2427
|
+
|
2359
2428
|
# SSL configuration.
|
2360
2429
|
class SslConfig
|
2361
2430
|
include Google::Apis::Core::Hashable
|
@@ -3162,6 +3231,12 @@ module Google
|
|
3162
3231
|
# @return [Fixnum]
|
3163
3232
|
attr_accessor :shard_count
|
3164
3233
|
|
3234
|
+
# Optional. The number of vCPUs. TODO(b/342344482, b/342346271) add proto
|
3235
|
+
# validations again after bug fix.
|
3236
|
+
# Corresponds to the JSON property `vcpuCount`
|
3237
|
+
# @return [Float]
|
3238
|
+
attr_accessor :vcpu_count
|
3239
|
+
|
3165
3240
|
def initialize(**args)
|
3166
3241
|
update!(**args)
|
3167
3242
|
end
|
@@ -3171,6 +3246,7 @@ module Google
|
|
3171
3246
|
@cpu_count = args[:cpu_count] if args.key?(:cpu_count)
|
3172
3247
|
@memory_size_in_bytes = args[:memory_size_in_bytes] if args.key?(:memory_size_in_bytes)
|
3173
3248
|
@shard_count = args[:shard_count] if args.key?(:shard_count)
|
3249
|
+
@vcpu_count = args[:vcpu_count] if args.key?(:vcpu_count)
|
3174
3250
|
end
|
3175
3251
|
end
|
3176
3252
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AlloydbV1
|
18
18
|
# Version of the google-apis-alloydb_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.28.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241204"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -352,6 +352,12 @@ module Google
|
|
352
352
|
include Google::Apis::Core::JsonObjectSupport
|
353
353
|
end
|
354
354
|
|
355
|
+
class SqlExportOptions
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
355
361
|
class SslConfig
|
356
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
363
|
|
@@ -749,6 +755,9 @@ module Google
|
|
749
755
|
class CsvExportOptions
|
750
756
|
# @private
|
751
757
|
class Representation < Google::Apis::Core::JsonRepresentation
|
758
|
+
property :escape_character, as: 'escapeCharacter'
|
759
|
+
property :field_delimiter, as: 'fieldDelimiter'
|
760
|
+
property :quote_character, as: 'quoteCharacter'
|
752
761
|
property :select_query, as: 'selectQuery'
|
753
762
|
end
|
754
763
|
end
|
@@ -782,6 +791,8 @@ module Google
|
|
782
791
|
property :database, as: 'database'
|
783
792
|
property :gcs_destination, as: 'gcsDestination', class: Google::Apis::AlloydbV1::GcsDestination, decorator: Google::Apis::AlloydbV1::GcsDestination::Representation
|
784
793
|
|
794
|
+
property :sql_export_options, as: 'sqlExportOptions', class: Google::Apis::AlloydbV1::SqlExportOptions, decorator: Google::Apis::AlloydbV1::SqlExportOptions::Representation
|
795
|
+
|
785
796
|
end
|
786
797
|
end
|
787
798
|
|
@@ -1151,6 +1162,16 @@ module Google
|
|
1151
1162
|
end
|
1152
1163
|
end
|
1153
1164
|
|
1165
|
+
class SqlExportOptions
|
1166
|
+
# @private
|
1167
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1168
|
+
property :clean_target_objects, as: 'cleanTargetObjects'
|
1169
|
+
property :if_exist_target_objects, as: 'ifExistTargetObjects'
|
1170
|
+
property :schema_only, as: 'schemaOnly'
|
1171
|
+
collection :tables, as: 'tables'
|
1172
|
+
end
|
1173
|
+
end
|
1174
|
+
|
1154
1175
|
class SslConfig
|
1155
1176
|
# @private
|
1156
1177
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1355,6 +1376,7 @@ module Google
|
|
1355
1376
|
property :cpu_count, as: 'cpuCount'
|
1356
1377
|
property :memory_size_in_bytes, :numeric_string => true, as: 'memorySizeInBytes'
|
1357
1378
|
property :shard_count, as: 'shardCount'
|
1379
|
+
property :vcpu_count, as: 'vcpuCount'
|
1358
1380
|
end
|
1359
1381
|
end
|
1360
1382
|
|
@@ -1557,8 +1557,8 @@ module Google
|
|
1557
1557
|
# Clients can use Operations.GetOperation or other methods to check whether the
|
1558
1558
|
# cancellation succeeded or whether the operation completed despite cancellation.
|
1559
1559
|
# On successful cancellation, the operation is not deleted; instead, it becomes
|
1560
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of 1
|
1561
|
-
# corresponding to `Code.CANCELLED`.
|
1560
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
1561
|
+
# , corresponding to `Code.CANCELLED`.
|
1562
1562
|
# @param [String] name
|
1563
1563
|
# The name of the operation resource to be cancelled.
|
1564
1564
|
# @param [Google::Apis::AlloydbV1::CancelOperationRequest] cancel_operation_request_object
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-alloydb_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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: 2024-12-
|
11
|
+
date: 2024-12-15 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-alloydb_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.28.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.23
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for AlloyDB API V1
|