Google Cloud Security Command Center V2 Client - Class GcpMetadata (1.31.0)

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

GCP metadata associated with the resource, only applicable if the finding's cloud provider is Google Cloud Platform.

Generated from protobuf message google.cloud.securitycenter.v2.GcpMetadata

Namespace

Google \ Cloud \ SecurityCenter \ V2

Methods

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ project
string

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

↳ project_display_name
string

The project ID that the resource belongs to.

↳ parent
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\V2\Folder >

Output only. 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.

↳ organization
string

The name of the organization that the resource belongs to.

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

Returns
Type
Description
string

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this

The project ID that the resource belongs to.

Returns
Type
Description
string

The project ID that the resource belongs to.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

The full resource name of resource's parent.

Returns
Type
Description
string

The full resource name of resource's parent.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

The human readable name of resource's parent.

Returns
Type
Description
string

The human readable name of resource's parent.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

Output only. 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
Type
Description

Output only. 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
Name
Description
Returns
Type
Description
$this

The name of the organization that the resource belongs to.

Returns
Type
Description
string

The name of the organization that the resource belongs to.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: