google-apis-sqladmin_v1 0.4.0 → 0.5.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: 0d994421e91c61577792402b42b754ebec4732c8e06876ab48bb05462f901b55
4
- data.tar.gz: c3875f250ace0d9494409434b422b3d4f73d86eca0fa6070df215607925cb05b
3
+ metadata.gz: d3804e8fe5e7e20f438892bc14f0ce771765b8049bb265dc9abc3686daca0bd2
4
+ data.tar.gz: f15cd4481eebea0c944cb58647ad6665c44ba4ac722f8d972d7fe60dc38c78b5
5
5
  SHA512:
6
- metadata.gz: eb16135bb66b81d9f27b80ce4ec4e59778915836a57f77e2084baa735ffd7160c6ebed44c93b2d7ab2995af3a332afe6a8acc703701db155eaa33974fc2944e5
7
- data.tar.gz: 7630fbbe17f22b925417a36622e053ba95353358720ce3c1b000874a43856152aa4823f137e7c152e35b388e2ba184201a88e9b250c103fda25f7c152bd84aa8
6
+ metadata.gz: 30f5645f91a00bafa7c64421acbfc8bad117036f897b9e89690a1bb6612428de68c8a52f6fb47367e51b3e9af63423e78dc93d1c5952a5a3625ef96ae8b502e8
7
+ data.tar.gz: e5eb911d106a7a24b92d59269b2e42949af3eba7a9478a67baf202fadecf929d2c3b99647794b5af182efcb7c890262a9d19ebe1cadf9772bd1e64432b100e73
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.5.0 (2021-09-10)
4
+
5
+ * Regenerated from discovery document revision 20210902
6
+
3
7
  ### v0.4.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::SqladminV1::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
@@ -1556,6 +1590,29 @@ module Google
1556
1590
  # @return [Array<String>]
1557
1591
  attr_accessor :columns
1558
1592
 
1593
+ # Specifies the character that should appear before a data character that needs
1594
+ # to be escaped.
1595
+ # Corresponds to the JSON property `escapeCharacter`
1596
+ # @return [String]
1597
+ attr_accessor :escape_character
1598
+
1599
+ # Specifies the character that separates columns within each row (line) of the
1600
+ # file.
1601
+ # Corresponds to the JSON property `fieldsTerminatedBy`
1602
+ # @return [String]
1603
+ attr_accessor :fields_terminated_by
1604
+
1605
+ # This is used to separate lines. If a line does not contain all fields, the
1606
+ # rest of the columns are set to their default values.
1607
+ # Corresponds to the JSON property `linesTerminatedBy`
1608
+ # @return [String]
1609
+ attr_accessor :lines_terminated_by
1610
+
1611
+ # Specifies the quoting character to be used when a data value is quoted.
1612
+ # Corresponds to the JSON property `quoteCharacter`
1613
+ # @return [String]
1614
+ attr_accessor :quote_character
1615
+
1559
1616
  # The table to which CSV data is imported.
1560
1617
  # Corresponds to the JSON property `table`
1561
1618
  # @return [String]
@@ -1568,6 +1625,10 @@ module Google
1568
1625
  # Update properties of this object
1569
1626
  def update!(**args)
1570
1627
  @columns = args[:columns] if args.key?(:columns)
1628
+ @escape_character = args[:escape_character] if args.key?(:escape_character)
1629
+ @fields_terminated_by = args[:fields_terminated_by] if args.key?(:fields_terminated_by)
1630
+ @lines_terminated_by = args[:lines_terminated_by] if args.key?(:lines_terminated_by)
1631
+ @quote_character = args[:quote_character] if args.key?(:quote_character)
1571
1632
  @table = args[:table] if args.key?(:table)
1572
1633
  end
1573
1634
  end
@@ -2687,6 +2748,11 @@ module Google
2687
2748
  # @return [Fixnum]
2688
2749
  attr_accessor :settings_version
2689
2750
 
2751
+ # SQL Server specific audit configuration.
2752
+ # Corresponds to the JSON property `sqlServerAuditConfig`
2753
+ # @return [Google::Apis::SqladminV1::SqlServerAuditConfig]
2754
+ attr_accessor :sql_server_audit_config
2755
+
2690
2756
  # Configuration to increase storage size automatically. The default value is
2691
2757
  # true.
2692
2758
  # Corresponds to the JSON property `storageAutoResize`
@@ -2737,6 +2803,7 @@ module Google
2737
2803
  @pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan)
2738
2804
  @replication_type = args[:replication_type] if args.key?(:replication_type)
2739
2805
  @settings_version = args[:settings_version] if args.key?(:settings_version)
2806
+ @sql_server_audit_config = args[:sql_server_audit_config] if args.key?(:sql_server_audit_config)
2740
2807
  @storage_auto_resize = args[:storage_auto_resize] if args.key?(:storage_auto_resize)
2741
2808
  @storage_auto_resize_limit = args[:storage_auto_resize_limit] if args.key?(:storage_auto_resize_limit)
2742
2809
  @tier = args[:tier] if args.key?(:tier)
@@ -2871,6 +2938,12 @@ module Google
2871
2938
  attr_accessor :verify_connection_only
2872
2939
  alias_method :verify_connection_only?, :verify_connection_only
2873
2940
 
2941
+ # Optional. Flag to verify settings required by replication setup only
2942
+ # Corresponds to the JSON property `verifyReplicationOnly`
2943
+ # @return [Boolean]
2944
+ attr_accessor :verify_replication_only
2945
+ alias_method :verify_replication_only?, :verify_replication_only
2946
+
2874
2947
  def initialize(**args)
2875
2948
  update!(**args)
2876
2949
  end
@@ -2880,6 +2953,7 @@ module Google
2880
2953
  @mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
2881
2954
  @sync_mode = args[:sync_mode] if args.key?(:sync_mode)
2882
2955
  @verify_connection_only = args[:verify_connection_only] if args.key?(:verify_connection_only)
2956
+ @verify_replication_only = args[:verify_replication_only] if args.key?(:verify_replication_only)
2883
2957
  end
2884
2958
  end
2885
2959
 
@@ -2982,6 +3056,31 @@ module Google
2982
3056
  end
2983
3057
  end
2984
3058
 
3059
+ # SQL Server specific audit configuration.
3060
+ class SqlServerAuditConfig
3061
+ include Google::Apis::Core::Hashable
3062
+
3063
+ # The name of the destination bucket (e.g., gs://mybucket).
3064
+ # Corresponds to the JSON property `bucket`
3065
+ # @return [String]
3066
+ attr_accessor :bucket
3067
+
3068
+ # This is always sql#sqlServerAuditConfig
3069
+ # Corresponds to the JSON property `kind`
3070
+ # @return [String]
3071
+ attr_accessor :kind
3072
+
3073
+ def initialize(**args)
3074
+ update!(**args)
3075
+ end
3076
+
3077
+ # Update properties of this object
3078
+ def update!(**args)
3079
+ @bucket = args[:bucket] if args.key?(:bucket)
3080
+ @kind = args[:kind] if args.key?(:kind)
3081
+ end
3082
+ end
3083
+
2985
3084
  # Represents a Sql Server database on the Cloud SQL instance.
2986
3085
  class SqlServerDatabaseDetails
2987
3086
  include Google::Apis::Core::Hashable
@@ -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.4.0"
19
+ GEM_VERSION = "0.5.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::SqladminV1::IpMapping, decorator: Google::Apis::SqladminV1::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::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::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::SqladminV1::SqlServerAuditConfig, decorator: Google::Apis::SqladminV1::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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.4.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.5.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-sqladmin_v1
63
63
  post_install_message:
64
64
  rdoc_options: []