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