google-apis-datastream_v1 0.55.0 → 0.57.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: b12186523c8cc39b36c67260afa62adccaffc539794668ee97a223da4e385e42
4
- data.tar.gz: 6d0fbdaf13e9fa850681e72e35ea3f588a8e5a3f31fa73c86084a2c5cbdf39fa
3
+ metadata.gz: 3358876ea6a904a53d44a1bc6bacd6dbe91052a95d88c2d3382ff1afde6ac8aa
4
+ data.tar.gz: 5343b200127f5bee3f54770963efc56f3698a182307bcb0751aa323575054b58
5
5
  SHA512:
6
- metadata.gz: cc25dfa13746693dfaf8936b95c591b68f834070339b305ed0c881752720f8a709c45ed35c0cba30bc005a689f6d075c49d4f7c404015ace20eef447d733f6d5
7
- data.tar.gz: 3658b9943569f883b1314e10fc7673252b3556a6f8c652f9eebdfb4f9595e65d812e589a9123525b31557473729cac34418e0d0f2b82dc600a2e8d572a4bafac
6
+ metadata.gz: 6a1d8b0dd7b34a7168aee13bec1d2d0739d1ab3f37d546b49dcdad53e9192d67fae472b11d1e4148f394428c886e869fd576ba1e415e8b37e6f38e2c75756383
7
+ data.tar.gz: 46aa391cc87bdb582ba167222421820c16f1b4f95910517a2a22141ea0c4223dcbdb154d43a9475bf99b760f497b7bfdc93ad18d930ccf8c5491c596b61e8254
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-datastream_v1
2
2
 
3
+ ### v0.57.0 (2025-11-02)
4
+
5
+ * Regenerated from discovery document revision 20251021
6
+
7
+ ### v0.56.0 (2025-09-07)
8
+
9
+ * Regenerated from discovery document revision 20250827
10
+
3
11
  ### v0.55.0 (2025-08-24)
4
12
 
5
13
  * Regenerated from discovery document revision 20250817
@@ -806,6 +806,26 @@ module Google
806
806
  end
807
807
  end
808
808
 
809
+ # Represents a filter for included data on a stream object.
810
+ class EventFilter
811
+ include Google::Apis::Core::Hashable
812
+
813
+ # An SQL-query Where clause selecting which data should be included, not
814
+ # including the "WHERE" keyword. E.g., "t.key1 = 'value1' AND t.key2 = 'value2'".
815
+ # Corresponds to the JSON property `sqlWhereClause`
816
+ # @return [String]
817
+ attr_accessor :sql_where_clause
818
+
819
+ def initialize(**args)
820
+ update!(**args)
821
+ end
822
+
823
+ # Update properties of this object
824
+ def update!(**args)
825
+ @sql_where_clause = args[:sql_where_clause] if args.key?(:sql_where_clause)
826
+ end
827
+ end
828
+
809
829
  # Response message for a 'FetchStaticIps' response.
810
830
  class FetchStaticIpsResponse
811
831
  include Google::Apis::Core::Hashable
@@ -1080,6 +1100,13 @@ module Google
1080
1100
  # @return [Array<Google::Apis::DatastreamV1::Operation>]
1081
1101
  attr_accessor :operations
1082
1102
 
1103
+ # Unordered list. Unreachable resources. Populated when the request sets `
1104
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
1105
+ # when attempting to list all resources across all supported locations.
1106
+ # Corresponds to the JSON property `unreachable`
1107
+ # @return [Array<String>]
1108
+ attr_accessor :unreachable
1109
+
1083
1110
  def initialize(**args)
1084
1111
  update!(**args)
1085
1112
  end
@@ -1088,6 +1115,7 @@ module Google
1088
1115
  def update!(**args)
1089
1116
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1090
1117
  @operations = args[:operations] if args.key?(:operations)
1118
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1091
1119
  end
1092
1120
  end
1093
1121
 
@@ -1331,6 +1359,25 @@ module Google
1331
1359
  end
1332
1360
  end
1333
1361
 
1362
+ # MongoDB change stream position
1363
+ class MongodbChangeStreamPosition
1364
+ include Google::Apis::Core::Hashable
1365
+
1366
+ # Required. The timestamp to start change stream from.
1367
+ # Corresponds to the JSON property `startTime`
1368
+ # @return [String]
1369
+ attr_accessor :start_time
1370
+
1371
+ def initialize(**args)
1372
+ update!(**args)
1373
+ end
1374
+
1375
+ # Update properties of this object
1376
+ def update!(**args)
1377
+ @start_time = args[:start_time] if args.key?(:start_time)
1378
+ end
1379
+ end
1380
+
1334
1381
  # MongoDB Cluster structure.
1335
1382
  class MongodbCluster
1336
1383
  include Google::Apis::Core::Hashable
@@ -3488,6 +3535,11 @@ module Google
3488
3535
  class SpecificStartPosition
3489
3536
  include Google::Apis::Core::Hashable
3490
3537
 
3538
+ # MongoDB change stream position
3539
+ # Corresponds to the JSON property `mongodbChangeStreamPosition`
3540
+ # @return [Google::Apis::DatastreamV1::MongodbChangeStreamPosition]
3541
+ attr_accessor :mongodb_change_stream_position
3542
+
3491
3543
  # MySQL GTID position
3492
3544
  # Corresponds to the JSON property `mysqlGtidPosition`
3493
3545
  # @return [Google::Apis::DatastreamV1::MysqlGtidPosition]
@@ -3514,6 +3566,7 @@ module Google
3514
3566
 
3515
3567
  # Update properties of this object
3516
3568
  def update!(**args)
3569
+ @mongodb_change_stream_position = args[:mongodb_change_stream_position] if args.key?(:mongodb_change_stream_position)
3517
3570
  @mysql_gtid_position = args[:mysql_gtid_position] if args.key?(:mysql_gtid_position)
3518
3571
  @mysql_log_position = args[:mysql_log_position] if args.key?(:mysql_log_position)
3519
3572
  @oracle_scn_position = args[:oracle_scn_position] if args.key?(:oracle_scn_position)
@@ -3904,12 +3957,18 @@ module Google
3904
3957
  class StartBackfillJobRequest
3905
3958
  include Google::Apis::Core::Hashable
3906
3959
 
3960
+ # Represents a filter for included data on a stream object.
3961
+ # Corresponds to the JSON property `eventFilter`
3962
+ # @return [Google::Apis::DatastreamV1::EventFilter]
3963
+ attr_accessor :event_filter
3964
+
3907
3965
  def initialize(**args)
3908
3966
  update!(**args)
3909
3967
  end
3910
3968
 
3911
3969
  # Update properties of this object
3912
3970
  def update!(**args)
3971
+ @event_filter = args[:event_filter] if args.key?(:event_filter)
3913
3972
  end
3914
3973
  end
3915
3974
 
@@ -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.55.0"
19
+ GEM_VERSION = "0.57.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250817"
25
+ REVISION = "20251021"
26
26
  end
27
27
  end
28
28
  end
@@ -160,6 +160,12 @@ module Google
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
+ class EventFilter
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
163
169
  class FetchStaticIpsResponse
164
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
171
 
@@ -274,6 +280,12 @@ module Google
274
280
  include Google::Apis::Core::JsonObjectSupport
275
281
  end
276
282
 
283
+ class MongodbChangeStreamPosition
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
277
289
  class MongodbCluster
278
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
291
 
@@ -1051,6 +1063,13 @@ module Google
1051
1063
  end
1052
1064
  end
1053
1065
 
1066
+ class EventFilter
1067
+ # @private
1068
+ class Representation < Google::Apis::Core::JsonRepresentation
1069
+ property :sql_where_clause, as: 'sqlWhereClause'
1070
+ end
1071
+ end
1072
+
1054
1073
  class FetchStaticIpsResponse
1055
1074
  # @private
1056
1075
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1138,6 +1157,7 @@ module Google
1138
1157
  property :next_page_token, as: 'nextPageToken'
1139
1158
  collection :operations, as: 'operations', class: Google::Apis::DatastreamV1::Operation, decorator: Google::Apis::DatastreamV1::Operation::Representation
1140
1159
 
1160
+ collection :unreachable, as: 'unreachable'
1141
1161
  end
1142
1162
  end
1143
1163
 
@@ -1219,6 +1239,13 @@ module Google
1219
1239
  end
1220
1240
  end
1221
1241
 
1242
+ class MongodbChangeStreamPosition
1243
+ # @private
1244
+ class Representation < Google::Apis::Core::JsonRepresentation
1245
+ property :start_time, as: 'startTime'
1246
+ end
1247
+ end
1248
+
1222
1249
  class MongodbCluster
1223
1250
  # @private
1224
1251
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1848,6 +1875,8 @@ module Google
1848
1875
  class SpecificStartPosition
1849
1876
  # @private
1850
1877
  class Representation < Google::Apis::Core::JsonRepresentation
1878
+ property :mongodb_change_stream_position, as: 'mongodbChangeStreamPosition', class: Google::Apis::DatastreamV1::MongodbChangeStreamPosition, decorator: Google::Apis::DatastreamV1::MongodbChangeStreamPosition::Representation
1879
+
1851
1880
  property :mysql_gtid_position, as: 'mysqlGtidPosition', class: Google::Apis::DatastreamV1::MysqlGtidPosition, decorator: Google::Apis::DatastreamV1::MysqlGtidPosition::Representation
1852
1881
 
1853
1882
  property :mysql_log_position, as: 'mysqlLogPosition', class: Google::Apis::DatastreamV1::MysqlLogPosition, decorator: Google::Apis::DatastreamV1::MysqlLogPosition::Representation
@@ -1984,6 +2013,8 @@ module Google
1984
2013
  class StartBackfillJobRequest
1985
2014
  # @private
1986
2015
  class Representation < Google::Apis::Core::JsonRepresentation
2016
+ property :event_filter, as: 'eventFilter', class: Google::Apis::DatastreamV1::EventFilter, decorator: Google::Apis::DatastreamV1::EventFilter::Representation
2017
+
1987
2018
  end
1988
2019
  end
1989
2020
 
@@ -550,6 +550,13 @@ module Google
550
550
  # The standard list page size.
551
551
  # @param [String] page_token
552
552
  # The standard list page token.
553
+ # @param [Boolean] return_partial_success
554
+ # When set to `true`, operations that are reachable are returned as normal, and
555
+ # those that are unreachable are returned in the [ListOperationsResponse.
556
+ # unreachable] field. This can only be `true` when reading across collections e.
557
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
558
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
559
+ # explicitly documented otherwise in service or product specific documentation.
553
560
  # @param [String] fields
554
561
  # Selector specifying which fields to include in a partial response.
555
562
  # @param [String] quota_user
@@ -567,7 +574,7 @@ module Google
567
574
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
568
575
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
569
576
  # @raise [Google::Apis::AuthorizationError] Authorization is required
570
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
577
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
571
578
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
572
579
  command.response_representation = Google::Apis::DatastreamV1::ListOperationsResponse::Representation
573
580
  command.response_class = Google::Apis::DatastreamV1::ListOperationsResponse
@@ -575,6 +582,7 @@ module Google
575
582
  command.query['filter'] = filter unless filter.nil?
576
583
  command.query['pageSize'] = page_size unless page_size.nil?
577
584
  command.query['pageToken'] = page_token unless page_token.nil?
585
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
578
586
  command.query['fields'] = fields unless fields.nil?
579
587
  command.query['quotaUser'] = quota_user unless quota_user.nil?
580
588
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datastream_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.55.0
4
+ version: 0.57.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datastream_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-datastream_v1/v0.55.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datastream_v1/v0.57.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datastream_v1
62
62
  rdoc_options: []
63
63
  require_paths: