Google Cloud Security Command Center V1p1beta1 Client - Class Resource (1.14.2)

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

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

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

Methods

__construct

Constructor.

Parameters
NameDescription
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

↳ project_name string

The full resource name of project that the resource belongs to.

↳ project_display_name string

The human readable name of project that the resource belongs to.

↳ parent_name string

The full resource name of resource's parent.

↳ parent_display_name string

The human readable name of resource's parent.

↳ folders array<Google\Cloud\SecurityCenter\V1p1beta1\Folder>

Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.

getName

Returns
TypeDescription
string

setName

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getProjectName

The full resource name of project that the resource belongs to.

Returns
TypeDescription
string

setProjectName

The full resource name of project that the resource belongs to.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getProjectDisplayName

The human readable name of project that the resource belongs to.

Returns
TypeDescription
string

setProjectDisplayName

The human readable name of project that the resource belongs to.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getParentName

The full resource name of resource's parent.

Returns
TypeDescription
string

setParentName

The full resource name of resource's parent.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getParentDisplayName

The human readable name of resource's parent.

Returns
TypeDescription
string

setParentDisplayName

The human readable name of resource's parent.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFolders

Contains a Folder message for each folder in the assets ancestry.

The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFolders

Contains a Folder message for each folder in the assets ancestry.

The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.

Parameter
NameDescription
var array<Google\Cloud\SecurityCenter\V1p1beta1\Folder>
Returns
TypeDescription
$this