Google Cloud OsConfig V1 Client - Class GetVulnerabilityReportRequest (1.0.5)

Reference documentation and code samples for the Google Cloud OsConfig V1 Client class GetVulnerabilityReportRequest.

A request message for getting the vulnerability report for the specified VM.

Generated from protobuf message google.cloud.osconfig.v1.GetVulnerabilityReportRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. API resource name for vulnerability resource. Format: projects/{project}/locations/{location}/instances/{instance}/vulnerabilityReport For {project}, either project-number or project-id can be provided. For {instance}, either Compute Engine instance-id or instance-name can be provided.

getName

Required. API resource name for vulnerability resource.

Format: projects/{project}/locations/{location}/instances/{instance}/vulnerabilityReport For {project}, either project-number or project-id can be provided. For {instance}, either Compute Engine instance-id or instance-name can be provided.

Returns
TypeDescription
string

setName

Required. API resource name for vulnerability resource.

Format: projects/{project}/locations/{location}/instances/{instance}/vulnerabilityReport For {project}, either project-number or project-id can be provided. For {instance}, either Compute Engine instance-id or instance-name can be provided.

Parameter
NameDescription
var string
Returns
TypeDescription
$this