Google Cloud Security Command Center V1 Client - Class SecurityCenterProperties (1.29.0)

Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class SecurityCenterProperties.

Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.

Generated from protobuf message google.cloud.securitycenter.v1.Asset.SecurityCenterProperties

Namespace

Google \ Cloud \ SecurityCenter \ V1 \ Asset

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ resource_name string

The full resource name of the Google Cloud resource this asset represents. This field is immutable after create time. See: https://cloud.google.com/apis/design/resource_names#full_resource_name

↳ resource_type string

The type of the Google Cloud resource. Examples include: APPLICATION, PROJECT, and ORGANIZATION. This is a case insensitive field defined by Security Command Center and/or the producer of the resource and is immutable after create time.

↳ resource_parent string

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

↳ resource_project string

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

↳ resource_owners array

Owners of the Google Cloud resource.

↳ resource_display_name string

The user defined display name for this resource.

↳ resource_parent_display_name string

The user defined display name for the parent of this resource.

↳ resource_project_display_name string

The user defined display name for the project of this resource.

↳ folders array<Google\Cloud\SecurityCenter\V1\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.

getResourceName

The full resource name of the Google Cloud resource this asset represents. This field is immutable after create time. See: https://cloud.google.com/apis/design/resource_names#full_resource_name

Returns
Type Description
string

setResourceName

The full resource name of the Google Cloud resource this asset represents. This field is immutable after create time. See: https://cloud.google.com/apis/design/resource_names#full_resource_name

Parameter
Name Description
var string
Returns
Type Description
$this

getResourceType

The type of the Google Cloud resource. Examples include: APPLICATION, PROJECT, and ORGANIZATION. This is a case insensitive field defined by Security Command Center and/or the producer of the resource and is immutable after create time.

Returns
Type Description
string

setResourceType

The type of the Google Cloud resource. Examples include: APPLICATION, PROJECT, and ORGANIZATION. This is a case insensitive field defined by Security Command Center and/or the producer of the resource and is immutable after create time.

Parameter
Name Description
var string
Returns
Type Description
$this

getResourceParent

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

Returns
Type Description
string

setResourceParent

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

Parameter
Name Description
var string
Returns
Type Description
$this

getResourceProject

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

Returns
Type Description
string

setResourceProject

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

Parameter
Name Description
var string
Returns
Type Description
$this

getResourceOwners

Owners of the Google Cloud resource.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setResourceOwners

Owners of the Google Cloud resource.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getResourceDisplayName

The user defined display name for this resource.

Returns
Type Description
string

setResourceDisplayName

The user defined display name for this resource.

Parameter
Name Description
var string
Returns
Type Description
$this

getResourceParentDisplayName

The user defined display name for the parent of this resource.

Returns
Type Description
string

setResourceParentDisplayName

The user defined display name for the parent of this resource.

Parameter
Name Description
var string
Returns
Type Description
$this

getResourceProjectDisplayName

The user defined display name for the project of this resource.

Returns
Type Description
string

setResourceProjectDisplayName

The user defined display name for the project of this resource.

Parameter
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var array<Google\Cloud\SecurityCenter\V1\Folder>
Returns
Type Description
$this