# Security Command Center V2 API - Class Google::Cloud::SecurityCenter::V2::ListValuedResourcesRequest (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::ListValuedResourcesRequest.

Request message for listing the valued resources for a given simulation.

## 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 valued resources in the response.
  Supported fields:

  - `resource_value` supports =
  - `resource_type` supports =

### #filter=

    def filter=(value) -> ::String

**Parameter**

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

  The filter expression that filters the valued resources in the response.
  Supported fields:
  - `resource_value` supports =
  - `resource_type` supports =
**Returns**

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

  - `resource_value` supports =
  - `resource_type` supports =

### #order_by

    def order_by() -> ::String

**Returns**

- (::String) --- Optional. The fields by which to order the valued resources response.

  Supported fields:
  - `exposed_score`

  - `resource_value`

  - `resource_type`

  Values should be a comma separated list of fields. For example:
  `exposed_score,resource_value`.

  The default sorting order is descending. To specify ascending or descending
  order for a field, append a " ASC" or a " DESC" suffix, respectively; for
  example: `exposed_score DESC`.

### #order_by=

    def order_by=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The fields by which to order the valued resources response.


  Supported fields:
  - `exposed_score`

  - `resource_value`

  - `resource_type`

  Values should be a comma separated list of fields. For example:
  `exposed_score,resource_value`.

  The default sorting order is descending. To specify ascending or descending
  order for a field, append a " ASC" or a " DESC" suffix, respectively; for
  example: `exposed_score DESC`.
**Returns**

- (::String) --- Optional. The fields by which to order the valued resources response.

  Supported fields:
  - `exposed_score`

  - `resource_value`

  - `resource_type`

  Values should be a comma separated list of fields. For example:
  `exposed_score,resource_value`.

  The default sorting order is descending. To specify ascending or descending
  order for a field, append a " ASC" or a " DESC" suffix, respectively; for
  example: `exposed_score DESC`.

### #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 `ListValuedResourcesResponse`; indicates that this is a continuation of a prior `ListValuedResources` 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 `ListValuedResourcesResponse`; indicates that this is a continuation of a prior `ListValuedResources` call, and that the system should return the next page of data.
**Returns**

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

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. Name of parent to list exposed resources.

  Valid formats:
  `organizations/{organization}`,
  `organizations/{organization}/simulations/{simulation}`
  `organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}`

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Name of parent to list exposed resources.


  Valid formats:
  `organizations/{organization}`,
  `organizations/{organization}/simulations/{simulation}`
  `organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}`
**Returns**

- (::String) --- Required. Name of parent to list exposed resources.

  Valid formats:
  `organizations/{organization}`,
  `organizations/{organization}/simulations/{simulation}`
  `organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}`