google-apis-datastream_v1 0.56.0 → 0.58.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: 620d21e1e165925a2ba375552b1ddfa48f955ac5ed1e3df90b34d119e3a4271d
4
- data.tar.gz: 99e946efe69dd3eef9eeae6c151fb4af57e2561bacce0c629424e0fed23c8819
3
+ metadata.gz: 061e98bcb519b7c76dd05284faa2f127bb9ecaaae08e6adbe3c6415ebaae9ac9
4
+ data.tar.gz: fcb6552b115ce251abdb036caa441a14d49b007b9f529ee8aea750ae1604f856
5
5
  SHA512:
6
- metadata.gz: e787cc51eea8ff5a8a2d2d1884674a8943b3a1c4f6dc1118de6f7191c9b80426077320ddbad491c367da643dfe77370910039e29dde0e85ce2cdb42ff92da43f
7
- data.tar.gz: 6d6c0c92469af8d170a982729e888f17c4f5511ced55ba0b88a3206ed8795e1d74af90f72c9433e9fd81f608afd139db1f0e047ccc237d7f51a611a4b49d50f8
6
+ metadata.gz: 876ebbe536f3409d535d40d35dc8281d62ec963633c8dd14da28668b2d48ff7e4d624c6728fc1c70d5a73e398eb6f45baaa3960e10c039d0cb3d54049b7f4043
7
+ data.tar.gz: ea7ab336078ea97bdf20057e646fd75b56e0c3036811457f37519fcc024dedb1400fe126e0e20606d8f9785de0a14fba4821277bece5ba857abe08d1875fee71
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-datastream_v1
2
2
 
3
+ ### v0.58.0 (2025-11-09)
4
+
5
+ * Regenerated from discovery document revision 20251029
6
+
7
+ ### v0.57.0 (2025-11-02)
8
+
9
+ * Regenerated from discovery document revision 20251021
10
+
3
11
  ### v0.56.0 (2025-09-07)
4
12
 
5
13
  * Regenerated from discovery document revision 20250827
@@ -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
 
@@ -1335,7 +1363,7 @@ module Google
1335
1363
  class MongodbChangeStreamPosition
1336
1364
  include Google::Apis::Core::Hashable
1337
1365
 
1338
- # Required. The timestamp (in epoch seconds) to start change stream from.
1366
+ # Required. The timestamp to start change stream from.
1339
1367
  # Corresponds to the JSON property `startTime`
1340
1368
  # @return [String]
1341
1369
  attr_accessor :start_time
@@ -1545,6 +1573,11 @@ module Google
1545
1573
  # @return [Google::Apis::DatastreamV1::MongodbCluster]
1546
1574
  attr_accessor :include_objects
1547
1575
 
1576
+ # Optional. MongoDB JSON mode to use for the stream.
1577
+ # Corresponds to the JSON property `jsonMode`
1578
+ # @return [String]
1579
+ attr_accessor :json_mode
1580
+
1548
1581
  # Optional. Maximum number of concurrent backfill tasks. The number should be
1549
1582
  # non-negative and less than or equal to 50. If not set (or set to 0), the
1550
1583
  # system's default value is used
@@ -1560,6 +1593,7 @@ module Google
1560
1593
  def update!(**args)
1561
1594
  @exclude_objects = args[:exclude_objects] if args.key?(:exclude_objects)
1562
1595
  @include_objects = args[:include_objects] if args.key?(:include_objects)
1596
+ @json_mode = args[:json_mode] if args.key?(:json_mode)
1563
1597
  @max_concurrent_backfill_tasks = args[:max_concurrent_backfill_tasks] if args.key?(:max_concurrent_backfill_tasks)
1564
1598
  end
1565
1599
  end
@@ -3929,12 +3963,18 @@ module Google
3929
3963
  class StartBackfillJobRequest
3930
3964
  include Google::Apis::Core::Hashable
3931
3965
 
3966
+ # Represents a filter for included data on a stream object.
3967
+ # Corresponds to the JSON property `eventFilter`
3968
+ # @return [Google::Apis::DatastreamV1::EventFilter]
3969
+ attr_accessor :event_filter
3970
+
3932
3971
  def initialize(**args)
3933
3972
  update!(**args)
3934
3973
  end
3935
3974
 
3936
3975
  # Update properties of this object
3937
3976
  def update!(**args)
3977
+ @event_filter = args[:event_filter] if args.key?(:event_filter)
3938
3978
  end
3939
3979
  end
3940
3980
 
@@ -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.56.0"
19
+ GEM_VERSION = "0.58.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 = "20250827"
25
+ REVISION = "20251029"
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
 
@@ -1057,6 +1063,13 @@ module Google
1057
1063
  end
1058
1064
  end
1059
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
+
1060
1073
  class FetchStaticIpsResponse
1061
1074
  # @private
1062
1075
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1144,6 +1157,7 @@ module Google
1144
1157
  property :next_page_token, as: 'nextPageToken'
1145
1158
  collection :operations, as: 'operations', class: Google::Apis::DatastreamV1::Operation, decorator: Google::Apis::DatastreamV1::Operation::Representation
1146
1159
 
1160
+ collection :unreachable, as: 'unreachable'
1147
1161
  end
1148
1162
  end
1149
1163
 
@@ -1298,6 +1312,7 @@ module Google
1298
1312
 
1299
1313
  property :include_objects, as: 'includeObjects', class: Google::Apis::DatastreamV1::MongodbCluster, decorator: Google::Apis::DatastreamV1::MongodbCluster::Representation
1300
1314
 
1315
+ property :json_mode, as: 'jsonMode'
1301
1316
  property :max_concurrent_backfill_tasks, as: 'maxConcurrentBackfillTasks'
1302
1317
  end
1303
1318
  end
@@ -1999,6 +2014,8 @@ module Google
1999
2014
  class StartBackfillJobRequest
2000
2015
  # @private
2001
2016
  class Representation < Google::Apis::Core::JsonRepresentation
2017
+ property :event_filter, as: 'eventFilter', class: Google::Apis::DatastreamV1::EventFilter, decorator: Google::Apis::DatastreamV1::EventFilter::Representation
2018
+
2002
2019
  end
2003
2020
  end
2004
2021
 
@@ -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.56.0
4
+ version: 0.58.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.56.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datastream_v1/v0.58.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: