Class ProjectsResource.LocationsResource.ServicesResource.SchemasResource.MigrateRequest
Executes SQL migration steps against the active database schema. This operation compares
submitted migration steps against the schema migration ledger (firebasesql.schema_migrations),
executes unapplied DDL, and records applied steps. It does NOT persist the GraphQL schema to the
control plane.
Inheritance
ProjectsResource.LocationsResource.ServicesResource.SchemasResource.MigrateRequest
Inherited Members
Namespace: Google.Apis.FirebaseDataConnect.v1beta
Assembly: Google.Apis.FirebaseDataConnect.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.ServicesResource.SchemasResource.MigrateRequest : FirebaseDataConnectBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
MigrateRequest(IClientService, MigrateSchemaRequest, string)
Constructs a new Migrate request.
Declaration
public MigrateRequest(IClientService service, MigrateSchemaRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| MigrateSchemaRequest | body | |
| string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Name
Required. Resource name of the target schema:
projects/{project}/locations/{location}/services/{service}/schemas/{schema} Note: Only
schemas/main is supported (singleton schema per service).
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Migrate parameter list.
Declaration
protected override void InitParameters()