Skip to content

Commit

Permalink
docs: First argument of Zone#create is required (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
carnesen authored and JustinBeckwith committed Sep 28, 2018
1 parent a2ea2fd commit 051d849
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/google-cloud-dns/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ class DNS extends Service {
* @throws {error} If a zone dnsName is not provided.
*
* @param {string} name Name of the zone to create, e.g. "my-zone".
* @param {CreateZoneRequest} [config] Config to set for the zone.
* @param {CreateZoneRequest} config Config to set for the zone.
* @param {CreateZoneCallback} [callback] Callback function.
* @returns {Promise<CreateZoneResponse>}
* @throws {Error} If a name is not provided.
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-dns/src/zone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ class Zone extends ServiceObject {
* Create a zone.
*
* @method Zone#create
* @param {CreateZoneRequest} [metadata] Metadata to set for the zone.
* @param {CreateZoneRequest} metadata Metadata to set for the zone.
* @param {CreateZoneCallback} [callback] Callback function.
* @returns {Promise<CreateZoneResponse>}
*
Expand Down

0 comments on commit 051d849

Please sign in to comment.