Class ProjectsResource.InstancesResource.DatabasesResource.UpdateDdlRequest
Updates the schema of a Cloud Spanner database by creating/altering/dropping tables, columns,
indexes, etc. The returned long-running operation will have a name of the format /operations/
and
can be used to track execution of the schema change(s). The metadata field type is
UpdateDatabaseDdlMetadata. The operation has no response.
Inheritance
ProjectsResource.InstancesResource.DatabasesResource.UpdateDdlRequest
Inherited Members
Namespace: Google.Apis.Spanner.v1
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class ProjectsResource.InstancesResource.DatabasesResource.UpdateDdlRequest : SpannerBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
UpdateDdlRequest(IClientService, UpdateDatabaseDdlRequest, string)
Constructs a new UpdateDdl request.
Declaration
public UpdateDdlRequest(IClientService service, UpdateDatabaseDdlRequest body, string database)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
UpdateDatabaseDdlRequest | body | |
string | database |
Properties
Database
Required. The database to update.
Declaration
[RequestParameter("database", RequestParameterType.Path)]
public virtual string Database { get; }
Property Value
Type | Description |
---|---|
string |
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
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 UpdateDdl parameter list.
Declaration
protected override void InitParameters()