Class AccountsResource.ReposResource.ScansResource.GetRequest
Gets a repo scan. By default, only the name and results_uri fields are returned. You can include
other fields by listing them in the fields
URL query parameter. For example,
?fields=name,sources
will return the name and sources fields.
Inheritance
AccountsResource.ReposResource.ScansResource.GetRequest
Inherited Members
Namespace: Google.Apis.ChecksService.v1alpha
Assembly: Google.Apis.ChecksService.v1alpha.dll
Syntax
public class AccountsResource.ReposResource.ScansResource.GetRequest : ChecksServiceBaseServiceRequest<GoogleChecksRepoScanV1alphaRepoScan>, IClientServiceRequest<GoogleChecksRepoScanV1alphaRepoScan>, 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
Required. Resource name of the repo scan. Example: accounts/123/repos/456/scans/789
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
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()