Google Cloud Security Command Center V1p1beta1 Client - Class SecurityCenterProperties (1.19.1)

Reference documentation and code samples for the Google Cloud Security Command Center V1p1beta1 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.v1p1beta1.Asset.SecurityCenterProperties

Namespace

Google \ Cloud \ SecurityCenter \ V1p1beta1 \ Asset

Methods

__construct

Constructor.

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

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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getResourceOwners

Owners of the Google Cloud resource.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setResourceOwners

Owners of the Google Cloud resource.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getResourceDisplayName

The user defined display name for this resource.

Returns
TypeDescription
string

setResourceDisplayName

The user defined display name for this resource.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getResourceParentDisplayName

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

Returns
TypeDescription
string

setResourceParentDisplayName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getResourceProjectDisplayName

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

Returns
TypeDescription
string

setResourceProjectDisplayName

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

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