Show / Hide Table of Contents

Class ProjectsResource.ScanConfigsResource

The "scanConfigs" collection of methods.

Inheritance
System.Object
ProjectsResource.ScanConfigsResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ContainerAnalysis.v1alpha1
Assembly: Google.Apis.ContainerAnalysis.v1alpha1.dll
Syntax
public class ScanConfigsResource

Constructors

ScanConfigsResource(IClientService)

Constructs a new resource.

Declaration
public ScanConfigsResource(IClientService service)
Parameters
Type Name Description
Google.Apis.Services.IClientService service

Methods

Get(String)

Gets a specific scan configuration for a project.

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

The name of the ScanConfig in the form projects/{project_id}/scanConfigs/{scan_config_id}

Returns
Type Description
ProjectsResource.ScanConfigsResource.GetRequest

List(String)

Lists scan configurations for a project.

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

This containers the project Id i.e.: projects/{project_id}

Returns
Type Description
ProjectsResource.ScanConfigsResource.ListRequest

Patch(ScanConfig, String)

Updates the scan configuration to a new value.

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

The body of the request.

System.String name

The scan config to update of the form projects/{project_id}/scanConfigs/{scan_config_id}.

Returns
Type Description
ProjectsResource.ScanConfigsResource.PatchRequest
In This Article
Back to top