google-apis-firebasedataconnect_v1beta 0.24.0 → 0.26.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: df770e2e12d5ae8800e77091ae07e4f7a92ad955fbd8bbca058653b67102c043
4
- data.tar.gz: 24c7573a2ce0523f8795d6650481d18416077b2b071ba9de5bb84d3c06caa9b4
3
+ metadata.gz: 4e8b8e7423e30083ec4ca0161b4a7617b2fc7d81772380bb1d796a4f221f2cdd
4
+ data.tar.gz: db7876a63c25c51359e5bc335f514ebf760c0e0f025e437d3f2ed85fa9cd2669
5
5
  SHA512:
6
- metadata.gz: 5d5e90216631924695b08b711049a41c6013e06e3b947c132962518be56cfd5a9ee29cb6b353bce5228afd52cba4c4a432341fcea6897d45198b292eb95e8918
7
- data.tar.gz: 5b0ed3d2942378a00bbe7e8583bd642a672d331c875adee2db1e203c9ffa6570cea04aa1905d3a07d213b6da4ef74eb4f0df05bf8c2e02a45223ee4fa019a494
6
+ metadata.gz: bb2e5a60f6f147b4cf84eda57305f1576c51b4866e489d70a330e1256abb0c737f2ec40149249679fdcf834e4d3d2c632e031e041f898220ddc747c611899a61
7
+ data.tar.gz: '084db531db104f9b1e948156a9f1ba52d32c49895afad12ea8b9ee795479f946bfe47c046f94e8f0c9623acc68da9512b0999fbded876b0de38ac5d70cd35317'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-firebasedataconnect_v1beta
2
2
 
3
+ ### v0.26.0 (2026-10-21)
4
+
5
+ * Regenerated from discovery document revision 20261011
6
+ * Regenerated using generator version 0.19.1
7
+
8
+ ### v0.25.0 (2026-10-04)
9
+
10
+ * Regenerated from discovery document revision 20260927
11
+
3
12
  ### v0.24.0 (2026-08-02)
4
13
 
5
14
  * Regenerated from discovery document revision 20260726
@@ -789,6 +789,54 @@ module Google
789
789
  end
790
790
  end
791
791
 
792
+ # Message that represents an arbitrary HTTP body. It should only be used for
793
+ # payload formats that can't be represented as JSON, such as raw binary or an
794
+ # HTML page. This message can be used both in streaming and non-streaming API
795
+ # methods in the request as well as the response. It can be used as a top-level
796
+ # request field, which is convenient if one wants to extract parameters from
797
+ # either the URL or HTTP template into the request fields and also want access
798
+ # to the raw HTTP body. Example: message GetResourceRequest ` // A unique
799
+ # request id. string request_id = 1; // The raw HTTP body is bound to this field.
800
+ # google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
801
+ # GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
802
+ # UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
803
+ # with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
804
+ # api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
805
+ # google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
806
+ # only changes how the request and response bodies are handled, all other
807
+ # features will continue to work unchanged.
808
+ class HttpBody
809
+ include Google::Apis::Core::Hashable
810
+
811
+ # The HTTP Content-Type header value specifying the content type of the body.
812
+ # Corresponds to the JSON property `contentType`
813
+ # @return [String]
814
+ attr_accessor :content_type
815
+
816
+ # The HTTP request/response body as raw binary.
817
+ # Corresponds to the JSON property `data`
818
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
819
+ # @return [String]
820
+ attr_accessor :data
821
+
822
+ # Application specific response metadata. Must be set in the first response for
823
+ # streaming APIs.
824
+ # Corresponds to the JSON property `extensions`
825
+ # @return [Array<Hash<String,Object>>]
826
+ attr_accessor :extensions
827
+
828
+ def initialize(**args)
829
+ update!(**args)
830
+ end
831
+
832
+ # Update properties of this object
833
+ def update!(**args)
834
+ @content_type = args[:content_type] if args.key?(:content_type)
835
+ @data = args[:data] if args.key?(:data)
836
+ @extensions = args[:extensions] if args.key?(:extensions)
837
+ end
838
+ end
839
+
792
840
  # Settings for HTTP GraphQL server webhook.
793
841
  class HttpGraphql
794
842
  include Google::Apis::Core::Hashable
@@ -1092,6 +1140,92 @@ module Google
1092
1140
  end
1093
1141
  end
1094
1142
 
1143
+ # Request message for `MigrateSchema`. Next tag: 7
1144
+ class MigrateSchemaRequest
1145
+ include Google::Apis::Core::Hashable
1146
+
1147
+ # Optional. Execution mode controlling DDL execution and ledger recording.
1148
+ # Defaults to EXECUTE_AND_RECORD.
1149
+ # Corresponds to the JSON property `executionMode`
1150
+ # @return [String]
1151
+ attr_accessor :execution_mode
1152
+
1153
+ # Required. Ordered migration steps from `./sql/migrations/` (or a single ad-hoc
1154
+ # step). Backend compares submitted versions against `firebasesql.
1155
+ # schema_migrations`: already-applied steps are verified for SQL immutability
1156
+ # and skipped, while unapplied steps (`version > MAX(applied_version)`) are
1157
+ # executed. All unapplied transactional steps in a single request execute
1158
+ # atomically within one database transaction (BEGIN ... COMMIT): either every
1159
+ # unapplied step commits and is recorded in the ledger, or the entire request
1160
+ # rolls back. An unapplied step containing CREATE INDEX CONCURRENTLY or DROP
1161
+ # INDEX CONCURRENTLY cannot be mixed with other unapplied steps and must be the
1162
+ # sole unapplied step executed in the request.
1163
+ # Corresponds to the JSON property `migrationSteps`
1164
+ # @return [Array<Google::Apis::FirebasedataconnectV1beta::MigrationStep>]
1165
+ attr_accessor :migration_steps
1166
+
1167
+ # Optional. When true, runs preflight validation (syntax, applied-step
1168
+ # immutability, sequence ordering, CONCURRENTLY isolation, and SAVEPOINT catalog
1169
+ # checks) without committing mutations to the database.
1170
+ # Corresponds to the JSON property `validateOnly`
1171
+ # @return [Boolean]
1172
+ attr_accessor :validate_only
1173
+ alias_method :validate_only?, :validate_only
1174
+
1175
+ def initialize(**args)
1176
+ update!(**args)
1177
+ end
1178
+
1179
+ # Update properties of this object
1180
+ def update!(**args)
1181
+ @execution_mode = args[:execution_mode] if args.key?(:execution_mode)
1182
+ @migration_steps = args[:migration_steps] if args.key?(:migration_steps)
1183
+ @validate_only = args[:validate_only] if args.key?(:validate_only)
1184
+ end
1185
+ end
1186
+
1187
+ # An individual unit of migration work. Next tag: 4
1188
+ class MigrationStep
1189
+ include Google::Apis::Core::Hashable
1190
+
1191
+ # Optional. Descriptive migration label (e.g. "create_accounts_table"). If
1192
+ # omitted, defaults to "adhoc".
1193
+ # Corresponds to the JSON property `name`
1194
+ # @return [String]
1195
+ attr_accessor :name
1196
+
1197
+ # Required. Raw multi-statement SQL script. The backend splits it into
1198
+ # individual statements before execution; callers do not pre-split. Required
1199
+ # whenever the request executes or records DDL, which is every publicly
1200
+ # available execution mode; omitting it returns INVALID_ARGUMENT.
1201
+ # Corresponds to the JSON property `sql`
1202
+ # @return [String]
1203
+ attr_accessor :sql
1204
+
1205
+ # Optional. Monotonic 14-digit UTC timestamp (YYYYMMDDHHMMSS), matching the
1206
+ # timestamp prefix of the developer's migration filename. Constrained to `^[0-9]`
1207
+ # 14`$`. - When specified (file migrations): If `version` is already recorded in
1208
+ # `firebasesql.schema_migrations`, the backend verifies that `sql` matches the
1209
+ # recorded statements and skips execution. If `version` is unapplied, the
1210
+ # backend validates `version > MAX(applied_version)` and records the value
1211
+ # unchanged, so the ledger row and the on-disk filename stay identical. - When
1212
+ # omitted (Console/ad-hoc): Backend auto-generates a 14-digit UTC timestamp.
1213
+ # Corresponds to the JSON property `version`
1214
+ # @return [String]
1215
+ attr_accessor :version
1216
+
1217
+ def initialize(**args)
1218
+ update!(**args)
1219
+ end
1220
+
1221
+ # Update properties of this object
1222
+ def update!(**args)
1223
+ @name = args[:name] if args.key?(:name)
1224
+ @sql = args[:sql] if args.key?(:sql)
1225
+ @version = args[:version] if args.key?(:version)
1226
+ end
1227
+ end
1228
+
1095
1229
  # This resource represents a long-running operation that is the result of a
1096
1230
  # network API call.
1097
1231
  class Operation
@@ -1432,6 +1566,11 @@ module Google
1432
1566
  # @return [String]
1433
1567
  attr_accessor :etag
1434
1568
 
1569
+ # Used to represent a set of source files.
1570
+ # Corresponds to the JSON property `graphqlSource`
1571
+ # @return [Google::Apis::FirebasedataconnectV1beta::Source]
1572
+ attr_accessor :graphql_source
1573
+
1435
1574
  # Optional. Labels as key value pairs.
1436
1575
  # Corresponds to the JSON property `labels`
1437
1576
  # @return [Hash<String,String>]
@@ -1453,7 +1592,7 @@ module Google
1453
1592
  attr_accessor :reconciling
1454
1593
  alias_method :reconciling?, :reconciling
1455
1594
 
1456
- # Output only. The list of schemas in this service.
1595
+ # Optional. The list of schemas in this service.
1457
1596
  # Corresponds to the JSON property `schemas`
1458
1597
  # @return [Array<Google::Apis::FirebasedataconnectV1beta::Schema>]
1459
1598
  attr_accessor :schemas
@@ -1463,6 +1602,11 @@ module Google
1463
1602
  # @return [Google::Apis::FirebasedataconnectV1beta::Source]
1464
1603
  attr_accessor :source
1465
1604
 
1605
+ # Used to represent a set of source files.
1606
+ # Corresponds to the JSON property `sqlSource`
1607
+ # @return [Google::Apis::FirebasedataconnectV1beta::Source]
1608
+ attr_accessor :sql_source
1609
+
1466
1610
  # Output only. System-assigned, unique identifier.
1467
1611
  # Corresponds to the JSON property `uid`
1468
1612
  # @return [String]
@@ -1484,11 +1628,13 @@ module Google
1484
1628
  @create_time = args[:create_time] if args.key?(:create_time)
1485
1629
  @display_name = args[:display_name] if args.key?(:display_name)
1486
1630
  @etag = args[:etag] if args.key?(:etag)
1631
+ @graphql_source = args[:graphql_source] if args.key?(:graphql_source)
1487
1632
  @labels = args[:labels] if args.key?(:labels)
1488
1633
  @name = args[:name] if args.key?(:name)
1489
1634
  @reconciling = args[:reconciling] if args.key?(:reconciling)
1490
1635
  @schemas = args[:schemas] if args.key?(:schemas)
1491
1636
  @source = args[:source] if args.key?(:source)
1637
+ @sql_source = args[:sql_source] if args.key?(:sql_source)
1492
1638
  @uid = args[:uid] if args.key?(:uid)
1493
1639
  @update_time = args[:update_time] if args.key?(:update_time)
1494
1640
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module FirebasedataconnectV1beta
18
18
  # Version of the google-apis-firebasedataconnect_v1beta gem
19
- GEM_VERSION = "0.24.0"
19
+ GEM_VERSION = "0.26.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.19.0"
22
+ GENERATOR_VERSION = "0.19.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260726"
25
+ REVISION = "20261011"
26
26
  end
27
27
  end
28
28
  end
@@ -166,6 +166,12 @@ module Google
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
+ class HttpBody
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
169
175
  class HttpGraphql
170
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
177
 
@@ -220,6 +226,18 @@ module Google
220
226
  include Google::Apis::Core::JsonObjectSupport
221
227
  end
222
228
 
229
+ class MigrateSchemaRequest
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class MigrationStep
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
223
241
  class Operation
224
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
243
 
@@ -513,6 +531,15 @@ module Google
513
531
  end
514
532
  end
515
533
 
534
+ class HttpBody
535
+ # @private
536
+ class Representation < Google::Apis::Core::JsonRepresentation
537
+ property :content_type, as: 'contentType'
538
+ property :data, :base64 => true, as: 'data'
539
+ collection :extensions, as: 'extensions'
540
+ end
541
+ end
542
+
516
543
  class HttpGraphql
517
544
  # @private
518
545
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -600,6 +627,25 @@ module Google
600
627
  end
601
628
  end
602
629
 
630
+ class MigrateSchemaRequest
631
+ # @private
632
+ class Representation < Google::Apis::Core::JsonRepresentation
633
+ property :execution_mode, as: 'executionMode'
634
+ collection :migration_steps, as: 'migrationSteps', class: Google::Apis::FirebasedataconnectV1beta::MigrationStep, decorator: Google::Apis::FirebasedataconnectV1beta::MigrationStep::Representation
635
+
636
+ property :validate_only, as: 'validateOnly'
637
+ end
638
+ end
639
+
640
+ class MigrationStep
641
+ # @private
642
+ class Representation < Google::Apis::Core::JsonRepresentation
643
+ property :name, as: 'name'
644
+ property :sql, as: 'sql'
645
+ property :version, as: 'version'
646
+ end
647
+ end
648
+
603
649
  class Operation
604
650
  # @private
605
651
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -677,6 +723,8 @@ module Google
677
723
  property :create_time, as: 'createTime'
678
724
  property :display_name, as: 'displayName'
679
725
  property :etag, as: 'etag'
726
+ property :graphql_source, as: 'graphqlSource', class: Google::Apis::FirebasedataconnectV1beta::Source, decorator: Google::Apis::FirebasedataconnectV1beta::Source::Representation
727
+
680
728
  hash :labels, as: 'labels'
681
729
  property :name, as: 'name'
682
730
  property :reconciling, as: 'reconciling'
@@ -684,6 +732,8 @@ module Google
684
732
 
685
733
  property :source, as: 'source', class: Google::Apis::FirebasedataconnectV1beta::Source, decorator: Google::Apis::FirebasedataconnectV1beta::Source::Representation
686
734
 
735
+ property :sql_source, as: 'sqlSource', class: Google::Apis::FirebasedataconnectV1beta::Source, decorator: Google::Apis::FirebasedataconnectV1beta::Source::Representation
736
+
687
737
  property :uid, as: 'uid'
688
738
  property :update_time, as: 'updateTime'
689
739
  end
@@ -1136,6 +1136,259 @@ module Google
1136
1136
  execute_or_queue_command(command, &block)
1137
1137
  end
1138
1138
 
1139
+ # Executes a dynamic DELETE mutation on rows matching the URL filters.
1140
+ # @param [String] firebasedataconnect_service
1141
+ # Required. The resource name of the service, in the format: `projects/`project`/
1142
+ # locations/`location`/services/`service``
1143
+ # @param [String] firebasedataconnect_table
1144
+ # Required. The name of the table to delete from.
1145
+ # @param [String] fields
1146
+ # Selector specifying which fields to include in a partial response.
1147
+ # @param [String] quota_user
1148
+ # Available to use for quota purposes for server-side applications. Can be any
1149
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1150
+ # @param [Google::Apis::RequestOptions] options
1151
+ # Request-specific options
1152
+ #
1153
+ # @yield [result, err] Result & error if block supplied
1154
+ # @yieldparam result [Google::Apis::FirebasedataconnectV1beta::HttpBody] parsed result object
1155
+ # @yieldparam err [StandardError] error object if request failed
1156
+ #
1157
+ # @return [Google::Apis::FirebasedataconnectV1beta::HttpBody]
1158
+ #
1159
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1160
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1161
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1162
+ def postgrest_project_location_service_postgrest_delete(firebasedataconnect_service, firebasedataconnect_table, fields: nil, quota_user: nil, options: nil, &block)
1163
+ command = make_simple_command(:delete, 'v1beta/{+firebasedataconnectService}/postgrest/{+firebasedataconnectTable}', options)
1164
+ command.response_representation = Google::Apis::FirebasedataconnectV1beta::HttpBody::Representation
1165
+ command.response_class = Google::Apis::FirebasedataconnectV1beta::HttpBody
1166
+ command.params['firebasedataconnectService'] = firebasedataconnect_service unless firebasedataconnect_service.nil?
1167
+ command.params['firebasedataconnectTable'] = firebasedataconnect_table unless firebasedataconnect_table.nil?
1168
+ command.query['fields'] = fields unless fields.nil?
1169
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1170
+ execute_or_queue_command(command, &block)
1171
+ end
1172
+
1173
+ # Executes a dynamic INSERT (create) or UPSERT mutation on a target table.
1174
+ # @param [String] firebasedataconnect_service
1175
+ # Required. The resource name of the service, in the format: `projects/`project`/
1176
+ # locations/`location`/services/`service``
1177
+ # @param [String] firebasedataconnect_table
1178
+ # Required. The name of the table to insert into.
1179
+ # @param [Google::Apis::FirebasedataconnectV1beta::HttpBody] http_body_object
1180
+ # @param [String] fields
1181
+ # Selector specifying which fields to include in a partial response.
1182
+ # @param [String] quota_user
1183
+ # Available to use for quota purposes for server-side applications. Can be any
1184
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1185
+ # @param [Google::Apis::RequestOptions] options
1186
+ # Request-specific options
1187
+ #
1188
+ # @yield [result, err] Result & error if block supplied
1189
+ # @yieldparam result [Google::Apis::FirebasedataconnectV1beta::HttpBody] parsed result object
1190
+ # @yieldparam err [StandardError] error object if request failed
1191
+ #
1192
+ # @return [Google::Apis::FirebasedataconnectV1beta::HttpBody]
1193
+ #
1194
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1195
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1196
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1197
+ def postgrest_project_location_service_postgrest_insert(firebasedataconnect_service, firebasedataconnect_table, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1198
+ command = make_simple_command(:post, 'v1beta/{+firebasedataconnectService}/postgrest/{+firebasedataconnectTable}', options)
1199
+ command.request_representation = Google::Apis::FirebasedataconnectV1beta::HttpBody::Representation
1200
+ command.request_object = http_body_object
1201
+ command.response_representation = Google::Apis::FirebasedataconnectV1beta::HttpBody::Representation
1202
+ command.response_class = Google::Apis::FirebasedataconnectV1beta::HttpBody
1203
+ command.params['firebasedataconnectService'] = firebasedataconnect_service unless firebasedataconnect_service.nil?
1204
+ command.params['firebasedataconnectTable'] = firebasedataconnect_table unless firebasedataconnect_table.nil?
1205
+ command.query['fields'] = fields unless fields.nil?
1206
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1207
+ execute_or_queue_command(command, &block)
1208
+ end
1209
+
1210
+ # Executes a dynamic SELECT (read) query on a target PostgreSQL table.
1211
+ # Projections, filters, sorting, and embeddings are mapped from the HTTP URL
1212
+ # query parameters.
1213
+ # @param [String] firebasedataconnect_service
1214
+ # Required. The resource name of the service, in the format: `projects/`project`/
1215
+ # locations/`location`/services/`service``
1216
+ # @param [String] firebasedataconnect_table
1217
+ # Required. The name of the table to select from.
1218
+ # @param [String] fields
1219
+ # Selector specifying which fields to include in a partial response.
1220
+ # @param [String] quota_user
1221
+ # Available to use for quota purposes for server-side applications. Can be any
1222
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1223
+ # @param [Google::Apis::RequestOptions] options
1224
+ # Request-specific options
1225
+ #
1226
+ # @yield [result, err] Result & error if block supplied
1227
+ # @yieldparam result [Google::Apis::FirebasedataconnectV1beta::HttpBody] parsed result object
1228
+ # @yieldparam err [StandardError] error object if request failed
1229
+ #
1230
+ # @return [Google::Apis::FirebasedataconnectV1beta::HttpBody]
1231
+ #
1232
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1233
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1234
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1235
+ def postgrest_project_location_service_postgrest_select(firebasedataconnect_service, firebasedataconnect_table, fields: nil, quota_user: nil, options: nil, &block)
1236
+ command = make_simple_command(:get, 'v1beta/{+firebasedataconnectService}/postgrest/{+firebasedataconnectTable}', options)
1237
+ command.response_representation = Google::Apis::FirebasedataconnectV1beta::HttpBody::Representation
1238
+ command.response_class = Google::Apis::FirebasedataconnectV1beta::HttpBody
1239
+ command.params['firebasedataconnectService'] = firebasedataconnect_service unless firebasedataconnect_service.nil?
1240
+ command.params['firebasedataconnectTable'] = firebasedataconnect_table unless firebasedataconnect_table.nil?
1241
+ command.query['fields'] = fields unless fields.nil?
1242
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1243
+ execute_or_queue_command(command, &block)
1244
+ end
1245
+
1246
+ # Executes a dynamic UPDATE (modify) mutation on rows matching the URL filters.
1247
+ # @param [String] firebasedataconnect_service
1248
+ # Required. The resource name of the service, in the format: `projects/`project`/
1249
+ # locations/`location`/services/`service``
1250
+ # @param [String] firebasedataconnect_table
1251
+ # Required. The name of the table to update.
1252
+ # @param [Google::Apis::FirebasedataconnectV1beta::HttpBody] http_body_object
1253
+ # @param [String] fields
1254
+ # Selector specifying which fields to include in a partial response.
1255
+ # @param [String] quota_user
1256
+ # Available to use for quota purposes for server-side applications. Can be any
1257
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1258
+ # @param [Google::Apis::RequestOptions] options
1259
+ # Request-specific options
1260
+ #
1261
+ # @yield [result, err] Result & error if block supplied
1262
+ # @yieldparam result [Google::Apis::FirebasedataconnectV1beta::HttpBody] parsed result object
1263
+ # @yieldparam err [StandardError] error object if request failed
1264
+ #
1265
+ # @return [Google::Apis::FirebasedataconnectV1beta::HttpBody]
1266
+ #
1267
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1268
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1269
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1270
+ def postgrest_project_location_service_postgrest_update(firebasedataconnect_service, firebasedataconnect_table, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1271
+ command = make_simple_command(:patch, 'v1beta/{+firebasedataconnectService}/postgrest/{+firebasedataconnectTable}', options)
1272
+ command.request_representation = Google::Apis::FirebasedataconnectV1beta::HttpBody::Representation
1273
+ command.request_object = http_body_object
1274
+ command.response_representation = Google::Apis::FirebasedataconnectV1beta::HttpBody::Representation
1275
+ command.response_class = Google::Apis::FirebasedataconnectV1beta::HttpBody
1276
+ command.params['firebasedataconnectService'] = firebasedataconnect_service unless firebasedataconnect_service.nil?
1277
+ command.params['firebasedataconnectTable'] = firebasedataconnect_table unless firebasedataconnect_table.nil?
1278
+ command.query['fields'] = fields unless fields.nil?
1279
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1280
+ execute_or_queue_command(command, &block)
1281
+ end
1282
+
1283
+ # Executes a dynamic UPSERT (replace or create) mutation on a target table
1284
+ # identified by primary key filters.
1285
+ # @param [String] firebasedataconnect_service
1286
+ # Required. The resource name of the service, in the format: `projects/`project`/
1287
+ # locations/`location`/services/`service``
1288
+ # @param [String] firebasedataconnect_table
1289
+ # Required. The name of the table to upsert into.
1290
+ # @param [Google::Apis::FirebasedataconnectV1beta::HttpBody] http_body_object
1291
+ # @param [String] fields
1292
+ # Selector specifying which fields to include in a partial response.
1293
+ # @param [String] quota_user
1294
+ # Available to use for quota purposes for server-side applications. Can be any
1295
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1296
+ # @param [Google::Apis::RequestOptions] options
1297
+ # Request-specific options
1298
+ #
1299
+ # @yield [result, err] Result & error if block supplied
1300
+ # @yieldparam result [Google::Apis::FirebasedataconnectV1beta::HttpBody] parsed result object
1301
+ # @yieldparam err [StandardError] error object if request failed
1302
+ #
1303
+ # @return [Google::Apis::FirebasedataconnectV1beta::HttpBody]
1304
+ #
1305
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1306
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1307
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1308
+ def postgrest_project_location_service_postgrest_upsert(firebasedataconnect_service, firebasedataconnect_table, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1309
+ command = make_simple_command(:put, 'v1beta/{+firebasedataconnectService}/postgrest/{+firebasedataconnectTable}', options)
1310
+ command.request_representation = Google::Apis::FirebasedataconnectV1beta::HttpBody::Representation
1311
+ command.request_object = http_body_object
1312
+ command.response_representation = Google::Apis::FirebasedataconnectV1beta::HttpBody::Representation
1313
+ command.response_class = Google::Apis::FirebasedataconnectV1beta::HttpBody
1314
+ command.params['firebasedataconnectService'] = firebasedataconnect_service unless firebasedataconnect_service.nil?
1315
+ command.params['firebasedataconnectTable'] = firebasedataconnect_table unless firebasedataconnect_table.nil?
1316
+ command.query['fields'] = fields unless fields.nil?
1317
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1318
+ execute_or_queue_command(command, &block)
1319
+ end
1320
+
1321
+ # Executes a PostgreSQL database function.
1322
+ # @param [String] firebasedataconnect_service
1323
+ # Required. The resource name of the service, in the format: `projects/`project`/
1324
+ # locations/`location`/services/`service``
1325
+ # @param [String] firebasedataconnect_function
1326
+ # Required. The name of the database function.
1327
+ # @param [Google::Apis::FirebasedataconnectV1beta::HttpBody] http_body_object
1328
+ # @param [String] fields
1329
+ # Selector specifying which fields to include in a partial response.
1330
+ # @param [String] quota_user
1331
+ # Available to use for quota purposes for server-side applications. Can be any
1332
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1333
+ # @param [Google::Apis::RequestOptions] options
1334
+ # Request-specific options
1335
+ #
1336
+ # @yield [result, err] Result & error if block supplied
1337
+ # @yieldparam result [Google::Apis::FirebasedataconnectV1beta::HttpBody] parsed result object
1338
+ # @yieldparam err [StandardError] error object if request failed
1339
+ #
1340
+ # @return [Google::Apis::FirebasedataconnectV1beta::HttpBody]
1341
+ #
1342
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1343
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1344
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1345
+ def postgrest_project_location_service_postgrest_rpc_call_function(firebasedataconnect_service, firebasedataconnect_function, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1346
+ command = make_simple_command(:post, 'v1beta/{+firebasedataconnectService}/postgrest/rpc/{+firebasedataconnectFunction}', options)
1347
+ command.request_representation = Google::Apis::FirebasedataconnectV1beta::HttpBody::Representation
1348
+ command.request_object = http_body_object
1349
+ command.response_representation = Google::Apis::FirebasedataconnectV1beta::HttpBody::Representation
1350
+ command.response_class = Google::Apis::FirebasedataconnectV1beta::HttpBody
1351
+ command.params['firebasedataconnectService'] = firebasedataconnect_service unless firebasedataconnect_service.nil?
1352
+ command.params['firebasedataconnectFunction'] = firebasedataconnect_function unless firebasedataconnect_function.nil?
1353
+ command.query['fields'] = fields unless fields.nil?
1354
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1355
+ execute_or_queue_command(command, &block)
1356
+ end
1357
+
1358
+ # Executes a read-only PostgreSQL database function.
1359
+ # @param [String] firebasedataconnect_service
1360
+ # Required. The resource name of the service, in the format: `projects/`project`/
1361
+ # locations/`location`/services/`service``
1362
+ # @param [String] firebasedataconnect_function
1363
+ # Required. The name of the database function.
1364
+ # @param [String] fields
1365
+ # Selector specifying which fields to include in a partial response.
1366
+ # @param [String] quota_user
1367
+ # Available to use for quota purposes for server-side applications. Can be any
1368
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1369
+ # @param [Google::Apis::RequestOptions] options
1370
+ # Request-specific options
1371
+ #
1372
+ # @yield [result, err] Result & error if block supplied
1373
+ # @yieldparam result [Google::Apis::FirebasedataconnectV1beta::HttpBody] parsed result object
1374
+ # @yieldparam err [StandardError] error object if request failed
1375
+ #
1376
+ # @return [Google::Apis::FirebasedataconnectV1beta::HttpBody]
1377
+ #
1378
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1379
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1380
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1381
+ def postgrest_project_location_service_postgrest_rpc_query_function(firebasedataconnect_service, firebasedataconnect_function, fields: nil, quota_user: nil, options: nil, &block)
1382
+ command = make_simple_command(:get, 'v1beta/{+firebasedataconnectService}/postgrest/rpc/{+firebasedataconnectFunction}', options)
1383
+ command.response_representation = Google::Apis::FirebasedataconnectV1beta::HttpBody::Representation
1384
+ command.response_class = Google::Apis::FirebasedataconnectV1beta::HttpBody
1385
+ command.params['firebasedataconnectService'] = firebasedataconnect_service unless firebasedataconnect_service.nil?
1386
+ command.params['firebasedataconnectFunction'] = firebasedataconnect_function unless firebasedataconnect_function.nil?
1387
+ command.query['fields'] = fields unless fields.nil?
1388
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1389
+ execute_or_queue_command(command, &block)
1390
+ end
1391
+
1139
1392
  # Creates a new Schema in a given project and location. Only creation of `
1140
1393
  # schemas/main` is supported and calling create with any other schema ID will
1141
1394
  # result in an error.
@@ -1329,6 +1582,44 @@ module Google
1329
1582
  execute_or_queue_command(command, &block)
1330
1583
  end
1331
1584
 
1585
+ # Executes SQL migration steps against the active database schema. This
1586
+ # operation compares submitted migration steps against the schema migration
1587
+ # ledger (`firebasesql.schema_migrations`), executes unapplied DDL, and records
1588
+ # applied steps. It does NOT persist the GraphQL schema to the control plane.
1589
+ # @param [String] name
1590
+ # Required. Resource name of the target schema: projects/`project`/locations/`
1591
+ # location`/services/`service`/schemas/`schema` Note: Only `schemas/main` is
1592
+ # supported (singleton schema per service).
1593
+ # @param [Google::Apis::FirebasedataconnectV1beta::MigrateSchemaRequest] migrate_schema_request_object
1594
+ # @param [String] fields
1595
+ # Selector specifying which fields to include in a partial response.
1596
+ # @param [String] quota_user
1597
+ # Available to use for quota purposes for server-side applications. Can be any
1598
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1599
+ # @param [Google::Apis::RequestOptions] options
1600
+ # Request-specific options
1601
+ #
1602
+ # @yield [result, err] Result & error if block supplied
1603
+ # @yieldparam result [Google::Apis::FirebasedataconnectV1beta::Operation] parsed result object
1604
+ # @yieldparam err [StandardError] error object if request failed
1605
+ #
1606
+ # @return [Google::Apis::FirebasedataconnectV1beta::Operation]
1607
+ #
1608
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1609
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1610
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1611
+ def migrate_schema(name, migrate_schema_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1612
+ command = make_simple_command(:post, 'v1beta/{+name}:migrate', options)
1613
+ command.request_representation = Google::Apis::FirebasedataconnectV1beta::MigrateSchemaRequest::Representation
1614
+ command.request_object = migrate_schema_request_object
1615
+ command.response_representation = Google::Apis::FirebasedataconnectV1beta::Operation::Representation
1616
+ command.response_class = Google::Apis::FirebasedataconnectV1beta::Operation
1617
+ command.params['name'] = name unless name.nil?
1618
+ command.query['fields'] = fields unless fields.nil?
1619
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1620
+ execute_or_queue_command(command, &block)
1621
+ end
1622
+
1332
1623
  # Updates the parameters of a single Schema, and creates a new SchemaRevision
1333
1624
  # with the updated Schema.
1334
1625
  # @param [String] name
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-firebasedataconnect_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.26.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-firebasedataconnect_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-firebasedataconnect_v1beta/v0.24.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebasedataconnect_v1beta/v0.26.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebasedataconnect_v1beta
62
62
  rdoc_options: []
63
63
  require_paths: