public sealed class ListDatabasesRequest : IPageRequest, IMessage<ListDatabasesRequest>, IEquatable<ListDatabasesRequest>, IDeepCloneable<ListDatabasesRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner Database Administration v1 API class ListDatabasesRequest.
The request for [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases].
Implements
IPageRequest, IMessageListDatabasesRequest, IEquatableListDatabasesRequest, IDeepCloneableListDatabasesRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Spanner.Admin.Database.V1Assembly
Google.Cloud.Spanner.Admin.Database.V1.dll
Constructors
ListDatabasesRequest()
public ListDatabasesRequest()
ListDatabasesRequest(ListDatabasesRequest)
public ListDatabasesRequest(ListDatabasesRequest other)
Parameter | |
---|---|
Name | Description |
other |
ListDatabasesRequest |
Properties
PageSize
public int PageSize { get; set; }
Number of databases to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
Property Value | |
---|---|
Type | Description |
int |
PageToken
public string PageToken { get; set; }
If non-empty, page_token
should contain a
[next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token]
from a previous
[ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
Property Value | |
---|---|
Type | Description |
string |
Parent
public string Parent { get; set; }
Required. The instance whose databases should be listed.
Values are of the form projects/<project>/instances/<instance>
.
Property Value | |
---|---|
Type | Description |
string |
ParentAsInstanceName
public InstanceName ParentAsInstanceName { get; set; }
Google.Cloud.Spanner.Common.V1.InstanceName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
Google.Cloud.Spanner.Common.V1.InstanceName |