You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pre>Looks up information relevant to a voter based on the voter's registered address.
109
109
110
110
Args:
111
111
address: string, The registered address of the voter to look up. (required)
112
112
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.
113
114
officialOnly: boolean, If set to true, only data from official state sources will be returned.
114
115
115
116
Returns:
@@ -299,6 +300,7 @@ <h3>Method Details</h3>
299
300
"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
300
301
"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.
301
302
"name": "A String", # The name of the district.
303
+
"kgForeignKey": "A String",
302
304
},
303
305
"ballotPlacement": "A String", # A number specifying the position of this contest on the voter's ballot.
304
306
"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>
319
321
"email": "A String", # The email address for the candidate's campaign.
320
322
},
321
323
],
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'.
323
325
"referendumText": "A String", # The full text of the referendum. This field is only populated for contests of type 'Referendum'.
324
326
"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'.
325
327
"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'.
326
328
"numberVotingFor": "A String", # The number of candidates that a voter may vote for in this contest.
327
329
"roles": [ # The roles which this office fulfills.
328
330
"A String",
329
331
],
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'.
331
333
"A String",
332
334
],
333
335
"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".
Copy file name to clipboardExpand all lines: docs/dyn/classroom_v1.courses.courseWork.html
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -121,8 +121,8 @@ <h3>Method Details</h3>
121
121
"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.
122
122
"year": 42, # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.
123
123
},
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.
126
126
{ # Material attached to course work. When creating attachments, only the Link field may be specified.
127
127
"link": { # URL item. # Link material.
128
128
"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>
157
157
"A String",
158
158
],
159
159
},
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.
161
161
"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.
162
162
"id": "A String", # Classroom-assigned identifier of this course work, unique per course. Read-only.
163
163
"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>
194
194
"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.
195
195
"year": 42, # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.
196
196
},
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.
199
199
{ # Material attached to course work. When creating attachments, only the Link field may be specified.
200
200
"link": { # URL item. # Link material.
201
201
"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>
230
230
"A String",
231
231
],
232
232
},
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.
234
234
"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.
235
235
"id": "A String", # Classroom-assigned identifier of this course work, unique per course. Read-only.
236
236
"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>
275
275
"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.
276
276
"year": 42, # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.
277
277
},
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.
280
280
{ # Material attached to course work. When creating attachments, only the Link field may be specified.
281
281
"link": { # URL item. # Link material.
282
282
"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>
311
311
"A String",
312
312
],
313
313
},
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.
315
315
"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.
316
316
"id": "A String", # Classroom-assigned identifier of this course work, unique per course. Read-only.
317
317
"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>
362
362
"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.
363
363
"year": 42, # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.
364
364
},
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.
367
367
{ # Material attached to course work. When creating attachments, only the Link field may be specified.
368
368
"link": { # URL item. # Link material.
369
369
"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>
398
398
"A String",
399
399
],
400
400
},
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.
402
402
"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.
403
403
"id": "A String", # Classroom-assigned identifier of this course work, unique per course. Read-only.
404
404
"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