Skip to content

GroupProps

Properties for defining a Group.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-group

Initializer

import { GroupProps } from '@alicloud/ros-cdk-paiplugin'
const groupProps: GroupProps = { ... }

Properties

Name Type Description
name string | @alicloud/ros-cdk-core.IResolvable Property name: The name of the user group.
source number | @alicloud/ros-cdk-core.IResolvable Property source: Crowd source.
algorithm string | @alicloud/ros-cdk-core.IResolvable Property algorithm: Association algorithm.
column string | @alicloud/ros-cdk-core.IResolvable Property column: Mobile phone number column name.
filter string | @alicloud/ros-cdk-core.IResolvable Property filter: Filter condition.
inferenceJobId string | @alicloud/ros-cdk-core.IResolvable Property inferenceJobId: Prediction task ID.This condition can be specified when Source is 4(Algorithm).
phoneNumber string | @alicloud/ros-cdk-core.IResolvable Property phoneNumber: Whether to include mobile phone numbers.
project string | @alicloud/ros-cdk-core.IResolvable Property project: MaxCompute (ODPS) project name.
remark string | @alicloud/ros-cdk-core.IResolvable Property remark: The notes of the user group.
table string | @alicloud/ros-cdk-core.IResolvable Property table: MaxCompute (ODPS) table name.
text string | @alicloud/ros-cdk-core.IResolvable Property text: The text of the phone number.
uri string | @alicloud/ros-cdk-core.IResolvable Property uri: File address.

nameRequired

public readonly name: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property name: The name of the user group.


sourceRequired

public readonly source: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property source: Crowd source.

Valid values: 0: Enter phone numbers. 1: Single-column CSV File (Phone Numbers). 2: Multi-column CSV File. 3: MaxCompute Table. 4: Algorithm.


algorithmOptional

public readonly algorithm: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property algorithm: Association algorithm.

This must be specified when Source is 4(Algorithm).


columnOptional

public readonly column: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property column: Mobile phone number column name.

The Source is 2(Multi-column CSV File) or 3(MaxCompute Table) needs to be specified when it contains mobile phone numbers.


filterOptional

public readonly filter: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property filter: Filter condition.

This condition can be specified when Source is 3(MaxCompute Table).


inferenceJobIdOptional

public readonly inferenceJobId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property inferenceJobId: Prediction task ID.This condition can be specified when Source is 4(Algorithm).


phoneNumberOptional

public readonly phoneNumber: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property phoneNumber: Whether to include mobile phone numbers.

People with mobile phone numbers can be used for reach plans.


projectOptional

public readonly project: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property project: MaxCompute (ODPS) project name.

This parameter must be specified when Source is 3(MaxCompute Table).


remarkOptional

public readonly remark: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property remark: The notes of the user group.


tableOptional

public readonly table: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property table: MaxCompute (ODPS) table name.

This parameter must be specified when Source is 3(MaxCompute Table).


textOptional

public readonly text: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property text: The text of the phone number.

This must be specified when Source is 0(Enter phone numbers).


uriOptional

public readonly uri: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property uri: File address.

It needs to be specified when Source is 1(Single-column CSV File) or 2(Multi-column CSV File).