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
ProjectsResource.InstancesResource.DatabasesResource.GetDdlRequest
Inherited Members
Namespace: Google.Apis.Spanner.v1
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class ProjectsResource.InstancesResource.DatabasesResource.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 | |
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 |
---|---|
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
InitParameters()
Initializes GetDdl parameter list.
Declaration
protected override void InitParameters()