Class ProjectsResource.LocationsResource.FunctionsResource.AbortFunctionUpgradeRequest
Aborts generation upgrade process for a function with the given name from the specified project. Deletes all 2nd Gen copy related configuration and resources which were created during the upgrade process.
Inheritance
ProjectsResource.LocationsResource.FunctionsResource.AbortFunctionUpgradeRequest
Inherited Members
Namespace: Google.Apis.CloudFunctions.v2
Assembly: Google.Apis.CloudFunctions.v2.dll
Syntax
public class ProjectsResource.LocationsResource.FunctionsResource.AbortFunctionUpgradeRequest : CloudFunctionsBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
AbortFunctionUpgradeRequest(IClientService, AbortFunctionUpgradeRequest, string)
Constructs a new AbortFunctionUpgrade request.
Declaration
public AbortFunctionUpgradeRequest(IClientService service, AbortFunctionUpgradeRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
AbortFunctionUpgradeRequest | 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 function for which upgrade should be aborted.
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 AbortFunctionUpgrade parameter list.
Declaration
protected override void InitParameters()