Class ProjectsResource.InstancesResource.DatabasesResource.GetDdlRequest
Returns the schema of a Cloud Spanner database as a list of formatted DDL statements. This method does not show pending schema updates, those may be queried using the Operations API.
Inheritance
System.Object
ProjectsResource.InstancesResource.DatabasesResource.GetDdlRequest
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 GetDdlRequest : SpannerBaseServiceRequest<GetDatabaseDdlResponse>, IClientServiceRequest<GetDatabaseDdlResponse>, IClientServiceRequest
Constructors
GetDdlRequest(IClientService, String)
Constructs a new GetDdl request.
Declaration
public GetDdlRequest(IClientService service, string database)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| System.String | database |
Properties
Database
Required. The database whose schema we wish to get. Values are of the form
projects//instances//databases/
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.GetDatabaseDdlResponse>.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.GetDatabaseDdlResponse>.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.GetDatabaseDdlResponse>.RestPath
Methods
InitParameters()
Initializes GetDdl parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Spanner.v1.SpannerBaseServiceRequest<Google.Apis.Spanner.v1.Data.GetDatabaseDdlResponse>.InitParameters()