Class ProjectsResource.TriggersResource.GetRequest
Returns information about a BuildTrigger
.
Inheritance
ProjectsResource.TriggersResource.GetRequest
Inherited Members
Namespace: Google.Apis.CloudBuild.v1
Assembly: Google.Apis.CloudBuild.v1.dll
Syntax
public class ProjectsResource.TriggersResource.GetRequest : CloudBuildBaseServiceRequest<BuildTrigger>, IClientServiceRequest<BuildTrigger>, IClientServiceRequest
Constructors
GetRequest(IClientService, string, string)
Constructs a new Get request.
Declaration
public GetRequest(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 retrieve. 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. Identifier (id
or name
) of the BuildTrigger
to get.
Declaration
[RequestParameter("triggerId", RequestParameterType.Path)]
public virtual string TriggerId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()