Class ProjectsResource.LocationsResource.SubscriptionsResource.RevokeRequest
Revokes a given subscription.
Inheritance
ProjectsResource.LocationsResource.SubscriptionsResource.RevokeRequest
Inherited Members
Namespace: Google.Apis.AnalyticsHub.v1
Assembly: Google.Apis.AnalyticsHub.v1.dll
Syntax
public class ProjectsResource.LocationsResource.SubscriptionsResource.RevokeRequest : AnalyticsHubBaseServiceRequest<RevokeSubscriptionResponse>, IClientServiceRequest<RevokeSubscriptionResponse>, IClientServiceRequest
Constructors
RevokeRequest(IClientService, RevokeSubscriptionRequest, string)
Constructs a new Revoke request.
Declaration
public RevokeRequest(IClientService service, RevokeSubscriptionRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
RevokeSubscriptionRequest | 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. Resource name of the subscription to revoke. e.g. projects/123/locations/US/subscriptions/456
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 Revoke parameter list.
Declaration
protected override void InitParameters()