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
System.Object
ProjectsResource.InstancesResource.DatabasesResource.UpdateDdlRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Spanner.v1
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class 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 | |
| System.String | database |
Properties
Database
Required. The database to update.
Declaration
[RequestParameter("database", RequestParameterType.Path)]
public virtual string Database { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Spanner.v1.Data.Operation>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Spanner.v1.Data.Operation>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Spanner.v1.Data.Operation>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Spanner.v1.Data.Operation>.GetBody()
InitParameters()
Initializes UpdateDdl parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Spanner.v1.SpannerBaseServiceRequest<Google.Apis.Spanner.v1.Data.Operation>.InitParameters()