با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
SetCredentialsResponse
سازنده برای ایجاد پاسخ setCredentials() برای پروژه اسکریپت شما.
function setCredentials(request) {
var isValid = checkForValidCreds(request);
if (isValid) {
// store the creds somewhere.
}
return cc.newSetCredentialsResponse()
.setIsValid(isValid)
.build();
}
تاریخ آخرین بهروزرسانی 2025-01-14 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-01-14 بهوقت ساعت هماهنگ جهانی."],[[["`SetCredentialsResponse` helps you create a response for your script project's `setCredentials()` function, indicating whether the provided credentials are valid."],["You can use the `setIsValid()` method to set the validation status (true/false) and `build()` to finalize and return the response object in the required format for Data Studio."],["For debugging, `printJson()` prints the JSON representation of the `SetCredentialsResponse` object."]]],[]]