google-apis-firebasedataconnect_v1beta 0.23.0 → 0.25.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: 2a642246718512e0a32de9a1dbd5654187e09562a6b5ced2e65ac001945f70e8
4
- data.tar.gz: d5dc174b3fe8ddbc963c301680d87a2e3ca96b6dbbba86685179d49f9221782a
3
+ metadata.gz: 0c166b42b04cb542451d4422c55f46d1ba3c815cb5aebe7cb764a5574887c1fb
4
+ data.tar.gz: 4b8062c2eee4c4f1a39ff785370488d51539a4c983447ec502c501920a5ed2c7
5
5
  SHA512:
6
- metadata.gz: 214550960088dca37ba0b70b334955365ee65658a89811870c4b76e93c42748a0389effa142d0d405cf9d85f68ede85984efb6208a7f1c29f9658bb38b643695
7
- data.tar.gz: c149267398a1197f86da0a88d6cb01fa40f65c00e255717d5dd924788f3d075799d037813fa699f4932a6f84b8fed5a8c6328b2a40ed60867cc493c42b0e246e
6
+ metadata.gz: 57b15a1df2924aae521892d99c1a6f1949a74d44bca6eb9cd8c5fb8b582c3121ddba9ffed5bcb58e6b2ef8cd76fa4f1f784e8fbc02acb73c1da09f42105cc3c1
7
+ data.tar.gz: fcce0539906f9e34b096d73972f71abb0313e000181811d5753a5d51bd8253b03b431997f63f2e3aa505f2d2de4129f3e36a16cfd36f77cf9eac32f182e1591b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-firebasedataconnect_v1beta
2
2
 
3
+ ### v0.25.0 (2026-10-04)
4
+
5
+ * Regenerated from discovery document revision 20260927
6
+
7
+ ### v0.24.0 (2026-08-02)
8
+
9
+ * Regenerated from discovery document revision 20260726
10
+
3
11
  ### v0.23.0 (2026-07-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20260719
@@ -1092,6 +1092,92 @@ module Google
1092
1092
  end
1093
1093
  end
1094
1094
 
1095
+ # Request message for `MigrateSchema`. Next tag: 7
1096
+ class MigrateSchemaRequest
1097
+ include Google::Apis::Core::Hashable
1098
+
1099
+ # Optional. Execution mode controlling DDL execution and ledger recording.
1100
+ # Defaults to EXECUTE_AND_RECORD.
1101
+ # Corresponds to the JSON property `executionMode`
1102
+ # @return [String]
1103
+ attr_accessor :execution_mode
1104
+
1105
+ # Required. Ordered migration steps from `./sql/migrations/` (or a single ad-hoc
1106
+ # step). Backend compares submitted versions against `firebasesql.
1107
+ # schema_migrations`: already-applied steps are verified for SQL immutability
1108
+ # and skipped, while unapplied steps (`version > MAX(applied_version)`) are
1109
+ # executed. All unapplied transactional steps in a single request execute
1110
+ # atomically within one database transaction (BEGIN ... COMMIT): either every
1111
+ # unapplied step commits and is recorded in the ledger, or the entire request
1112
+ # rolls back. An unapplied step containing CREATE INDEX CONCURRENTLY or DROP
1113
+ # INDEX CONCURRENTLY cannot be mixed with other unapplied steps and must be the
1114
+ # sole unapplied step executed in the request.
1115
+ # Corresponds to the JSON property `migrationSteps`
1116
+ # @return [Array<Google::Apis::FirebasedataconnectV1beta::MigrationStep>]
1117
+ attr_accessor :migration_steps
1118
+
1119
+ # Optional. When true, runs preflight validation (syntax, applied-step
1120
+ # immutability, sequence ordering, CONCURRENTLY isolation, and SAVEPOINT catalog
1121
+ # checks) without committing mutations to the database.
1122
+ # Corresponds to the JSON property `validateOnly`
1123
+ # @return [Boolean]
1124
+ attr_accessor :validate_only
1125
+ alias_method :validate_only?, :validate_only
1126
+
1127
+ def initialize(**args)
1128
+ update!(**args)
1129
+ end
1130
+
1131
+ # Update properties of this object
1132
+ def update!(**args)
1133
+ @execution_mode = args[:execution_mode] if args.key?(:execution_mode)
1134
+ @migration_steps = args[:migration_steps] if args.key?(:migration_steps)
1135
+ @validate_only = args[:validate_only] if args.key?(:validate_only)
1136
+ end
1137
+ end
1138
+
1139
+ # An individual unit of migration work. Next tag: 4
1140
+ class MigrationStep
1141
+ include Google::Apis::Core::Hashable
1142
+
1143
+ # Optional. Descriptive migration label (e.g. "create_accounts_table"). If
1144
+ # omitted, defaults to "adhoc".
1145
+ # Corresponds to the JSON property `name`
1146
+ # @return [String]
1147
+ attr_accessor :name
1148
+
1149
+ # Required. Raw multi-statement SQL script. The backend splits it into
1150
+ # individual statements before execution; callers do not pre-split. Required
1151
+ # whenever the request executes or records DDL, which is every publicly
1152
+ # available execution mode; omitting it returns INVALID_ARGUMENT.
1153
+ # Corresponds to the JSON property `sql`
1154
+ # @return [String]
1155
+ attr_accessor :sql
1156
+
1157
+ # Optional. Monotonic 14-digit UTC timestamp (YYYYMMDDHHMMSS), matching the
1158
+ # timestamp prefix of the developer's migration filename. Constrained to `^[0-9]`
1159
+ # 14`$`. - When specified (file migrations): If `version` is already recorded in
1160
+ # `firebasesql.schema_migrations`, the backend verifies that `sql` matches the
1161
+ # recorded statements and skips execution. If `version` is unapplied, the
1162
+ # backend validates `version > MAX(applied_version)` and records the value
1163
+ # unchanged, so the ledger row and the on-disk filename stay identical. - When
1164
+ # omitted (Console/ad-hoc): Backend auto-generates a 14-digit UTC timestamp.
1165
+ # Corresponds to the JSON property `version`
1166
+ # @return [String]
1167
+ attr_accessor :version
1168
+
1169
+ def initialize(**args)
1170
+ update!(**args)
1171
+ end
1172
+
1173
+ # Update properties of this object
1174
+ def update!(**args)
1175
+ @name = args[:name] if args.key?(:name)
1176
+ @sql = args[:sql] if args.key?(:sql)
1177
+ @version = args[:version] if args.key?(:version)
1178
+ end
1179
+ end
1180
+
1095
1181
  # This resource represents a long-running operation that is the result of a
1096
1182
  # network API call.
1097
1183
  class Operation
@@ -1409,6 +1495,11 @@ module Google
1409
1495
  # @return [Hash<String,String>]
1410
1496
  attr_accessor :annotations
1411
1497
 
1498
+ # Output only. The list of connectors in this service.
1499
+ # Corresponds to the JSON property `connectors`
1500
+ # @return [Array<Google::Apis::FirebasedataconnectV1beta::Connector>]
1501
+ attr_accessor :connectors
1502
+
1412
1503
  # Output only. [Output only] Create time stamp.
1413
1504
  # Corresponds to the JSON property `createTime`
1414
1505
  # @return [String]
@@ -1448,6 +1539,16 @@ module Google
1448
1539
  attr_accessor :reconciling
1449
1540
  alias_method :reconciling?, :reconciling
1450
1541
 
1542
+ # Output only. The list of schemas in this service.
1543
+ # Corresponds to the JSON property `schemas`
1544
+ # @return [Array<Google::Apis::FirebasedataconnectV1beta::Schema>]
1545
+ attr_accessor :schemas
1546
+
1547
+ # Used to represent a set of source files.
1548
+ # Corresponds to the JSON property `source`
1549
+ # @return [Google::Apis::FirebasedataconnectV1beta::Source]
1550
+ attr_accessor :source
1551
+
1451
1552
  # Output only. System-assigned, unique identifier.
1452
1553
  # Corresponds to the JSON property `uid`
1453
1554
  # @return [String]
@@ -1465,12 +1566,15 @@ module Google
1465
1566
  # Update properties of this object
1466
1567
  def update!(**args)
1467
1568
  @annotations = args[:annotations] if args.key?(:annotations)
1569
+ @connectors = args[:connectors] if args.key?(:connectors)
1468
1570
  @create_time = args[:create_time] if args.key?(:create_time)
1469
1571
  @display_name = args[:display_name] if args.key?(:display_name)
1470
1572
  @etag = args[:etag] if args.key?(:etag)
1471
1573
  @labels = args[:labels] if args.key?(:labels)
1472
1574
  @name = args[:name] if args.key?(:name)
1473
1575
  @reconciling = args[:reconciling] if args.key?(:reconciling)
1576
+ @schemas = args[:schemas] if args.key?(:schemas)
1577
+ @source = args[:source] if args.key?(:source)
1474
1578
  @uid = args[:uid] if args.key?(:uid)
1475
1579
  @update_time = args[:update_time] if args.key?(:update_time)
1476
1580
  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.23.0"
19
+ GEM_VERSION = "0.25.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260719"
25
+ REVISION = "20260927"
26
26
  end
27
27
  end
28
28
  end
@@ -220,6 +220,18 @@ module Google
220
220
  include Google::Apis::Core::JsonObjectSupport
221
221
  end
222
222
 
223
+ class MigrateSchemaRequest
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class MigrationStep
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
223
235
  class Operation
224
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
237
 
@@ -600,6 +612,25 @@ module Google
600
612
  end
601
613
  end
602
614
 
615
+ class MigrateSchemaRequest
616
+ # @private
617
+ class Representation < Google::Apis::Core::JsonRepresentation
618
+ property :execution_mode, as: 'executionMode'
619
+ collection :migration_steps, as: 'migrationSteps', class: Google::Apis::FirebasedataconnectV1beta::MigrationStep, decorator: Google::Apis::FirebasedataconnectV1beta::MigrationStep::Representation
620
+
621
+ property :validate_only, as: 'validateOnly'
622
+ end
623
+ end
624
+
625
+ class MigrationStep
626
+ # @private
627
+ class Representation < Google::Apis::Core::JsonRepresentation
628
+ property :name, as: 'name'
629
+ property :sql, as: 'sql'
630
+ property :version, as: 'version'
631
+ end
632
+ end
633
+
603
634
  class Operation
604
635
  # @private
605
636
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -672,12 +703,18 @@ module Google
672
703
  # @private
673
704
  class Representation < Google::Apis::Core::JsonRepresentation
674
705
  hash :annotations, as: 'annotations'
706
+ collection :connectors, as: 'connectors', class: Google::Apis::FirebasedataconnectV1beta::Connector, decorator: Google::Apis::FirebasedataconnectV1beta::Connector::Representation
707
+
675
708
  property :create_time, as: 'createTime'
676
709
  property :display_name, as: 'displayName'
677
710
  property :etag, as: 'etag'
678
711
  hash :labels, as: 'labels'
679
712
  property :name, as: 'name'
680
713
  property :reconciling, as: 'reconciling'
714
+ collection :schemas, as: 'schemas', class: Google::Apis::FirebasedataconnectV1beta::Schema, decorator: Google::Apis::FirebasedataconnectV1beta::Schema::Representation
715
+
716
+ property :source, as: 'source', class: Google::Apis::FirebasedataconnectV1beta::Source, decorator: Google::Apis::FirebasedataconnectV1beta::Source::Representation
717
+
681
718
  property :uid, as: 'uid'
682
719
  property :update_time, as: 'updateTime'
683
720
  end
@@ -1329,6 +1329,44 @@ module Google
1329
1329
  execute_or_queue_command(command, &block)
1330
1330
  end
1331
1331
 
1332
+ # Executes SQL migration steps against the active database schema. This
1333
+ # operation compares submitted migration steps against the schema migration
1334
+ # ledger (`firebasesql.schema_migrations`), executes unapplied DDL, and records
1335
+ # applied steps. It does NOT persist the GraphQL schema to the control plane.
1336
+ # @param [String] name
1337
+ # Required. Resource name of the target schema: projects/`project`/locations/`
1338
+ # location`/services/`service`/schemas/`schema` Note: Only `schemas/main` is
1339
+ # supported (singleton schema per service).
1340
+ # @param [Google::Apis::FirebasedataconnectV1beta::MigrateSchemaRequest] migrate_schema_request_object
1341
+ # @param [String] fields
1342
+ # Selector specifying which fields to include in a partial response.
1343
+ # @param [String] quota_user
1344
+ # Available to use for quota purposes for server-side applications. Can be any
1345
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1346
+ # @param [Google::Apis::RequestOptions] options
1347
+ # Request-specific options
1348
+ #
1349
+ # @yield [result, err] Result & error if block supplied
1350
+ # @yieldparam result [Google::Apis::FirebasedataconnectV1beta::Operation] parsed result object
1351
+ # @yieldparam err [StandardError] error object if request failed
1352
+ #
1353
+ # @return [Google::Apis::FirebasedataconnectV1beta::Operation]
1354
+ #
1355
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1356
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1357
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1358
+ def migrate_schema(name, migrate_schema_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1359
+ command = make_simple_command(:post, 'v1beta/{+name}:migrate', options)
1360
+ command.request_representation = Google::Apis::FirebasedataconnectV1beta::MigrateSchemaRequest::Representation
1361
+ command.request_object = migrate_schema_request_object
1362
+ command.response_representation = Google::Apis::FirebasedataconnectV1beta::Operation::Representation
1363
+ command.response_class = Google::Apis::FirebasedataconnectV1beta::Operation
1364
+ command.params['name'] = name unless name.nil?
1365
+ command.query['fields'] = fields unless fields.nil?
1366
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1367
+ execute_or_queue_command(command, &block)
1368
+ end
1369
+
1332
1370
  # Updates the parameters of a single Schema, and creates a new SchemaRevision
1333
1371
  # with the updated Schema.
1334
1372
  # @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.23.0
4
+ version: 0.25.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.23.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebasedataconnect_v1beta/v0.25.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: