google-apis-datastream_v1 0.31.0 → 0.33.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: 381e79eebdea273d090a72d9a68cf48b9b3eb93274e15573c4fd17d2a2b4762b
4
- data.tar.gz: ddce0c0009fd326966de999d29623030995e531f9d7d3a38090289f433c9c1a9
3
+ metadata.gz: 7028639a64c3365ca531b3b0ebeed3fd2ae59ecc4d0e0d25850b8482faa88399
4
+ data.tar.gz: 4e66d51532175e00311adaa25198c99044f7ce520e365442605ae14de17188ce
5
5
  SHA512:
6
- metadata.gz: 550229bc5685bf9b5b36adb0c7627f78464a85f1a22ef244b0ef09bfc23696a360757db62d91520cdfdf1a3d904e2fd7d148c9e1ba4bbc1e20aaa75bbd10ea15
7
- data.tar.gz: 976b95c9b5afe3da39a8ffc6a8252a88a71e46ef04279b27b1429373c6a6cc72e253f0c25f26849a439f1ea2697830e311a347e06feff2fa3862641eb6332541
6
+ metadata.gz: 117702145de03332a4e8dd0c6df27c029af1b0e8bea127eed34a9d0ae3d2a1eea3dc2fa6156bb5fed11302d244d9349ce4555ab4120d1aebbf6022307ad4d02e
7
+ data.tar.gz: e26d8c488e9f85222087f54d5eb086572c98d6df48349ec96baf252abba102e3533cac29f3a3ef8db8327a33c0fcfdf15dc553fc6cbe586b7aa952962eefe319
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-datastream_v1
2
2
 
3
+ ### v0.33.0 (2024-02-18)
4
+
5
+ * Regenerated from discovery document revision 20240215
6
+ * Regenerated using generator version 0.13.1
7
+
8
+ ### v0.32.0 (2024-01-23)
9
+
10
+ * Regenerated from discovery document revision 20240103
11
+ * Regenerated using generator version 0.13.0
12
+
3
13
  ### v0.31.0 (2023-11-05)
4
14
 
5
15
  * Regenerated from discovery document revision 20231025
@@ -55,6 +55,11 @@ module Google
55
55
  # @return [Google::Apis::DatastreamV1::PostgresqlRdbms]
56
56
  attr_accessor :postgresql_excluded_objects
57
57
 
58
+ # SQLServer database structure.
59
+ # Corresponds to the JSON property `sqlServerExcludedObjects`
60
+ # @return [Google::Apis::DatastreamV1::SqlServerRdbms]
61
+ attr_accessor :sql_server_excluded_objects
62
+
58
63
  def initialize(**args)
59
64
  update!(**args)
60
65
  end
@@ -64,6 +69,7 @@ module Google
64
69
  @mysql_excluded_objects = args[:mysql_excluded_objects] if args.key?(:mysql_excluded_objects)
65
70
  @oracle_excluded_objects = args[:oracle_excluded_objects] if args.key?(:oracle_excluded_objects)
66
71
  @postgresql_excluded_objects = args[:postgresql_excluded_objects] if args.key?(:postgresql_excluded_objects)
72
+ @sql_server_excluded_objects = args[:sql_server_excluded_objects] if args.key?(:sql_server_excluded_objects)
67
73
  end
68
74
  end
69
75
 
@@ -276,6 +282,11 @@ module Google
276
282
  # @return [Google::Apis::DatastreamV1::PrivateConnectivity]
277
283
  attr_accessor :private_connectivity
278
284
 
285
+ # SQLServer database profile
286
+ # Corresponds to the JSON property `sqlServerProfile`
287
+ # @return [Google::Apis::DatastreamV1::SqlServerProfile]
288
+ attr_accessor :sql_server_profile
289
+
279
290
  # Static IP address connectivity. Used when the source database is configured to
280
291
  # allow incoming connections from the Datastream public IP addresses for the
281
292
  # region specified in the connection profile.
@@ -305,6 +316,7 @@ module Google
305
316
  @oracle_profile = args[:oracle_profile] if args.key?(:oracle_profile)
306
317
  @postgresql_profile = args[:postgresql_profile] if args.key?(:postgresql_profile)
307
318
  @private_connectivity = args[:private_connectivity] if args.key?(:private_connectivity)
319
+ @sql_server_profile = args[:sql_server_profile] if args.key?(:sql_server_profile)
308
320
  @static_service_ip_connectivity = args[:static_service_ip_connectivity] if args.key?(:static_service_ip_connectivity)
309
321
  @update_time = args[:update_time] if args.key?(:update_time)
310
322
  end
@@ -1652,6 +1664,25 @@ module Google
1652
1664
  end
1653
1665
  end
1654
1666
 
1667
+ # Oracle SCN position
1668
+ class OracleScnPosition
1669
+ include Google::Apis::Core::Hashable
1670
+
1671
+ # Required. SCN number from where Logs will be read
1672
+ # Corresponds to the JSON property `scn`
1673
+ # @return [Fixnum]
1674
+ attr_accessor :scn
1675
+
1676
+ def initialize(**args)
1677
+ update!(**args)
1678
+ end
1679
+
1680
+ # Update properties of this object
1681
+ def update!(**args)
1682
+ @scn = args[:scn] if args.key?(:scn)
1683
+ end
1684
+ end
1685
+
1655
1686
  # Oracle data source configuration
1656
1687
  class OracleSourceConfig
1657
1688
  include Google::Apis::Core::Hashable
@@ -2207,6 +2238,11 @@ module Google
2207
2238
  # @return [String]
2208
2239
  attr_accessor :source_connection_profile
2209
2240
 
2241
+ # SQLServer data source configuration
2242
+ # Corresponds to the JSON property `sqlServerSourceConfig`
2243
+ # @return [Google::Apis::DatastreamV1::SqlServerSourceConfig]
2244
+ attr_accessor :sql_server_source_config
2245
+
2210
2246
  def initialize(**args)
2211
2247
  update!(**args)
2212
2248
  end
@@ -2217,6 +2253,7 @@ module Google
2217
2253
  @oracle_source_config = args[:oracle_source_config] if args.key?(:oracle_source_config)
2218
2254
  @postgresql_source_config = args[:postgresql_source_config] if args.key?(:postgresql_source_config)
2219
2255
  @source_connection_profile = args[:source_connection_profile] if args.key?(:source_connection_profile)
2256
+ @sql_server_source_config = args[:sql_server_source_config] if args.key?(:sql_server_source_config)
2220
2257
  end
2221
2258
  end
2222
2259
 
@@ -2259,6 +2296,11 @@ module Google
2259
2296
  # @return [Google::Apis::DatastreamV1::PostgresqlObjectIdentifier]
2260
2297
  attr_accessor :postgresql_identifier
2261
2298
 
2299
+ # SQLServer data source object identifier.
2300
+ # Corresponds to the JSON property `sqlServerIdentifier`
2301
+ # @return [Google::Apis::DatastreamV1::SqlServerObjectIdentifier]
2302
+ attr_accessor :sql_server_identifier
2303
+
2262
2304
  def initialize(**args)
2263
2305
  update!(**args)
2264
2306
  end
@@ -2268,6 +2310,7 @@ module Google
2268
2310
  @mysql_identifier = args[:mysql_identifier] if args.key?(:mysql_identifier)
2269
2311
  @oracle_identifier = args[:oracle_identifier] if args.key?(:oracle_identifier)
2270
2312
  @postgresql_identifier = args[:postgresql_identifier] if args.key?(:postgresql_identifier)
2313
+ @sql_server_identifier = args[:sql_server_identifier] if args.key?(:sql_server_identifier)
2271
2314
  end
2272
2315
  end
2273
2316
 
@@ -2280,6 +2323,11 @@ module Google
2280
2323
  # @return [Google::Apis::DatastreamV1::MysqlLogPosition]
2281
2324
  attr_accessor :mysql_log_position
2282
2325
 
2326
+ # Oracle SCN position
2327
+ # Corresponds to the JSON property `oracleScnPosition`
2328
+ # @return [Google::Apis::DatastreamV1::OracleScnPosition]
2329
+ attr_accessor :oracle_scn_position
2330
+
2283
2331
  def initialize(**args)
2284
2332
  update!(**args)
2285
2333
  end
@@ -2287,6 +2335,245 @@ module Google
2287
2335
  # Update properties of this object
2288
2336
  def update!(**args)
2289
2337
  @mysql_log_position = args[:mysql_log_position] if args.key?(:mysql_log_position)
2338
+ @oracle_scn_position = args[:oracle_scn_position] if args.key?(:oracle_scn_position)
2339
+ end
2340
+ end
2341
+
2342
+ # SQLServer Column.
2343
+ class SqlServerColumn
2344
+ include Google::Apis::Core::Hashable
2345
+
2346
+ # Column name.
2347
+ # Corresponds to the JSON property `column`
2348
+ # @return [String]
2349
+ attr_accessor :column
2350
+
2351
+ # The SQLServer data type.
2352
+ # Corresponds to the JSON property `dataType`
2353
+ # @return [String]
2354
+ attr_accessor :data_type
2355
+
2356
+ # Column length.
2357
+ # Corresponds to the JSON property `length`
2358
+ # @return [Fixnum]
2359
+ attr_accessor :length
2360
+
2361
+ # Whether or not the column can accept a null value.
2362
+ # Corresponds to the JSON property `nullable`
2363
+ # @return [Boolean]
2364
+ attr_accessor :nullable
2365
+ alias_method :nullable?, :nullable
2366
+
2367
+ # The ordinal position of the column in the table.
2368
+ # Corresponds to the JSON property `ordinalPosition`
2369
+ # @return [Fixnum]
2370
+ attr_accessor :ordinal_position
2371
+
2372
+ # Column precision.
2373
+ # Corresponds to the JSON property `precision`
2374
+ # @return [Fixnum]
2375
+ attr_accessor :precision
2376
+
2377
+ # Whether or not the column represents a primary key.
2378
+ # Corresponds to the JSON property `primaryKey`
2379
+ # @return [Boolean]
2380
+ attr_accessor :primary_key
2381
+ alias_method :primary_key?, :primary_key
2382
+
2383
+ # Column scale.
2384
+ # Corresponds to the JSON property `scale`
2385
+ # @return [Fixnum]
2386
+ attr_accessor :scale
2387
+
2388
+ def initialize(**args)
2389
+ update!(**args)
2390
+ end
2391
+
2392
+ # Update properties of this object
2393
+ def update!(**args)
2394
+ @column = args[:column] if args.key?(:column)
2395
+ @data_type = args[:data_type] if args.key?(:data_type)
2396
+ @length = args[:length] if args.key?(:length)
2397
+ @nullable = args[:nullable] if args.key?(:nullable)
2398
+ @ordinal_position = args[:ordinal_position] if args.key?(:ordinal_position)
2399
+ @precision = args[:precision] if args.key?(:precision)
2400
+ @primary_key = args[:primary_key] if args.key?(:primary_key)
2401
+ @scale = args[:scale] if args.key?(:scale)
2402
+ end
2403
+ end
2404
+
2405
+ # SQLServer data source object identifier.
2406
+ class SqlServerObjectIdentifier
2407
+ include Google::Apis::Core::Hashable
2408
+
2409
+ # Required. The schema name.
2410
+ # Corresponds to the JSON property `schema`
2411
+ # @return [String]
2412
+ attr_accessor :schema
2413
+
2414
+ # Required. The table name.
2415
+ # Corresponds to the JSON property `table`
2416
+ # @return [String]
2417
+ attr_accessor :table
2418
+
2419
+ def initialize(**args)
2420
+ update!(**args)
2421
+ end
2422
+
2423
+ # Update properties of this object
2424
+ def update!(**args)
2425
+ @schema = args[:schema] if args.key?(:schema)
2426
+ @table = args[:table] if args.key?(:table)
2427
+ end
2428
+ end
2429
+
2430
+ # SQLServer database profile
2431
+ class SqlServerProfile
2432
+ include Google::Apis::Core::Hashable
2433
+
2434
+ # Required. Database for the SQLServer connection.
2435
+ # Corresponds to the JSON property `database`
2436
+ # @return [String]
2437
+ attr_accessor :database
2438
+
2439
+ # Required. Hostname for the SQLServer connection.
2440
+ # Corresponds to the JSON property `hostname`
2441
+ # @return [String]
2442
+ attr_accessor :hostname
2443
+
2444
+ # Required. Password for the SQLServer connection.
2445
+ # Corresponds to the JSON property `password`
2446
+ # @return [String]
2447
+ attr_accessor :password
2448
+
2449
+ # Port for the SQLServer connection, default value is 1433.
2450
+ # Corresponds to the JSON property `port`
2451
+ # @return [Fixnum]
2452
+ attr_accessor :port
2453
+
2454
+ # Required. Username for the SQLServer connection.
2455
+ # Corresponds to the JSON property `username`
2456
+ # @return [String]
2457
+ attr_accessor :username
2458
+
2459
+ def initialize(**args)
2460
+ update!(**args)
2461
+ end
2462
+
2463
+ # Update properties of this object
2464
+ def update!(**args)
2465
+ @database = args[:database] if args.key?(:database)
2466
+ @hostname = args[:hostname] if args.key?(:hostname)
2467
+ @password = args[:password] if args.key?(:password)
2468
+ @port = args[:port] if args.key?(:port)
2469
+ @username = args[:username] if args.key?(:username)
2470
+ end
2471
+ end
2472
+
2473
+ # SQLServer database structure.
2474
+ class SqlServerRdbms
2475
+ include Google::Apis::Core::Hashable
2476
+
2477
+ # SQLServer schemas in the database server.
2478
+ # Corresponds to the JSON property `schemas`
2479
+ # @return [Array<Google::Apis::DatastreamV1::SqlServerSchema>]
2480
+ attr_accessor :schemas
2481
+
2482
+ def initialize(**args)
2483
+ update!(**args)
2484
+ end
2485
+
2486
+ # Update properties of this object
2487
+ def update!(**args)
2488
+ @schemas = args[:schemas] if args.key?(:schemas)
2489
+ end
2490
+ end
2491
+
2492
+ # SQLServer schema.
2493
+ class SqlServerSchema
2494
+ include Google::Apis::Core::Hashable
2495
+
2496
+ # Schema name.
2497
+ # Corresponds to the JSON property `schema`
2498
+ # @return [String]
2499
+ attr_accessor :schema
2500
+
2501
+ # Tables in the schema.
2502
+ # Corresponds to the JSON property `tables`
2503
+ # @return [Array<Google::Apis::DatastreamV1::SqlServerTable>]
2504
+ attr_accessor :tables
2505
+
2506
+ def initialize(**args)
2507
+ update!(**args)
2508
+ end
2509
+
2510
+ # Update properties of this object
2511
+ def update!(**args)
2512
+ @schema = args[:schema] if args.key?(:schema)
2513
+ @tables = args[:tables] if args.key?(:tables)
2514
+ end
2515
+ end
2516
+
2517
+ # SQLServer data source configuration
2518
+ class SqlServerSourceConfig
2519
+ include Google::Apis::Core::Hashable
2520
+
2521
+ # SQLServer database structure.
2522
+ # Corresponds to the JSON property `excludeObjects`
2523
+ # @return [Google::Apis::DatastreamV1::SqlServerRdbms]
2524
+ attr_accessor :exclude_objects
2525
+
2526
+ # SQLServer database structure.
2527
+ # Corresponds to the JSON property `includeObjects`
2528
+ # @return [Google::Apis::DatastreamV1::SqlServerRdbms]
2529
+ attr_accessor :include_objects
2530
+
2531
+ # Max concurrent backfill tasks.
2532
+ # Corresponds to the JSON property `maxConcurrentBackfillTasks`
2533
+ # @return [Fixnum]
2534
+ attr_accessor :max_concurrent_backfill_tasks
2535
+
2536
+ # Max concurrent CDC tasks.
2537
+ # Corresponds to the JSON property `maxConcurrentCdcTasks`
2538
+ # @return [Fixnum]
2539
+ attr_accessor :max_concurrent_cdc_tasks
2540
+
2541
+ def initialize(**args)
2542
+ update!(**args)
2543
+ end
2544
+
2545
+ # Update properties of this object
2546
+ def update!(**args)
2547
+ @exclude_objects = args[:exclude_objects] if args.key?(:exclude_objects)
2548
+ @include_objects = args[:include_objects] if args.key?(:include_objects)
2549
+ @max_concurrent_backfill_tasks = args[:max_concurrent_backfill_tasks] if args.key?(:max_concurrent_backfill_tasks)
2550
+ @max_concurrent_cdc_tasks = args[:max_concurrent_cdc_tasks] if args.key?(:max_concurrent_cdc_tasks)
2551
+ end
2552
+ end
2553
+
2554
+ # SQLServer table.
2555
+ class SqlServerTable
2556
+ include Google::Apis::Core::Hashable
2557
+
2558
+ # SQLServer columns in the schema. When unspecified as part of include/exclude
2559
+ # objects, includes/excludes everything.
2560
+ # Corresponds to the JSON property `columns`
2561
+ # @return [Array<Google::Apis::DatastreamV1::SqlServerColumn>]
2562
+ attr_accessor :columns
2563
+
2564
+ # Table name.
2565
+ # Corresponds to the JSON property `table`
2566
+ # @return [String]
2567
+ attr_accessor :table
2568
+
2569
+ def initialize(**args)
2570
+ update!(**args)
2571
+ end
2572
+
2573
+ # Update properties of this object
2574
+ def update!(**args)
2575
+ @columns = args[:columns] if args.key?(:columns)
2576
+ @table = args[:table] if args.key?(:table)
2290
2577
  end
2291
2578
  end
2292
2579
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DatastreamV1
18
18
  # Version of the google-apis-datastream_v1 gem
19
- GEM_VERSION = "0.31.0"
19
+ GEM_VERSION = "0.33.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231025"
25
+ REVISION = "20240215"
26
26
  end
27
27
  end
28
28
  end
@@ -310,6 +310,12 @@ module Google
310
310
  include Google::Apis::Core::JsonObjectSupport
311
311
  end
312
312
 
313
+ class OracleScnPosition
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
313
319
  class OracleSourceConfig
314
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
321
 
@@ -424,6 +430,48 @@ module Google
424
430
  include Google::Apis::Core::JsonObjectSupport
425
431
  end
426
432
 
433
+ class SqlServerColumn
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class SqlServerObjectIdentifier
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class SqlServerProfile
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class SqlServerRdbms
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
457
+ class SqlServerSchema
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
463
+ class SqlServerSourceConfig
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
469
+ class SqlServerTable
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
427
475
  class StartBackfillJobRequest
428
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
477
 
@@ -517,6 +565,8 @@ module Google
517
565
 
518
566
  property :postgresql_excluded_objects, as: 'postgresqlExcludedObjects', class: Google::Apis::DatastreamV1::PostgresqlRdbms, decorator: Google::Apis::DatastreamV1::PostgresqlRdbms::Representation
519
567
 
568
+ property :sql_server_excluded_objects, as: 'sqlServerExcludedObjects', class: Google::Apis::DatastreamV1::SqlServerRdbms, decorator: Google::Apis::DatastreamV1::SqlServerRdbms::Representation
569
+
520
570
  end
521
571
  end
522
572
 
@@ -594,6 +644,8 @@ module Google
594
644
 
595
645
  property :private_connectivity, as: 'privateConnectivity', class: Google::Apis::DatastreamV1::PrivateConnectivity, decorator: Google::Apis::DatastreamV1::PrivateConnectivity::Representation
596
646
 
647
+ property :sql_server_profile, as: 'sqlServerProfile', class: Google::Apis::DatastreamV1::SqlServerProfile, decorator: Google::Apis::DatastreamV1::SqlServerProfile::Representation
648
+
597
649
  property :static_service_ip_connectivity, as: 'staticServiceIpConnectivity', class: Google::Apis::DatastreamV1::StaticServiceIpConnectivity, decorator: Google::Apis::DatastreamV1::StaticServiceIpConnectivity::Representation
598
650
 
599
651
  property :update_time, as: 'updateTime'
@@ -992,6 +1044,13 @@ module Google
992
1044
  end
993
1045
  end
994
1046
 
1047
+ class OracleScnPosition
1048
+ # @private
1049
+ class Representation < Google::Apis::Core::JsonRepresentation
1050
+ property :scn, :numeric_string => true, as: 'scn'
1051
+ end
1052
+ end
1053
+
995
1054
  class OracleSourceConfig
996
1055
  # @private
997
1056
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1158,6 +1217,8 @@ module Google
1158
1217
  property :postgresql_source_config, as: 'postgresqlSourceConfig', class: Google::Apis::DatastreamV1::PostgresqlSourceConfig, decorator: Google::Apis::DatastreamV1::PostgresqlSourceConfig::Representation
1159
1218
 
1160
1219
  property :source_connection_profile, as: 'sourceConnectionProfile'
1220
+ property :sql_server_source_config, as: 'sqlServerSourceConfig', class: Google::Apis::DatastreamV1::SqlServerSourceConfig, decorator: Google::Apis::DatastreamV1::SqlServerSourceConfig::Representation
1221
+
1161
1222
  end
1162
1223
  end
1163
1224
 
@@ -1178,6 +1239,8 @@ module Google
1178
1239
 
1179
1240
  property :postgresql_identifier, as: 'postgresqlIdentifier', class: Google::Apis::DatastreamV1::PostgresqlObjectIdentifier, decorator: Google::Apis::DatastreamV1::PostgresqlObjectIdentifier::Representation
1180
1241
 
1242
+ property :sql_server_identifier, as: 'sqlServerIdentifier', class: Google::Apis::DatastreamV1::SqlServerObjectIdentifier, decorator: Google::Apis::DatastreamV1::SqlServerObjectIdentifier::Representation
1243
+
1181
1244
  end
1182
1245
  end
1183
1246
 
@@ -1186,6 +1249,79 @@ module Google
1186
1249
  class Representation < Google::Apis::Core::JsonRepresentation
1187
1250
  property :mysql_log_position, as: 'mysqlLogPosition', class: Google::Apis::DatastreamV1::MysqlLogPosition, decorator: Google::Apis::DatastreamV1::MysqlLogPosition::Representation
1188
1251
 
1252
+ property :oracle_scn_position, as: 'oracleScnPosition', class: Google::Apis::DatastreamV1::OracleScnPosition, decorator: Google::Apis::DatastreamV1::OracleScnPosition::Representation
1253
+
1254
+ end
1255
+ end
1256
+
1257
+ class SqlServerColumn
1258
+ # @private
1259
+ class Representation < Google::Apis::Core::JsonRepresentation
1260
+ property :column, as: 'column'
1261
+ property :data_type, as: 'dataType'
1262
+ property :length, as: 'length'
1263
+ property :nullable, as: 'nullable'
1264
+ property :ordinal_position, as: 'ordinalPosition'
1265
+ property :precision, as: 'precision'
1266
+ property :primary_key, as: 'primaryKey'
1267
+ property :scale, as: 'scale'
1268
+ end
1269
+ end
1270
+
1271
+ class SqlServerObjectIdentifier
1272
+ # @private
1273
+ class Representation < Google::Apis::Core::JsonRepresentation
1274
+ property :schema, as: 'schema'
1275
+ property :table, as: 'table'
1276
+ end
1277
+ end
1278
+
1279
+ class SqlServerProfile
1280
+ # @private
1281
+ class Representation < Google::Apis::Core::JsonRepresentation
1282
+ property :database, as: 'database'
1283
+ property :hostname, as: 'hostname'
1284
+ property :password, as: 'password'
1285
+ property :port, as: 'port'
1286
+ property :username, as: 'username'
1287
+ end
1288
+ end
1289
+
1290
+ class SqlServerRdbms
1291
+ # @private
1292
+ class Representation < Google::Apis::Core::JsonRepresentation
1293
+ collection :schemas, as: 'schemas', class: Google::Apis::DatastreamV1::SqlServerSchema, decorator: Google::Apis::DatastreamV1::SqlServerSchema::Representation
1294
+
1295
+ end
1296
+ end
1297
+
1298
+ class SqlServerSchema
1299
+ # @private
1300
+ class Representation < Google::Apis::Core::JsonRepresentation
1301
+ property :schema, as: 'schema'
1302
+ collection :tables, as: 'tables', class: Google::Apis::DatastreamV1::SqlServerTable, decorator: Google::Apis::DatastreamV1::SqlServerTable::Representation
1303
+
1304
+ end
1305
+ end
1306
+
1307
+ class SqlServerSourceConfig
1308
+ # @private
1309
+ class Representation < Google::Apis::Core::JsonRepresentation
1310
+ property :exclude_objects, as: 'excludeObjects', class: Google::Apis::DatastreamV1::SqlServerRdbms, decorator: Google::Apis::DatastreamV1::SqlServerRdbms::Representation
1311
+
1312
+ property :include_objects, as: 'includeObjects', class: Google::Apis::DatastreamV1::SqlServerRdbms, decorator: Google::Apis::DatastreamV1::SqlServerRdbms::Representation
1313
+
1314
+ property :max_concurrent_backfill_tasks, as: 'maxConcurrentBackfillTasks'
1315
+ property :max_concurrent_cdc_tasks, as: 'maxConcurrentCdcTasks'
1316
+ end
1317
+ end
1318
+
1319
+ class SqlServerTable
1320
+ # @private
1321
+ class Representation < Google::Apis::Core::JsonRepresentation
1322
+ collection :columns, as: 'columns', class: Google::Apis::DatastreamV1::SqlServerColumn, decorator: Google::Apis::DatastreamV1::SqlServerColumn::Representation
1323
+
1324
+ property :table, as: 'table'
1189
1325
  end
1190
1326
  end
1191
1327
 
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://cloud.google.com/datastream/
34
34
  class DatastreamService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://datastream.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -43,7 +45,7 @@ module Google
43
45
  attr_accessor :quota_user
44
46
 
45
47
  def initialize
46
- super('https://datastream.googleapis.com/', '',
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
47
49
  client_name: 'google-apis-datastream_v1',
48
50
  client_version: Google::Apis::DatastreamV1::GEM_VERSION)
49
51
  @batch_path = 'batch'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datastream_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.0
4
+ version: 0.33.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: 2023-11-05 00:00:00.000000000 Z
11
+ date: 2024-02-18 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.11.0
19
+ version: 0.12.0
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.11.0
29
+ version: 0.12.0
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-datastream_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-datastream_v1/v0.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datastream_v1/v0.33.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datastream_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.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Datastream API V1