Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class WebsiteInfo.
Metadata about the website that the image is from.
Generated from protobuf message google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.WebsiteInfo
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ GenerateGroundedContentResponse \ Candidate \ GroundingMetadata \ ImageMetadataMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ uri |
string
The url of the website. |
↳ title |
string
The title of the website. |
getUri
The url of the website.
| Returns | |
|---|---|
| Type | Description |
string |
|
setUri
The url of the website.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTitle
The title of the website.
| Returns | |
|---|---|
| Type | Description |
string |
|
setTitle
The title of the website.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|