# Google API Common Protos Client - Class ProjectProperties (4.14.0)

4.14.0 (latest) 4.13.0 4.12.5 4.11.0 4.10.0 4.9.0 4.8.3 Reference documentation and code samples for the Google API Common Protos Client class ProjectProperties.

A descriptor for defining project properties for a service. One service may
have many consumer projects, and the service may want to behave differently
depending on some properties on the project. For example, a project may be
associated with a school, or a business, or a government agency, a business
type property on the project may affect how a service responds to the client.

This descriptor defines which properties are allowed to be set on a project.
Example:
project_properties:
properties:

- name: NO_WATERMARK type: BOOL description: Allows usage of the API without watermarks.
- name: EXTENDED_TILE_CACHE_PERIOD type: INT64

Generated from protobuf message `google.api.ProjectProperties`

## Namespace

Google \\ Api

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ properties` | `array<https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Api.Property>` List of per consumer project-specific properties. |

### getProperties

List of per consumer project-specific properties.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Api.Property>` |   |

### setProperties

List of per consumer project-specific properties.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Api.Property>` |

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