Reference documentation and code samples for the Cloud Domains V1beta1 API class Google::Cloud::Domains::V1beta1::ContactSettings.
Defines the contact information associated with a Registration.
ICANN requires all domain names to have associated
contact information. The registrant_contact is considered the
domain's legal owner, and often the other contacts are identical.
[[["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-08-28 UTC."],[],[],null,["# Cloud Domains V1beta1 API - Class Google::Cloud::Domains::V1beta1::ContactSettings (v0.12.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.12.0 (latest)](/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Cloud-Domains-V1beta1-ContactSettings)\n- [0.11.1](/ruby/docs/reference/google-cloud-domains-v1beta1/0.11.1/Google-Cloud-Domains-V1beta1-ContactSettings)\n- [0.10.0](/ruby/docs/reference/google-cloud-domains-v1beta1/0.10.0/Google-Cloud-Domains-V1beta1-ContactSettings)\n- [0.9.1](/ruby/docs/reference/google-cloud-domains-v1beta1/0.9.1/Google-Cloud-Domains-V1beta1-ContactSettings)\n- [0.8.2](/ruby/docs/reference/google-cloud-domains-v1beta1/0.8.2/Google-Cloud-Domains-V1beta1-ContactSettings)\n- [0.7.0](/ruby/docs/reference/google-cloud-domains-v1beta1/0.7.0/Google-Cloud-Domains-V1beta1-ContactSettings)\n- [0.6.0](/ruby/docs/reference/google-cloud-domains-v1beta1/0.6.0/Google-Cloud-Domains-V1beta1-ContactSettings)\n- [0.5.0](/ruby/docs/reference/google-cloud-domains-v1beta1/0.5.0/Google-Cloud-Domains-V1beta1-ContactSettings)\n- [0.4.0](/ruby/docs/reference/google-cloud-domains-v1beta1/0.4.0/Google-Cloud-Domains-V1beta1-ContactSettings)\n- [0.3.2](/ruby/docs/reference/google-cloud-domains-v1beta1/0.3.2/Google-Cloud-Domains-V1beta1-ContactSettings) \nReference documentation and code samples for the Cloud Domains V1beta1 API class Google::Cloud::Domains::V1beta1::ContactSettings.\n\nDefines the contact information associated with a `Registration`.\n\n\n\u003cbr /\u003e\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\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #admin_contact\n\n def admin_contact() -\u003e ::Google::Cloud::Domains::V1beta1::ContactSettings::Contact\n\n**Returns**\n\n- ([::Google::Cloud::Domains::V1beta1::ContactSettings::Contact](./Google-Cloud-Domains-V1beta1-ContactSettings-Contact)) --- Required. The administrative contact for the `Registration`.\n\n### #admin_contact=\n\n def admin_contact=(value) -\u003e ::Google::Cloud::Domains::V1beta1::ContactSettings::Contact\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Domains::V1beta1::ContactSettings::Contact](./Google-Cloud-Domains-V1beta1-ContactSettings-Contact)) --- Required. The administrative contact for the `Registration`. \n**Returns**\n\n- ([::Google::Cloud::Domains::V1beta1::ContactSettings::Contact](./Google-Cloud-Domains-V1beta1-ContactSettings-Contact)) --- Required. The administrative contact for the `Registration`.\n\n### #privacy\n\n def privacy() -\u003e ::Google::Cloud::Domains::V1beta1::ContactPrivacy\n\n**Returns**\n\n- ([::Google::Cloud::Domains::V1beta1::ContactPrivacy](./Google-Cloud-Domains-V1beta1-ContactPrivacy)) --- Required. Privacy setting for the contacts associated with the `Registration`.\n\n### #privacy=\n\n def privacy=(value) -\u003e ::Google::Cloud::Domains::V1beta1::ContactPrivacy\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Domains::V1beta1::ContactPrivacy](./Google-Cloud-Domains-V1beta1-ContactPrivacy)) --- Required. Privacy setting for the contacts associated with the `Registration`. \n**Returns**\n\n- ([::Google::Cloud::Domains::V1beta1::ContactPrivacy](./Google-Cloud-Domains-V1beta1-ContactPrivacy)) --- Required. Privacy setting for the contacts associated with the `Registration`.\n\n### #registrant_contact\n\n def registrant_contact() -\u003e ::Google::Cloud::Domains::V1beta1::ContactSettings::Contact\n\n**Returns**\n\n- ([::Google::Cloud::Domains::V1beta1::ContactSettings::Contact](./Google-Cloud-Domains-V1beta1-ContactSettings-Contact)) --- Required. The registrant contact for the `Registration`.\n\n\n *Caution: Anyone with access to this email address, phone number,\n and/or postal address can take control of the domain.*\n\n *Warning: For new `Registration`s, the registrant receives an email\n confirmation that they must complete within 15 days to avoid domain\n suspension.*\n\n### #registrant_contact=\n\n def registrant_contact=(value) -\u003e ::Google::Cloud::Domains::V1beta1::ContactSettings::Contact\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Domains::V1beta1::ContactSettings::Contact](./Google-Cloud-Domains-V1beta1-ContactSettings-Contact)) --- Required. The registrant contact for the `Registration`.\n\n\n *Caution: Anyone with access to this email address, phone number,\n and/or postal address can take control of the domain.*\n\n *Warning: For new `Registration`s, the registrant receives an email\n confirmation that they must complete within 15 days to avoid domain\nsuspension.* \n**Returns**\n\n- ([::Google::Cloud::Domains::V1beta1::ContactSettings::Contact](./Google-Cloud-Domains-V1beta1-ContactSettings-Contact)) --- Required. The registrant contact for the `Registration`.\n\n\n *Caution: Anyone with access to this email address, phone number,\n and/or postal address can take control of the domain.*\n\n *Warning: For new `Registration`s, the registrant receives an email\n confirmation that they must complete within 15 days to avoid domain\n suspension.*\n\n### #technical_contact\n\n def technical_contact() -\u003e ::Google::Cloud::Domains::V1beta1::ContactSettings::Contact\n\n**Returns**\n\n- ([::Google::Cloud::Domains::V1beta1::ContactSettings::Contact](./Google-Cloud-Domains-V1beta1-ContactSettings-Contact)) --- Required. The technical contact for the `Registration`.\n\n### #technical_contact=\n\n def technical_contact=(value) -\u003e ::Google::Cloud::Domains::V1beta1::ContactSettings::Contact\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Domains::V1beta1::ContactSettings::Contact](./Google-Cloud-Domains-V1beta1-ContactSettings-Contact)) --- Required. The technical contact for the `Registration`. \n**Returns**\n\n- ([::Google::Cloud::Domains::V1beta1::ContactSettings::Contact](./Google-Cloud-Domains-V1beta1-ContactSettings-Contact)) --- Required. The technical contact for the `Registration`."]]