# Security Command Center V2 API - Class Google::Cloud::SecurityCenter::V2::ListAttackPathsRequest (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.0 1.5.1 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.6.0 0.5.0 0.4.1 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::ListAttackPathsRequest.

Request message for listing the attack paths for a given simulation or valued
resource.

## Inherits

- [Object](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Cloud-SecurityCenter-V2-Kubernetes-Object)

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #filter

    def filter() -> ::String

**Returns**

- (::String) --- The filter expression that filters the attack path in the response.
  Supported fields:

  - `valued_resources` supports =

### #filter=

    def filter=(value) -> ::String

**Parameter**

- **value** (::String) ---

  The filter expression that filters the attack path in the response.
  Supported fields:
  - `valued_resources` supports =
**Returns**

- (::String) --- The filter expression that filters the attack path in the response.
  Supported fields:

  - `valued_resources` supports =

### #page_size

    def page_size() -> ::Integer

**Returns**

- (::Integer) --- The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.

### #page_size=

    def page_size=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.
**Returns**

- (::Integer) --- The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.

### #page_token

    def page_token() -> ::String

**Returns**

- (::String) --- The value returned by the last `ListAttackPathsResponse`; indicates that this is a continuation of a prior `ListAttackPaths` call, and that the system should return the next page of data.

### #page_token=

    def page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- The value returned by the last `ListAttackPathsResponse`; indicates that this is a continuation of a prior `ListAttackPaths` call, and that the system should return the next page of data.
**Returns**

- (::String) --- The value returned by the last `ListAttackPathsResponse`; indicates that this is a continuation of a prior `ListAttackPaths` call, and that the system should return the next page of data.

### #parent

    def parent() -> ::String

**Returns**

- (::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}`

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::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}`
**Returns**

- (::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}`