Meta tags:
description= Learn how to use Apps Script Class EmailField. An email field in a Contact.;
Headings (most frequently used words):
authorization, return, parameters, methods, deprecated, setlabel, class, emailfield, stay, organized, with, collections, save, and, categorize, content, based, on, your, preferences, page, summary, detailed, documentation, getaddress, getlabel, isprimary, setaddress, address, setasprimary, field, label, deleteemailfield, getdisplayname, setdisplayname, name, google, workspace, for, developers, tools, connect,
Text of the page (most frequently used words):
google (66), the (64), field (59), this (50), for (44), api (44), overview (40), #address (33), email (29), services (29), advanced (27), classes (26), label (25), doe (22), john (22), contacts (22), enums (21), apps (20), script (20), authorization (20), const (20), name (19), method (17), contactsapp (17), with (16), more (15), and (15), that (15), sets (15), contact (15), scripts (14), get (14), display (13), use (12), set (12), primary (12), return (11), deprecated (11), addressfields (11), console (10), workspace (10), https (10), www (10), com (10), feeds (10), require (10), one (10), following (10), scopes (10), getcontactsbyname (10), content (9), string (9), drive (9), thumb (8), cloud (7), youtube (7), admin (7), support (7), new (7), type (7), getaddresses (7), can (7), similarly (7), emailfield (7), sheets (7), resource (7), service (6), developer (6), samples (6), description (6), workemail (6), chat (6), calendar (6), library (6), blog (5), other (5), down (5), chaining (5), used (5), logger (5), methods (5), called (5), any (5), associated (5), home (5), add (5), ons (5), gmail (5), client (5), data (5), color (5), interfaces (5), groups (5), español (4), all (4), products (4), developers (4), code (4), parameters (4), work (4), should (4), not (4), log (4), logs (4), from (4), first (4), homeaddress (4), fields (4), whether (4), gets (4), people (4), card (4), tasks (4), slides (4), docs (4), classroom (4), list (4), resources (4), textstyle (4), side (4), manager (4), analytics (4), twitter (3), newsletter (3), apis (3), explorer (3), dashboard (3), tools (3), release (3), notes (3), under (3), tag (3), page (3), license (3), useful (3), work_email (3), getemails (3), function (3), deletes (3), delete (3), has (3), reference (3), meet (3), forms (3), core (3), create (3), projects (3), contenttype (3), listitem (3), triggers (3), group (3), datasource (3), 한국어 (2), 日本語 (2), ภาษาไทย (2), বাংলা (2), हिंदी (2), فارسی (2), العربيّة (2), עברית (2), русский (2), türkçe (2), tiếng (2), việt (2), português (2), brasil (2), polski (2), italiano (2), indonesia (2), français (2), américa (2), latina (2), deutsch (2), english (2), terms (2), platform (2), your (2), information (2), need (2), too (2), date (2), last (2), updated (2), 2025 (2), utc (2), licensed (2), are (2), java (2), its (2), send (2), feedback (2), setdisplayname (2), getdisplayname (2), returns (2), deleteemailfield (2), apartment (2), setlabel (2), fieldvalue (2), main (2), home_address (2), contain (2), addresses (2), boolean (2), value (2), object (2), extendedfield (2), brief (2), instead (2), class (2), previews (2), updates (2), codelabs (2), how (2), started (2), training (2), builder (2), marketplace (2), extend (2), automate (2), share (2), vault (2), sites (2), keep (2), search (2), browser (2), libraries (2), file (2), run (2), manifest (2), visibility (2), verticalalignment (2), updatedraftbodytype (2), status (2), openas (2), onclose (2), horizontalalignment (2), composedemailtype (2), updatedrafttorecipientsaction (2), updatedraftsubjectaction (2), updatedraftccrecipientsaction (2), updatedraftbodyaction (2), updatedraftbccrecipientsaction (2), updatedraftactionresponsebuilder (2), updatedraftactionresponse (2), universalactionresponsebuilder (2), universalactionresponse (2), trigger (2), textinput (2), openlink (2), notification (2), navigation (2), linkpreview (2), image (2), griditem (2), editorfilescopeactionresponsebuilder (2), editorfilescopeactionresponse (2), driveitemsselectedactionresponsebuilder (2), driveitemsselectedactionresponse (2), composeactionresponsebuilder (2), composeactionresponse (2), calendareventactionresponsebuilder (2), calendareventactionresponse (2), buttonset (2), button (2), borderstyle (2), attachment (2), actionresponsebuilder (2), actionresponse (2), action (2), link (2), events (2), eventtype (2), properties (2), lock (2), cache (2), user (2), mimetype (2), url (2), html (2), position (2), textstylebuilder (2), charts (2), text (2), format (2), element (2), document (2), attribute (2), utilities (2), optimization (2), jdbc (2), bigquery (2), tables (2), shopping (2), merchant (2), reporting (2), doubleclick (2), video (2), adsense (2), vertex (2), maps (2), migrate (2), themecolortype (2), textdirection (2), themecolor (2), tablerow (2), tablecell (2), table (2), selection (2), paragraph (2), connected (2), range (2), namedrange (2), guides (2), manage, cookies, privacy, firebase, chrome, android, connect, watch, tutorials, videos, explore, our, copy, them, build, own, ask, question, stack, overflow, read, easy, understand, easytounderstand, solved, problem, solvedmyproblem, otherup, missing, missingtheinformationineed, complicated, many, steps, toocomplicatedtoomanysteps, out, outofdate, issue, samplescodeissue, otherdown, tell, except, otherwise, noted, details, see, registered, trademark, oracle, affiliates, site, policies, apache, creative, commons, attribution, retrieves, standard, work_address, setasprimary, 123, raleigh, 27601, setaddress, isprimary, labeled, getlabel, length, let, may, getaddress, detailed, documentation, void, some, such, also, provides, check, represents, within, users, outlined_flag, summary, save, categorize, based, preferences, stay, organized, collections, ruby, python, php, node, net, nullvalue, localizedmessage, executionresponse, executionerror, executestreamresponse, types, versions, update, deployments, updatecontent, getmetrics, getcontent, listscriptprocesses, processes, rest, homepagetrigger, editors, addons, entrypointtype, entrypointfeature, conferenceerrortype, entrypoint, conferenceparameter, conferenceerror, conferencedatabuilder, conferencedata, conferencedataservice, conferencing, wrapstyle, workflowdatasourcetype, variablebuttonsize, textinputmode, textbuttonstyle, switchcontroltype, selectioninputtype, responsetype, loadindicator, interaction, inputtype, imagestyle, imagecroptype, imagebuttonstyle, icon, horizontalsizestyle, griditemlayout, expressiondataconditiontype, expressiondataactiontype, driveitemtype, displaystyle, commondatasource, chiplistlayout, bordertype, workflowdatasource, widget, validation, updatedwidget, updatevisibilityaction, timepicker, textparagraph, textbutton, switch, suggestionsresponsebuilder, suggestionsresponse, suggestions, selectioninput, platformdatasource, overflowmenuitem, overflowmenu, materialicon, keyvalue, imagecropstyle, imagecomponent, imagebutton, iconimage, hostappdatasource, grid, fixedfooter, expressiondatacondition, expressiondataaction, expressiondata, eventaction, drivedatasourcespec, divider, dialogaction, dialog, decoratedtext, datetimepicker, datepicker, datasourceconfig, condition, commonwidgetaction, columns, column, collapsecontrol, chiplist, chip, chatspacedatasource, chatresponsebuilder, chatresponse, chatclientdatasource, chatactionresponse, carouselcard, carousel, cardwithid, cardsection, cardheader, cardbuilder, cardaction, authorizationexception, authorizationaction, actionstatus, cardservice, validationerrorseverity, sendstatus, listtype, fontweight, errorretryability, erroractionability, endnavigation, basicdatatype, addoncomposeuiactiontype, workflowvalidationerroraction, workflowtextformat, workflowaction, variabledata, valuemetadata, updatewidget, updatemessageaction, updateinlinepreviewaction, timestamp, textformaticon, textformatelement, textformatchip, styledtext, saveworkflowaction, returnoutputvariablesaction, returnelementerroraction, resourcetype, resourceretrievedaction, resourcefieldsdefinitionretrievedaction, resourcefield, resourcedata, renderactionbuilder, renderaction, removewidget, removesection, modifycard, listcontainer, insertwidget, insertsection, hyperlink, hostappaction, dynamicresourcedefinition, datatype, dataactionsresponse, createmessageaction, chatmessage, chatdataactionsresponsebuilder, addoncomposeuiactionresponsebuilder, addoncomposeuiactionresponse, accessorywidget, addonsresponseservice, response, quotas, limits, allowlist, urls, macros, web, executables, event, objects, installable, simple, automation, project, triggersource, installationsource, authorizationstatus, authmode, triggerbuilder, statetokenbuilder, spreadsheettriggerbuilder, formtriggerbuilder, documenttriggerbuilder, clocktriggerbuilder, calendartriggerbuilder, authorizationinfo, scriptapp, userproperties, scriptproperties, propertiesservice, lockservice, cacheservice, weekday, month, colortype, blobsource, rgbcolor, promptresponse, menu, blob, session, base, execution, mailapp, mail, xframeoptionsmode, sandboxmode, htmltemplate, htmloutputmetatag, htmloutput, htmlservice, host, history, textoutput, contentservice, pointstyle, pickervalueslayout, orientation, matchtype, curvestyle, columntype, charttype, chartmergestrategy, charthiddendimensionstrategy, datatablesource, tablechartbuilder, stringfilterbuilder, scatterchartbuilder, piechartbuilder, numberrangefilterbuilder, linechartbuilder, dataviewdefinitionbuilder, dataviewdefinition, datatablebuilder, datatable, columnchartbuilder, chartoptions, chart, barchartbuilder, areachartbuilder, processinginstruction, namespace, entityref, doctype, comment, cdata, xmlservice, xml, rsaalgorithm, macalgorithm, digestalgorithm, charset, variabletype, linearoptimizationsolution, linearoptimizationengine, linearoptimizationconstraint, linearoptimizationservice, usability, httpresponse, urlfetchapp, fetch, jdbctimestamp, jdbctime, jdbcstruct, jdbcstatement, jdbcsavepoint, jdbcsqlxml, jdbcrowid, jdbcresultsetmetadata, jdbcresultset, jdbcref, jdbcpreparedstatement, jdbcparametermetadata, jdbcdate, jdbcdatabasemetadata, jdbcconnection, jdbcclob, jdbccallablestatement, jdbcblob, jdbcarray, database, connections, utility, fieldtype, bigqueryparametertype, authtype, aggregationtype, usererror, textarea, setcredentialsresponse, selectsingle, selectmultiple, optionbuilder, info, getschemaresponse, getdataresponse, getauthtyperesponse, debugerror, config, communityconnector, checkbox, bigqueryconfig, datastudioapp, studio, dcm, dfa, trafficking, campaigns, dbm, bid, dv360, 360, management, ads, center, languageapp, translate, mode, markersize, avoid, staticmapenums, staticmap, geocoder, elevationsampler, directionfinderenums, directionfinder, sensitivity, priority, gender, urlfield, phonefield, imfield, datefield, customfield, contactgroup, companyfield, addressfield, identity, role, groupsapp, videosourcetype, textbaselineoffset, spacingmode, slideposition, slidelinkingmode, sheetschartembedtype, shapetype, selectiontype, predefinedlayout, placeholdertype, paragraphalignment, pagetype, pageelementtype, pagebackgroundtype, listpreset, linktype, linetype, linefilltype, linecategory, filltype, dashstyle, contentalignment, cellmergestate, autofittype, autotexttype, arrowstyle, alignmentposition, wordart, textrange, tablecolumn, tablecellrange, speakerspotlight, solidfill, slide, sheetschart, shape, presentation, point, picturefill, paragraphstyle, pagerange, pageelementrange, pageelement, pagebackground, notespage, notesmaster, master, liststyle, linefill, line, layout, fill, connectionsite, colorscheme, border, autofit, autotext, affinetransformbuilder, affinetransform, slidesapp, wrapstrategy, valuetype, texttocolumnsdelimiter, sortorder, sheettype, relativedate, recalculationinterval, protectiontype, pivotvaluedisplaytype, pivottablesummarizefunction, interpolationtype, groupcontroltoggleposition, frequencytype, direction, dimension, developermetadatavisibility, developermetadatalocationtype, datetimegroupingruletype, datavalidationcriteria, datasourcetype, datasourcerefreshscope, datasourceparametertype, dataexecutionstate, dataexecutionerrorcode, copypastetype, booleancriteria, bandingtheme, autofillseries, textrotation, textfinder, spreadsheettheme, spreadsheet, sortspec, slicer, sheet, richtextvaluebuilder, richtextvalue, rangelist, protection, pivotvalue, pivottable, pivotgrouplimit, pivotgroup, pivotfilter, pageprotection, overgridimage, gradientcondition, filtercriteriabuilder, filtercriteria, filter, embeddedtablechartbuilder, embeddedscatterchartbuilder, embeddedpiechartbuilder, embeddedlinechartbuilder, embeddedhistogramchartbuilder, embeddedcombochartbuilder, embeddedcolumnchartbuilder, embeddedchartbuilder, embeddedchart, embeddedbarchartbuilder, embeddedareachartbuilder, drawing, developermetadatalocation, developermetadatafinder, developermetadata, datetimegroupingrule, datavalidationbuilder, datavalidation, datasourcetablefilter, datasourcetablecolumn, datasourcetable, datasourcespecbuilder, datasourcespec, datasourcesheetfilter, datasourcesheet, datasourcerefreshschedulefrequency, datasourcerefreshschedule, datasourcepivottable, datasourceparameter, datasourceformula, datasourcecolumn, datasourcechart, lookerdatasourcespecbuilder, lookerdatasourcespec, dataexecutionstatus, bigquerydatasourcespecbuilder, bigquerydatasourcespec, containerinfo, conditionalformatrulebuilder, conditionalformatrule, colorbuilder, cellimagebuilder, cellimage, booleancondition, banding, spreadsheetapp, gmailthread, gmailmessage, gmaillabel, gmaildraft, gmailattachment, gmailapp, ratingicontype, pagenavigationtype, itemtype, feedbacktype, destinationtype, alignment, item, videoitem, timeitem, textvalidationbuilder, textvalidation, textitem, sectionheaderitem, scaleitem, ratingitem, quizfeedbackbuilder, quizfeedback, paragraphtextvalidationbuilder, paragraphtextvalidation, paragraphtextitem, pagebreakitem, multiplechoiceitem, itemresponse, imageitem, gridvalidationbuilder, gridvalidation, formresponse, form, durationitem, datetimeitem, dateitem, choice, checkboxvalidationbuilder, checkboxvalidation, checkboxitem, checkboxgridvalidationbuilder, checkboxgridvalidation, checkboxgriditem, formapp, labels, activity, permission, access, folderiterator, folder, fileiterator, driveapp, textalignment, tabtype, positionedlayout, paragraphheading, glyphtype, fontfamily, elementtype, unsupportedelement, tableofcontents, tab, richlink, rangeelement, rangebuilder, positionedimage, person, pagebreak, inlineimage, inlinedrawing, horizontalrule, headersection, footnotesection, footnote, footersection, equationsymbol, equationfunctionargumentseparator, equationfunction, equation, documenttab, containerelement, bookmark, body, documentapp, gueststatus, eventtransparency, eventcolor, recurrencerule, eventrecurrence, eventguest, calendareventseries, calendarevent, calendarapp, reports, reseller, settings, migration, enterprise, directory, sign, skip,
Text of the page (random words):
assroom api groups overview groupsapp classes group enums role advanced services cloud identity groups api migrate from groups service people advanced services people api migrate from contacts service contacts overview contactsapp classes addressfield companyfield contact contactgroup customfield datefield emailfield imfield phonefield urlfield enums extendedfield field gender priority sensitivity tasks advanced services tasks api other google services google analytics advanced services analytics data api analytics admin api google maps overview maps classes directionfinder directionfinderenums elevationsampler geocoder staticmap staticmapenums enums avoid color format markersize mode type google translate overview languageapp vertex ai advanced services vertex ai api youtube advanced services youtube data api youtube analytics api youtube content id api more google ads merchant center adsense advanced services adsense management api display video 360 advanced services dv360 api doubleclick bid manager advanced services dbm reporting api doubleclick campaigns advanced services dcm dfa reporting and trafficking api shopping content advanced services merchant api google content api for shopping google data studio overview datastudioapp classes bigqueryconfig checkbox communityconnector config debugerror field fields getauthtyperesponse getdataresponse getschemaresponse info optionbuilder selectmultiple selectsingle setcredentialsresponse textarea textinput usererror enums aggregationtype authtype bigqueryparametertype fieldtype google tables advanced services tables api google tag manager advanced services tag manager api utility services api database connections bigquery advanced services bigquery api jdbc overview jdbc classes jdbcarray jdbcblob jdbccallablestatement jdbcclob jdbcconnection jdbcdatabasemetadata jdbcdate jdbcparametermetadata jdbcpreparedstatement jdbcref jdbcresultset jdbcresultsetmetadata jdbcrowid jdbcsqlxml jdbcsavepoint jdbcstatement jdbcstruct jdbctime jdbctimestamp url fetch overview urlfetchapp classes httpresponse data usability optimization optimization overview linearoptimizationservice classes linearoptimizationconstraint linearoptimizationengine linearoptimizationsolution enums status variabletype utilities overview utilities enums charset digestalgorithm macalgorithm rsaalgorithm xml overview xmlservice classes attribute cdata comment doctype document element entityref format namespace processinginstruction text interfaces content enums contenttype html content charts overview charts classes areachartbuilder barchartbuilder chart chartoptions columnchartbuilder datatable datatablebuilder dataviewdefinition dataviewdefinitionbuilder linechartbuilder numberrangefilterbuilder piechartbuilder scatterchartbuilder stringfilterbuilder tablechartbuilder textstyle textstylebuilder interfaces datatablesource enums charthiddendimensionstrategy chartmergestrategy charttype columntype curvestyle matchtype orientation pickervalueslayout pointstyle position content overview contentservice classes textoutput enums mimetype html overview google script history client side google script host client side google script run client side google script url client side htmlservice classes htmloutput htmloutputmetatag htmltemplate enums sandboxmode xframeoptionsmode mail overview mailapp script execution information base overview browser logger mimetype session console classes blob menu promptresponse rgbcolor ui user interfaces blobsource enums button buttonset colortype month weekday cache overview cacheservice classes cache lock overview lockservice classes lock properties overview propertiesservice scriptproperties userproperties classes properties script overview scriptapp classes authorizationinfo calendartriggerbuilder clocktriggerbuilder documenttriggerbuilder formtriggerbuilder service spreadsheettriggerbuilder statetokenbuilder trigger triggerbuilder enums authmode authorizationstatus eventtype installationsource triggersource script project resources automation triggers and events simple triggers installable triggers event objects manifest overview libraries advanced services web apps and api executables sheets macros allowlist urls quotas limits google workspace add ons services add ons response overview addonsresponseservice classes accessorywidget action actionresponse actionresponsebuilder addoncomposeuiactionresponse addoncomposeuiactionresponsebuilder attachment calendareventactionresponse calendareventactionresponsebuilder chatdataactionsresponsebuilder chatmessage color composeactionresponse composeactionresponsebuilder createmessageaction dataactionsresponse datatype driveitemsselectedactionresponse driveitemsselectedactionresponsebuilder dynamicresourcedefinition editorfilescopeactionresponse editorfilescopeactionresponsebuilder hostappaction hyperlink insertsection insertwidget link linkpreview listcontainer listitem modifycard navigation notification openlink removesection removewidget renderaction renderactionbuilder resourcedata resourcefield resourcefieldsdefinitionretrievedaction resourceretrievedaction resourcetype returnelementerroraction returnoutputvariablesaction saveworkflowaction styledtext textformatchip textformatelement textformaticon timestamp universalactionresponse universalactionresponsebuilder updatedraftactionresponse updatedraftactionresponsebuilder updatedraftbccrecipientsaction updatedraftbodyaction updatedraftccrecipientsaction updatedraftsubjectaction updatedrafttorecipientsaction updateinlinepreviewaction updatemessageaction updatewidget valuemetadata variabledata workflowaction workflowtextformat workflowvalidationerroraction enums addoncomposeuiactiontype basicdatatype composedemailtype contenttype endnavigation erroractionability errorretryability fontweight listtype onclose openas sendstatus textstyle updatedraftbodytype validationerrorseverity card overview cardservice classes action actionresponse actionresponsebuilder actionstatus attachment authorizationaction authorizationexception borderstyle button buttonset calendareventactionresponse calendareventactionresponsebuilder card cardaction cardbuilder cardheader cardsection cardwithid carousel carouselcard chatactionresponse chatclientdatasource chatresponse chatresponsebuilder chatspacedatasource chip chiplist collapsecontrol column columns commonwidgetaction composeactionresponse composeactionresponsebuilder condition datasourceconfig datepicker datetimepicker decoratedtext dialog dialogaction divider drivedatasourcespec driveitemsselectedactionresponse driveitemsselectedactionresponsebuilder editorfilescopeactionresponse editorfilescopeactionresponsebuilder eventaction expressiondata expressiondataaction expressiondatacondition fixedfooter grid griditem hostappdatasource iconimage image imagebutton imagecomponent imagecropstyle keyvalue linkpreview materialicon navigation notification openlink overflowmenu overflowmenuitem platformdatasource selectioninput suggestions suggestionsresponse suggestionsresponsebuilder switch textbutton textinput textparagraph timepicker trigger universalactionresponse universalactionresponsebuilder updatedraftactionresponse updatedraftactionresponsebuilder updatedraftbccrecipientsaction updatedraftbodyaction updatedraftccrecipientsaction updatedraftsubjectaction updatedrafttorecipientsaction updatevisibilityaction updatedwidget validation widget workflowdatasource enums bordertype chiplistlayout commondatasource composedemailtype contenttype displaystyle driveitemtype expressiondataactiontype expressiondataconditiontype griditemlayout horizontalalignment horizontalsizestyle icon imagebuttonstyle imagecroptype imagestyle inputtype interaction loadindicator onclose openas responsetype selectioninputtype status switchcontroltype textbuttonstyle textinputmode updatedraftbodytype variablebuttonsize verticalalignment visibility workflowdatasourcetype wrapstyle conferencing data overview conferencedataservice classes conferencedata conferencedatabuilder conferenceerror conferenceparameter entrypoint enums conferenceerrortype entrypointfeature entrypointtype manifest addons resource calendar resource drive resource gmail resource editors resource meet resource homepagetrigger resource add ons api apps script api v1 overview rest resources processes overview list listscriptprocesses projects overview create get getcontent getmetrics updatecontent projects deployments overview create delete get list update projects versions overview create get list scripts overview run types executestreamresponse executionerror executionresponse file localizedmessage nullvalue client libraries browser go java core library api library net core library api library node js php python core library api library ruby google workspace apps admin console cloud search gmail google calendar google chat google classroom google docs google drive google forms google keep google meet google sheets google sites google slides google tasks google vault extend automate share add ons apps script chat apps drive apps marketplace tools admin console apps script dashboard google cloud console apis explorer card builder training support how to get started codelabs developer support updates release notes developer previews youtube newsletter x twitter blog home google workspace apps script reference send feedback class emailfield stay organized with collections save and categorize content based on your preferences page summary outlined_flag the emailfield is deprecated and users should use the people api advanced service instead emailfield represents an email field within a contact emailfield provides methods to get and set the email address and its label and to check or set if it is the primary email field some methods for emailfield such as deleteemailfield getdisplayname and setdisplayname are also deprecated email field deprecated instead use the people api advanced service an email field in a contact methods method return type brief description get address string get the address for this field get label object gets the label for this field is primary boolean gets whether this is the primary field value set address address email field sets the address of this field set as primary email field sets this field to primary set label field email field sets the label of this field set label label email field sets the label of this field deprecated methods method return type brief description delete email field void deletes this email address from the contact get display name string returns the display name for this email address set display name name email field sets the display name for this email address detailed documentation get address get the address for this field logs the address for the home address field for contact john doe can be used similarly for other fields that contain addresses const contacts contactsapp getcontactsbyname john doe const homeaddress contacts 0 getaddresses contactsapp field home_address logger log homeaddress 0 getaddress return string the address as a string authorization scripts that use this method require authorization with one or more of the following scopes https www google com m8 feeds get label gets the label for this field this may be a field extendedfield or a string logs the label for all the address fields associated with contact john doe this method can be similarly called for any field that has a label const contacts contactsapp getcontactsbyname john doe const addressfields contacts 0 getaddresses for let i 0 i addressfields length i logger log addressfields i getlabel return object the label for this field authorization scripts that use this method require authorization with one or more of the following scopes https www google com m8 feeds is primary gets whether this is the primary field value logs whether or not the first address field associated with contact john doe is labeled as primary this method can be similarly called for any field const contacts contactsapp getcontactsbyname john doe const addressfields contacts 0 getaddresses logger log addressfields 0 isprimary return boolean whether this is primary authorization scripts that use this method require authorization with one or more of the following scopes https www google com m8 feeds set address address sets the address of this field sets the address for the home address field for contact john doe can be used similarly for other fields that contain addresses const contacts contactsapp getcontactsbyname john doe const homeaddress contacts 0 getaddresses contactsapp field home_address homeaddress 0 setaddress 123 main st raleigh nc 27601 parameters name type description address string the new address return email field this field useful for chaining authorization scripts that use this method require authorization with one or more of the following scopes https www google com m8 feeds set as primary sets this field to primary sets the first address field associated with contact john doe as primary this method can be similarly called for any field const contacts contactsapp getcontactsbyname john doe const addressfields contacts 0 getaddresses addressfields 0 setasprimary return email field this fieldvalue for chaining authorization scripts that use this method require authorization with one or more of the following scopes https www google com m8 feeds set label field sets the label of this field sets the label to work for the first address field associated with contact john doe this method can be similarly called for any field that has a label const contacts contactsapp getcontactsbyname john doe const addressfields contacts 0 getaddresses addressfields 0 setlabel contactsapp field work_address parameters name type description field field the new standard label return email field this fieldvalue for chaining authorization scripts that use this method require authorization with one or more of the following scopes https www google com m8 feeds set label label sets the label of this field sets the label to apartment for the first address field associated with contact john doe this method can be similarly called for any field that has a label const contacts contactsapp getcontactsbyname john doe const addressfields contacts 0 getaddresses addressfields 0 setlabel apartment parameters name type description label string the new label for this field return email field this field useful for chaining authorization scripts that use this method require authorization with one or more of the following scopes https www google com m8 feeds deprecated methods delete email field deprecated this function is deprecated and should not be used in new scripts deletes this email address from the contact retrieves and deletes the work email address for contact john doe const contacts contactsapp getcontactsbyname john doe const workemail contacts 0 getemails contactsapp field work_email workemail 0 deleteemailfield authorization scripts that ...
|