检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
To prevent failures in restoring the imported graph data during system restart, do not delete the data stored on OBS when the graph is in use. The default separator of data columns is comma (,). You cannot define a separator. Parent topic: API Use
Table 5 parameters Parameter Mandatory Type Description schemaPath Yes String OBS path for storing the metadata file. Only files are supported. edgesetPath Yes String OBS path for storing the edge file.
Storage Path: Select an OBS path for storing the metadata file. If you create metadata for the first time, you need to enable OBS. (You are advised to obtain user authorization and automatically create OBS buckets for the metadata.)
Storage Path: Enter an OBS path for storing the metadata file. Figure 1 Copying a metadata file Click OK. The copy of the metadata file will be displayed on the Metadata Management page. Parent topic: Managing Metadata
Public services, such as Elastic Cloud Server (ECS), Elastic Volume Service (EVS), Object Storage Service (OBS), Virtual Private Cloud (VPC), Elastic IP (EIP), and Image Management Service (IMS), are shared within the same region.
Before the export, ensure that the path the file name points to is empty so that the existing data on OBS will not be overwritten during the export.
(Optional) Data storage space GES data can be uploaded or exported through Object Storage Service (OBS), and storage fees are charged according to OBS billing rules.For more details, see OBS Pricing Details.
The CSV format is used by default. schemaPath No String OBS path of the metadata file of the new data logDir No String Directory for storing logs of imported graphs.
For details, see paginate parameter description. obsParameters Yes String OBS parameters.
CSV and TXT files can be imported. schemaPath Yes String OBS path of the metadata file of the new data logDir No String Directory for storing logs of imported graphs.
The OBS path for exporting the graph is demo_movie/, the name of the exported edge file is set_edge, the name of the exported vertex file is set_vertex, and the name of the exported metadata file is set_schema.xml.
For details about how to obtain the project ID, see Obtaining a Project ID. graph_name Yes String Graph name Request Parameters Table 2 Request body parameters Parameter Mandatory Type Description graphExportPath Yes String OBS path to which a graph is exported edgeSetName Yes String
This eliminates the previously tedious intermediate steps of generating metadata, exporting to CSV, uploading to OBS, and importing to GES, significantly facilitating the process of importing user data into the graph.
backup deleteGraphBackup Importing a backup graph importBackup Exporting a backup graph exportBackup Creating a metadata file metadata createMetadata Deleting a metadata file metadata deleteMetadata Uploading a metadata file metadata uploadMetadata Importing a metadata file from OBS
Note that stopping a running graph instance will only stop the charges for the basic resource graph size (number of edges), but charges for graph data stored in OBS buckets and public network bandwidth will continue.
Generating a Schema Structure Function This API is used to generate a schema structure where labels are represented with vertices and the relationship between the labels are represented with edges, and store the schema structure in an OBS bucket.
Table 3 Request body parameters Parameter Mandatory Type Description backup_id Yes String Backup ID export_path Yes String Export path in OBS Response Parameters Status code: 200 Table 4 Response body parameter Parameter Type Description job_id String ID of the asynchronous job Status
Table 3 Request body parameter Parameter Mandatory Type Description import_path Yes String OBS path the backup is to be imported from Response Parameters Status code: 200 Table 4 Response body parameter Parameter Type Description job_id String ID of the asynchronous job Status code
To prevent failures in restoring the imported graph data during system restarting, do not delete the data stored on OBS when the graph is in use.
To prevent failures in restoring the updated graph data during system restarting, do not delete the data stored on OBS when the graph is in use. URI POST /ges/v1.0/{project_id}/graphs/{graph_name}/action?