JDBC Driver for Google Contacts

Build 25.0.9434

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 Accepts Input Streams Description
Id String True False The Id of the contact.
Action String True False Update or Delete operation you want to perform on Contact Photo. Possible values: Update, Delete.
FileSource String False False The complete filepath of the photo to be uploaded. You need to specify either this field or URL.
URL String False 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.
Content String False True The content as InputStream to be uploading when LocalFilePath is not specified.

Result Set Columns

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

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434