Class Card
    
    
      
    
    
      
      تنظيم صفحاتك في مجموعات
    
    
      
      يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
البطاقة
بطاقة سياق تمثّل عرضًا واحدًا في واجهة المستخدِم
const cardSection = CardService.newCardSection();
// Finish building the card section ...
const card = CardService.newCardBuilder()
                 .setName('Card name')
                 .setHeader(CardService.newCardHeader().setTitle('Card title'))
                 .addSection(cardSection)
                 .build();
 
الطُرق
| الطريقة | نوع القيمة التي يتم عرضها | وصف قصير | 
printJson() | String | تُطبع تمثيل JSON لهذا الكائن. | 
 
مستندات تفصيلية
printJson()
تُطبع تمثيل JSON لهذا الكائن. يُستخدم هذا الخيار لتصحيح الأخطاء فقط.
الإرجاع
String
 
 
 
  
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
  تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
  
  
  
    
      [null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[],["A `Card` is a UI element representing a single view, built using `CardService`. The process involves creating a `CardSection`, then a `Card` builder. The builder sets the `Card`'s name, header, and adds the `CardSection`. Finally, the `Card` is built. The `printJson()` method returns a JSON string representation of the `Card` for debugging. This method is intended for debugging purposes only.\n"]]