Skip to content

Commit 773d77e

Browse files
committed
Updated CivicInfo.php
1 parent 970ae8d commit 773d77e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/Google/Service/CivicInfo.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ public function __construct(Google_Client $client)
8787
'path' => 'representatives/lookup',
8888
'httpMethod' => 'POST',
8989
'parameters' => array(
90+
'ocdId' => array(
91+
'location' => 'query',
92+
'type' => 'string',
93+
),
9094
'includeOffices' => array(
9195
'location' => 'query',
9296
'type' => 'boolean',
@@ -163,6 +167,9 @@ class Google_Service_CivicInfo_Representatives_Resource extends Google_Service_R
163167
* @param Google_RepresentativeInfoRequest $postBody
164168
* @param array $optParams Optional parameters.
165169
*
170+
* @opt_param string ocdId
171+
* The division to look up. May only be specified if the address field is not given in the request
172+
* body.
166173
* @opt_param bool includeOffices
167174
* Whether to return information about offices and officials. If false, only the top-level district
168175
* information will be returned.

0 commit comments

Comments
 (0)