Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class ListAttackPathsRequest.
Request message for listing the attack paths for a given simulation or valued
resource.
Generated from protobuf messagegoogle.cloud.securitycenter.v2.ListAttackPathsRequest
Namespace
Google \ Cloud \ SecurityCenter \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. Name of parent to list attack paths. Valid formats:organizations/{organization},organizations/{organization}/simulations/{simulation}organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}
↳ filter
string
The filter expression that filters the attack path in the response. Supported fields: * *valued_resourcessupports =
↳ page_token
string
The value returned by the lastListAttackPathsResponse; indicates that this is a continuation of a priorListAttackPathscall, and that the system should return the next page of data.
↳ page_size
int
The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.
The filter expression that filters the attack path in the response.
Supported fields:
valued_resourcessupports =
Returns
Type
Description
string
setFilter
The filter expression that filters the attack path in the response.
Supported fields:
valued_resourcessupports =
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageToken
The value returned by the lastListAttackPathsResponse; indicates
that this is a continuation of a priorListAttackPathscall, and
that the system should return the next page of data.
Returns
Type
Description
string
setPageToken
The value returned by the lastListAttackPathsResponse; indicates
that this is a continuation of a priorListAttackPathscall, and
that the system should return the next page of data.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
The maximum number of results to return in a single response. Default is
10, minimum is 1, maximum is 1000.
Returns
Type
Description
int
setPageSize
The maximum number of results to return in a single response. Default is
10, minimum is 1, maximum is 1000.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
static::build
Parameter
Name
Description
parent
string
Required. Name of parent to list attack paths.
Valid formats:organizations/{organization},organizations/{organization}/simulations/{simulation}organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}Please seeSecurityCenterClient::organizationValuedResourceName()for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Security Command Center V2 Client - Class ListAttackPathsRequest (2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/php/docs/reference/cloud-security-center/latest/V2.ListAttackPathsRequest)\n- [2.2.0](/php/docs/reference/cloud-security-center/2.2.0/V2.ListAttackPathsRequest)\n- [2.1.1](/php/docs/reference/cloud-security-center/2.1.1/V2.ListAttackPathsRequest)\n- [2.0.4](/php/docs/reference/cloud-security-center/2.0.4/V2.ListAttackPathsRequest)\n- [1.32.0](/php/docs/reference/cloud-security-center/1.32.0/V2.ListAttackPathsRequest)\n- [1.31.0](/php/docs/reference/cloud-security-center/1.31.0/V2.ListAttackPathsRequest)\n- [1.30.0](/php/docs/reference/cloud-security-center/1.30.0/V2.ListAttackPathsRequest)\n- [1.29.0](/php/docs/reference/cloud-security-center/1.29.0/V2.ListAttackPathsRequest)\n- [1.28.2](/php/docs/reference/cloud-security-center/1.28.2/V2.ListAttackPathsRequest)\n- [1.21.0](/php/docs/reference/cloud-security-center/1.21.0/V2.ListAttackPathsRequest)\n- [1.20.2](/php/docs/reference/cloud-security-center/1.20.2/V2.ListAttackPathsRequest)\n- [1.19.1](/php/docs/reference/cloud-security-center/1.19.1/V2.ListAttackPathsRequest)\n- [1.18.0](/php/docs/reference/cloud-security-center/1.18.0/V2.ListAttackPathsRequest)\n- [1.17.0](/php/docs/reference/cloud-security-center/1.17.0/V2.ListAttackPathsRequest)\n- [1.16.0](/php/docs/reference/cloud-security-center/1.16.0/V2.ListAttackPathsRequest)\n- [1.15.1](/php/docs/reference/cloud-security-center/1.15.1/V2.ListAttackPathsRequest)\n- [1.14.2](/php/docs/reference/cloud-security-center/1.14.2/V2.ListAttackPathsRequest)\n- [1.13.1](/php/docs/reference/cloud-security-center/1.13.1/V2.ListAttackPathsRequest) \nReference documentation and code samples for the Google Cloud Security Command Center V2 Client class ListAttackPathsRequest.\n\nRequest message for listing the attack paths for a given simulation or valued\nresource.\n\nGenerated from protobuf message `google.cloud.securitycenter.v2.ListAttackPathsRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ SecurityCenter \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. Name of parent to list attack paths.\n\nValid formats:\n`organizations/{organization}`,\n`organizations/{organization}/simulations/{simulation}`\n`organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}`\n`organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}`\n\n### setParent\n\nRequired. Name of parent to list attack paths.\n\nValid formats:\n`organizations/{organization}`,\n`organizations/{organization}/simulations/{simulation}`\n`organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}`\n`organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}`\n\n### getFilter\n\nThe filter expression that filters the attack path in the response.\n\nSupported fields:\n\n- `valued_resources` supports =\n\n### setFilter\n\nThe filter expression that filters the attack path in the response.\n\nSupported fields:\n\n- `valued_resources` supports =\n\n### getPageToken\n\nThe value returned by the last `ListAttackPathsResponse`; indicates\nthat this is a continuation of a prior `ListAttackPaths` call, and\nthat the system should return the next page of data.\n\n### setPageToken\n\nThe value returned by the last `ListAttackPathsResponse`; indicates\nthat this is a continuation of a prior `ListAttackPaths` call, and\nthat the system should return the next page of data.\n\n### getPageSize\n\nThe maximum number of results to return in a single response. Default is\n10, minimum is 1, maximum is 1000.\n\n### setPageSize\n\nThe maximum number of results to return in a single response. Default is\n10, minimum is 1, maximum is 1000.\n\n### static::build"]]