Google Cloud Ai Platform V1 Client - Class SlackChannel (1.13.1)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class SlackChannel.

SlackChannel contains the Slack channel ID and the time range to import.

Generated from protobuf message google.cloud.aiplatform.v1.SlackSource.SlackChannels.SlackChannel

Namespace

Google \ Cloud \ AIPlatform \ V1 \ SlackSource \ SlackChannels

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ channel_id string

Required. The Slack channel ID.

↳ start_time Google\Protobuf\Timestamp

Optional. The starting timestamp for messages to import.

↳ end_time Google\Protobuf\Timestamp

Optional. The ending timestamp for messages to import.

getChannelId

Required. The Slack channel ID.

Returns
Type Description
string

setChannelId

Required. The Slack channel ID.

Parameter
Name Description
var string
Returns
Type Description
$this

getStartTime

Optional. The starting timestamp for messages to import.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Optional. The starting timestamp for messages to import.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getEndTime

Optional. The ending timestamp for messages to import.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Optional. The ending timestamp for messages to import.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this