Class ServicesResource.TenancyUnitsResource.RemoveProjectRequest
Removes the specified project resource identified by a tenant resource tag. The method removes the project lien with 'TenantManager' origin if that was added. It then attempts to delete the project. If that operation fails, this method also fails. Calls to remove already removed or non-existent tenant project succeed. After the project has been deleted, or if was already in a DELETED state, resource metadata is permanently removed from the tenancy unit. Operation.
Inheritance
Inherited Members
Namespace: Google.Apis.ServiceConsumerManagement.v1
Assembly: Google.Apis.ServiceConsumerManagement.v1.dll
Syntax
public class ServicesResource.TenancyUnitsResource.RemoveProjectRequest : ServiceConsumerManagementBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
RemoveProjectRequest(IClientService, RemoveTenantProjectRequest, string)
Constructs a new RemoveProject request.
Declaration
public RemoveProjectRequest(IClientService service, RemoveTenantProjectRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
RemoveTenantProjectRequest | 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. Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
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 RemoveProject parameter list.
Declaration
protected override void InitParameters()