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. |
↳ chat_space_link_data |
Google\Apps\Chat\V1\ChatSpaceLinkData
Data for a chat space 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 |
getChatSpaceLinkData
Data for a chat space link.
Returns | |
---|---|
Type | Description |
Google\Apps\Chat\V1\ChatSpaceLinkData|null |
hasChatSpaceLinkData
setChatSpaceLinkData
Data for a chat space link.
Parameter | |
---|---|
Name | Description |
var |
Google\Apps\Chat\V1\ChatSpaceLinkData
|
Returns | |
---|---|
Type | Description |
$this |
getData
Returns | |
---|---|
Type | Description |
string |