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
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\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
Generated from protobuf field string resource_name = 1;
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
Generated from protobuf field string resource_name = 1;
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.
Generated from protobuf field string resource_type = 2;
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.
Generated from protobuf field string resource_type = 2;
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
Generated from protobuf field string resource_parent = 3;
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
Generated from protobuf field string resource_parent = 3;
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
Generated from protobuf field string resource_project = 4;
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
Generated from protobuf field string resource_project = 4;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getResourceOwners
Owners of the Google Cloud resource.
Generated from protobuf field repeated string resource_owners = 5;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setResourceOwners
Owners of the Google Cloud resource.
Generated from protobuf field repeated string resource_owners = 5;
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getResourceDisplayName
The user defined display name for this resource.
Generated from protobuf field string resource_display_name = 6;
Returns | |
---|---|
Type | Description |
string |
setResourceDisplayName
The user defined display name for this resource.
Generated from protobuf field string resource_display_name = 6;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getResourceParentDisplayName
The user defined display name for the parent of this resource.
Generated from protobuf field string resource_parent_display_name = 7;
Returns | |
---|---|
Type | Description |
string |
setResourceParentDisplayName
The user defined display name for the parent of this resource.
Generated from protobuf field string resource_parent_display_name = 7;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getResourceProjectDisplayName
The user defined display name for the project of this resource.
Generated from protobuf field string resource_project_display_name = 8;
Returns | |
---|---|
Type | Description |
string |
setResourceProjectDisplayName
The user defined display name for the project of this resource.
Generated from protobuf field string resource_project_display_name = 8;
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.
Generated from protobuf field repeated .google.cloud.securitycenter.v1p1beta1.Folder folders = 10;
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.
Generated from protobuf field repeated .google.cloud.securitycenter.v1p1beta1.Folder folders = 10;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\SecurityCenter\V1p1beta1\Folder>
|
Returns | |
---|---|
Type | Description |
$this |