Class ProjectsResource.LocationsResource.OccurrencesResource
The "occurrences" collection of methods.
Inherited Members
Namespace: Google.Apis.ContainerAnalysis.v1beta1
Assembly: Google.Apis.ContainerAnalysis.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.OccurrencesResource
Constructors
OccurrencesResource(IClientService)
Constructs a new resource.
Declaration
public OccurrencesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Get(string)
Gets the specified occurrence.
Declaration
public virtual ProjectsResource.LocationsResource.OccurrencesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the occurrence in the form of
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.OccurrencesResource.GetRequest |
GetNotes(string)
Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.
Declaration
public virtual ProjectsResource.LocationsResource.OccurrencesResource.GetNotesRequest GetNotes(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the occurrence in the form of
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.OccurrencesResource.GetNotesRequest |
GetVulnerabilitySummary(string)
Gets a summary of the number and severity of occurrences.
Declaration
public virtual ProjectsResource.LocationsResource.OccurrencesResource.GetVulnerabilitySummaryRequest GetVulnerabilitySummary(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The name of the project to get a vulnerability summary for in the form of
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.OccurrencesResource.GetVulnerabilitySummaryRequest |
List(string)
Lists occurrences for the specified project.
Declaration
public virtual ProjectsResource.LocationsResource.OccurrencesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The name of the project to list occurrences for in the form of |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.OccurrencesResource.ListRequest |