Class AuthorizationAction
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Yetkilendirmeİşlemi
Tıklandığında kullanıcıyı AuthorizationUrl'ye gönderecek bir yetkilendirme işlemi.
CardService.newAuthorizationAction().setAuthorizationUrl('http://google.com/');
Ayrıntılı dokümanlar
setAuthorizationUrl(authorizationUrl)
Kullanıcının yetkilendirme isteminden yönlendirildiği yetkilendirme URL'sini ayarlar. Zorunlu.
Parametreler
Ad | Tür | Açıklama |
authorizationUrl | String | Ayarlanacak yetkilendirme URL'si. |
Return
AuthorizationAction
: Zincirleme için bu nesne.
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: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-26 UTC."],[],["The `AuthorizationAction` object directs users to a specified URL when clicked. The core functionality involves using the `setAuthorizationUrl(authorizationUrl)` method to define this URL. This method requires a string parameter, `authorizationUrl`, which is the destination the user will be sent to. This method returns the `AuthorizationAction` object, allowing for method chaining. The `CardService.newAuthorizationAction()` creates the action to use with the `setAuthorizationUrl`.\n"],null,[]]