Class NamespacesResource.ServicesResource.DeleteRequest
Deletes the provided service. This will cause the Service to stop serving traffic and will delete all associated Revisions.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudRun.v1
Assembly: Google.Apis.CloudRun.v1.dll
Syntax
public class NamespacesResource.ServicesResource.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 | |
string | name |
Properties
ApiVersion
Not supported, and ignored by Cloud Run.
Declaration
[RequestParameter("apiVersion", RequestParameterType.Query)]
public virtual string ApiVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
DryRun
Indicates that the server should validate the request and populate default values without persisting
the request. Supported values: all
Declaration
[RequestParameter("dryRun", RequestParameterType.Query)]
public virtual string DryRun { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Kind
Not supported, and ignored by Cloud Run.
Declaration
[RequestParameter("kind", RequestParameterType.Query)]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The fully qualified name of the service to delete. It can be any of the following forms: *
namespaces/{project_id_or_number}/services/{service_name}
(only when the endpoint
is regional) *
projects/{project_id_or_number}/locations/{region}/services/{service_name}
*
projects/{project_id_or_number}/regions/{region}/services/{service_name}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
PropagationPolicy
Not supported, and ignored by Cloud Run.
Declaration
[RequestParameter("propagationPolicy", RequestParameterType.Query)]
public virtual string PropagationPolicy { get; set; }
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 Delete parameter list.
Declaration
protected override void InitParameters()