-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
api: dnsIssues related to the Cloud DNS API.Issues related to the Cloud DNS API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
The description parameter is required to the API call to manageZones.create, however, this parameter is not exposed in Client.zone. This leads to the awkward pattern:
zone = client.zone('zone-name', dns_name='example.com.')
zone.description = 'My zone'
zone.create()Where it should be:
zone = client.zone('zone-name', dns_name='example.com.', description='My zone')
zone.create()jgeewax and dhermes
Metadata
Metadata
Assignees
Labels
api: dnsIssues related to the Cloud DNS API.Issues related to the Cloud DNS API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.