JDBC Driver for Google Contacts

Build 23.0.8839

UpdateOrDeleteContactPhoto

Update or Delete a contact's photo.

ストアドプロシージャ固有の情報

連絡先の写真を更新/削除するプロセス

GoogleContacts は、EXEC クエリでは、大きいカラムサブセットを扱うことを許可していません。これらのカラムは、通常= 比較でのみ使用できます。UpdateOrDeleteContactPhoto で利用可能なカラムはId、Action、FileSource、およびUrl です。

Note:Id カラムが必須です。Action 属性は実行する操作を定義します。Action でサポートされている操作は'UPDATE、Delete' です。連絡先の写真を更新するには、FileSource またはURL のいずれかを指定する必要があります。 次に例を示します。

EXECUTE UpdateOrDeleteContactPhoto Id = 'c2845916184580148264', Action = 'Update', FileSource = 'D:\GooglePeople_API_Outputs\contactphoto.png'

EXECUTE UpdateOrDeleteContactPhoto Id = 'c2845916184580148264', Action = 'Update', Url = 'https://play-lh.googleusercontent.com/-Xqd3k7aJqZY/AAAAAAAAAAI/AAAAAAAAAAA/AMZuuckWFzqX627ygMhiilKbqmIA-T_AsQ/photo.jpg'

EXECUTE UpdateOrDeleteContactPhoto Id = 'c2845916184580148264', Action = 'Delete'

Input

Name Type Required Description
Id String True The Id of the contact.
Action String True Update or Delete operation you want to perform on Contact Photo. Possible values: Update, Delete
FileSource String False The complete filepath of the photo to be uploaded. You need to specify either this field or URL.
URL String False An accessible URL the image will be downloaded from and then posted to the target. You need to specify either this field or FileSource.

Result Set Columns

Name Type Description
Success String Returns True if contact group has been modified.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839