[[["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,["Version latestkeyboard_arrow_down\n\n- [0.35.1 (latest)](/python/docs/reference/dns/latest/resource-record-set)\n- [0.35.0](/python/docs/reference/dns/0.35.0/resource-record-set)\n- [0.34.2](/python/docs/reference/dns/0.34.2/resource-record-set)\n- [0.33.1](/python/docs/reference/dns/0.33.1/resource-record-set)\n- [0.32.3](/python/docs/reference/dns/0.32.3/resource-record-set)\n- [0.31.0](/python/docs/reference/dns/0.31.0/resource-record-set)\n- [0.30.2](/python/docs/reference/dns/0.30.2/resource-record-set) \n\nResource Record Sets\n====================\n\nDefine API ResourceRecordSets.\n\n### *class* google.cloud.dns.resource_record_set.ResourceRecordSet(name, record_type, ttl, rrdatas, zone)\n\nBases: [`object`](https://docs.python.org/3/library/functions.html#object)\n\nResourceRecordSets are DNS resource records.\n\nRRS are owned by a [`google.cloud.dns.zone.ManagedZone`](/python/docs/reference/dns/latest/zone#google.cloud.dns.zone.ManagedZone) instance.\n\nSee\n\u003chttps://cloud.google.com/dns/api/v1/resourceRecordSets\u003e\n\n- **Parameters**\n\n - **name** ([*str*](https://docs.python.org/3/library/stdtypes.html#str)) -- the name of the record set.\n\n - **record_type** ([*str*](https://docs.python.org/3/library/stdtypes.html#str)) -- the RR type of the zone.\n\n - **ttl** ([*int*](https://docs.python.org/3/library/functions.html#int)) -- TTL (in seconds) for caching the record sets.\n\n - **rrdatas** (*list of string*) -- one or more lines containing the resource data.\n\n - **zone** ([`google.cloud.dns.zone.ManagedZone`](/python/docs/reference/dns/latest/zone#google.cloud.dns.zone.ManagedZone)) -- A zone which holds one or more record sets.\n\n#### *classmethod* from_api_repr(resource, zone)\n\nFactory: construct a record set given its API representation\n\n- **Parameters**\n\n - **resource** ([*dict*](https://docs.python.org/3/library/stdtypes.html#dict)) -- record sets representation returned from the API\n\n - **zone** ([`google.cloud.dns.zone.ManagedZone`](/python/docs/reference/dns/latest/zone#google.cloud.dns.zone.ManagedZone)) -- A zone which holds one or more record sets.\n\n- **Return type**\n\n `google.cloud.dns.zone.ResourceRecordSet`\n- **Returns**\n\n RRS parsed from `resource`."]]