Method: nodes.nodes.devices.create
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
HTTP isteği
POST https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*/nodes/*}/devices
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
parent |
string
Zorunlu. Ana kaynağın adı.
|
İstek metni
İstek metni, Device
öğesinin bir örneğini içerir.
Yanıt metni
Başarılıysa yanıt gövdesi, yeni oluşturulmuş Device
örneğini içerir.
Yetkilendirme Kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/sasportal
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2022-11-02 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2022-11-02 UTC."],[[["Creates a device under a node or customer."],["Uses `POST https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*/nodes/*}/devices` as the HTTP request."],["Requires `parent` as a path parameter to specify the name of the parent resource."],["The request body should contain a Device instance, and a successful response will return the newly created Device instance."],["Needs `https://www.googleapis.com/auth/sasportal` authorization scope."]]],["This describes the creation of a device resource. A `POST` request is sent to a specified URL, with the parent resource name provided as a path parameter. The request body includes a `Device` instance. Upon success, a new `Device` instance is returned in the response body. The operation requires a specific OAuth scope: `https://www.googleapis.com/auth/sasportal`. The URL uses gRPC Transcoding syntax.\n"]]