Class ProjectsResource.InstancesResource.InstancePartitionsResource.ListRequest
Lists all instance partitions for the given instance.
Inheritance
Inherited Members
Namespace: Google.Apis.Spanner.v1
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class ProjectsResource.InstancesResource.InstancePartitionsResource.ListRequest : SpannerBaseServiceRequest<ListInstancePartitionsResponse>, IClientServiceRequest<ListInstancePartitionsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
InstancePartitionDeadline
object representation of InstancePartitionDeadlineRaw.
Declaration
[Obsolete("This property is obsolete and may behave unexpectedly; please use InstancePartitionDeadlineDateTimeOffset instead.")]
public virtual object InstancePartitionDeadline { get; set; }
Property Value
Type | Description |
---|---|
object |
InstancePartitionDeadlineDateTimeOffset
Declaration
public virtual DateTimeOffset? InstancePartitionDeadlineDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
InstancePartitionDeadlineRaw
String representation of InstancePartitionDeadlineDateTimeOffset, formatted for inclusion in the HTTP request.
Declaration
[RequestParameter("instancePartitionDeadline", RequestParameterType.Query)]
public virtual string InstancePartitionDeadlineRaw { get; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageSize
Number of instance partitions to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
If non-empty, page_token
should contain a next_page_token from a previous
ListInstancePartitionsResponse.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. The instance whose instance partitions should be listed. Values are of the form
projects//instances/
. Use {instance} = '-'
to list instance partitions for all Instances in
a project, e.g., projects/myproject/instances/-
.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()