Google Cloud Security Command Center V2 Client - Class Resource (1.28.2)

Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class Resource.

Information related to the Google Cloud resource that is associated with this finding.

Generated from protobuf message google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult.Resource

Namespace

Google \ Cloud \ SecurityCenter \ V2 \ ListFindingsResponse \ ListFindingsResult

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name

↳ display_name string

The human readable name of the resource.

↳ type string

The full resource type of the resource.

getName

Returns
Type Description
string

setName

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

The human readable name of the resource.

Returns
Type Description
string

setDisplayName

The human readable name of the resource.

Parameter
Name Description
var string
Returns
Type Description
$this

getType

The full resource type of the resource.

Returns
Type Description
string

setType

The full resource type of the resource.

Parameter
Name Description
var string
Returns
Type Description
$this