Class SupportEventSubscriptionsResource.DeleteRequest
Soft deletes a support event subscription. EXAMPLES: cURL:
shell
support_event_subscription="organizations/123456789/supportEventSubscriptions/abcdef123456" curl \ --request
DELETE \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \
"https://cloudsupport.googleapis.com/v2beta/$support_event_subscription"
Python:
python import
googleapiclient.discovery api_version = "v2beta" supportApiService = googleapiclient.discovery.build(
serviceName="cloudsupport", version=api_version,
discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}", ) request
= supportApiService).supportEventSubscriptions().delete(
name="organizations/123456789/supportEventSubscriptions/abcdef123456" ) print(request.execute())
Inheritance
SupportEventSubscriptionsResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.CloudSupport.v2beta
Assembly: Google.Apis.CloudSupport.v2beta.dll
Syntax
public class SupportEventSubscriptionsResource.DeleteRequest : CloudSupportBaseServiceRequest<SupportEventSubscription>, IClientServiceRequest<SupportEventSubscription>, 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
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Name
Required. The name of the support event subscription to delete. Format: organizations/{organization_id}/supportEventSubscriptions/{subscription_id}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { 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 Delete parameter list.
Declaration
protected override void InitParameters()