Show / Hide Table of Contents

Class ProjectsResource.ScanConfigsResource

The "scanConfigs" collection of methods.

Inheritance
object
ProjectsResource.ScanConfigsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.WebSecurityScanner.v1beta
Assembly: Google.Apis.WebSecurityScanner.v1beta.dll
Syntax
public class ProjectsResource.ScanConfigsResource

Constructors

ScanConfigsResource(IClientService)

Constructs a new resource.

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

Properties

ScanRuns

Gets the ScanRuns resource.

Declaration
public virtual ProjectsResource.ScanConfigsResource.ScanRunsResource ScanRuns { get; }
Property Value
Type Description
ProjectsResource.ScanConfigsResource.ScanRunsResource

Methods

Create(ScanConfig, string)

Creates a new ScanConfig.

Declaration
public virtual ProjectsResource.ScanConfigsResource.CreateRequest Create(ScanConfig body, string parent)
Parameters
Type Name Description
ScanConfig body

The body of the request.

string parent

Required. The parent resource name where the scan is created, which should be a project resource name in the format 'projects/{projectId}'.

Returns
Type Description
ProjectsResource.ScanConfigsResource.CreateRequest

Delete(string)

Deletes an existing ScanConfig and its child resources.

Declaration
public virtual ProjectsResource.ScanConfigsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The resource name of the ScanConfig to be deleted. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.

Returns
Type Description
ProjectsResource.ScanConfigsResource.DeleteRequest

Get(string)

Gets a ScanConfig.

Declaration
public virtual ProjectsResource.ScanConfigsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The resource name of the ScanConfig to be returned. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.

Returns
Type Description
ProjectsResource.ScanConfigsResource.GetRequest

List(string)

Lists ScanConfigs under a given project.

Declaration
public virtual ProjectsResource.ScanConfigsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent resource name, which should be a project resource name in the format 'projects/{projectId}'.

Returns
Type Description
ProjectsResource.ScanConfigsResource.ListRequest

Patch(ScanConfig, string)

Updates a ScanConfig. This method support partial update of a ScanConfig.

Declaration
public virtual ProjectsResource.ScanConfigsResource.PatchRequest Patch(ScanConfig body, string name)
Parameters
Type Name Description
ScanConfig body

The body of the request.

string name

The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.

Returns
Type Description
ProjectsResource.ScanConfigsResource.PatchRequest

Start(StartScanRunRequest, string)

Start a ScanRun according to the given ScanConfig.

Declaration
public virtual ProjectsResource.ScanConfigsResource.StartRequest Start(StartScanRunRequest body, string name)
Parameters
Type Name Description
StartScanRunRequest body

The body of the request.

string name

Required. The resource name of the ScanConfig to be used. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.

Returns
Type Description
ProjectsResource.ScanConfigsResource.StartRequest
In this article
Back to top Generated by DocFX