Class Card
Card
Una tarjeta contextual que representa una sola vista en la IU.
var cardSection = CardService.newCardSection();
// Finish building the card section ...
var card = CardService.newCardBuilder()
.setName("Card name")
.setHeader(CardService.newCardHeader().setTitle("Card title"))
.addSection(cardSection)
.build();
Métodos
Método | Tipo de datos que se muestra | Descripción breve |
printJson() | String | Imprime la representación JSON de este objeto. |
Documentación detallada
printJson()
Imprime la representación JSON de este objeto. Esto es solo para depuración.
Volver
String
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-08-17 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Falta la información que necesito"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Muy complicado o demasiados pasos"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Desactualizado"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Problema de traducción"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Problema con las muestras o los códigos"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Otro"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Fácil de comprender"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Resolvió mi problema"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Otro"
}]