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 \ ApiMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ properties |
array<Property>
List of per consumer project-specific properties. |
getProperties
List of per consumer project-specific properties.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setProperties
List of per consumer project-specific properties.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Property>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|