Class NamespacesResource.ServicesResource.DeleteRequest
Delete a service. This will cause the Service to stop serving traffic and will delete the child entities like Routes, Configurations and Revisions.
Inheritance
System.Object
NamespacesResource.ServicesResource.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.CloudRun.v1
Assembly: Google.Apis.CloudRun.v1.dll
Syntax
public class DeleteRequest : CloudRunBaseServiceRequest<Status>, IClientServiceRequest<Status>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, String)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| System.String | name |
Properties
ApiVersion
Cloud Run currently ignores this parameter.
Declaration
public virtual string ApiVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRun.v1.Data.Status>.HttpMethod
Kind
Cloud Run currently ignores this parameter.
Declaration
public virtual string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRun.v1.Data.Status>.MethodName
Name
The name of the service to delete. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number.
Declaration
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
PropagationPolicy
Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see kubernetes.io/docs/concepts/workloads/controllers/garbage- collection/ for more information.
Declaration
public virtual string PropagationPolicy { get; set; }
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.CloudRun.v1.Data.Status>.RestPath
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudRun.v1.CloudRunBaseServiceRequest<Google.Apis.CloudRun.v1.Data.Status>.InitParameters()