Class ReplicasResource.DeleteRequest
Deletes a replica from the pool.
Inheritance
System.Object
ReplicasResource.DeleteRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.Finalize()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Replicapool.v1beta1
Assembly: Google.Apis.Replicapool.v1beta1.dll
Syntax
public class DeleteRequest : ReplicapoolBaseServiceRequest<Replica>, IClientServiceRequest<Replica>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, ReplicasDeleteRequest, String, String, String, String)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, ReplicasDeleteRequest body, string projectName, string zone, string poolName, string replicaName)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ReplicasDeleteRequest | body | |
System.String | projectName | |
System.String | zone | |
System.String | poolName | |
System.String | replicaName |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Replicapool.v1beta1.Data.Replica>.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.Replicapool.v1beta1.Data.Replica>.MethodName
PoolName
The replica pool name for this request.
Declaration
public virtual string PoolName { get; }
Property Value
Type | Description |
---|---|
System.String |
ProjectName
The project ID for this request.
Declaration
public virtual string ProjectName { get; }
Property Value
Type | Description |
---|---|
System.String |
ReplicaName
The name of the replica for this request.
Declaration
public virtual string ReplicaName { get; }
Property Value
Type | Description |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Replicapool.v1beta1.Data.Replica>.RestPath
Zone
The zone where the replica lives.
Declaration
public virtual string Zone { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Replicapool.v1beta1.Data.Replica>.GetBody()
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Replicapool.v1beta1.ReplicapoolBaseServiceRequest<Google.Apis.Replicapool.v1beta1.Data.Replica>.InitParameters()