Reference documentation and code samples for the Google Apps Chat V1 Client class RichLinkMetadata.
A rich link to a resource.
Generated from protobuf message google.chat.v1.RichLinkMetadata
Namespace
Google \ Apps \ Chat \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ uri |
string
The URI of this link. |
↳ rich_link_type |
int
The rich link type. |
↳ drive_link_data |
Google\Apps\Chat\V1\DriveLinkData
Data for a drive link. |
getUri
The URI of this link.
Returns | |
---|---|
Type | Description |
string |
setUri
The URI of this link.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getRichLinkType
The rich link type.
Returns | |
---|---|
Type | Description |
int |
setRichLinkType
The rich link type.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getDriveLinkData
Data for a drive link.
Returns | |
---|---|
Type | Description |
Google\Apps\Chat\V1\DriveLinkData|null |
hasDriveLinkData
setDriveLinkData
Data for a drive link.
Parameter | |
---|---|
Name | Description |
var |
Google\Apps\Chat\V1\DriveLinkData
|
Returns | |
---|---|
Type | Description |
$this |
getData
Returns | |
---|---|
Type | Description |
string |