Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class Contents.
Repeated Content type.
Generated from protobuf message google.cloud.aiplatform.v1.ContentMap.Contents
Namespace
Google \ Cloud \ AIPlatform \ V1 \ ContentMapMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ contents |
array<Google\Cloud\AIPlatform\V1\Content>
Optional. Repeated contents. |
getContents
Optional. Repeated contents.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<Google\Cloud\AIPlatform\V1\Content> |
|
setContents
Optional. Repeated contents.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Cloud\AIPlatform\V1\Content>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|