Reference documentation and code samples for the Google Cloud Domains V1 Client class ContactSettings.
Defines the contact information associated with aRegistration.
ICANNrequires all domain names to have associated
contact information. Theregistrant_contactis considered the
domain's legal owner, and often the other contacts are identical.
Generated from protobuf messagegoogle.cloud.domains.v1.ContactSettings
Namespace
Google \ Cloud \ Domains \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ privacy
int
Required. Privacy setting for the contacts associated with theRegistration.
Required. The registrant contact for theRegistration.Caution: Anyone with access to this email address, phone number, and/or postal address can take control of the domain.Warning: For newRegistrations, the registrant receives an email confirmation that they must complete within 15 days to avoid domain suspension.
Required. The technical contact for theRegistration.
getPrivacy
Required. Privacy setting for the contacts associated with theRegistration.
Returns
Type
Description
int
setPrivacy
Required. Privacy setting for the contacts associated with theRegistration.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getRegistrantContact
Required. The registrant contact for theRegistration.
Caution: Anyone with access to this email address, phone number,
and/or postal address can take control of the domain.Warning: For newRegistrations, the registrant receives an email
confirmation that they must complete within 15 days to avoid domain
suspension.
Required. The registrant contact for theRegistration.
Caution: Anyone with access to this email address, phone number,
and/or postal address can take control of the domain.Warning: For newRegistrations, the registrant receives an email
confirmation that they must complete within 15 days to avoid domain
suspension.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Domains V1 Client - Class ContactSettings (1.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.4 (latest)](/php/docs/reference/cloud-domains/latest/V1.ContactSettings)\n- [1.0.3](/php/docs/reference/cloud-domains/1.0.3/V1.ContactSettings)\n- [0.5.5](/php/docs/reference/cloud-domains/0.5.5/V1.ContactSettings)\n- [0.4.2](/php/docs/reference/cloud-domains/0.4.2/V1.ContactSettings)\n- [0.3.1](/php/docs/reference/cloud-domains/0.3.1/V1.ContactSettings)\n- [0.2.11](/php/docs/reference/cloud-domains/0.2.11/V1.ContactSettings) \nReference documentation and code samples for the Google Cloud Domains V1 Client class ContactSettings.\n\nDefines the contact information associated with a `Registration`.\n\n[ICANN](https://icann.org/) requires all domain names to have associated\ncontact information. The `registrant_contact` is considered the\ndomain's legal owner, and often the other contacts are identical.\n\nGenerated from protobuf message `google.cloud.domains.v1.ContactSettings`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Domains \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getPrivacy\n\nRequired. Privacy setting for the contacts associated with the `Registration`.\n\n### setPrivacy\n\nRequired. Privacy setting for the contacts associated with the `Registration`.\n\n### getRegistrantContact\n\nRequired. The registrant contact for the `Registration`.\n\n*Caution: Anyone with access to this email address, phone number,\nand/or postal address can take control of the domain.*\n*Warning: For new `Registration`s, the registrant receives an email\nconfirmation that they must complete within 15 days to avoid domain\nsuspension.*\n\n### hasRegistrantContact\n\n### clearRegistrantContact\n\n### setRegistrantContact\n\nRequired. The registrant contact for the `Registration`.\n\n*Caution: Anyone with access to this email address, phone number,\nand/or postal address can take control of the domain.*\n*Warning: For new `Registration`s, the registrant receives an email\nconfirmation that they must complete within 15 days to avoid domain\nsuspension.*\n\n### getAdminContact\n\nRequired. The administrative contact for the `Registration`.\n\n### hasAdminContact\n\n### clearAdminContact\n\n### setAdminContact\n\nRequired. The administrative contact for the `Registration`.\n\n### getTechnicalContact\n\nRequired. The technical contact for the `Registration`.\n\n### hasTechnicalContact\n\n### clearTechnicalContact\n\n### setTechnicalContact\n\nRequired. The technical contact for the `Registration`."]]