# Database Center V1BETA API - Class Google::Cloud::DatabaseCenter::V1beta::QueryProductsRequest (v0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Database Center V1BETA API class Google::Cloud::DatabaseCenter::V1beta::QueryProductsRequest.

QueryProductsRequest is the request to get a list of products.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #page_size

    def page_size() -> ::Integer

**Returns**

- (::Integer) --- Optional. If unspecified, at most 50 products will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

### #page_size=

    def page_size=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Optional. If unspecified, at most 50 products will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
**Returns**

- (::Integer) --- Optional. If unspecified, at most 50 products will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

### #page_token

    def page_token() -> ::String

**Returns**

- (::String) --- Optional. A page token, received from a previous `ListLocations` call. Provide this to retrieve the subsequent page. All other parameters except page size should match the call that provided the page page token.

### #page_token=

    def page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. A page token, received from a previous `ListLocations` call. Provide this to retrieve the subsequent page. All other parameters except page size should match the call that provided the page page token.
**Returns**

- (::String) --- Optional. A page token, received from a previous `ListLocations` call. Provide this to retrieve the subsequent page. All other parameters except page size should match the call that provided the page page token.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. Parent can be a project, a folder, or an organization.

  The allowed values are:
  - projects/{PROJECT_ID}/locations/{LOCATION} (e.g.,"projects/foo-bar/locations/us-central1")
  - projects/{PROJECT_NUMBER}/locations/{LOCATION} (e.g.,"projects/12345678/locations/us-central1")
  - folders/{FOLDER_NUMBER}/locations/{LOCATION} (e.g.,"folders/1234567/locations/us-central1")
  - organizations/{ORGANIZATION_NUMBER}/locations/{LOCATION} (e.g.,"organizations/123456/locations/us-central1")
  - 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")

### #parent=

    def parent=(value) -> ::String

**Parameter**

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

  Required. Parent can be a project, a folder, or an organization.

  The allowed values are:
  - projects/{PROJECT_ID}/locations/{LOCATION} (e.g.,"projects/foo-bar/locations/us-central1")
  - projects/{PROJECT_NUMBER}/locations/{LOCATION} (e.g.,"projects/12345678/locations/us-central1")
  - folders/{FOLDER_NUMBER}/locations/{LOCATION} (e.g.,"folders/1234567/locations/us-central1")
  - organizations/{ORGANIZATION_NUMBER}/locations/{LOCATION} (e.g.,"organizations/123456/locations/us-central1")
  - 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**

- (::String) --- Required. Parent can be a project, a folder, or an organization.

  The allowed values are:
  - projects/{PROJECT_ID}/locations/{LOCATION} (e.g.,"projects/foo-bar/locations/us-central1")
  - projects/{PROJECT_NUMBER}/locations/{LOCATION} (e.g.,"projects/12345678/locations/us-central1")
  - folders/{FOLDER_NUMBER}/locations/{LOCATION} (e.g.,"folders/1234567/locations/us-central1")
  - organizations/{ORGANIZATION_NUMBER}/locations/{LOCATION} (e.g.,"organizations/123456/locations/us-central1")
  - 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")