# Google Cloud Chronicle V1 Client - Class FeaturedContentMetadata (0.4.0)

0.4.0 (latest) 0.3.0 0.2.3 0.1.2 Reference documentation and code samples for the Google Cloud Chronicle V1 Client class FeaturedContentMetadata.

FeaturedContentMetadata holds metadata about the Featured Content.

Generated from protobuf message `google.cloud.chronicle.v1.FeaturedContentMetadata`

## Namespace

Google \\ Cloud \\ Chronicle \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ id` | `string` Required. Unique identifier of the featured content. |
| `↳ display_name` | `string` Output only. The display name of the featured content. |
| `↳ create_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. Timestamp indicating when the item was created. |
| `↳ update_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. Timestamp indicating when the item was updated. |
| `↳ author` | `string` Output only. Content item author full name. |
| `↳ certified` | `bool` Output only. Determine if this content item is officially certified by Google or created by the community. |
| `↳ description` | `string` Output only. The description of the content item. |
| `↳ categories` | `string[]` Output only. Categories the content is associated with. |
| `↳ version` | `string` Output only. Featured content version (Major.Minor.Patch). |
| `↳ verified` | `bool` Output only. Whether the content is verified by Google (applicable for 3rd party content). |
| `↳ source_type` | `int` Output only. The source type of the content. |

### getId

Required. Unique identifier of the featured content.

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

### setId

Required. Unique identifier of the featured content.

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

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

### getDisplayName

Output only. The display name of the featured content.

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

### setDisplayName

Output only. The display name of the featured content.

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

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

### getCreateTime

Output only. Timestamp indicating when the item was created.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. Timestamp indicating when the item was created.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getUpdateTime

Output only. Timestamp indicating when the item was updated.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. Timestamp indicating when the item was updated.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getAuthor

Output only. Content item author full name.

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

### setAuthor

Output only. Content item author full name.

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

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

### getCertified

Output only. Determine if this content item is officially certified by
Google or created by the community.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setCertified

Output only. Determine if this content item is officially certified by
Google or created by the community.

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

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

### getDescription

Output only. The description of the content item.

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

### setDescription

Output only. The description of the content item.

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

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

### getCategories

Output only. Categories the content is associated with.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setCategories

Output only. Categories the content is associated with.

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

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

### getVersion

Output only. Featured content version (Major.Minor.Patch).

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

### setVersion

Output only. Featured content version (Major.Minor.Patch).

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

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

### getVerified

Output only. Whether the content is verified by Google (applicable for 3rd
party content).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasVerified

### clearVerified

### setVerified

Output only. Whether the content is verified by Google (applicable for 3rd
party content).

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

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

### getSourceType

Output only. The source type of the content.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ContentSourceType](https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.FeaturedContentMetadata.ContentSourceType). |

### setSourceType

Output only. The source type of the content.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ContentSourceType](https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.FeaturedContentMetadata.ContentSourceType). |

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