Class ProjectsResource.TriggersResource.DeleteRequest
Deletes a BuildTrigger
by its project ID and trigger ID.
Inheritance
ProjectsResource.TriggersResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.CloudBuild.v1
Assembly: Google.Apis.CloudBuild.v1.dll
Syntax
public class ProjectsResource.TriggersResource.DeleteRequest : CloudBuildBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string projectId, string triggerId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | projectId | |
string | triggerId |
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
The name of the Trigger
to delete. Format:
projects/{project}/locations/{location}/triggers/{trigger}
Declaration
[RequestParameter("name", RequestParameterType.Query)]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
ProjectId
Required. ID of the project that owns the trigger.
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
TriggerId
Required. ID of the BuildTrigger
to delete.
Declaration
[RequestParameter("triggerId", RequestParameterType.Path)]
public virtual string TriggerId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()