Class ProjectsResource.ScanConfigsResource
The "scanConfigs" collection of methods.
Inherited Members
Namespace: Google.Apis.ContainerAnalysis.v1alpha1
Assembly: Google.Apis.ContainerAnalysis.v1alpha1.dll
Syntax
public class ProjectsResource.ScanConfigsResource
Constructors
ScanConfigsResource(IClientService)
Constructs a new resource.
Declaration
public ScanConfigsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
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 |
---|---|---|
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 |
---|---|---|
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. |
string | name | The scan config to update of the form projects/{project_id}/scanConfigs/{scan_config_id}. |
Returns
Type | Description |
---|---|
ProjectsResource.ScanConfigsResource.PatchRequest |