model

package
v0.1.32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttachEipRequest

type AttachEipRequest struct {

	// 图ID。
	GraphId string `json:"graph_id"`

	// 图actionId
	ActionId AttachEipRequestActionId `json:"action_id"`

	Body *BindEipReq `json:"body,omitempty"`
}

Request Object

func (AttachEipRequest) String

func (o AttachEipRequest) String() string

type AttachEipRequestActionId

type AttachEipRequestActionId struct {
	// contains filtered or unexported fields
}

func (AttachEipRequestActionId) MarshalJSON

func (c AttachEipRequestActionId) MarshalJSON() ([]byte, error)

func (*AttachEipRequestActionId) UnmarshalJSON

func (c *AttachEipRequestActionId) UnmarshalJSON(b []byte) error

func (AttachEipRequestActionId) Value added in v0.0.90

func (c AttachEipRequestActionId) Value() string

type AttachEipRequestActionIdEnum

type AttachEipRequestActionIdEnum struct {
	BIND_EIP AttachEipRequestActionId
}

func GetAttachEipRequestActionIdEnum

func GetAttachEipRequestActionIdEnum() AttachEipRequestActionIdEnum

type AttachEipResponse

type AttachEipResponse struct {

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode      *string `json:"errorCode,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (AttachEipResponse) String

func (o AttachEipResponse) String() string

type Backup

type Backup struct {

	// 备份ID。
	Id string `json:"id"`

	// 备份名称。
	Name string `json:"name"`

	// 备份方法,取值为auto或manual。
	BackupMethod string `json:"backupMethod"`

	// 备份关联的图ID。
	GraphId string `json:"graphId"`

	// 备份关联的图Name。
	GraphName string `json:"graphName"`

	// 备份关联的图状态。
	GraphStatus string `json:"graphStatus"`

	// 备份关联的图规格。
	GraphSizeTypeIndex string `json:"graphSizeTypeIndex"`

	// 备份关联的图版本。
	DataStoreVersion string `json:"dataStoreVersion"`

	// 备份关联的图CPU架构。
	Arch string `json:"arch"`

	// 备份状态。  - backing_up:备份中 - success:备份成功 - failed:备份失败
	Status string `json:"status"`

	// 备份开始时间戳。
	StartTimestamp int64 `json:"startTimestamp"`

	// 备份时间。
	StartTime string `json:"startTime"`

	// 备份结束时间戳。
	EndTimestamp int64 `json:"endTimestamp"`

	// 备份时间。
	EndTime string `json:"endTime"`

	// 备份文件大小,单位为MB。
	Size int64 `json:"size"`

	// 备份时间,单位为秒。
	Duration int64 `json:"duration"`

	// 是否加密。true表示加密,默认值为\"false\",不加密。
	Encrypted *bool `json:"encrypted,omitempty"`
}

图备份

func (Backup) String

func (o Backup) String() string

type BindEipReq

type BindEipReq struct {

	// 弹性公网IP的ID。
	EipId string `json:"eipId"`
}

This is a auto create Body Object

func (BindEipReq) String

func (o BindEipReq) String() string

type ClearGraphRequest

type ClearGraphRequest struct {

	// 图ID。
	GraphId string `json:"graph_id"`

	// 图actionId
	ActionId ClearGraphRequestActionId `json:"action_id"`

	// 是否清空图关联的元数据。建议清除。
	ClearMetadata *bool `json:"clear-metadata,omitempty"`
}

Request Object

func (ClearGraphRequest) String

func (o ClearGraphRequest) String() string

type ClearGraphRequestActionId

type ClearGraphRequestActionId struct {
	// contains filtered or unexported fields
}

func (ClearGraphRequestActionId) MarshalJSON

func (c ClearGraphRequestActionId) MarshalJSON() ([]byte, error)

func (*ClearGraphRequestActionId) UnmarshalJSON

func (c *ClearGraphRequestActionId) UnmarshalJSON(b []byte) error

func (ClearGraphRequestActionId) Value added in v0.0.90

type ClearGraphRequestActionIdEnum

type ClearGraphRequestActionIdEnum struct {
	CLEAR_GRAPH ClearGraphRequestActionId
}

func GetClearGraphRequestActionIdEnum

func GetClearGraphRequestActionIdEnum() ClearGraphRequestActionIdEnum

type ClearGraphResponse

type ClearGraphResponse struct {

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode *string `json:"errorCode,omitempty"`

	// 执行该异步任务的jobId。 >可以查询jobId查看任务执行状态、获取返回结果
	JobId          *string `json:"jobId,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ClearGraphResponse) String

func (o ClearGraphResponse) String() string

type CreateBackupRequest

type CreateBackupRequest struct {

	// 图ID。
	GraphId string `json:"graph_id"`
}

Request Object

func (CreateBackupRequest) String

func (o CreateBackupRequest) String() string

type CreateBackupResponse

type CreateBackupResponse struct {

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode *string `json:"errorCode,omitempty"`

	// 图备份任务ID。 >可以查询jobId查看任务执行状态、获取返回结果
	JobId          *string `json:"jobId,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateBackupResponse) String

func (o CreateBackupResponse) String() string

type CreateGraphReq

type CreateGraphReq struct {
	Graph *Graph `json:"graph"`
}

This is a auto create Body Object

func (CreateGraphReq) String

func (o CreateGraphReq) String() string

type CreateGraphRequest

type CreateGraphRequest struct {
	Body *CreateGraphReq `json:"body,omitempty"`
}

Request Object

func (CreateGraphRequest) String

func (o CreateGraphRequest) String() string

type CreateGraphResponse

type CreateGraphResponse struct {

	// 图ID。
	Id *string `json:"id,omitempty"`

	// 图名称。
	Name *string `json:"name,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode      *string `json:"errorCode,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateGraphResponse) String

func (o CreateGraphResponse) String() string

type CreateMetadataReq

type CreateMetadataReq struct {

	// 元数据存储地址。
	MetadataPath string `json:"metadataPath"`

	// 元数据的名字,限制为1-64个字符,且只能包含字母,数字或下划线。
	Name string `json:"name"`

	// 对元数据的描述。
	Description string `json:"description"`

	// 是否覆盖文件。
	IsOverwrite bool `json:"isOverwrite"`

	// 存储metadata的消息信息的对象。
	GesMetadata *interface{} `json:"gesMetadata"`
}

This is a auto create Body Object

func (CreateMetadataReq) String

func (o CreateMetadataReq) String() string

type CreateMetadataRequest

type CreateMetadataRequest struct {
	Body *CreateMetadataReq `json:"body,omitempty"`
}

Request Object

func (CreateMetadataRequest) String

func (o CreateMetadataRequest) String() string

type CreateMetadataResponse

type CreateMetadataResponse struct {

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode *string `json:"errorCode,omitempty"`

	// 元数据ID。
	Id *string `json:"id,omitempty"`

	// 元数据名字。
	Name           *string `json:"name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateMetadataResponse) String

func (o CreateMetadataResponse) String() string

type DataSource

type DataSource struct {

	//   数据源类型。取值为OBS,且当前只支持OBS。
	Type string `json:"type"`

	Parameters *Parameters `json:"parameters"`
}

func (DataSource) String

func (o DataSource) String() string

type DeleteBackupRequest

type DeleteBackupRequest struct {

	// 图备份ID。
	BackupId string `json:"backup_id"`

	// 图ID。
	GraphId string `json:"graph_id"`
}

Request Object

func (DeleteBackupRequest) String

func (o DeleteBackupRequest) String() string

type DeleteBackupResponse

type DeleteBackupResponse struct {

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode      *string `json:"errorCode,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteBackupResponse) String

func (o DeleteBackupResponse) String() string

type DeleteGraphRequest

type DeleteGraphRequest struct {

	// 图ID。
	GraphId string `json:"graph_id"`

	// 删除图后是否保留备份,默认保留1个自动备份和2个手动备份。该查询参数为空时,表示不保留。
	KeepBackup *bool `json:"keepBackup,omitempty"`
}

Request Object

func (DeleteGraphRequest) String

func (o DeleteGraphRequest) String() string

type DeleteGraphResponse

type DeleteGraphResponse struct {

	// 删除图任务ID。请求失败时字段为空。 >可以查询jobId查看任务执行状态、获取返回结果
	JobId *string `json:"jobId,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode      *string `json:"errorCode,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteGraphResponse) String

func (o DeleteGraphResponse) String() string

type DeleteMetadataRequest

type DeleteMetadataRequest struct {

	// 元数据ID。
	MetadataId string `json:"metadata_id"`
}

Request Object

func (DeleteMetadataRequest) String

func (o DeleteMetadataRequest) String() string

type DeleteMetadataResponse

type DeleteMetadataResponse struct {

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode      *string `json:"errorCode,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteMetadataResponse) String

func (o DeleteMetadataResponse) String() string

type DetachEipRequest

type DetachEipRequest struct {

	// 图ID。
	GraphId string `json:"graph_id"`

	// 图actionId
	ActionId DetachEipRequestActionId `json:"action_id"`

	Body *UnbindEipReq `json:"body,omitempty"`
}

Request Object

func (DetachEipRequest) String

func (o DetachEipRequest) String() string

type DetachEipRequestActionId

type DetachEipRequestActionId struct {
	// contains filtered or unexported fields
}

func (DetachEipRequestActionId) MarshalJSON

func (c DetachEipRequestActionId) MarshalJSON() ([]byte, error)

func (*DetachEipRequestActionId) UnmarshalJSON

func (c *DetachEipRequestActionId) UnmarshalJSON(b []byte) error

func (DetachEipRequestActionId) Value added in v0.0.90

func (c DetachEipRequestActionId) Value() string

type DetachEipRequestActionIdEnum

type DetachEipRequestActionIdEnum struct {
	UNBIND_EIP DetachEipRequestActionId
}

func GetDetachEipRequestActionIdEnum

func GetDetachEipRequestActionIdEnum() DetachEipRequestActionIdEnum

type DetachEipResponse

type DetachEipResponse struct {

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode      *string `json:"errorCode,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DetachEipResponse) String

func (o DetachEipResponse) String() string

type EdgesetPath

type EdgesetPath struct {

	// OBS文件路径
	Path string `json:"path"`

	// OBS文件导入日志存储文件
	Log *string `json:"log,omitempty"`

	// - OBS文件导入状态。 - success:完全成功 - failed:完全失败 - partFailed:部分成功
	Status string `json:"status"`

	// 导入失败原因
	Cause *string `json:"cause,omitempty"`

	// 导入总行数。其值为-1时表示当前版本没有返回该字段。
	TotalLines *int64 `json:"totalLines,omitempty"`

	// 导入失败行数。其值为-1时表示当前版本没有返回该字段。
	FailedLines *int64 `json:"failedLines,omitempty"`

	// 导出成功行数。其值为-1时表示当前版本没有返回该字段。
	SuccessfulLines *int64 `json:"successfulLines,omitempty"`
}

边数据

func (EdgesetPath) String

func (o EdgesetPath) String() string

type EdgesetPath1

type EdgesetPath1 struct {

	// 导入OBS文件对应的jobId。
	JobId string `json:"jobId"`

	// OBS存储路径,不包含OBS Endpoint。
	Path string `json:"path"`

	// OBS文件导入状态。  - success:完全导入成功 - partiallyFailed:部分失败 - failed:完全导入失败
	Status string `json:"status"`
}

func (EdgesetPath1) String

func (o EdgesetPath1) String() string

type EncryptionReq

type EncryptionReq struct {

	// 是否启动加密特性。取值为“true”或者“false”。默认为“false”。
	Enable *bool `json:"enable,omitempty"`

	// 与建图对应的project下,华为云数据加密服务创建的用户主密钥ID。
	MasterKeyId *string `json:"masterKeyId,omitempty"`
}

func (EncryptionReq) String

func (o EncryptionReq) String() string

type ExpandGraphReq added in v0.0.69

type ExpandGraphReq struct {
	Expand *ReplicationReq `json:"expand"`
}

func (ExpandGraphReq) String added in v0.0.69

func (o ExpandGraphReq) String() string

type ExpandGraphRequest added in v0.0.69

type ExpandGraphRequest struct {

	// 图ID。
	GraphId string `json:"graph_id"`

	Body *ExpandGraphReq `json:"body,omitempty"`
}

Request Object

func (ExpandGraphRequest) String added in v0.0.69

func (o ExpandGraphRequest) String() string

type ExpandGraphResponse added in v0.0.69

type ExpandGraphResponse struct {

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode *string `json:"errorCode,omitempty"`

	// 扩副本任务ID。请求失败时字段为空。 >可以查询jobId查看任务执行状态、获取返回结果
	JobId          *string `json:"jobId,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ExpandGraphResponse) String added in v0.0.69

func (o ExpandGraphResponse) String() string

type ExportGraphReq

type ExportGraphReq struct {

	// 图的导出OBS路径。
	GraphExportPath string `json:"graphExportPath"`

	// 导出边文件名。
	EdgeSetName string `json:"edgeSetName"`

	// 导出点文件名。
	VertexSetName string `json:"vertexSetName"`

	// 导出元数据文件名。
	SchemaName string `json:"schemaName"`
}

This is a auto create Body Object

func (ExportGraphReq) String

func (o ExportGraphReq) String() string

type ExportGraphRequest

type ExportGraphRequest struct {

	// 图ID。
	GraphId string `json:"graph_id"`

	// 图actionId
	ActionId ExportGraphRequestActionId `json:"action_id"`

	Body *ExportGraphReq `json:"body,omitempty"`
}

Request Object

func (ExportGraphRequest) String

func (o ExportGraphRequest) String() string

type ExportGraphRequestActionId

type ExportGraphRequestActionId struct {
	// contains filtered or unexported fields
}

func (ExportGraphRequestActionId) MarshalJSON

func (c ExportGraphRequestActionId) MarshalJSON() ([]byte, error)

func (*ExportGraphRequestActionId) UnmarshalJSON

func (c *ExportGraphRequestActionId) UnmarshalJSON(b []byte) error

func (ExportGraphRequestActionId) Value added in v0.0.90

type ExportGraphRequestActionIdEnum

type ExportGraphRequestActionIdEnum struct {
	EXPORT_GRAPH ExportGraphRequestActionId
}

func GetExportGraphRequestActionIdEnum

func GetExportGraphRequestActionIdEnum() ExportGraphRequestActionIdEnum

type ExportGraphResponse

type ExportGraphResponse struct {

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode *string `json:"errorCode,omitempty"`

	// 执行该异步任务的jobId。 >可以查询jobId查看任务执行状态、获取返回结果
	JobId          *string `json:"jobId,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ExportGraphResponse) String

func (o ExportGraphResponse) String() string

type GesMetaData

type GesMetaData struct {

	// Label数据结构集合。
	Labels []Label `json:"labels"`
}

GES 元数据

func (GesMetaData) String

func (o GesMetaData) String() string

type GesQuotaResp

type GesQuotaResp struct {

	// GES资源配额列表。
	Resources *[]Quota `json:"resources,omitempty"`
}

func (GesQuotaResp) String

func (o GesQuotaResp) String() string

type Graph

type Graph struct {

	// 图名称(输入长度在4位到50位之间,必须以字母开头,可以包含字母、数字或者下划线,不能包含其他的特殊字符)。
	Name string `json:"name"`

	// 图规模类型索引。 - 0:一万边 - 1:百万边 - 2:千万边 - 3:一亿边 - 4:十亿边 - 5:百亿边 - 401:十亿增强边
	GraphSizeTypeIndex string `json:"graphSizeTypeIndex"`

	// 图实例CPU架构类型,取值为x86_64和aarch64。默认取x86_64。 - x86_64:X64 64位架构。 - aarch64:ARM 64位架构。
	Arch *string `json:"arch,omitempty"`

	DataSource *DataSource `json:"dataSource,omitempty"`

	//   虚拟私有云ID。
	VpcId string `json:"vpcId"`

	// 指定虚拟私有云下的子网ID。
	SubnetId string `json:"subnetId"`

	// 安全组ID。
	SecurityGroupId string `json:"securityGroupId"`

	PublicIp *PublicIp `json:"publicIp,omitempty"`

	// 创建的图是否支持跨可用区(AZ),默认值是false,如果设置为true,系统将会把图中的ECS建在两个可用区中。  如果创建图时,不加该参数,则会将图中的ECS都建在一个可用区中。
	EnableMultiAz *bool `json:"enableMultiAz,omitempty"`

	Encryption *EncryptionReq `json:"encryption,omitempty"`

	LtsOperationTrace *LtsOperationTraceReq `json:"ltsOperationTrace,omitempty"`

	// 企业项目信息,如果未指定则不开启,默认不开启。
	SysTags *[]SysTagsRes `json:"sys_tags,omitempty"`

	// 创建的图是否启用细粒度权限控制,默认不启用,值为false。如果设置为true,创建的图所有用户都没有权限,需要调用业务面细粒度权限控制API进行授权操作才可以访问图。
	EnableRBAC *bool `json:"enableRBAC,omitempty"`

	// 创建的图是否开启全文索引控制,默认不启用,值为false。如果设置为true,十亿增强版-规格版图支持全文索引,创建图时会创建云搜索服务集群。 >开启全文索引功能。如果CSS服务已经部署,图实例会自动创建CSS集群,图创建时间较长。如果CSS服务没有部署则图创建失败。
	EnableFullTextIndex *bool `json:"enableFullTextIndex,omitempty"`
}

func (Graph) String

func (o Graph) String() string

type Graph1

type Graph1 struct {

	// 图ID。
	Id *string `json:"id,omitempty"`

	// 图名称。
	Name *string `json:"name,omitempty"`

	// 图的创建人账号。
	CreatedBy *string `json:"createdBy,omitempty"`

	// 是否支持跨AZ高可用。
	IsMultiAz *string `json:"isMultiAz,omitempty"`

	// 域编码。
	RegionCode *string `json:"regionCode,omitempty"`

	// 可用区编码。
	AzCode *string `json:"azCode,omitempty"`

	// 元数据文件路径。
	SchemaPath *[]SchemaPath1 `json:"schemaPath,omitempty"`

	// 边数据集OBS路径。
	EdgesetPath *[]EdgesetPath1 `json:"edgesetPath,omitempty"`

	// 边数据集文件格式。
	EdgesetFormat *string `json:"edgesetFormat,omitempty"`

	// 边数据集文件默认Label。
	EdgesetDefaultLabel *string `json:"edgesetDefaultLabel,omitempty"`

	// 点数据集OBS路径。
	VertexsetPath *[]VertexsetPath1 `json:"vertexsetPath,omitempty"`

	// 点数据集文件格式。
	VertexsetFormat *string `json:"vertexsetFormat,omitempty"`

	// 点数据集文件默认Label。
	VertexsetDefaultLabel *string `json:"vertexsetDefaultLabel,omitempty"`

	// 图版本。
	DataStoreVersion *string `json:"dataStoreVersion,omitempty"`

	// 企业项目信息,如果未指定则不开启,默认不开启。
	SysTags *[]string `json:"sys_tags,omitempty"`

	// 图的状态码。  - 100:准备中 - 200:运行中 - 201:升级中 - 202:导入中 - 203:回滚中 - 204:导出中 - 205:清空中 - 206:扩容准备中 - 207:扩容中 - 208:扩容回退中 - 300:故障 - 303:创建失败 - 400:被删除 - 800:已冻结 - 900:停止 - 901:停止中 - 920:启动中
	Status *string `json:"status,omitempty"`

	// 图创建进度百分比。 >只有图状态码为100时返回该字段。
	ActionProgress *string `json:"actionProgress,omitempty"`

	// 图规模类型索引。  - 0:一万边 - 1:百万边 - 2:千万边 - 3:一亿边 - 4:十亿边 - 5:百亿边 - 6:千亿边
	GraphSizeTypeIndex *string `json:"graphSizeTypeIndex,omitempty"`

	// 虚拟私有云ID。
	VpcId *string `json:"vpcId,omitempty"`

	// 指定虚拟私有云下的子网ID。
	SubnetId *string `json:"subnetId,omitempty"`

	// 安全组ID。
	SecurityGroupId *string `json:"securityGroupId,omitempty"`

	// 副本个数,默认为1。
	Replication *int32 `json:"replication,omitempty"`

	// 图创建时间。
	Created *string `json:"created,omitempty"`

	// 图更新时间。
	Updated *string `json:"updated,omitempty"`

	// 图实例私有网络访问地址,通过该IP用户可以通过私有网络中已部署的弹性云服务器对图实例进行访问。
	PrivateIp *string `json:"privateIp,omitempty"`

	// 图实例公网访问地址,通过该IP用户可以从互联网对图实例进行访问。
	PublicIp *string `json:"publicIp,omitempty"`

	// 图实例CPU架构类型,取值为x86_64和aarch64。
	Arch *string `json:"arch,omitempty"`

	// 是否加密。默认值为“false”,默认不加密。
	Encrypted *bool `json:"encrypted,omitempty"`

	// 用户主密钥ID。
	MasterKeyId *string `json:"masterKeyId,omitempty"`

	// 用户主密钥名称。
	MasterKeyName *string `json:"masterKeyName,omitempty"`

	// 是否启用细粒度权限控制。
	EnableRBAC *bool `json:"enableRBAC,omitempty"`

	// 是否启用全文索引。
	EnableFulltextIndex *bool `json:"enableFulltextIndex,omitempty"`

	// 是否启用HyG,该参数只对千亿规格图生效
	EnableHyG *bool `json:"enableHyG,omitempty"`

	// 图实例私有网络访问物理地址列表。为了防止浮动IP切换造成业务闪断,我们推荐您通过轮询的方式使用物理IP访问图实例。
	TrafficIpList *[]string `json:"trafficIpList,omitempty"`

	// 图实例加密算法,取值为:  - generalCipher:国际算法 - SMcompatible:商密算法(兼容国际)
	CryptAlgorithm *string `json:"cryptAlgorithm,omitempty"`

	// 是否开启安全模式,开启安全模式会对性能有较大影响。
	EnableHttps *bool `json:"enableHttps,omitempty"`

	// 标签列表,每个标签用<key,value>键值对表示。
	Tags *[]interface{} `json:"tags,omitempty"`
}

func (Graph1) String

func (o Graph1) String() string

type GraphSizeTypeIndexReq added in v0.0.69

type GraphSizeTypeIndexReq struct {

	// 图规格类型,当前支持取值为\"2\",\"3\",\"4\",\"5\"分别代表扩容成千万边、一亿边、十亿边、百亿边规格的图
	GraphSizeTypeIndex string `json:"graphSizeTypeIndex"`
}

func (GraphSizeTypeIndexReq) String added in v0.0.69

func (o GraphSizeTypeIndexReq) String() string

type ImportGraphReq

type ImportGraphReq struct {

	// 边文件目录或边文件名。
	EdgesetPath *string `json:"edgesetPath,omitempty"`

	// 边数据集格式。当前仅支持csv。  默认为csv。
	EdgesetFormat *string `json:"edgesetFormat,omitempty"`

	// 点文件目录或点文件名。
	VertexsetPath *string `json:"vertexsetPath,omitempty"`

	// 点数据集格式。当前仅支持csv。  默认为csv。
	VertexsetFormat *string `json:"vertexsetFormat,omitempty"`

	// 新增数据的元数据文件路径。
	SchemaPath *string `json:"schemaPath,omitempty"`

	// 导入图日志存放目录,用于存储导入失败的数据和详细错入原因。
	LogDir *string `json:"logDir,omitempty"`

	// 重复边处理
	ParallelEdge *interface{} `json:"parallelEdge,omitempty"`

	// 处理方式,取值为allow,ignore和override,默认为allow。 - allow表示允许重复边。 - ignore表示忽略之后的重复边。 - override表示覆盖之前的重复边。
	Action *string `json:"action,omitempty"`

	// 重复边的定义,是否忽略Label。取值为true或者false,默认取true。 - true 表示重复边定义不包含Label,即用<源点,终点>标记一条边,不包含Label。 - false 表示重复边定义包含Label,即用<源点,终点,Label>标记一条边。
	IgnoreLabel *bool `json:"ignoreLabel,omitempty"`

	// csv格式文件字段分隔符,默认值为逗号(,)。list/set类型的字段内元素分隔符默认为分号(;)。
	Delimiter *string `json:"delimiter,omitempty"`

	// csv格式文件字段包围符,默认值为双引号(\")。用来包围一个字段,如字段中含有分隔符或者换行等。
	TrimQuote *string `json:"trimQuote,omitempty"`

	// 是否离线导入,取值为true或者false,默认取false。 - true 表示离线导入,导入速度较快,但导入过程中图处于锁定状态,不可读不可写。 - false 表示在线导入,相对离线导入,在线导入速度略慢,但导入过程中图并未锁定,可读不可写。
	Offline *bool `json:"offline,omitempty"`
}

This is a auto create Body Object

func (ImportGraphReq) String

func (o ImportGraphReq) String() string

type ImportGraphRequest

type ImportGraphRequest struct {

	// 图ID。
	GraphId string `json:"graph_id"`

	// 图actionId
	ActionId ImportGraphRequestActionId `json:"action_id"`

	Body *ImportGraphReq `json:"body,omitempty"`
}

Request Object

func (ImportGraphRequest) String

func (o ImportGraphRequest) String() string

type ImportGraphRequestActionId

type ImportGraphRequestActionId struct {
	// contains filtered or unexported fields
}

func (ImportGraphRequestActionId) MarshalJSON

func (c ImportGraphRequestActionId) MarshalJSON() ([]byte, error)

func (*ImportGraphRequestActionId) UnmarshalJSON

func (c *ImportGraphRequestActionId) UnmarshalJSON(b []byte) error

func (ImportGraphRequestActionId) Value added in v0.0.90

type ImportGraphRequestActionIdEnum

type ImportGraphRequestActionIdEnum struct {
	IMPORT_GRAPH ImportGraphRequestActionId
}

func GetImportGraphRequestActionIdEnum

func GetImportGraphRequestActionIdEnum() ImportGraphRequestActionIdEnum

type ImportGraphResponse

type ImportGraphResponse struct {

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode *string `json:"errorCode,omitempty"`

	// 执行该异步任务的jobId。 >可以查询jobId查看任务执行状态、获取返回结果
	JobId          *string `json:"jobId,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ImportGraphResponse) String

func (o ImportGraphResponse) String() string

type Job

type Job struct {

	// 任务ID。
	JobId string `json:"jobId"`

	// 任务状态。  - pending:等待中 - running:运行中 - success:成功 - failed:失败
	Status string `json:"status"`

	// 任务类型。
	JobType string `json:"jobType"`

	// 任务名称。
	JobName string `json:"jobName"`

	// 关联图名称。
	RelatedGraph string `json:"relatedGraph"`

	// 任务开始时间,格式为UTC,\"yyyy-MM-dd'T'HH:mm:ss\"
	BeginTime *string `json:"beginTime,omitempty"`

	// 任务结束时间,格式为UTC,\"yyyy-MM-dd'T'HH:mm:ss\"
	EndTime *string `json:"endTime,omitempty"`

	JobDetail *JobDetail `json:"jobDetail,omitempty"`

	// 任务失败原因
	FailReason *string `json:"failReason,omitempty"`

	// 任务执行进度,预留字段,暂未使用。
	JobProgress *float64 `json:"jobProgress,omitempty"`
}

任务

func (Job) String

func (o Job) String() string

type JobDetail

type JobDetail struct {

	// 元数据路径。
	SchemaPath *[]SchemaPath `json:"schemaPath,omitempty"`

	// 边数据集路径。
	EdgesetPath *[]EdgesetPath `json:"edgesetPath,omitempty"`

	// 点数据集路径。
	VertexsetPath *[]VertexsetPath `json:"vertexsetPath,omitempty"`
}

任务详情

func (JobDetail) String

func (o JobDetail) String() string

type Label

type Label struct {

	// Label名称。
	Name *string `json:"name,omitempty"`

	// 属性Map
	Properties *interface{} `json:"properties,omitempty"`
}

GES 元数据中lable类型

func (Label) String

func (o Label) String() string

type ListBackupsRequest

type ListBackupsRequest struct {

	// 每页资源数量的最大值,默认为10。
	Limit *int32 `json:"limit,omitempty"`

	// 本次请求的起始位置,默认为0。
	Offset *int32 `json:"offset,omitempty"`
}

Request Object

func (ListBackupsRequest) String

func (o ListBackupsRequest) String() string

type ListBackupsResponse

type ListBackupsResponse struct {

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode *string `json:"errorCode,omitempty"`

	// 备份总个数。请求失败时,字段为空。
	BackupCount *int32 `json:"backupCount,omitempty"`

	// 当前Project ID下的所有图的备份列表。请求失败时,字段为空。
	BackupList     *[]Backup `json:"backupList,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListBackupsResponse) String

func (o ListBackupsResponse) String() string

type ListGraphBackupsRequest

type ListGraphBackupsRequest struct {

	// 图ID。
	GraphId string `json:"graph_id"`

	// 每页资源数量的最大值,默认为10。
	Limit *int32 `json:"limit,omitempty"`

	// 本次请求的起始位置,默认为0。
	Offset *int32 `json:"offset,omitempty"`
}

Request Object

func (ListGraphBackupsRequest) String

func (o ListGraphBackupsRequest) String() string

type ListGraphBackupsResponse

type ListGraphBackupsResponse struct {

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode *string `json:"errorCode,omitempty"`

	// 备份总个数。请求失败时。字段为空。
	BackupCount *int32 `json:"backupCount,omitempty"`

	// 当前Project下指定Graph的的备份列表。请求失败时,字段为空。
	BackupList     *[]Backup `json:"backupList,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListGraphBackupsResponse) String

func (o ListGraphBackupsResponse) String() string

type ListGraphMetadatasRequest

type ListGraphMetadatasRequest struct {

	// 元数据ID。
	MetadataId string `json:"metadata_id"`
}

Request Object

func (ListGraphMetadatasRequest) String

func (o ListGraphMetadatasRequest) String() string

type ListGraphMetadatasResponse

type ListGraphMetadatasResponse struct {

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode *string `json:"errorCode,omitempty"`

	GesMetadata    *GesMetaData `json:"gesMetadata,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ListGraphMetadatasResponse) String

type ListGraphsRequest

type ListGraphsRequest struct {

	// 本次请求的起始位置,默认为0。
	Offset *int32 `json:"offset,omitempty"`

	// 每页资源数量的最大值,默认为10。
	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListGraphsRequest) String

func (o ListGraphsRequest) String() string

type ListGraphsResponse

type ListGraphsResponse struct {

	// 图总个数。请求失败时为空。
	GraphCount *int32 `json:"graphCount,omitempty"`

	// 图列表。请求失败时为空。
	Graphs *[]Graph1 `json:"graphs,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode      *string `json:"errorCode,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListGraphsResponse) String

func (o ListGraphsResponse) String() string

type ListJobsRequest

type ListJobsRequest struct {

	// 任务结束日期,当前只支持日期,不支持时间。格式为:yyyy-MM-dd,比如2019-03-27。
	EndTime *string `json:"endTime,omitempty"`

	// 关联的图名称
	GraphName *string `json:"graph_name,omitempty"`

	// 每页资源数量的最大值,默认为10。
	Limit *string `json:"limit,omitempty"`

	// 本次请求的起始位置,默认为0。
	Offset *string `json:"offset,omitempty"`

	// 任务开始日期,当前只支持日期,不支持时间。格式为:yyyy-MM-dd,比如2019-03-27。
	StartTime *string `json:"startTime,omitempty"`

	// 任务状态。取值为:  - running - waiting - success - failed
	Status *string `json:"status,omitempty"`
}

Request Object

func (ListJobsRequest) String

func (o ListJobsRequest) String() string

type ListJobsResponse

type ListJobsResponse struct {

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode *string `json:"errorCode,omitempty"`

	// 任务总数
	JobCount *int32 `json:"jobCount,omitempty"`

	// 任务列表
	JobList        *[]Job `json:"jobList,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListJobsResponse) String

func (o ListJobsResponse) String() string

type ListMetadatasRequest

type ListMetadatasRequest struct {

	// 每页资源数量的最大值,默认为10。
	Limit *int32 `json:"limit,omitempty"`

	// 本次请求的起始位置,默认为0。
	Offset *int32 `json:"offset,omitempty"`
}

Request Object

func (ListMetadatasRequest) String

func (o ListMetadatasRequest) String() string

type ListMetadatasResponse

type ListMetadatasResponse struct {

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode *string `json:"errorCode,omitempty"`

	// 元数据返回个数。请求失败时,字段为空。
	SchemaCount *int32 `json:"schemaCount,omitempty"`

	// 当前projectId下的所有元数据列表。请求失败时,字段为空。
	SchemaList     *[]Metadata `json:"schemaList,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ListMetadatasResponse) String

func (o ListMetadatasResponse) String() string

type ListQuotasRequest

type ListQuotasRequest struct {
}

Request Object

func (ListQuotasRequest) String

func (o ListQuotasRequest) String() string

type ListQuotasResponse

type ListQuotasResponse struct {

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode *string `json:"errorCode,omitempty"`

	Quotas         *GesQuotaResp `json:"quotas,omitempty"`
	HttpStatusCode int           `json:"-"`
}

Response Object

func (ListQuotasResponse) String

func (o ListQuotasResponse) String() string

type LtsOperationTraceReq

type LtsOperationTraceReq struct {

	// 是否开启图审计,默认“false”。
	EnableAudit *bool `json:"enableAudit,omitempty"`

	// LTS日志组名称。
	AuditLogGroupName *string `json:"auditLogGroupName,omitempty"`
}

func (LtsOperationTraceReq) String

func (o LtsOperationTraceReq) String() string

type Metadata

type Metadata struct {

	// 元数据 ID。
	Id string `json:"id"`

	// 元数据名称。
	Name string `json:"name"`

	// 元数据 描述。
	Description string `json:"description"`

	// 元数据是否可用。
	Status string `json:"status"`

	// 元数据对应路径。
	MetadataPath string `json:"metadataPath"`

	// 元数据创建时间戳。
	CreateTimestamp *string `json:"createTimestamp,omitempty"`

	// 元数据最后更新时间戳。
	LastUpdateTimestamp *string `json:"lastUpdateTimestamp,omitempty"`
}

元数据

func (Metadata) String

func (o Metadata) String() string

type ParallelEdge

type ParallelEdge struct {

	// 处理方式,取值为allow,ignore和override,默认为allow。 - allow表示允许重复边。 - ignore表示忽略之后的重复边。 - override表示覆盖之前的重复边。
	Action *string `json:"action,omitempty"`

	// 重复边的定义,是否忽略Label。取值为true或者false,默认取true。 - true 表示重复边定义不包含Label,即用<源点,终点>标记一条边,不包含Label。 - false 表示重复边定义包含Label,即用<源点,终点,Label>标记一条边。
	IgnoreLabel *bool `json:"ignoreLabel,omitempty"`
}

func (ParallelEdge) String

func (o ParallelEdge) String() string

type Parameters

type Parameters struct {

	// 元数据文件OBS路径,只支持文件。
	SchemaPath string `json:"schemaPath"`

	// 边数据集文件OBS路径,只支持文件。
	EdgesetPath string `json:"edgesetPath"`

	// 边数据集格式。当前仅支持csv。  默认为csv。
	EdgesetFormat *string `json:"edgesetFormat,omitempty"`

	// 边数据集默认标签,当前默认为空,可以不填。
	EdgesetDefaultLabel *string `json:"edgesetDefaultLabel,omitempty"`

	// 点数据集OBS路径,只支持文件。
	VertexsetPath *string `json:"vertexsetPath,omitempty"`

	// 点数据集格式。当前仅支持csv。  默认为csv。
	VertexsetFormat *string `json:"vertexsetFormat,omitempty"`

	// 点数据集默认标签,当前默认为空,可以不填。
	VertexsetDefaultLabel *string `json:"vertexsetDefaultLabel,omitempty"`

	// OBS日志存储目录,用于存储建图过程导入失败的数据和详细日志。
	LogDir *string `json:"logDir,omitempty"`

	ParallelEdge *ParallelEdge `json:"parallelEdge,omitempty"`
}

func (Parameters) String

func (o Parameters) String() string

type PublicIp

type PublicIp struct {

	// 弹性IP绑定类型,取值如下。 - auto_assign:自动绑定。 - bind_existing:使用已有。
	PublicBindType *string `json:"publicBindType,omitempty"`

	// 弹性IP的id,当publicBindType设置为bind_existing时,该值为用户某个已创建但尚未绑定的EIP的ID;当publicBindType设置为auto_assign时,该值设置为空。
	EipId *string `json:"eipId,omitempty"`
}

func (PublicIp) String

func (o PublicIp) String() string

type Quota

type Quota struct {

	// 类型。  取值范围: - \"graph\" - \"backup\" - \"metadata\"
	Type string `json:"type"`

	// 图的可用个数。
	Available int32 `json:"available"`

	// 边的可用个数。type为graph时此值有效。
	EdgeVolume *int32 `json:"edgeVolume,omitempty"`
}

Indicates the resource type

func (Quota) String

func (o Quota) String() string

type ReplicationReq added in v0.0.69

type ReplicationReq struct {

	// 新扩副本数量。
	Replication string `json:"replication"`
}

func (ReplicationReq) String added in v0.0.69

func (o ReplicationReq) String() string

type ResizeGraphReq added in v0.0.69

type ResizeGraphReq struct {
	Resize *GraphSizeTypeIndexReq `json:"resize"`
}

func (ResizeGraphReq) String added in v0.0.69

func (o ResizeGraphReq) String() string

type ResizeGraphRequest added in v0.0.69

type ResizeGraphRequest struct {

	// 图ID。
	GraphId string `json:"graph_id"`

	Body *ResizeGraphReq `json:"body,omitempty"`
}

Request Object

func (ResizeGraphRequest) String added in v0.0.69

func (o ResizeGraphRequest) String() string

type ResizeGraphResponse added in v0.0.69

type ResizeGraphResponse struct {

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode *string `json:"errorCode,omitempty"`

	// 扩容图任务ID。请求失败时字段为空。 >可以查询jobId查看任务执行状态、获取返回结果
	JobId          *string `json:"jobId,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ResizeGraphResponse) String added in v0.0.69

func (o ResizeGraphResponse) String() string

type RestartGraphRequest

type RestartGraphRequest struct {

	// 图ID。
	GraphId string `json:"graph_id"`

	// 图actionId
	ActionId RestartGraphRequestActionId `json:"action_id"`
}

Request Object

func (RestartGraphRequest) String

func (o RestartGraphRequest) String() string

type RestartGraphRequestActionId

type RestartGraphRequestActionId struct {
	// contains filtered or unexported fields
}

func (RestartGraphRequestActionId) MarshalJSON

func (c RestartGraphRequestActionId) MarshalJSON() ([]byte, error)

func (*RestartGraphRequestActionId) UnmarshalJSON

func (c *RestartGraphRequestActionId) UnmarshalJSON(b []byte) error

func (RestartGraphRequestActionId) Value added in v0.0.90

type RestartGraphRequestActionIdEnum

type RestartGraphRequestActionIdEnum struct {
	RESTART RestartGraphRequestActionId
}

func GetRestartGraphRequestActionIdEnum

func GetRestartGraphRequestActionIdEnum() RestartGraphRequestActionIdEnum

type RestartGraphResponse

type RestartGraphResponse struct {

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode *string `json:"errorCode,omitempty"`

	// 强制重启任务ID。请求失败时字段为空。 >可以查询jobId查看任务执行状态、获取返回结果
	JobId          *string `json:"jobId,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RestartGraphResponse) String

func (o RestartGraphResponse) String() string

type SchemaPath

type SchemaPath struct {

	// OBS文件路径
	Path string `json:"path"`

	// OBS文件导入日志存储文件
	Log *string `json:"log,omitempty"`

	// - OBS文件导入状态。 - success:完全成功 - failed:完全失败 - partFailed:部分成功
	Status string `json:"status"`

	// 导入失败原因
	Cause *string `json:"cause,omitempty"`
}

点数据

func (SchemaPath) String

func (o SchemaPath) String() string

type SchemaPath1

type SchemaPath1 struct {

	// 导入OBS文件对应的jobId。
	JobId string `json:"jobId"`

	// OBS存储路径,不包含OBS Endpoint。
	Path string `json:"path"`

	// OBS文件导入状态。 - success:完全导入成功 - partiallyFailed:部分失败 - failed:完全导入失败
	Status string `json:"status"`
}

func (SchemaPath1) String

func (o SchemaPath1) String() string

type ShowGraphRequest

type ShowGraphRequest struct {

	// 图ID。
	GraphId string `json:"graph_id"`
}

Request Object

func (ShowGraphRequest) String

func (o ShowGraphRequest) String() string

type ShowGraphResponse

type ShowGraphResponse struct {
	Graph *Graph1 `json:"graph,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode      *string `json:"errorCode,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowGraphResponse) String

func (o ShowGraphResponse) String() string

type ShowJobRequest

type ShowJobRequest struct {

	// 图ID。
	GraphId string `json:"graph_id"`

	// Job ID。
	JobId string `json:"job_id"`
}

Request Object

func (ShowJobRequest) String

func (o ShowJobRequest) String() string

type ShowJobResponse

type ShowJobResponse struct {

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode *string `json:"errorCode,omitempty"`

	// 任务ID。
	JobId *string `json:"jobId,omitempty"`

	// 任务状态。  - pending:等待中 - running:运行中 - success:成功 - failed:失败
	Status *string `json:"status,omitempty"`

	// 任务类型。
	JobType *string `json:"jobType,omitempty"`

	// 任务名称。
	JobName *string `json:"jobName,omitempty"`

	// 关联图名称。
	RelatedGraph *string `json:"relatedGraph,omitempty"`

	// 任务开始时间,格式为UTC,\"yyyy-MM-dd'T'HH:mm:ss\"
	BeginTime *string `json:"beginTime,omitempty"`

	// 任务结束时间,格式为UTC,\"yyyy-MM-dd'T'HH:mm:ss\"
	EndTime *string `json:"endTime,omitempty"`

	JobDetail *JobDetail `json:"jobDetail,omitempty"`

	// 任务失败原因
	FailReason *string `json:"failReason,omitempty"`

	// 任务执行进度,预留字段,暂未使用。
	JobProgress    *float64 `json:"jobProgress,omitempty"`
	HttpStatusCode int      `json:"-"`
}

Response Object

func (ShowJobResponse) String

func (o ShowJobResponse) String() string

type StartGraphReq

type StartGraphReq struct {

	// 启动图时关联的备份ID,设置此参数时,表示从备份进行启动;如果为空,表示从上次关闭图时的状态启动。
	GraphBackupId *string `json:"graph_backup_id,omitempty"`
}

This is a auto create Body Object

func (StartGraphReq) String

func (o StartGraphReq) String() string

type StartGraphRequest

type StartGraphRequest struct {

	// 图ID。
	GraphId string `json:"graph_id"`

	// 图actionId
	ActionId StartGraphRequestActionId `json:"action_id"`

	Body *StartGraphReq `json:"body,omitempty"`
}

Request Object

func (StartGraphRequest) String

func (o StartGraphRequest) String() string

type StartGraphRequestActionId

type StartGraphRequestActionId struct {
	// contains filtered or unexported fields
}

func (StartGraphRequestActionId) MarshalJSON

func (c StartGraphRequestActionId) MarshalJSON() ([]byte, error)

func (*StartGraphRequestActionId) UnmarshalJSON

func (c *StartGraphRequestActionId) UnmarshalJSON(b []byte) error

func (StartGraphRequestActionId) Value added in v0.0.90

type StartGraphRequestActionIdEnum

type StartGraphRequestActionIdEnum struct {
	START StartGraphRequestActionId
}

func GetStartGraphRequestActionIdEnum

func GetStartGraphRequestActionIdEnum() StartGraphRequestActionIdEnum

type StartGraphResponse

type StartGraphResponse struct {

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode *string `json:"errorCode,omitempty"`

	// 启动图任务ID。请求失败时字段为空。 >可以查询jobId查看任务执行状态、获取返回结果
	JobId          *string `json:"jobId,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (StartGraphResponse) String

func (o StartGraphResponse) String() string

type StopGraphRequest

type StopGraphRequest struct {

	// 图ID。
	GraphId string `json:"graph_id"`

	// 图actionId
	ActionId StopGraphRequestActionId `json:"action_id"`
}

Request Object

func (StopGraphRequest) String

func (o StopGraphRequest) String() string

type StopGraphRequestActionId

type StopGraphRequestActionId struct {
	// contains filtered or unexported fields
}

func (StopGraphRequestActionId) MarshalJSON

func (c StopGraphRequestActionId) MarshalJSON() ([]byte, error)

func (*StopGraphRequestActionId) UnmarshalJSON

func (c *StopGraphRequestActionId) UnmarshalJSON(b []byte) error

func (StopGraphRequestActionId) Value added in v0.0.90

func (c StopGraphRequestActionId) Value() string

type StopGraphRequestActionIdEnum

type StopGraphRequestActionIdEnum struct {
	STOP StopGraphRequestActionId
}

func GetStopGraphRequestActionIdEnum

func GetStopGraphRequestActionIdEnum() StopGraphRequestActionIdEnum

type StopGraphResponse

type StopGraphResponse struct {

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode *string `json:"errorCode,omitempty"`

	// 关闭图任务ID。请求失败时为空。 >可以查询jobId查看任务执行状态、获取返回结果
	JobId          *string `json:"jobId,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (StopGraphResponse) String

func (o StopGraphResponse) String() string

type SysTagsRes

type SysTagsRes struct {

	// 企业项目的key填:_sys_enterprise_project_id。
	Key *string `json:"key,omitempty"`

	// 企业项目的id。可以从企业项目获取。
	Value *string `json:"value,omitempty"`
}

func (SysTagsRes) String

func (o SysTagsRes) String() string

type UnbindEipReq

type UnbindEipReq struct {

	// 弹性公网IP的ID。
	EipId string `json:"eipId"`
}

This is a auto create Body Object

func (UnbindEipReq) String

func (o UnbindEipReq) String() string

type UpgradeGraphReq

type UpgradeGraphReq struct {

	// 升级到的版本,必须大于当前图版本。
	UpgradeVersion string `json:"upgradeVersion"`

	// 是否强制升级。取值为true或false,默认为false。 - true:强制升级,会中断升级时已经在处理的任务,比如运行算法长任务,可能会造成少量请求失败。 - false:非强制升级,会等待已经运行的业务,升级过程可能较慢。
	ForceUpgrade *bool `json:"forceUpgrade,omitempty"`
}

This is a auto create Body Object

func (UpgradeGraphReq) String

func (o UpgradeGraphReq) String() string

type UpgradeGraphRequest

type UpgradeGraphRequest struct {

	// 图ID。
	GraphId string `json:"graph_id"`

	// 图actionId
	ActionId UpgradeGraphRequestActionId `json:"action_id"`

	Body *UpgradeGraphReq `json:"body,omitempty"`
}

Request Object

func (UpgradeGraphRequest) String

func (o UpgradeGraphRequest) String() string

type UpgradeGraphRequestActionId

type UpgradeGraphRequestActionId struct {
	// contains filtered or unexported fields
}

func (UpgradeGraphRequestActionId) MarshalJSON

func (c UpgradeGraphRequestActionId) MarshalJSON() ([]byte, error)

func (*UpgradeGraphRequestActionId) UnmarshalJSON

func (c *UpgradeGraphRequestActionId) UnmarshalJSON(b []byte) error

func (UpgradeGraphRequestActionId) Value added in v0.0.90

type UpgradeGraphRequestActionIdEnum

type UpgradeGraphRequestActionIdEnum struct {
	UPGRADE UpgradeGraphRequestActionId
}

func GetUpgradeGraphRequestActionIdEnum

func GetUpgradeGraphRequestActionIdEnum() UpgradeGraphRequestActionIdEnum

type UpgradeGraphResponse

type UpgradeGraphResponse struct {

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode *string `json:"errorCode,omitempty"`

	// 执行该异步任务的jobId。 >可以查询jobId查看任务执行状态、获取返回结果
	JobId          *string `json:"jobId,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpgradeGraphResponse) String

func (o UpgradeGraphResponse) String() string

type UploadFromObsReq added in v0.0.69

type UploadFromObsReq struct {

	// 元数据存储地址。
	MetadataPath string `json:"metadataPath"`

	// 元数据的名字。
	Name string `json:"name"`

	// 对元数据的描述。
	Description *string `json:"description,omitempty"`

	Encryption *EncryptionReq `json:"encryption,omitempty"`
}

func (UploadFromObsReq) String added in v0.0.69

func (o UploadFromObsReq) String() string

type UploadFromObsRequest added in v0.0.69

type UploadFromObsRequest struct {
	Body *UploadFromObsReq `json:"body,omitempty"`
}

Request Object

func (UploadFromObsRequest) String added in v0.0.69

func (o UploadFromObsRequest) String() string

type UploadFromObsResponse added in v0.0.69

type UploadFromObsResponse struct {

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误信息。
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// 系统提示信息,执行成功时,字段可能为空。执行失败时,用于显示错误码。
	ErrorCode *string `json:"errorCode,omitempty"`

	// 元数据的id。
	Id *string `json:"id,omitempty"`

	// 元数据的名字。
	Name           *string `json:"name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UploadFromObsResponse) String added in v0.0.69

func (o UploadFromObsResponse) String() string

type VertexsetPath

type VertexsetPath struct {

	// OBS文件路径
	Path string `json:"path"`

	// OBS文件导入日志存储文件
	Log *string `json:"log,omitempty"`

	// - OBS文件导入状态。 - success:完全成功 - failed:完全失败 - partFailed:部分成功
	Status string `json:"status"`

	// 导入失败原因
	Cause *string `json:"cause,omitempty"`

	// 导入总行数。其值为-1时表示当前版本没有返回该字段。
	TotalLines *int64 `json:"totalLines,omitempty"`

	// 导入失败行数。其值为-1时表示当前版本没有返回该字段。
	FailedLines *int64 `json:"failedLines,omitempty"`

	// 导出成功行数。其值为-1时表示当前版本没有返回该字段。
	SuccessfulLines *int64 `json:"successfulLines,omitempty"`
}

点数据

func (VertexsetPath) String

func (o VertexsetPath) String() string

type VertexsetPath1

type VertexsetPath1 struct {

	// 导入OBS文件对应的jobId。
	JobId string `json:"jobId"`

	// OBS存储路径,不包含OBS Endpoint。
	Path string `json:"path"`

	// OBS文件导入状态。  - success:完全导入成功 - partiallyFailed:部分失败 - failed:完全导入失败
	Status string `json:"status"`
}

func (VertexsetPath1) String

func (o VertexsetPath1) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL