# Google Cloud Spanner Database Administration v1 API - Class DdlStatementActionInfo (5.13.0-beta07)

5.13.0-beta07 5.13.0-beta06 5.12.0 (latest) 5.11.0 5.10.0 5.9.0 5.8.0 5.7.0 5.6.0 5.5.0 5.4.0 5.3.0 5.2.0 5.1.0 5.0.0 4.6.0 4.5.0 4.4.0 4.3.0 4.2.0 4.1.0 4.0.0 3.15.1 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0

    public sealed class DdlStatementActionInfo : IMessage<DdlStatementActionInfo>, IEquatable<DdlStatementActionInfo>, IDeepCloneable<DdlStatementActionInfo>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Spanner Database Administration v1 API class DdlStatementActionInfo.

Action information extracted from a DDL statement. This proto is used to
display the brief info of the DDL statement for the operation
\[UpdateDatabaseDdl\]\[google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl\].

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> DdlStatementActionInfo

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DdlStatementActionInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Database.V1/latest/Google.Cloud.Spanner.Admin.Database.V1.DdlStatementActionInfo), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DdlStatementActionInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Database.V1/latest/Google.Cloud.Spanner.Admin.Database.V1.DdlStatementActionInfo), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DdlStatementActionInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Database.V1/latest/Google.Cloud.Spanner.Admin.Database.V1.DdlStatementActionInfo), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Spanner.Admin.Database.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Database.V1/latest/Google.Cloud.Spanner.Admin.Database.V1)

## Assembly

Google.Cloud.Spanner.Admin.Database.V1.dll

## Constructors

### DdlStatementActionInfo()

    public DdlStatementActionInfo()

### DdlStatementActionInfo(DdlStatementActionInfo)

    public DdlStatementActionInfo(DdlStatementActionInfo other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Database.V1/latest/Google.Cloud.Spanner.Admin.Database.V1.DdlStatementActionInfo` |

## Properties

### Action

    public string Action { get; set; }

The action for the DDL statement, e.g. CREATE, ALTER, DROP, GRANT, etc.
This field is a non-empty string.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### EntityNames

    public RepeatedField<string> EntityNames { get; }

The entity name(s) being operated on the DDL statement.
E.g.

1. For statement "CREATE TABLE t1(...)", `entity_names` = \["t1"\].
2. For statement "GRANT ROLE r1, r2 ...", `entity_names` = \["r1", "r2"\].
3. For statement "ANALYZE", `entity_names` = \[\].

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### EntityType

    public string EntityType { get; set; }

The entity type for the DDL statement, e.g. TABLE, INDEX, VIEW, etc.
This field can be empty string for some DDL statement,
e.g. for statement "ANALYZE", `entity_type` = "".

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |