google-apis-datastream_v1 0.30.0 → 0.32.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffa405c6908da6e4d93a1547ebe4df87827e0cc3690bd7dfa0126d214d66df57
|
4
|
+
data.tar.gz: 2e3aa7fc31f138baadd642b20aebe87918d09c94a5473b0c765fccb2d69eb66f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d3b3b9a1195282ff666e5ebbf82f355ba6d1ca5f4abcfbb408eb63aa0e0d89d0fb993bee7a615915c65d93ae2e01f7d2c2818c4e2347d5c80eb3dede92e7e79
|
7
|
+
data.tar.gz: e4b2c8fcee60dcf7b6b431847f67efa6b24a1281628968b71eadb8851f18526a59c084c31796f649cc9cff3f2c5507fa238f02d9ccd55454dd38966fe9c17e52
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-datastream_v1
|
2
2
|
|
3
|
+
### v0.32.0 (2024-01-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240103
|
6
|
+
* Regenerated using generator version 0.13.0
|
7
|
+
|
8
|
+
### v0.31.0 (2023-11-05)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20231025
|
11
|
+
|
3
12
|
### v0.30.0 (2023-09-10)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20230902
|
@@ -1652,6 +1652,25 @@ module Google
|
|
1652
1652
|
end
|
1653
1653
|
end
|
1654
1654
|
|
1655
|
+
# Oracle SCN position
|
1656
|
+
class OracleScnPosition
|
1657
|
+
include Google::Apis::Core::Hashable
|
1658
|
+
|
1659
|
+
# Required. SCN number from where Logs will be read
|
1660
|
+
# Corresponds to the JSON property `scn`
|
1661
|
+
# @return [Fixnum]
|
1662
|
+
attr_accessor :scn
|
1663
|
+
|
1664
|
+
def initialize(**args)
|
1665
|
+
update!(**args)
|
1666
|
+
end
|
1667
|
+
|
1668
|
+
# Update properties of this object
|
1669
|
+
def update!(**args)
|
1670
|
+
@scn = args[:scn] if args.key?(:scn)
|
1671
|
+
end
|
1672
|
+
end
|
1673
|
+
|
1655
1674
|
# Oracle data source configuration
|
1656
1675
|
class OracleSourceConfig
|
1657
1676
|
include Google::Apis::Core::Hashable
|
@@ -2280,6 +2299,11 @@ module Google
|
|
2280
2299
|
# @return [Google::Apis::DatastreamV1::MysqlLogPosition]
|
2281
2300
|
attr_accessor :mysql_log_position
|
2282
2301
|
|
2302
|
+
# Oracle SCN position
|
2303
|
+
# Corresponds to the JSON property `oracleScnPosition`
|
2304
|
+
# @return [Google::Apis::DatastreamV1::OracleScnPosition]
|
2305
|
+
attr_accessor :oracle_scn_position
|
2306
|
+
|
2283
2307
|
def initialize(**args)
|
2284
2308
|
update!(**args)
|
2285
2309
|
end
|
@@ -2287,6 +2311,7 @@ module Google
|
|
2287
2311
|
# Update properties of this object
|
2288
2312
|
def update!(**args)
|
2289
2313
|
@mysql_log_position = args[:mysql_log_position] if args.key?(:mysql_log_position)
|
2314
|
+
@oracle_scn_position = args[:oracle_scn_position] if args.key?(:oracle_scn_position)
|
2290
2315
|
end
|
2291
2316
|
end
|
2292
2317
|
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.32.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240103"
|
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
|
|
@@ -992,6 +998,13 @@ module Google
|
|
992
998
|
end
|
993
999
|
end
|
994
1000
|
|
1001
|
+
class OracleScnPosition
|
1002
|
+
# @private
|
1003
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1004
|
+
property :scn, :numeric_string => true, as: 'scn'
|
1005
|
+
end
|
1006
|
+
end
|
1007
|
+
|
995
1008
|
class OracleSourceConfig
|
996
1009
|
# @private
|
997
1010
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1186,6 +1199,8 @@ module Google
|
|
1186
1199
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1187
1200
|
property :mysql_log_position, as: 'mysqlLogPosition', class: Google::Apis::DatastreamV1::MysqlLogPosition, decorator: Google::Apis::DatastreamV1::MysqlLogPosition::Representation
|
1188
1201
|
|
1202
|
+
property :oracle_scn_position, as: 'oracleScnPosition', class: Google::Apis::DatastreamV1::OracleScnPosition, decorator: Google::Apis::DatastreamV1::OracleScnPosition::Representation
|
1203
|
+
|
1189
1204
|
end
|
1190
1205
|
end
|
1191
1206
|
|
@@ -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(
|
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'
|
@@ -1095,10 +1097,6 @@ module Google
|
|
1095
1097
|
# @param [String] name
|
1096
1098
|
# Output only. The stream's name.
|
1097
1099
|
# @param [Google::Apis::DatastreamV1::Stream] stream_object
|
1098
|
-
# @param [String] cdc_strategy_specific_start_position_mysql_log_position_log_file
|
1099
|
-
# Required. The binary log file name.
|
1100
|
-
# @param [Fixnum] cdc_strategy_specific_start_position_mysql_log_position_log_position
|
1101
|
-
# Optional. The position within the binary log file. Default is head of file.
|
1102
1100
|
# @param [Boolean] force
|
1103
1101
|
# Optional. Update the stream without validating it.
|
1104
1102
|
# @param [String] request_id
|
@@ -1138,15 +1136,13 @@ module Google
|
|
1138
1136
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1139
1137
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1140
1138
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1141
|
-
def patch_project_location_stream(name, stream_object = nil,
|
1139
|
+
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
1140
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1143
1141
|
command.request_representation = Google::Apis::DatastreamV1::Stream::Representation
|
1144
1142
|
command.request_object = stream_object
|
1145
1143
|
command.response_representation = Google::Apis::DatastreamV1::Operation::Representation
|
1146
1144
|
command.response_class = Google::Apis::DatastreamV1::Operation
|
1147
1145
|
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
1146
|
command.query['force'] = force unless force.nil?
|
1151
1147
|
command.query['requestId'] = request_id unless request_id.nil?
|
1152
1148
|
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.
|
4
|
+
version: 0.32.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:
|
11
|
+
date: 2024-01-23 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.
|
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.
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-datastream_v1/v0.32.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.
|
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
|