Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class AgentExtension.
A declaration of an extension supported by an Agent.
Generated from protobuf message google.cloud.geminidataanalytics.v1beta.AgentExtension
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ uri |
string
Optional. The URI of the extension. |
↳ description |
string
Optional. A description of how this agent uses this extension. |
↳ required |
bool
Optional. Whether the client must follow specific requirements of the extension. |
↳ params |
Google\Protobuf\Struct
Optional. Optional configuration for the extension. |
getUri
Optional. The URI of the extension.
| Returns | |
|---|---|
| Type | Description |
string |
|
setUri
Optional. The URI of the extension.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDescription
Optional. A description of how this agent uses this extension.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDescription
Optional. A description of how this agent uses this extension.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRequired
Optional. Whether the client must follow specific requirements of the extension.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setRequired
Optional. Whether the client must follow specific requirements of the extension.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getParams
Optional. Optional configuration for the extension.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Struct|null |
|
hasParams
clearParams
setParams
Optional. Optional configuration for the extension.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Struct
|
| Returns | |
|---|---|
| Type | Description |
$this |
|