SAS Portal API

服務:sasportal.googleapis.com

如要呼叫這項服務,建議您使用 Google 提供的用戶端程式庫。如果您的應用程式需要使用自己的程式庫來呼叫此服務,請在發出 API 要求時提供下列資訊。

探索文件

探索文件是一種機器可解讀的規格,用於說明和使用 REST API。此文件用於建構用戶端程式庫、IDE 外掛程式,以及與 Google API 互動的其他工具。一項服務可能會提供多個探索文件。這項服務提供下列探索文件:

服務端點

服務端點是指定 API 服務網路位址的基準網址。一項服務可能有多個服務端點。這項服務有以下服務端點,且下方的 URI 皆以此服務端點為基準:

  • https://sasportal.googleapis.com

REST 資源:v1alpha1.customers

方法
get GET /v1alpha1/{name=customers/*}
傳回要求的 customer
list GET /v1alpha1/customers
傳回要求的 customers 清單。
patch PATCH /v1alpha1/{customer.name=customers/*}
更新現有的 customer

REST 資源:v1alpha1.customers.deploys

方法
create POST /v1alpha1/{parent=customers/*}/deployments
建立新的 deployment
delete DELETE /v1alpha1/{name=customers/*/deployments/*}
刪除deployment
get GET /v1alpha1/{name=customers/*/deployments/*}
傳回要求的 deployment
list GET /v1alpha1/{parent=customers/*}/deployments
deployments
move POST /v1alpha1/{name=customers/*/deployments/*}:move
deployment 移至另一個 nodecustomer 下。
patch PATCH /v1alpha1/{deployment.name=customers/*/deployments/*}
更新現有的 deployment

REST 資源:v1alpha1.customers.deploys.devices

方法
create POST /v1alpha1/{parent=customers/*/deployments/*}/devices
nodecustomer 下建立 device
createSigned POST /v1alpha1/{parent=customers/*/deployments/*}/devices:createSigned
nodecustomer 下建立已簽署的 device
list GET /v1alpha1/{parent=customers/*/deployments/*}/devices
nodecustomer 下方列出 devices

REST 資源:v1alpha1.customers.devices

方法
create POST /v1alpha1/{parent=customers/*}/devices
nodecustomer 下建立 device
createSigned POST /v1alpha1/{parent=customers/*}/devices:createSigned
nodecustomer 下建立已簽署的 device
delete DELETE /v1alpha1/{name=customers/*/devices/*}
刪除device
get GET /v1alpha1/{name=customers/*/devices/*}
取得 device 的詳細資料。
list GET /v1alpha1/{parent=customers/*}/devices
nodecustomer 下方列出 devices
move POST /v1alpha1/{name=customers/*/devices/*}:move
device 移至另一個 nodecustomer 下。
patch PATCH /v1alpha1/{device.name=customers/*/devices/*}
更新 device
signDevice POST /v1alpha1/{device.name=customers/*/devices/*}:signDevice
簽署 device
updateSigned PATCH /v1alpha1/{name=customers/*/devices/*}:updateSigned
更新已簽署的 device

REST 資源:v1alpha1.customers.nodes

方法
create POST /v1alpha1/{parent=customers/*}/nodes
建立新的 node
delete DELETE /v1alpha1/{name=customers/*/nodes/*}
刪除node
get GET /v1alpha1/{name=customers/*/nodes/*}
傳回要求的 node
list GET /v1alpha1/{parent=customers/*}/nodes
nodes
move POST /v1alpha1/{name=customers/*/nodes/*}:move
node 移至另一個 nodecustomer 下。
patch PATCH /v1alpha1/{node.name=customers/*/nodes/*}
更新現有的 node

REST 資源:v1alpha1.customers.nodes.deploys

方法
create POST /v1alpha1/{parent=customers/*/nodes/*}/deployments
建立新的 deployment
list GET /v1alpha1/{parent=customers/*/nodes/*}/deployments
deployments

REST 資源:v1alpha1.customers.nodes.devices

方法
create POST /v1alpha1/{parent=customers/*/nodes/*}/devices
nodecustomer 下建立 device
createSigned POST /v1alpha1/{parent=customers/*/nodes/*}/devices:createSigned
nodecustomer 下建立已簽署的 device
list GET /v1alpha1/{parent=customers/*/nodes/*}/devices
nodecustomer 下方列出 devices

REST 資源:v1alpha1.customers.nodes.nodes

方法
create POST /v1alpha1/{parent=customers/*/nodes/*}/nodes
建立新的 node
list GET /v1alpha1/{parent=customers/*/nodes/*}/nodes
nodes

REST 資源:v1alpha1.deploys

方法
get GET /v1alpha1/{name=deployments/*}
傳回要求的 deployment

REST 資源:v1alpha1.deploys.devices

方法
delete DELETE /v1alpha1/{name=deployments/*/devices/*}
刪除device
get GET /v1alpha1/{name=deployments/*/devices/*}
取得 device 的詳細資料。
move POST /v1alpha1/{name=deployments/*/devices/*}:move
device 移至另一個 nodecustomer 下。
patch PATCH /v1alpha1/{device.name=deployments/*/devices/*}
更新 device
signDevice POST /v1alpha1/{device.name=deployments/*/devices/*}:signDevice
簽署 device
updateSigned PATCH /v1alpha1/{name=deployments/*/devices/*}:updateSigned
更新已簽署的 device

REST 資源:v1alpha1.installer

方法
generateSecret POST /v1alpha1/installer:generateSecret
產生要與 ValidateInstaller 搭配使用的密鑰。
validate POST /v1alpha1/installer:validate
驗證認證專業安裝人數 (CPI) 的身分。

REST 資源:v1alpha1.nodes

方法
get GET /v1alpha1/{name=nodes/*}
傳回要求的 node

REST 資源:v1alpha1.nodes.deploys

方法
delete DELETE /v1alpha1/{name=nodes/*/deployments/*}
刪除deployment
get GET /v1alpha1/{name=nodes/*/deployments/*}
傳回要求的 deployment
list GET /v1alpha1/{parent=nodes/*}/deployments
deployments
move POST /v1alpha1/{name=nodes/*/deployments/*}:move
deployment 移至另一個 nodecustomer 下。
patch PATCH /v1alpha1/{deployment.name=nodes/*/deployments/*}
更新現有的 deployment

REST 資源:v1alpha1.nodes.deploys.devices

方法
create POST /v1alpha1/{parent=nodes/*/deployments/*}/devices
nodecustomer 下建立 device
createSigned POST /v1alpha1/{parent=nodes/*/deployments/*}/devices:createSigned
nodecustomer 下建立已簽署的 device
list GET /v1alpha1/{parent=nodes/*/deployments/*}/devices
nodecustomer 下方列出 devices

REST 資源:v1alpha1.nodes.devices

方法
create POST /v1alpha1/{parent=nodes/*}/devices
nodecustomer 下建立 device
createSigned POST /v1alpha1/{parent=nodes/*}/devices:createSigned
nodecustomer 下建立已簽署的 device
delete DELETE /v1alpha1/{name=nodes/*/devices/*}
刪除device
get GET /v1alpha1/{name=nodes/*/devices/*}
取得 device 的詳細資料。
list GET /v1alpha1/{parent=nodes/*}/devices
nodecustomer 下方列出 devices
move POST /v1alpha1/{name=nodes/*/devices/*}:move
device 移至另一個 nodecustomer 下。
patch PATCH /v1alpha1/{device.name=nodes/*/devices/*}
更新 device
signDevice POST /v1alpha1/{device.name=nodes/*/devices/*}:signDevice
簽署 device
updateSigned PATCH /v1alpha1/{name=nodes/*/devices/*}:updateSigned
更新已簽署的 device

REST 資源:v1alpha1.nodes.nodes

方法
create POST /v1alpha1/{parent=nodes/*}/nodes
建立新的 node
delete DELETE /v1alpha1/{name=nodes/*/nodes/*}
刪除node
get GET /v1alpha1/{name=nodes/*/nodes/*}
傳回要求的 node
list GET /v1alpha1/{parent=nodes/*}/nodes
nodes
move POST /v1alpha1/{name=nodes/*/nodes/*}:move
node 移至另一個 nodecustomer 下。
patch PATCH /v1alpha1/{node.name=nodes/*/nodes/*}
更新現有的 node

REST 資源:v1alpha1.nodes.nodes.deploys

方法
create POST /v1alpha1/{parent=nodes/*/nodes/*}/deployments
建立新的 deployment
list GET /v1alpha1/{parent=nodes/*/nodes/*}/deployments
deployments

REST 資源:v1alpha1.nodes.nodes.devices

方法
create POST /v1alpha1/{parent=nodes/*/nodes/*}/devices
nodecustomer 下建立 device
createSigned POST /v1alpha1/{parent=nodes/*/nodes/*}/devices:createSigned
nodecustomer 下建立已簽署的 device
list GET /v1alpha1/{parent=nodes/*/nodes/*}/devices
nodecustomer 下方列出 devices

REST 資源:v1alpha1.nodes.nodes.nodes

方法
create POST /v1alpha1/{parent=nodes/*/nodes/*}/nodes
建立新的 node
list GET /v1alpha1/{parent=nodes/*/nodes/*}/nodes
nodes

REST 資源:v1alpha1.policies

方法
get POST /v1alpha1/policies:get
取得資源的存取權控管政策。
set POST /v1alpha1/policies:set
設定指定資源的存取權控管政策。
test POST /v1alpha1/policies:test
傳回呼叫者對指定資源的權限。