Class ProjectsResource.LocationsResource.DetachServiceProjectAttachmentRequest
Detaches a service project from a host project. You can call this API from any service project without needing access to the host project that it is attached to.
Inheritance
ProjectsResource.LocationsResource.DetachServiceProjectAttachmentRequest
Inherited Members
Namespace: Google.Apis.AppHub.v1alpha
Assembly: Google.Apis.AppHub.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.DetachServiceProjectAttachmentRequest : AppHubBaseServiceRequest<DetachServiceProjectAttachmentResponse>, IClientServiceRequest<DetachServiceProjectAttachmentResponse>, IClientServiceRequest
Constructors
DetachServiceProjectAttachmentRequest(IClientService, DetachServiceProjectAttachmentRequest, string)
Constructs a new DetachServiceProjectAttachment request.
Declaration
public DetachServiceProjectAttachmentRequest(IClientService service, DetachServiceProjectAttachmentRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
DetachServiceProjectAttachmentRequest | 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. Service project id and location to detach from a host project. Only global location is
supported. Expected format: projects/{project}/locations/{location}
.
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 DetachServiceProjectAttachment parameter list.
Declaration
protected override void InitParameters()