Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class A2AArtifact.
A2AArtifact is the container for task completed results.
Generated from protobuf message google.cloud.geminidataanalytics.v1beta.A2AArtifact
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ artifact_id |
string
Optional. Unique identifier (e.g. UUID) for the artifact. |
↳ name |
string
Optional. A human readable name for the artifact. |
↳ description |
string
Optional. A human readable description of the artifact, optional. |
↳ parts |
array<Part>
Optional. The content of the artifact. |
↳ metadata |
Google\Protobuf\Struct
Optional. Optional metadata included with the artifact. |
↳ extensions |
string[]
Optional. The URIs of extensions that are present or contributed to this Artifact. |
getArtifactId
Optional. Unique identifier (e.g. UUID) for the artifact.
| Returns | |
|---|---|
| Type | Description |
string |
|
setArtifactId
Optional. Unique identifier (e.g. UUID) for the artifact.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getName
Optional. A human readable name for the artifact.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Optional. A human readable name for the artifact.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDescription
Optional. A human readable description of the artifact, optional.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDescription
Optional. A human readable description of the artifact, optional.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getParts
Optional. The content of the artifact.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<Part> |
|
setParts
Optional. The content of the artifact.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Part>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMetadata
Optional. Optional metadata included with the artifact.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Struct|null |
|
hasMetadata
clearMetadata
setMetadata
Optional. Optional metadata included with the artifact.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Struct
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExtensions
Optional. The URIs of extensions that are present or contributed to this Artifact.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setExtensions
Optional. The URIs of extensions that are present or contributed to this Artifact.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|