Class ProjectsResource.LocationsResource.CloudpubsubsourcesResource.DeleteRequest
Rpc to delete a cloudpubsubsource.
Inheritance
System.Object
ProjectsResource.LocationsResource.CloudpubsubsourcesResource.DeleteRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudRun.v1alpha1
Assembly: Google.Apis.CloudRun.v1alpha1.dll
Syntax
public class DeleteRequest : CloudRunBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, 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
[RequestParameter("apiVersion", RequestParameterType.Query)]
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.v1alpha1.Data.Empty>.HttpMethod
Kind
Cloud Run currently ignores this parameter.
Declaration
[RequestParameter("kind", RequestParameterType.Query)]
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.v1alpha1.Data.Empty>.MethodName
Name
The name of the cloudpubsubsource being deleted. If needed, replace {namespace_id} with the project ID.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
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
[RequestParameter("propagationPolicy", RequestParameterType.Query)]
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.v1alpha1.Data.Empty>.RestPath
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudRun.v1alpha1.CloudRunBaseServiceRequest<Google.Apis.CloudRun.v1alpha1.Data.Empty>.InitParameters()