Class AuthorizationAction
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
AuthorizationAction
Tıklandığında kullanıcıyı AuthorizationUrl'ye yönlendiren bir yetkilendirme işlemi.
CardService.newAuthorizationAction().setAuthorizationUrl('http://google.com/');
Ayrıntılı belgeler
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 kullanılan 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: 2026-04-13 UTC.
[null,null,["Son güncelleme tarihi: 2026-04-13 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"]]