Show / Hide Table of Contents

Class AccountsResource.ReposResource.ScansResource

The "scans" collection of methods.

Inheritance
object
AccountsResource.ReposResource.ScansResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ChecksService.v1alpha
Assembly: Google.Apis.ChecksService.v1alpha.dll
Syntax
public class AccountsResource.ReposResource.ScansResource

Constructors

ScansResource(IClientService)

Constructs a new resource.

Declaration
public ScansResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Generate(GoogleChecksRepoScanV1alphaGenerateScanRequest, string)

Uploads the results of local Code Compliance analysis and generates a scan of privacy issues. Returns a google.longrunning.Operation containing analysis and findings.

Declaration
public virtual AccountsResource.ReposResource.ScansResource.GenerateRequest Generate(GoogleChecksRepoScanV1alphaGenerateScanRequest body, string parent)
Parameters
Type Name Description
GoogleChecksRepoScanV1alphaGenerateScanRequest body

The body of the request.

string parent

Required. Resource name of the repo. Example: accounts/123/repos/456

Returns
Type Description
AccountsResource.ReposResource.ScansResource.GenerateRequest

Get(string)

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.

Declaration
public virtual AccountsResource.ReposResource.ScansResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Resource name of the repo scan. Example: accounts/123/repos/456/scans/789

Returns
Type Description
AccountsResource.ReposResource.ScansResource.GetRequest

List(string)

Lists repo scans for the specified repo.

Declaration
public virtual AccountsResource.ReposResource.ScansResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. Resource name of the repo. Example: accounts/123/repos/456

Returns
Type Description
AccountsResource.ReposResource.ScansResource.ListRequest
In this article
Back to top Generated by DocFX