google-apis-datastream_v1 0.29.0 → 0.31.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: 0e0260b6b67be012062c00bd012dd129cc5b1c651cf3626b8fa4a11cc2d00661
4
- data.tar.gz: c6b5e61372f57747ec1c76662ea87c4ac2b55f87089a6270e71611c6e9ad25be
3
+ metadata.gz: 381e79eebdea273d090a72d9a68cf48b9b3eb93274e15573c4fd17d2a2b4762b
4
+ data.tar.gz: ddce0c0009fd326966de999d29623030995e531f9d7d3a38090289f433c9c1a9
5
5
  SHA512:
6
- metadata.gz: 044dbba562e05ffd1da1946a58d5e9f19314f7c3c1873459dbe4663da13fa8e36394f69e02904a96402df0723b7cdb6dadff4ef5b084bfe9811500b64764e932
7
- data.tar.gz: e92f5c3d438fae0f2763b9bd21e0af23bc87be5dbe07826c0ea53b31e31f3299800c80765061ddc1874f9f8deafee15f8614bf6e6aff64dd12942c12b2050a73
6
+ metadata.gz: 550229bc5685bf9b5b36adb0c7627f78464a85f1a22ef244b0ef09bfc23696a360757db62d91520cdfdf1a3d904e2fd7d148c9e1ba4bbc1e20aaa75bbd10ea15
7
+ data.tar.gz: 976b95c9b5afe3da39a8ffc6a8252a88a71e46ef04279b27b1429373c6a6cc72e253f0c25f26849a439f1ea2697830e311a347e06feff2fa3862641eb6332541
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-datastream_v1
2
2
 
3
+ ### v0.31.0 (2023-11-05)
4
+
5
+ * Regenerated from discovery document revision 20231025
6
+
7
+ ### v0.30.0 (2023-09-10)
8
+
9
+ * Regenerated from discovery document revision 20230902
10
+
3
11
  ### v0.29.0 (2023-08-13)
4
12
 
5
13
  * Regenerated from discovery document revision 20230802
@@ -1088,12 +1088,12 @@ module Google
1088
1088
  class MysqlLogPosition
1089
1089
  include Google::Apis::Core::Hashable
1090
1090
 
1091
- # The binary log file name.
1091
+ # Required. The binary log file name.
1092
1092
  # Corresponds to the JSON property `logFile`
1093
1093
  # @return [String]
1094
1094
  attr_accessor :log_file
1095
1095
 
1096
- # The position within the binary log file. Default is head of file.
1096
+ # Optional. The position within the binary log file. Default is head of file.
1097
1097
  # Corresponds to the JSON property `logPosition`
1098
1098
  # @return [Fixnum]
1099
1099
  attr_accessor :log_position
@@ -1572,6 +1572,11 @@ module Google
1572
1572
  # @return [String]
1573
1573
  attr_accessor :hostname
1574
1574
 
1575
+ # Oracle SSL configuration information.
1576
+ # Corresponds to the JSON property `oracleSslConfig`
1577
+ # @return [Google::Apis::DatastreamV1::OracleSslConfig]
1578
+ attr_accessor :oracle_ssl_config
1579
+
1575
1580
  # Required. Password for the Oracle connection.
1576
1581
  # Corresponds to the JSON property `password`
1577
1582
  # @return [String]
@@ -1596,6 +1601,7 @@ module Google
1596
1601
  @connection_attributes = args[:connection_attributes] if args.key?(:connection_attributes)
1597
1602
  @database_service = args[:database_service] if args.key?(:database_service)
1598
1603
  @hostname = args[:hostname] if args.key?(:hostname)
1604
+ @oracle_ssl_config = args[:oracle_ssl_config] if args.key?(:oracle_ssl_config)
1599
1605
  @password = args[:password] if args.key?(:password)
1600
1606
  @port = args[:port] if args.key?(:port)
1601
1607
  @username = args[:username] if args.key?(:username)
@@ -1697,6 +1703,34 @@ module Google
1697
1703
  end
1698
1704
  end
1699
1705
 
1706
+ # Oracle SSL configuration information.
1707
+ class OracleSslConfig
1708
+ include Google::Apis::Core::Hashable
1709
+
1710
+ # Input only. PEM-encoded certificate of the CA that signed the source database
1711
+ # server's certificate.
1712
+ # Corresponds to the JSON property `caCertificate`
1713
+ # @return [String]
1714
+ attr_accessor :ca_certificate
1715
+
1716
+ # Output only. Indicates whether the ca_certificate field has been set for this
1717
+ # Connection-Profile.
1718
+ # Corresponds to the JSON property `caCertificateSet`
1719
+ # @return [Boolean]
1720
+ attr_accessor :ca_certificate_set
1721
+ alias_method :ca_certificate_set?, :ca_certificate_set
1722
+
1723
+ def initialize(**args)
1724
+ update!(**args)
1725
+ end
1726
+
1727
+ # Update properties of this object
1728
+ def update!(**args)
1729
+ @ca_certificate = args[:ca_certificate] if args.key?(:ca_certificate)
1730
+ @ca_certificate_set = args[:ca_certificate_set] if args.key?(:ca_certificate_set)
1731
+ end
1732
+ end
1733
+
1700
1734
  # Oracle table.
1701
1735
  class OracleTable
1702
1736
  include Google::Apis::Core::Hashable
@@ -2422,6 +2456,12 @@ module Google
2422
2456
  # @return [Hash<String,String>]
2423
2457
  attr_accessor :labels
2424
2458
 
2459
+ # Output only. If the stream was recovered, the time of the last recovery. Note:
2460
+ # This field is currently experimental.
2461
+ # Corresponds to the JSON property `lastRecoveryTime`
2462
+ # @return [String]
2463
+ attr_accessor :last_recovery_time
2464
+
2425
2465
  # Output only. The stream's name.
2426
2466
  # Corresponds to the JSON property `name`
2427
2467
  # @return [String]
@@ -2456,6 +2496,7 @@ module Google
2456
2496
  @display_name = args[:display_name] if args.key?(:display_name)
2457
2497
  @errors = args[:errors] if args.key?(:errors)
2458
2498
  @labels = args[:labels] if args.key?(:labels)
2499
+ @last_recovery_time = args[:last_recovery_time] if args.key?(:last_recovery_time)
2459
2500
  @name = args[:name] if args.key?(:name)
2460
2501
  @source_config = args[:source_config] if args.key?(:source_config)
2461
2502
  @state = args[:state] if args.key?(:state)
@@ -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.29.0"
19
+ GEM_VERSION = "0.31.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230802"
25
+ REVISION = "20231025"
26
26
  end
27
27
  end
28
28
  end
@@ -316,6 +316,12 @@ module Google
316
316
  include Google::Apis::Core::JsonObjectSupport
317
317
  end
318
318
 
319
+ class OracleSslConfig
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
319
325
  class OracleTable
320
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
327
 
@@ -961,6 +967,8 @@ module Google
961
967
  hash :connection_attributes, as: 'connectionAttributes'
962
968
  property :database_service, as: 'databaseService'
963
969
  property :hostname, as: 'hostname'
970
+ property :oracle_ssl_config, as: 'oracleSslConfig', class: Google::Apis::DatastreamV1::OracleSslConfig, decorator: Google::Apis::DatastreamV1::OracleSslConfig::Representation
971
+
964
972
  property :password, as: 'password'
965
973
  property :port, as: 'port'
966
974
  property :username, as: 'username'
@@ -1000,6 +1008,14 @@ module Google
1000
1008
  end
1001
1009
  end
1002
1010
 
1011
+ class OracleSslConfig
1012
+ # @private
1013
+ class Representation < Google::Apis::Core::JsonRepresentation
1014
+ property :ca_certificate, as: 'caCertificate'
1015
+ property :ca_certificate_set, as: 'caCertificateSet'
1016
+ end
1017
+ end
1018
+
1003
1019
  class OracleTable
1004
1020
  # @private
1005
1021
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1231,6 +1247,7 @@ module Google
1231
1247
  collection :errors, as: 'errors', class: Google::Apis::DatastreamV1::Error, decorator: Google::Apis::DatastreamV1::Error::Representation
1232
1248
 
1233
1249
  hash :labels, as: 'labels'
1250
+ property :last_recovery_time, as: 'lastRecoveryTime'
1234
1251
  property :name, as: 'name'
1235
1252
  property :source_config, as: 'sourceConfig', class: Google::Apis::DatastreamV1::SourceConfig, decorator: Google::Apis::DatastreamV1::SourceConfig::Representation
1236
1253
 
@@ -1095,10 +1095,6 @@ module Google
1095
1095
  # @param [String] name
1096
1096
  # Output only. The stream's name.
1097
1097
  # @param [Google::Apis::DatastreamV1::Stream] stream_object
1098
- # @param [String] cdc_strategy_specific_start_position_mysql_log_position_log_file
1099
- # The binary log file name.
1100
- # @param [Fixnum] cdc_strategy_specific_start_position_mysql_log_position_log_position
1101
- # The position within the binary log file. Default is head of file.
1102
1098
  # @param [Boolean] force
1103
1099
  # Optional. Update the stream without validating it.
1104
1100
  # @param [String] request_id
@@ -1138,15 +1134,13 @@ module Google
1138
1134
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1139
1135
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1140
1136
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1141
- def patch_project_location_stream(name, stream_object = nil, cdc_strategy_specific_start_position_mysql_log_position_log_file: nil, cdc_strategy_specific_start_position_mysql_log_position_log_position: nil, force: nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
1137
+ def patch_project_location_stream(name, stream_object = nil, force: nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
1142
1138
  command = make_simple_command(:patch, 'v1/{+name}', options)
1143
1139
  command.request_representation = Google::Apis::DatastreamV1::Stream::Representation
1144
1140
  command.request_object = stream_object
1145
1141
  command.response_representation = Google::Apis::DatastreamV1::Operation::Representation
1146
1142
  command.response_class = Google::Apis::DatastreamV1::Operation
1147
1143
  command.params['name'] = name unless name.nil?
1148
- command.query['cdcStrategy.specificStartPosition.mysqlLogPosition.logFile'] = cdc_strategy_specific_start_position_mysql_log_position_log_file unless cdc_strategy_specific_start_position_mysql_log_position_log_file.nil?
1149
- command.query['cdcStrategy.specificStartPosition.mysqlLogPosition.logPosition'] = cdc_strategy_specific_start_position_mysql_log_position_log_position unless cdc_strategy_specific_start_position_mysql_log_position_log_position.nil?
1150
1144
  command.query['force'] = force unless force.nil?
1151
1145
  command.query['requestId'] = request_id unless request_id.nil?
1152
1146
  command.query['updateMask'] = update_mask unless update_mask.nil?
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.29.0
4
+ version: 0.31.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-08-13 00:00:00.000000000 Z
11
+ date: 2023-11-05 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-datastream_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-datastream_v1/v0.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datastream_v1/v0.31.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.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Datastream API V1