# Google Cloud Database Center V1beta Client - Class QueryIssuesRequest (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.1 0.3.1 0.2.0 0.1.0

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Database Center V1beta Client class QueryIssuesRequest.

QueryIssuesRequest is the request to get a list of issues.

Generated from protobuf message `google.cloud.databasecenter.v1beta.QueryIssuesRequest`

## Namespace

Google \\ Cloud \\ DatabaseCenter \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. Parent can be a project, a folder, or an organization. The list is limited to the one attached to resources within the `scope` that a user has access to. The allowed values are: \* \* projects/{PROJECT_ID} (e.g., "projects/foo-bar") \* \* projects/{PROJECT_NUMBER} (e.g., "projects/12345678") \* \* folders/{FOLDER_NUMBER} (e.g., "folders/1234567") \* \* organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456") |
| `↳ filter` | `string` Optional. Supported fields are: 'product', `location`, `issue_severity`, 'tags', 'labels', |
| `↳ signal_products_filters` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-databasecenter/latest/V1beta.SignalProductsFilters>` Optional. Filters based on signal and product. The filter list will be ORed across pairs and ANDed within a signal and products pair. |
| `↳ order_by` | `string` Optional. Following fields are sortable: SignalType Product Location IssueSeverity The default order is ascending. Add "DESC" after the field name to indicate descending order. Add "ASC" after the field name to indicate ascending order. It only supports a single field at a time. |
| `↳ page_size` | `int` Optional. If unspecified, at most 50 issues will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
| `↳ page_token` | `string` Optional. A page token, received from a previous `QueryIssues` call. Provide this to retrieve the subsequent page. All parameters except page size should match the parameters used in the call that provided the page token. |

### getParent

Required. Parent can be a project, a folder, or an organization. The list
is limited to the one attached to resources within the `scope` that a user
has access to.

The allowed values are:

- projects/{PROJECT_ID} (e.g., "projects/foo-bar")
- projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
- folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
- organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setParent

Required. Parent can be a project, a folder, or an organization. The list
is limited to the one attached to resources within the `scope` that a user
has access to.

The allowed values are:

- projects/{PROJECT_ID} (e.g., "projects/foo-bar")
- projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
- folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
- organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getFilter

Optional.

Supported fields are:
'product',
`location`,
`issue_severity`,
'tags',
'labels',

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setFilter

Optional.

Supported fields are:
'product',
`location`,
`issue_severity`,
'tags',
'labels',

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSignalProductsFilters

Optional. Filters based on signal and product. The filter list will be ORed
across pairs and ANDed within a signal and products pair.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-databasecenter/latest/V1beta.SignalProductsFilters>` |   |

### setSignalProductsFilters

Optional. Filters based on signal and product. The filter list will be ORed
across pairs and ANDed within a signal and products pair.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-databasecenter/latest/V1beta.SignalProductsFilters>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getOrderBy

Optional. Following fields are sortable:
SignalType
Product
Location
IssueSeverity
The default order is ascending. Add "DESC" after the field name to indicate
descending order. Add "ASC" after the field name to indicate ascending
order. It only supports a single field at a time.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setOrderBy

Optional. Following fields are sortable:
SignalType
Product
Location
IssueSeverity
The default order is ascending. Add "DESC" after the field name to indicate
descending order. Add "ASC" after the field name to indicate ascending
order. It only supports a single field at a time.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPageSize

Optional. If unspecified, at most 50 issues will be returned.

The maximum value is 1000; values above 1000 will be coerced to 1000.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setPageSize

Optional. If unspecified, at most 50 issues will be returned.

The maximum value is 1000; values above 1000 will be coerced to 1000.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPageToken

Optional. A page token, received from a previous `QueryIssues` call.

Provide this to retrieve the subsequent page.
All parameters except page size should match the parameters used in the
call that provided the page token.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setPageToken

Optional. A page token, received from a previous `QueryIssues` call.

Provide this to retrieve the subsequent page.
All parameters except page size should match the parameters used in the
call that provided the page token.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Parent can be a project, a folder, or an organization. The list is limited to the one attached to resources within the `scope` that a user has access to. The allowed values are: - - projects/{PROJECT_ID} (e.g., "projects/foo-bar") - - projects/{PROJECT_NUMBER} (e.g., "projects/12345678") - - folders/{FOLDER_NUMBER} (e.g., "folders/1234567") - - organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456") |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-databasecenter/latest/V1beta.QueryIssuesRequest` |   |