Class SupportEventSubscriptionsResource.UndeleteRequest
Undeletes a support event subscription. EXAMPLES: cURL:
shell
support_event_subscription="organizations/123456789/supportEventSubscriptions/abcdef123456" curl \ --request
POST \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \
"https://cloudsupport.googleapis.com/v2beta/$support_event_subscription:undelete"
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().undelete(
name="organizations/123456789/supportEventSubscriptions/abcdef123456" ) print(request.execute())
Undeletes a support event subscription.
Inheritance
SupportEventSubscriptionsResource.UndeleteRequest
Inherited Members
Namespace: Google.Apis.CloudSupport.v2beta
Assembly: Google.Apis.CloudSupport.v2beta.dll
Syntax
public class SupportEventSubscriptionsResource.UndeleteRequest : CloudSupportBaseServiceRequest<SupportEventSubscription>, IClientServiceRequest<SupportEventSubscription>, IClientServiceRequest
Constructors
UndeleteRequest(IClientService, UndeleteSupportEventSubscriptionRequest, string)
Constructs a new Undelete request.
Declaration
public UndeleteRequest(IClientService service, UndeleteSupportEventSubscriptionRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| UndeleteSupportEventSubscriptionRequest | body | |
| 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 undelete. 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
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Undelete parameter list.
Declaration
protected override void InitParameters()