Skip to content

Commit a61611c

Browse files
Merge pull request #274 from google/release-v1.5.3
Release v1.5.3.
2 parents 1f76759 + 2512a0c commit a61611c

File tree

95 files changed

+956
-559
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+956
-559
lines changed

CHANGELOG

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
v1.5.3
2+
Version 1.5.3
3+
4+
Bugfix release
5+
6+
- Fixed import error with oauth2client >= 3.0.0. (#270)
7+
18
v1.5.2
29
Version 1.5.2
310

docs/dyn/bigquery_v2.jobs.html

Lines changed: 342 additions & 31 deletions
Large diffs are not rendered by default.

docs/dyn/civicinfo_v2.elections.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h2>Instance Methods</h2>
7878
<code><a href="#electionQuery">electionQuery()</a></code></p>
7979
<p class="firstline">List of available elections to query.</p>
8080
<p class="toc_element">
81-
<code><a href="#voterInfoQuery">voterInfoQuery(address, electionId=None, officialOnly=None)</a></code></p>
81+
<code><a href="#voterInfoQuery">voterInfoQuery(address, electionId=None, returnAllAvailableData=None, officialOnly=None)</a></code></p>
8282
<p class="firstline">Looks up information relevant to a voter based on the voter's registered address.</p>
8383
<h3>Method Details</h3>
8484
<div class="method">
@@ -104,12 +104,13 @@ <h3>Method Details</h3>
104104
</div>
105105

106106
<div class="method">
107-
<code class="details" id="voterInfoQuery">voterInfoQuery(address, electionId=None, officialOnly=None)</code>
107+
<code class="details" id="voterInfoQuery">voterInfoQuery(address, electionId=None, returnAllAvailableData=None, officialOnly=None)</code>
108108
<pre>Looks up information relevant to a voter based on the voter's registered address.
109109

110110
Args:
111111
address: string, The registered address of the voter to look up. (required)
112112
electionId: string, The unique ID of the election to look up. A list of election IDs can be obtained at https://www.googleapis.com/civicinfo/{version}/elections
113+
returnAllAvailableData: boolean, If set to true, the query will return the success codeand include any partial information when it is unable to determine a matching address or unable to determine the election for electionId=0 queries.
113114
officialOnly: boolean, If set to true, only data from official state sources will be returned.
114115

115116
Returns:
@@ -299,6 +300,7 @@ <h3>Method Details</h3>
299300
"scope": "A String", # The geographic scope of this district. If unspecified the district's geography is not known. One of: national, statewide, congressional, stateUpper, stateLower, countywide, judicial, schoolBoard, cityWide, township, countyCouncil, cityCouncil, ward, special
300301
"id": "A String", # An identifier for this district, relative to its scope. For example, the 34th State Senate district would have id "34" and a scope of stateUpper.
301302
"name": "A String", # The name of the district.
303+
"kgForeignKey": "A String",
302304
},
303305
"ballotPlacement": "A String", # A number specifying the position of this contest on the voter's ballot.
304306
"referendumProStatement": "A String", # A statement in favor of the referendum. It does not necessarily appear on the ballot. This field is only populated for contests of type 'Referendum'.
@@ -319,15 +321,15 @@ <h3>Method Details</h3>
319321
"email": "A String", # The email address for the candidate's campaign.
320322
},
321323
],
322-
"type": "A String", # The type of contest. Usually this will be 'General', 'Primary', or 'Run-off' for contests with candidates. For referenda this will be 'Referendum'.
324+
"type": "A String", # The type of contest. Usually this will be 'General', 'Primary', or 'Run-off' for contests with candidates. For referenda this will be 'Referendum'. For Retention contests this will typically be 'Retention'.
323325
"referendumText": "A String", # The full text of the referendum. This field is only populated for contests of type 'Referendum'.
324326
"referendumConStatement": "A String", # A statement in opposition to the referendum. It does not necessarily appear on the ballot. This field is only populated for contests of type 'Referendum'.
325327
"referendumPassageThreshold": "A String", # The threshold of votes that the referendum needs in order to pass, e.g. "two-thirds". This field is only populated for contests of type 'Referendum'.
326328
"numberVotingFor": "A String", # The number of candidates that a voter may vote for in this contest.
327329
"roles": [ # The roles which this office fulfills.
328330
"A String",
329331
],
330-
"referendumBallotResponses": [ # The set of ballot responses for the referendum. A ballot response represents a line on the ballot. Common examples might include "yes" or "no" for referenda, or a judge's name for a retention contest. This field is only populated for contests of type 'Referendum'.
332+
"referendumBallotResponses": [ # The set of ballot responses for the referendum. A ballot response represents a line on the ballot. Common examples might include "yes" or "no" for referenda. This field is only populated for contests of type 'Referendum'.
331333
"A String",
332334
],
333335
"level": [ # The levels of government of the office for this contest. There may be more than one in cases where a jurisdiction effectively acts at two different levels of government; for example, the mayor of the District of Columbia acts at "locality" level, but also effectively at both "administrative-area-2" and "administrative-area-1".

docs/dyn/classroom_v1.courses.courseWork.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ <h3>Method Details</h3>
121121
"day": 42, # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year/month where the day is not significant.
122122
"year": 42, # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.
123123
},
124-
"state": "A String", # Status of this course work.. If unspecified, the default state is `DRAFT`.
125-
"materials": [ # Additional materials.
124+
"state": "A String", # Status of this course work. If unspecified, the default state is `DRAFT`.
125+
"materials": [ # Additional materials. CourseWork must have no more than 20 material items.
126126
{ # Material attached to course work. When creating attachments, only the Link field may be specified.
127127
"link": { # URL item. # Link material.
128128
"url": "A String", # URL to link to. This must be a valid UTF-8 string containing between 1 and 2024 characters.
@@ -157,7 +157,7 @@ <h3>Method Details</h3>
157157
"A String",
158158
],
159159
},
160-
"maxPoints": 3.14, # Maximum grade for this course work. If zero or unspecified, this assignment is considered ungraded. This must be an integer value.
160+
"maxPoints": 3.14, # Maximum grade for this course work. If zero or unspecified, this assignment is considered ungraded. This must be a non-negative integer value.
161161
"associatedWithDeveloper": True or False, # Whether this course work item is associated with the Developer Console project making the request. See google.classroom.Work.CreateCourseWork for more details. Read-only.
162162
"id": "A String", # Classroom-assigned identifier of this course work, unique per course. Read-only.
163163
"dueTime": { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may chose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # Optional time of day, in UTC, that submissions for this this course work are due. This must be specified if `due_date` is specified.
@@ -194,8 +194,8 @@ <h3>Method Details</h3>
194194
"day": 42, # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year/month where the day is not significant.
195195
"year": 42, # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.
196196
},
197-
"state": "A String", # Status of this course work.. If unspecified, the default state is `DRAFT`.
198-
"materials": [ # Additional materials.
197+
"state": "A String", # Status of this course work. If unspecified, the default state is `DRAFT`.
198+
"materials": [ # Additional materials. CourseWork must have no more than 20 material items.
199199
{ # Material attached to course work. When creating attachments, only the Link field may be specified.
200200
"link": { # URL item. # Link material.
201201
"url": "A String", # URL to link to. This must be a valid UTF-8 string containing between 1 and 2024 characters.
@@ -230,7 +230,7 @@ <h3>Method Details</h3>
230230
"A String",
231231
],
232232
},
233-
"maxPoints": 3.14, # Maximum grade for this course work. If zero or unspecified, this assignment is considered ungraded. This must be an integer value.
233+
"maxPoints": 3.14, # Maximum grade for this course work. If zero or unspecified, this assignment is considered ungraded. This must be a non-negative integer value.
234234
"associatedWithDeveloper": True or False, # Whether this course work item is associated with the Developer Console project making the request. See google.classroom.Work.CreateCourseWork for more details. Read-only.
235235
"id": "A String", # Classroom-assigned identifier of this course work, unique per course. Read-only.
236236
"dueTime": { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may chose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # Optional time of day, in UTC, that submissions for this this course work are due. This must be specified if `due_date` is specified.
@@ -275,8 +275,8 @@ <h3>Method Details</h3>
275275
"day": 42, # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year/month where the day is not significant.
276276
"year": 42, # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.
277277
},
278-
"state": "A String", # Status of this course work.. If unspecified, the default state is `DRAFT`.
279-
"materials": [ # Additional materials.
278+
"state": "A String", # Status of this course work. If unspecified, the default state is `DRAFT`.
279+
"materials": [ # Additional materials. CourseWork must have no more than 20 material items.
280280
{ # Material attached to course work. When creating attachments, only the Link field may be specified.
281281
"link": { # URL item. # Link material.
282282
"url": "A String", # URL to link to. This must be a valid UTF-8 string containing between 1 and 2024 characters.
@@ -311,7 +311,7 @@ <h3>Method Details</h3>
311311
"A String",
312312
],
313313
},
314-
"maxPoints": 3.14, # Maximum grade for this course work. If zero or unspecified, this assignment is considered ungraded. This must be an integer value.
314+
"maxPoints": 3.14, # Maximum grade for this course work. If zero or unspecified, this assignment is considered ungraded. This must be a non-negative integer value.
315315
"associatedWithDeveloper": True or False, # Whether this course work item is associated with the Developer Console project making the request. See google.classroom.Work.CreateCourseWork for more details. Read-only.
316316
"id": "A String", # Classroom-assigned identifier of this course work, unique per course. Read-only.
317317
"dueTime": { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may chose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # Optional time of day, in UTC, that submissions for this this course work are due. This must be specified if `due_date` is specified.
@@ -362,8 +362,8 @@ <h3>Method Details</h3>
362362
"day": 42, # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year/month where the day is not significant.
363363
"year": 42, # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.
364364
},
365-
"state": "A String", # Status of this course work.. If unspecified, the default state is `DRAFT`.
366-
"materials": [ # Additional materials.
365+
"state": "A String", # Status of this course work. If unspecified, the default state is `DRAFT`.
366+
"materials": [ # Additional materials. CourseWork must have no more than 20 material items.
367367
{ # Material attached to course work. When creating attachments, only the Link field may be specified.
368368
"link": { # URL item. # Link material.
369369
"url": "A String", # URL to link to. This must be a valid UTF-8 string containing between 1 and 2024 characters.
@@ -398,7 +398,7 @@ <h3>Method Details</h3>
398398
"A String",
399399
],
400400
},
401-
"maxPoints": 3.14, # Maximum grade for this course work. If zero or unspecified, this assignment is considered ungraded. This must be an integer value.
401+
"maxPoints": 3.14, # Maximum grade for this course work. If zero or unspecified, this assignment is considered ungraded. This must be a non-negative integer value.
402402
"associatedWithDeveloper": True or False, # Whether this course work item is associated with the Developer Console project making the request. See google.classroom.Work.CreateCourseWork for more details. Read-only.
403403
"id": "A String", # Classroom-assigned identifier of this course work, unique per course. Read-only.
404404
"dueTime": { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may chose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # Optional time of day, in UTC, that submissions for this this course work are due. This must be specified if `due_date` is specified.

0 commit comments

Comments
 (0)