Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class Resource.
Information related to the Google Cloud resource that is associated with this finding.
Generated from protobuf message google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.Resource
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 |
↳ display_name |
string
The human readable name of the resource. |
↳ type |
string
The full resource type of the resource. |
↳ project_name |
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_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\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. |
getName
The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
Generated from protobuf field string name = 1;
Returns | |
---|---|
Type | Description |
string |
setName
The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
Generated from protobuf field string name = 1;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDisplayName
The human readable name of the resource.
Generated from protobuf field string display_name = 8;
Returns | |
---|---|
Type | Description |
string |
setDisplayName
The human readable name of the resource.
Generated from protobuf field string display_name = 8;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getType
The full resource type of the resource.
Generated from protobuf field string type = 6;
Returns | |
---|---|
Type | Description |
string |
setType
The full resource type of the resource.
Generated from protobuf field string type = 6;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getProjectName
The full resource name of project that the resource belongs to.
Generated from protobuf field string project_name = 2;
Returns | |
---|---|
Type | Description |
string |
setProjectName
The full resource name of project that the resource belongs to.
Generated from protobuf field string project_name = 2;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getProjectDisplayName
The project ID that the resource belongs to.
Generated from protobuf field string project_display_name = 3;
Returns | |
---|---|
Type | Description |
string |
setProjectDisplayName
The project ID that the resource belongs to.
Generated from protobuf field string project_display_name = 3;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getParentName
The full resource name of resource's parent.
Generated from protobuf field string parent_name = 4;
Returns | |
---|---|
Type | Description |
string |
setParentName
The full resource name of resource's parent.
Generated from protobuf field string parent_name = 4;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getParentDisplayName
The human readable name of resource's parent.
Generated from protobuf field string parent_display_name = 5;
Returns | |
---|---|
Type | Description |
string |
setParentDisplayName
The human readable name of resource's parent.
Generated from protobuf field string parent_display_name = 5;
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.v1.Folder folders = 7;
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.v1.Folder folders = 7;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\SecurityCenter\V1\Folder>
|
Returns | |
---|---|
Type | Description |
$this |