רישום ביומן של Cloud Translation

במאמר הזה מפורטות השיטות שנבדקות ב-Cloud Translation. Google Cloud שירותי יוצרים יומני ביקורת שבהם מתועדים אירועי גישה למשאבי Google Cloud ופעילויות אדמין שנעשות בהם. אתם יכולים לקרוא מידע נוסף על יומני הביקורת של Cloud במאמרים האלה:

הערות

יומני ביקורת זמינים רק ב-Cloud Translation – Advanced‏ (גרסה 3), ולא ב-Cloud Translation – Basic‏ (גרסה 2).

שם השירות

כדי לראות את יומני הביקורת של Cloud Translation:

  1. נכנסים לדף Logs Explorer במסוף Google Cloud :

    כניסה לדף Logs Explorer

  2. מעתיקים את השאילתה הבאה לשדה Query ב-Logs Explorer ולוחצים על Run query.

        protoPayload.serviceName="translate.googleapis.com"
      

קודי Method לפי סוג ההרשאה

לכל הרשאה ב-IAM יש מאפיין type עם enum שיכול להיות אחד מארבעת הערכים הבאים: ADMIN_READ,‏ ADMIN_WRITE,‏ DATA_READ או DATA_WRITE. כשקוראים ל-method, במסגרת Cloud Translation נוצר יומן ביקורת שהקטגוריה שלו תלויה במאפיין type של ההרשאה שנדרשת לביצוע ה-method. ה-methods שבשבילן צריך הרשאה ב-IAM עם הערכים DATA_READ‏, DATA_WRITE או ADMIN_READ במאפיין type יוצרות יומני ביקורת של Data Access. ה-methods שבשבילן צריך הרשאה ב-IAM עם הערכים ADMIN_WRITE במאפיין type יוצרות יומני ביקורת של Admin Activity.

ה-methods של ה-API ברשימה הבאה שמסומנות ב-(LRO) הן פעולות ממושכות. בדרך כלל, ה-methods האלה יוצרות שתי רשומות ביומן הביקורת: אחת כשהפעולה מתחילה ואחת כשהיא מסתיימת. אתם יכולים לקרוא מידע נוסף במאמר בנושא יומני ביקורת של פעולות ממושכות.
סוג ההרשאה Methods
ADMIN_READ google.cloud.translation.v3.TranslationService.GetAdaptiveMtDataset
google.cloud.translation.v3.TranslationService.GetAdaptiveMtFile
google.cloud.translation.v3.TranslationService.GetDataset
google.cloud.translation.v3.TranslationService.GetGlossary
google.cloud.translation.v3.TranslationService.GetModel
google.cloud.translation.v3.TranslationService.GetSupportedLanguages
google.cloud.translation.v3.TranslationService.ListAdaptiveMtDatasets
google.cloud.translation.v3.TranslationService.ListAdaptiveMtFiles
google.cloud.translation.v3.TranslationService.ListAdaptiveMtSentences
google.cloud.translation.v3.TranslationService.ListDatasets
google.cloud.translation.v3.TranslationService.ListGlossaries
google.cloud.translation.v3.TranslationService.ListModels
google.cloud.translation.v3beta1.TranslationService.GetGlossary
google.cloud.translation.v3beta1.TranslationService.GetSupportedLanguages
google.cloud.translation.v3beta1.TranslationService.ListGlossaries
google.longrunning.Operations.GetOperation
google.longrunning.Operations.ListOperations
google.longrunning.Operations.WaitOperation
ADMIN_WRITE google.cloud.translation.v3.TranslationService.CreateAdaptiveMtDataset
google.cloud.translation.v3.TranslationService.CreateDataset
google.cloud.translation.v3.TranslationService.CreateGlossary (LRO)
google.cloud.translation.v3.TranslationService.CreateModel
google.cloud.translation.v3.TranslationService.DeleteAdaptiveMtDataset