google-apis-sqladmin_v1beta4 0.15.0 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7691202ac256acdbde5fed02d015609bc2cc7faae91e85a65970f80d17da3d52
4
- data.tar.gz: aeadb1853cf98773f0cb8e8e9b984d52b13ad6ea11e0dd8584cc4b6dfa0368f9
3
+ metadata.gz: 8d586a8ac43eaeb7c7ee21458437c838a4c6898310437c55bbe094f837b13652
4
+ data.tar.gz: 8b0dfbb51b19f740bb9262e2a99b79d9dea8224c91df22dd528efc32262264fe
5
5
  SHA512:
6
- metadata.gz: 1f8ab407256564ad0c70f09daeeb4f98d0ecaeec6d630ccb67aed3bf8b0d12eaa5b909d0e452a538f03f7e5e13a54c9bf504ffd458b9a7a2a96e535d45ad9ae1
7
- data.tar.gz: a69b3cfafe46eac500ff2c9a5a97b541925995a6d7e43d76da69b4bea5117dd2e79a8a9800b67a7fb5f5ee2d3cd30ffb25317381e8ce7171aa3e44d7abec1521
6
+ metadata.gz: 9e334b2d70f770caf83a0a891f83a0bda4134a538f13fd11a9ce87d22a5af5d50dd79d3b2ba7df6ca6b5acb2a65c38171e53c05ce1d65e22282db27dc7bad0a1
7
+ data.tar.gz: 6ecc252e56c37aef7395dffe58e30da30911b83bacbbebab47347e2a34cc7427ff2666474858bc2210b1321aae9952a503ee32d5adc6113cb187a50f79a6d504
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-sqladmin_v1beta4
2
2
 
3
+ ### v0.16.0 (2021-09-10)
4
+
5
+ * Regenerated from discovery document revision 20210902
6
+
3
7
  ### v0.15.0 (2021-09-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20210816
@@ -472,6 +472,12 @@ module Google
472
472
  # @return [String]
473
473
  attr_accessor :kind
474
474
 
475
+ # The cloud region for the instance. e.g. **us-central1**, **europe-west1**. The
476
+ # region cannot be changed after instance creation.
477
+ # Corresponds to the JSON property `region`
478
+ # @return [String]
479
+ attr_accessor :region
480
+
475
481
  # SslCerts Resource
476
482
  # Corresponds to the JSON property `serverCaCert`
477
483
  # @return [Google::Apis::SqladminV1beta4::SslCert]
@@ -487,6 +493,7 @@ module Google
487
493
  @database_version = args[:database_version] if args.key?(:database_version)
488
494
  @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
489
495
  @kind = args[:kind] if args.key?(:kind)
496
+ @region = args[:region] if args.key?(:region)
490
497
  @server_ca_cert = args[:server_ca_cert] if args.key?(:server_ca_cert)
491
498
  end
492
499
  end
@@ -1176,6 +1183,29 @@ module Google
1176
1183
  class CsvExportOptions
1177
1184
  include Google::Apis::Core::Hashable
1178
1185
 
1186
+ # Specifies the character that should appear before a data character that needs
1187
+ # to be escaped.
1188
+ # Corresponds to the JSON property `escapeCharacter`
1189
+ # @return [String]
1190
+ attr_accessor :escape_character
1191
+
1192
+ # Specifies the character that separates columns within each row (line) of the
1193
+ # file.
1194
+ # Corresponds to the JSON property `fieldsTerminatedBy`
1195
+ # @return [String]
1196
+ attr_accessor :fields_terminated_by
1197
+
1198
+ # This is used to separate lines. If a line does not contain all fields, the
1199
+ # rest of the columns are set to their default values.
1200
+ # Corresponds to the JSON property `linesTerminatedBy`
1201
+ # @return [String]
1202
+ attr_accessor :lines_terminated_by
1203
+
1204
+ # Specifies the quoting character to be used when a data value is quoted.
1205
+ # Corresponds to the JSON property `quoteCharacter`
1206
+ # @return [String]
1207
+ attr_accessor :quote_character
1208
+
1179
1209
  # The select query used to extract the data.
1180
1210
  # Corresponds to the JSON property `selectQuery`
1181
1211
  # @return [String]
@@ -1187,6 +1217,10 @@ module Google
1187
1217
 
1188
1218
  # Update properties of this object
1189
1219
  def update!(**args)
1220
+ @escape_character = args[:escape_character] if args.key?(:escape_character)
1221
+ @fields_terminated_by = args[:fields_terminated_by] if args.key?(:fields_terminated_by)
1222
+ @lines_terminated_by = args[:lines_terminated_by] if args.key?(:lines_terminated_by)
1223
+ @quote_character = args[:quote_character] if args.key?(:quote_character)
1190
1224
  @select_query = args[:select_query] if args.key?(:select_query)
1191
1225
  end
1192
1226
  end
@@ -1555,6 +1589,29 @@ module Google
1555
1589
  # @return [Array<String>]
1556
1590
  attr_accessor :columns
1557
1591
 
1592
+ # Specifies the character that should appear before a data character that needs
1593
+ # to be escaped.
1594
+ # Corresponds to the JSON property `escapeCharacter`
1595
+ # @return [String]
1596
+ attr_accessor :escape_character
1597
+
1598
+ # Specifies the character that separates columns within each row (line) of the
1599
+ # file.
1600
+ # Corresponds to the JSON property `fieldsTerminatedBy`
1601
+ # @return [String]
1602
+ attr_accessor :fields_terminated_by
1603
+
1604
+ # This is used to separate lines. If a line does not contain all fields, the
1605
+ # rest of the columns are set to their default values.
1606
+ # Corresponds to the JSON property `linesTerminatedBy`
1607
+ # @return [String]
1608
+ attr_accessor :lines_terminated_by
1609
+
1610
+ # Specifies the quoting character to be used when a data value is quoted.
1611
+ # Corresponds to the JSON property `quoteCharacter`
1612
+ # @return [String]
1613
+ attr_accessor :quote_character
1614
+
1558
1615
  # The table to which CSV data is imported.
1559
1616
  # Corresponds to the JSON property `table`
1560
1617
  # @return [String]
@@ -1567,6 +1624,10 @@ module Google
1567
1624
  # Update properties of this object
1568
1625
  def update!(**args)
1569
1626
  @columns = args[:columns] if args.key?(:columns)
1627
+ @escape_character = args[:escape_character] if args.key?(:escape_character)
1628
+ @fields_terminated_by = args[:fields_terminated_by] if args.key?(:fields_terminated_by)
1629
+ @lines_terminated_by = args[:lines_terminated_by] if args.key?(:lines_terminated_by)
1630
+ @quote_character = args[:quote_character] if args.key?(:quote_character)
1570
1631
  @table = args[:table] if args.key?(:table)
1571
1632
  end
1572
1633
  end
@@ -2689,6 +2750,11 @@ module Google
2689
2750
  # @return [Fixnum]
2690
2751
  attr_accessor :settings_version
2691
2752
 
2753
+ # SQL Server specific audit configuration.
2754
+ # Corresponds to the JSON property `sqlServerAuditConfig`
2755
+ # @return [Google::Apis::SqladminV1beta4::SqlServerAuditConfig]
2756
+ attr_accessor :sql_server_audit_config
2757
+
2692
2758
  # Configuration to increase storage size automatically. The default value is
2693
2759
  # true.
2694
2760
  # Corresponds to the JSON property `storageAutoResize`
@@ -2739,6 +2805,7 @@ module Google
2739
2805
  @pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan)
2740
2806
  @replication_type = args[:replication_type] if args.key?(:replication_type)
2741
2807
  @settings_version = args[:settings_version] if args.key?(:settings_version)
2808
+ @sql_server_audit_config = args[:sql_server_audit_config] if args.key?(:sql_server_audit_config)
2742
2809
  @storage_auto_resize = args[:storage_auto_resize] if args.key?(:storage_auto_resize)
2743
2810
  @storage_auto_resize_limit = args[:storage_auto_resize_limit] if args.key?(:storage_auto_resize_limit)
2744
2811
  @tier = args[:tier] if args.key?(:tier)
@@ -2873,6 +2940,12 @@ module Google
2873
2940
  attr_accessor :verify_connection_only
2874
2941
  alias_method :verify_connection_only?, :verify_connection_only
2875
2942
 
2943
+ # Optional. Flag to verify settings required by replication setup only
2944
+ # Corresponds to the JSON property `verifyReplicationOnly`
2945
+ # @return [Boolean]
2946
+ attr_accessor :verify_replication_only
2947
+ alias_method :verify_replication_only?, :verify_replication_only
2948
+
2876
2949
  def initialize(**args)
2877
2950
  update!(**args)
2878
2951
  end
@@ -2882,6 +2955,7 @@ module Google
2882
2955
  @mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
2883
2956
  @sync_mode = args[:sync_mode] if args.key?(:sync_mode)
2884
2957
  @verify_connection_only = args[:verify_connection_only] if args.key?(:verify_connection_only)
2958
+ @verify_replication_only = args[:verify_replication_only] if args.key?(:verify_replication_only)
2885
2959
  end
2886
2960
  end
2887
2961
 
@@ -2983,6 +3057,31 @@ module Google
2983
3057
  end
2984
3058
  end
2985
3059
 
3060
+ # SQL Server specific audit configuration.
3061
+ class SqlServerAuditConfig
3062
+ include Google::Apis::Core::Hashable
3063
+
3064
+ # The name of the destination bucket (e.g., gs://mybucket).
3065
+ # Corresponds to the JSON property `bucket`
3066
+ # @return [String]
3067
+ attr_accessor :bucket
3068
+
3069
+ # This is always sql#sqlServerAuditConfig
3070
+ # Corresponds to the JSON property `kind`
3071
+ # @return [String]
3072
+ attr_accessor :kind
3073
+
3074
+ def initialize(**args)
3075
+ update!(**args)
3076
+ end
3077
+
3078
+ # Update properties of this object
3079
+ def update!(**args)
3080
+ @bucket = args[:bucket] if args.key?(:bucket)
3081
+ @kind = args[:kind] if args.key?(:kind)
3082
+ end
3083
+ end
3084
+
2986
3085
  # Represents a Sql Server database on the Cloud SQL instance.
2987
3086
  class SqlServerDatabaseDetails
2988
3087
  include Google::Apis::Core::Hashable
@@ -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.15.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210816"
25
+ REVISION = "20210902"
26
26
  end
27
27
  end
28
28
  end
@@ -442,6 +442,12 @@ module Google
442
442
  include Google::Apis::Core::JsonObjectSupport
443
443
  end
444
444
 
445
+ class SqlServerAuditConfig
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
445
451
  class SqlServerDatabaseDetails
446
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
453
 
@@ -641,6 +647,7 @@ module Google
641
647
  collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1beta4::IpMapping, decorator: Google::Apis::SqladminV1beta4::IpMapping::Representation
642
648
 
643
649
  property :kind, as: 'kind'
650
+ property :region, as: 'region'
644
651
  property :server_ca_cert, as: 'serverCaCert', class: Google::Apis::SqladminV1beta4::SslCert, decorator: Google::Apis::SqladminV1beta4::SslCert::Representation
645
652
 
646
653
  end
@@ -811,6 +818,10 @@ module Google
811
818
  class CsvExportOptions
812
819
  # @private
813
820
  class Representation < Google::Apis::Core::JsonRepresentation
821
+ property :escape_character, as: 'escapeCharacter'
822
+ property :fields_terminated_by, as: 'fieldsTerminatedBy'
823
+ property :lines_terminated_by, as: 'linesTerminatedBy'
824
+ property :quote_character, as: 'quoteCharacter'
814
825
  property :select_query, as: 'selectQuery'
815
826
  end
816
827
  end
@@ -918,6 +929,10 @@ module Google
918
929
  # @private
919
930
  class Representation < Google::Apis::Core::JsonRepresentation
920
931
  collection :columns, as: 'columns'
932
+ property :escape_character, as: 'escapeCharacter'
933
+ property :fields_terminated_by, as: 'fieldsTerminatedBy'
934
+ property :lines_terminated_by, as: 'linesTerminatedBy'
935
+ property :quote_character, as: 'quoteCharacter'
921
936
  property :table, as: 'table'
922
937
  end
923
938
  end
@@ -1232,6 +1247,8 @@ module Google
1232
1247
  property :pricing_plan, as: 'pricingPlan'
1233
1248
  property :replication_type, as: 'replicationType'
1234
1249
  property :settings_version, :numeric_string => true, as: 'settingsVersion'
1250
+ property :sql_server_audit_config, as: 'sqlServerAuditConfig', class: Google::Apis::SqladminV1beta4::SqlServerAuditConfig, decorator: Google::Apis::SqladminV1beta4::SqlServerAuditConfig::Representation
1251
+
1235
1252
  property :storage_auto_resize, as: 'storageAutoResize'
1236
1253
  property :storage_auto_resize_limit, :numeric_string => true, as: 'storageAutoResizeLimit'
1237
1254
  property :tier, as: 'tier'
@@ -1281,6 +1298,7 @@ module Google
1281
1298
 
1282
1299
  property :sync_mode, as: 'syncMode'
1283
1300
  property :verify_connection_only, as: 'verifyConnectionOnly'
1301
+ property :verify_replication_only, as: 'verifyReplicationOnly'
1284
1302
  end
1285
1303
  end
1286
1304
 
@@ -1313,6 +1331,14 @@ module Google
1313
1331
  end
1314
1332
  end
1315
1333
 
1334
+ class SqlServerAuditConfig
1335
+ # @private
1336
+ class Representation < Google::Apis::Core::JsonRepresentation
1337
+ property :bucket, as: 'bucket'
1338
+ property :kind, as: 'kind'
1339
+ end
1340
+ end
1341
+
1316
1342
  class SqlServerDatabaseDetails
1317
1343
  # @private
1318
1344
  class Representation < Google::Apis::Core::JsonRepresentation
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.15.0
4
+ version: 0.16.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: 2021-09-06 00:00:00.000000000 Z
11
+ date: 2021-09-13 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/master/generated/google-apis-sqladmin_v1beta4/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-sqladmin_v1beta4
63
63
  post_install_message:
64
64
  rdoc_options: []