google-api-client 0.9.19 → 0.9.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/api_names.yaml +2 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +20 -3
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +2 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +9 -7
- data/generated/google/apis/androidenterprise_v1/service.rb +7 -1
- data/generated/google/apis/appengine_v1beta5.rb +7 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +86 -25
- data/generated/google/apis/appengine_v1beta5/representations.rb +31 -12
- data/generated/google/apis/appengine_v1beta5/service.rb +33 -33
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +27 -18
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +243 -0
- data/generated/google/apis/civicinfo_v2/representations.rb +64 -0
- data/generated/google/apis/classroom_v1/service.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +8 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +443 -13
- data/generated/google/apis/compute_beta/representations.rb +155 -0
- data/generated/google/apis/compute_beta/service.rb +383 -2
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +43 -13
- data/generated/google/apis/compute_v1/representations.rb +13 -0
- data/generated/google/apis/compute_v1/service.rb +89 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +48 -0
- data/generated/google/apis/content_v2/representations.rb +18 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +44 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +18 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +367 -7
- data/generated/google/apis/dataproc_v1.rb +2 -2
- data/generated/google/apis/dataproc_v1/classes.rb +213 -68
- data/generated/google/apis/dataproc_v1/representations.rb +38 -0
- data/generated/google/apis/dataproc_v1/service.rb +78 -48
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +3 -3
- data/generated/google/apis/deploymentmanager_v2/service.rb +55 -5
- data/generated/google/apis/dfareporting_v2_6.rb +1 -1
- data/generated/google/apis/dfareporting_v2_6/classes.rb +4 -3
- data/generated/google/apis/dfareporting_v2_6/service.rb +48 -29
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +7 -0
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +7 -0
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +9 -2
- data/generated/google/apis/genomics_v1/representations.rb +1 -0
- data/generated/google/apis/genomics_v1/service.rb +2 -1
- data/generated/google/apis/gmail_v1.rb +4 -1
- data/generated/google/apis/gmail_v1/classes.rb +8 -10
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +39 -6
- data/generated/google/apis/identitytoolkit_v3/representations.rb +6 -1
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +3 -2
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +22 -18
- data/generated/google/apis/logging_v2beta1/service.rb +17 -3
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +26 -24
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +771 -75
- data/generated/google/apis/sheets_v4/representations.rb +125 -10
- data/generated/google/apis/sheets_v4/service.rb +39 -2
- data/generated/google/apis/slides_v1.rb +49 -0
- data/generated/google/apis/slides_v1/classes.rb +3926 -0
- data/generated/google/apis/slides_v1/representations.rb +1722 -0
- data/generated/google/apis/slides_v1/service.rb +202 -0
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/service.rb +25 -25
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +20 -19
- data/generated/google/apis/youtube_v3/representations.rb +3 -4
- data/generated/google/apis/youtube_v3/service.rb +35 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -118,7 +118,7 @@ module Google
|
|
118
118
|
execute_or_queue_command(command, &block)
|
119
119
|
end
|
120
120
|
|
121
|
-
# Updates application
|
121
|
+
# Updates application fields.
|
122
122
|
# @param [String] apps_id
|
123
123
|
# Part of `name`. Name of the application to update. Example: `apps/myapp`.
|
124
124
|
# @param [Google::Apis::AppengineV1beta5::Application] application_object
|
@@ -154,12 +154,18 @@ module Google
|
|
154
154
|
execute_or_queue_command(command, &block)
|
155
155
|
end
|
156
156
|
|
157
|
-
#
|
158
|
-
#
|
157
|
+
# Lists operations that match the specified filter in the request. If the server
|
158
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
159
|
+
# binding below allows API services to override the binding to use different
|
160
|
+
# resource name schemes, such as `users/*/operations`.
|
159
161
|
# @param [String] apps_id
|
160
|
-
# Part of `name`. The name of the operation
|
161
|
-
# @param [String]
|
162
|
-
#
|
162
|
+
# Part of `name`. The name of the operation collection.
|
163
|
+
# @param [String] filter
|
164
|
+
# The standard list filter.
|
165
|
+
# @param [Fixnum] page_size
|
166
|
+
# The standard list page size.
|
167
|
+
# @param [String] page_token
|
168
|
+
# The standard list page token.
|
163
169
|
# @param [String] fields
|
164
170
|
# Selector specifying which fields to include in a partial response.
|
165
171
|
# @param [String] quota_user
|
@@ -169,37 +175,33 @@ module Google
|
|
169
175
|
# Request-specific options
|
170
176
|
#
|
171
177
|
# @yield [result, err] Result & error if block supplied
|
172
|
-
# @yieldparam result [Google::Apis::AppengineV1beta5::
|
178
|
+
# @yieldparam result [Google::Apis::AppengineV1beta5::ListOperationsResponse] parsed result object
|
173
179
|
# @yieldparam err [StandardError] error object if request failed
|
174
180
|
#
|
175
|
-
# @return [Google::Apis::AppengineV1beta5::
|
181
|
+
# @return [Google::Apis::AppengineV1beta5::ListOperationsResponse]
|
176
182
|
#
|
177
183
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
178
184
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
179
185
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
180
|
-
def
|
181
|
-
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/operations
|
182
|
-
command.response_representation = Google::Apis::AppengineV1beta5::
|
183
|
-
command.response_class = Google::Apis::AppengineV1beta5::
|
186
|
+
def list_app_operations(apps_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
187
|
+
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/operations', options)
|
188
|
+
command.response_representation = Google::Apis::AppengineV1beta5::ListOperationsResponse::Representation
|
189
|
+
command.response_class = Google::Apis::AppengineV1beta5::ListOperationsResponse
|
184
190
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
185
|
-
command.
|
191
|
+
command.query['filter'] = filter unless filter.nil?
|
192
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
193
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
186
194
|
command.query['fields'] = fields unless fields.nil?
|
187
195
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
188
196
|
execute_or_queue_command(command, &block)
|
189
197
|
end
|
190
198
|
|
191
|
-
#
|
192
|
-
#
|
193
|
-
# binding below allows API services to override the binding to use different
|
194
|
-
# resource name schemes, such as `users/*/operations`.
|
199
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
200
|
+
# to poll the operation result at intervals as recommended by the API service.
|
195
201
|
# @param [String] apps_id
|
196
|
-
# Part of `name`. The name of the operation
|
197
|
-
# @param [String]
|
198
|
-
#
|
199
|
-
# @param [Fixnum] page_size
|
200
|
-
# The standard list page size.
|
201
|
-
# @param [String] page_token
|
202
|
-
# The standard list page token.
|
202
|
+
# Part of `name`. The name of the operation resource.
|
203
|
+
# @param [String] operations_id
|
204
|
+
# Part of `name`. See documentation of `appsId`.
|
203
205
|
# @param [String] fields
|
204
206
|
# Selector specifying which fields to include in a partial response.
|
205
207
|
# @param [String] quota_user
|
@@ -209,22 +211,20 @@ module Google
|
|
209
211
|
# Request-specific options
|
210
212
|
#
|
211
213
|
# @yield [result, err] Result & error if block supplied
|
212
|
-
# @yieldparam result [Google::Apis::AppengineV1beta5::
|
214
|
+
# @yieldparam result [Google::Apis::AppengineV1beta5::Operation] parsed result object
|
213
215
|
# @yieldparam err [StandardError] error object if request failed
|
214
216
|
#
|
215
|
-
# @return [Google::Apis::AppengineV1beta5::
|
217
|
+
# @return [Google::Apis::AppengineV1beta5::Operation]
|
216
218
|
#
|
217
219
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
218
220
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
219
221
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
220
|
-
def
|
221
|
-
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/operations', options)
|
222
|
-
command.response_representation = Google::Apis::AppengineV1beta5::
|
223
|
-
command.response_class = Google::Apis::AppengineV1beta5::
|
222
|
+
def get_app_operation(apps_id, operations_id, fields: nil, quota_user: nil, options: nil, &block)
|
223
|
+
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/operations/{operationsId}', options)
|
224
|
+
command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation
|
225
|
+
command.response_class = Google::Apis::AppengineV1beta5::Operation
|
224
226
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
225
|
-
command.
|
226
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
227
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
227
|
+
command.params['operationsId'] = operations_id unless operations_id.nil?
|
228
228
|
command.query['fields'] = fields unless fields.nil?
|
229
229
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
230
230
|
execute_or_queue_command(command, &block)
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/google-apps/activity/
|
26
26
|
module AppsactivityV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20161101'
|
29
29
|
|
30
30
|
# View the activity history of your Google Apps
|
31
31
|
AUTH_ACTIVITY = 'https://www.googleapis.com/auth/activity'
|
@@ -374,6 +374,12 @@ module Google
|
|
374
374
|
attr_accessor :is_deleted
|
375
375
|
alias_method :is_deleted?, :is_deleted
|
376
376
|
|
377
|
+
# Whether the user is the authenticated user.
|
378
|
+
# Corresponds to the JSON property `isMe`
|
379
|
+
# @return [Boolean]
|
380
|
+
attr_accessor :is_me
|
381
|
+
alias_method :is_me?, :is_me
|
382
|
+
|
377
383
|
# The displayable name of the user.
|
378
384
|
# Corresponds to the JSON property `name`
|
379
385
|
# @return [String]
|
@@ -398,6 +404,7 @@ module Google
|
|
398
404
|
# Update properties of this object
|
399
405
|
def update!(**args)
|
400
406
|
@is_deleted = args[:is_deleted] if args.key?(:is_deleted)
|
407
|
+
@is_me = args[:is_me] if args.key?(:is_me)
|
401
408
|
@name = args[:name] if args.key?(:name)
|
402
409
|
@permission_id = args[:permission_id] if args.key?(:permission_id)
|
403
410
|
@photo = args[:photo] if args.key?(:photo)
|
@@ -197,6 +197,7 @@ module Google
|
|
197
197
|
# @private
|
198
198
|
class Representation < Google::Apis::Core::JsonRepresentation
|
199
199
|
property :is_deleted, as: 'isDeleted'
|
200
|
+
property :is_me, as: 'isMe'
|
200
201
|
property :name, as: 'name'
|
201
202
|
property :permission_id, as: 'permissionId'
|
202
203
|
property :photo, as: 'photo', class: Google::Apis::AppsactivityV1::Photo, decorator: Google::Apis::AppsactivityV1::Photo::Representation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/games/services/web/api/states
|
26
26
|
module AppstateV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20161103'
|
29
29
|
|
30
30
|
# View and manage your data for this application
|
31
31
|
AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/bigquery/
|
26
26
|
module BigqueryV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20161029'
|
29
29
|
|
30
30
|
# View and manage your data in Google BigQuery
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -1061,6 +1061,16 @@ module Google
|
|
1061
1061
|
# @return [Google::Apis::BigqueryV2::JobConfigurationExtract]
|
1062
1062
|
attr_accessor :extract
|
1063
1063
|
|
1064
|
+
# [Experimental] The labels associated with this job. You can use these to
|
1065
|
+
# organize and group your jobs. Label keys and values can be no longer than 63
|
1066
|
+
# characters, can only contain letters, numeric characters, underscores and
|
1067
|
+
# dashes. International characters are allowed. Label values are optional. Label
|
1068
|
+
# keys must start with a letter and must be unique within a dataset. Both keys
|
1069
|
+
# and values are additionally constrained to be <= 128 bytes in size.
|
1070
|
+
# Corresponds to the JSON property `labels`
|
1071
|
+
# @return [Hash<String,String>]
|
1072
|
+
attr_accessor :labels
|
1073
|
+
|
1064
1074
|
# [Pick one] Configures a load job.
|
1065
1075
|
# Corresponds to the JSON property `load`
|
1066
1076
|
# @return [Google::Apis::BigqueryV2::JobConfigurationLoad]
|
@@ -1080,6 +1090,7 @@ module Google
|
|
1080
1090
|
@copy = args[:copy] if args.key?(:copy)
|
1081
1091
|
@dry_run = args[:dry_run] if args.key?(:dry_run)
|
1082
1092
|
@extract = args[:extract] if args.key?(:extract)
|
1093
|
+
@labels = args[:labels] if args.key?(:labels)
|
1083
1094
|
@load = args[:load] if args.key?(:load)
|
1084
1095
|
@query = args[:query] if args.key?(:query)
|
1085
1096
|
end
|
@@ -1418,12 +1429,12 @@ module Google
|
|
1418
1429
|
# @return [String]
|
1419
1430
|
attr_accessor :query
|
1420
1431
|
|
1421
|
-
#
|
1432
|
+
# Query parameters for standard SQL queries.
|
1422
1433
|
# Corresponds to the JSON property `queryParameters`
|
1423
1434
|
# @return [Array<Google::Apis::BigqueryV2::QueryParameter>]
|
1424
1435
|
attr_accessor :query_parameters
|
1425
1436
|
|
1426
|
-
# [Experimental] Allows the schema of the
|
1437
|
+
# [Experimental] Allows the schema of the destination table to be updated as a
|
1427
1438
|
# side effect of the query job. Schema update options are supported in two cases:
|
1428
1439
|
# when writeDisposition is WRITE_APPEND; when writeDisposition is
|
1429
1440
|
# WRITE_TRUNCATE and the destination table is a partition of a table, specified
|
@@ -1444,12 +1455,11 @@ module Google
|
|
1444
1455
|
# @return [Hash<String,Google::Apis::BigqueryV2::ExternalDataConfiguration>]
|
1445
1456
|
attr_accessor :table_definitions
|
1446
1457
|
|
1447
|
-
#
|
1448
|
-
#
|
1449
|
-
#
|
1450
|
-
#
|
1451
|
-
#
|
1452
|
-
# and flattenResults is false.
|
1458
|
+
# Specifies whether to use BigQuery's legacy SQL dialect for this query. The
|
1459
|
+
# default value is true. If set to false, the query will use BigQuery's standard
|
1460
|
+
# SQL: https://cloud.google.com/bigquery/sql-reference/ When useLegacySql is set
|
1461
|
+
# to false, the values of allowLargeResults and flattenResults are ignored;
|
1462
|
+
# query will be run as if allowLargeResults is true and flattenResults is false.
|
1453
1463
|
# Corresponds to the JSON property `useLegacySql`
|
1454
1464
|
# @return [Boolean]
|
1455
1465
|
attr_accessor :use_legacy_sql
|
@@ -2221,12 +2231,11 @@ module Google
|
|
2221
2231
|
# @return [Fixnum]
|
2222
2232
|
attr_accessor :timeout_ms
|
2223
2233
|
|
2224
|
-
#
|
2225
|
-
#
|
2226
|
-
#
|
2227
|
-
#
|
2228
|
-
#
|
2229
|
-
# and flattenResults is false.
|
2234
|
+
# Specifies whether to use BigQuery's legacy SQL dialect for this query. The
|
2235
|
+
# default value is true. If set to false, the query will use BigQuery's standard
|
2236
|
+
# SQL: https://cloud.google.com/bigquery/sql-reference/ When useLegacySql is set
|
2237
|
+
# to false, the values of allowLargeResults and flattenResults are ignored;
|
2238
|
+
# query will be run as if allowLargeResults is true and flattenResults is false.
|
2230
2239
|
# Corresponds to the JSON property `useLegacySql`
|
2231
2240
|
# @return [Boolean]
|
2232
2241
|
attr_accessor :use_legacy_sql
|
@@ -2998,10 +3007,10 @@ module Google
|
|
2998
3007
|
# @return [String]
|
2999
3008
|
attr_accessor :query
|
3000
3009
|
|
3001
|
-
#
|
3002
|
-
#
|
3003
|
-
#
|
3004
|
-
#
|
3010
|
+
# Specifies whether to use BigQuery's legacy SQL for this view. The default
|
3011
|
+
# value is true. If set to false, the view will use BigQuery's standard SQL:
|
3012
|
+
# https://cloud.google.com/bigquery/sql-reference/ Queries and views that
|
3013
|
+
# reference this view must use the same flag value.
|
3005
3014
|
# Corresponds to the JSON property `useLegacySql`
|
3006
3015
|
# @return [Boolean]
|
3007
3016
|
attr_accessor :use_legacy_sql
|
@@ -592,6 +592,7 @@ module Google
|
|
592
592
|
property :dry_run, as: 'dryRun'
|
593
593
|
property :extract, as: 'extract', class: Google::Apis::BigqueryV2::JobConfigurationExtract, decorator: Google::Apis::BigqueryV2::JobConfigurationExtract::Representation
|
594
594
|
|
595
|
+
hash :labels, as: 'labels'
|
595
596
|
property :load, as: 'load', class: Google::Apis::BigqueryV2::JobConfigurationLoad, decorator: Google::Apis::BigqueryV2::JobConfigurationLoad::Representation
|
596
597
|
|
597
598
|
property :query, as: 'query', class: Google::Apis::BigqueryV2::JobConfigurationQuery, decorator: Google::Apis::BigqueryV2::JobConfigurationQuery::Representation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/google-apps/calendar/firstapp
|
26
26
|
module CalendarV3
|
27
27
|
VERSION = 'V3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20161101'
|
29
29
|
|
30
30
|
# Manage your calendars
|
31
31
|
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
|
@@ -965,6 +965,206 @@ module Google
|
|
965
965
|
end
|
966
966
|
end
|
967
967
|
|
968
|
+
#
|
969
|
+
class PostalAddress
|
970
|
+
include Google::Apis::Core::Hashable
|
971
|
+
|
972
|
+
#
|
973
|
+
# Corresponds to the JSON property `addressLines`
|
974
|
+
# @return [Array<String>]
|
975
|
+
attr_accessor :address_lines
|
976
|
+
|
977
|
+
#
|
978
|
+
# Corresponds to the JSON property `administrativeAreaName`
|
979
|
+
# @return [String]
|
980
|
+
attr_accessor :administrative_area_name
|
981
|
+
|
982
|
+
#
|
983
|
+
# Corresponds to the JSON property `countryName`
|
984
|
+
# @return [String]
|
985
|
+
attr_accessor :country_name
|
986
|
+
|
987
|
+
#
|
988
|
+
# Corresponds to the JSON property `countryNameCode`
|
989
|
+
# @return [String]
|
990
|
+
attr_accessor :country_name_code
|
991
|
+
|
992
|
+
#
|
993
|
+
# Corresponds to the JSON property `dependentLocalityName`
|
994
|
+
# @return [String]
|
995
|
+
attr_accessor :dependent_locality_name
|
996
|
+
|
997
|
+
#
|
998
|
+
# Corresponds to the JSON property `dependentThoroughfareLeadingType`
|
999
|
+
# @return [String]
|
1000
|
+
attr_accessor :dependent_thoroughfare_leading_type
|
1001
|
+
|
1002
|
+
#
|
1003
|
+
# Corresponds to the JSON property `dependentThoroughfareName`
|
1004
|
+
# @return [String]
|
1005
|
+
attr_accessor :dependent_thoroughfare_name
|
1006
|
+
|
1007
|
+
#
|
1008
|
+
# Corresponds to the JSON property `dependentThoroughfarePostDirection`
|
1009
|
+
# @return [String]
|
1010
|
+
attr_accessor :dependent_thoroughfare_post_direction
|
1011
|
+
|
1012
|
+
#
|
1013
|
+
# Corresponds to the JSON property `dependentThoroughfarePreDirection`
|
1014
|
+
# @return [String]
|
1015
|
+
attr_accessor :dependent_thoroughfare_pre_direction
|
1016
|
+
|
1017
|
+
#
|
1018
|
+
# Corresponds to the JSON property `dependentThoroughfareTrailingType`
|
1019
|
+
# @return [String]
|
1020
|
+
attr_accessor :dependent_thoroughfare_trailing_type
|
1021
|
+
|
1022
|
+
#
|
1023
|
+
# Corresponds to the JSON property `dependentThoroughfaresConnector`
|
1024
|
+
# @return [String]
|
1025
|
+
attr_accessor :dependent_thoroughfares_connector
|
1026
|
+
|
1027
|
+
#
|
1028
|
+
# Corresponds to the JSON property `dependentThoroughfaresIndicator`
|
1029
|
+
# @return [String]
|
1030
|
+
attr_accessor :dependent_thoroughfares_indicator
|
1031
|
+
|
1032
|
+
#
|
1033
|
+
# Corresponds to the JSON property `dependentThoroughfaresType`
|
1034
|
+
# @return [String]
|
1035
|
+
attr_accessor :dependent_thoroughfares_type
|
1036
|
+
|
1037
|
+
#
|
1038
|
+
# Corresponds to the JSON property `firmName`
|
1039
|
+
# @return [String]
|
1040
|
+
attr_accessor :firm_name
|
1041
|
+
|
1042
|
+
#
|
1043
|
+
# Corresponds to the JSON property `isDisputed`
|
1044
|
+
# @return [Boolean]
|
1045
|
+
attr_accessor :is_disputed
|
1046
|
+
alias_method :is_disputed?, :is_disputed
|
1047
|
+
|
1048
|
+
#
|
1049
|
+
# Corresponds to the JSON property `languageCode`
|
1050
|
+
# @return [String]
|
1051
|
+
attr_accessor :language_code
|
1052
|
+
|
1053
|
+
#
|
1054
|
+
# Corresponds to the JSON property `localityName`
|
1055
|
+
# @return [String]
|
1056
|
+
attr_accessor :locality_name
|
1057
|
+
|
1058
|
+
#
|
1059
|
+
# Corresponds to the JSON property `postBoxNumber`
|
1060
|
+
# @return [String]
|
1061
|
+
attr_accessor :post_box_number
|
1062
|
+
|
1063
|
+
#
|
1064
|
+
# Corresponds to the JSON property `postalCodeNumber`
|
1065
|
+
# @return [String]
|
1066
|
+
attr_accessor :postal_code_number
|
1067
|
+
|
1068
|
+
#
|
1069
|
+
# Corresponds to the JSON property `postalCodeNumberExtension`
|
1070
|
+
# @return [String]
|
1071
|
+
attr_accessor :postal_code_number_extension
|
1072
|
+
|
1073
|
+
#
|
1074
|
+
# Corresponds to the JSON property `premiseName`
|
1075
|
+
# @return [String]
|
1076
|
+
attr_accessor :premise_name
|
1077
|
+
|
1078
|
+
#
|
1079
|
+
# Corresponds to the JSON property `recipientName`
|
1080
|
+
# @return [String]
|
1081
|
+
attr_accessor :recipient_name
|
1082
|
+
|
1083
|
+
#
|
1084
|
+
# Corresponds to the JSON property `sortingCode`
|
1085
|
+
# @return [String]
|
1086
|
+
attr_accessor :sorting_code
|
1087
|
+
|
1088
|
+
#
|
1089
|
+
# Corresponds to the JSON property `subAdministrativeAreaName`
|
1090
|
+
# @return [String]
|
1091
|
+
attr_accessor :sub_administrative_area_name
|
1092
|
+
|
1093
|
+
#
|
1094
|
+
# Corresponds to the JSON property `subPremiseName`
|
1095
|
+
# @return [String]
|
1096
|
+
attr_accessor :sub_premise_name
|
1097
|
+
|
1098
|
+
#
|
1099
|
+
# Corresponds to the JSON property `thoroughfareLeadingType`
|
1100
|
+
# @return [String]
|
1101
|
+
attr_accessor :thoroughfare_leading_type
|
1102
|
+
|
1103
|
+
#
|
1104
|
+
# Corresponds to the JSON property `thoroughfareName`
|
1105
|
+
# @return [String]
|
1106
|
+
attr_accessor :thoroughfare_name
|
1107
|
+
|
1108
|
+
#
|
1109
|
+
# Corresponds to the JSON property `thoroughfareNumber`
|
1110
|
+
# @return [String]
|
1111
|
+
attr_accessor :thoroughfare_number
|
1112
|
+
|
1113
|
+
#
|
1114
|
+
# Corresponds to the JSON property `thoroughfarePostDirection`
|
1115
|
+
# @return [String]
|
1116
|
+
attr_accessor :thoroughfare_post_direction
|
1117
|
+
|
1118
|
+
#
|
1119
|
+
# Corresponds to the JSON property `thoroughfarePreDirection`
|
1120
|
+
# @return [String]
|
1121
|
+
attr_accessor :thoroughfare_pre_direction
|
1122
|
+
|
1123
|
+
#
|
1124
|
+
# Corresponds to the JSON property `thoroughfareTrailingType`
|
1125
|
+
# @return [String]
|
1126
|
+
attr_accessor :thoroughfare_trailing_type
|
1127
|
+
|
1128
|
+
def initialize(**args)
|
1129
|
+
update!(**args)
|
1130
|
+
end
|
1131
|
+
|
1132
|
+
# Update properties of this object
|
1133
|
+
def update!(**args)
|
1134
|
+
@address_lines = args[:address_lines] if args.key?(:address_lines)
|
1135
|
+
@administrative_area_name = args[:administrative_area_name] if args.key?(:administrative_area_name)
|
1136
|
+
@country_name = args[:country_name] if args.key?(:country_name)
|
1137
|
+
@country_name_code = args[:country_name_code] if args.key?(:country_name_code)
|
1138
|
+
@dependent_locality_name = args[:dependent_locality_name] if args.key?(:dependent_locality_name)
|
1139
|
+
@dependent_thoroughfare_leading_type = args[:dependent_thoroughfare_leading_type] if args.key?(:dependent_thoroughfare_leading_type)
|
1140
|
+
@dependent_thoroughfare_name = args[:dependent_thoroughfare_name] if args.key?(:dependent_thoroughfare_name)
|
1141
|
+
@dependent_thoroughfare_post_direction = args[:dependent_thoroughfare_post_direction] if args.key?(:dependent_thoroughfare_post_direction)
|
1142
|
+
@dependent_thoroughfare_pre_direction = args[:dependent_thoroughfare_pre_direction] if args.key?(:dependent_thoroughfare_pre_direction)
|
1143
|
+
@dependent_thoroughfare_trailing_type = args[:dependent_thoroughfare_trailing_type] if args.key?(:dependent_thoroughfare_trailing_type)
|
1144
|
+
@dependent_thoroughfares_connector = args[:dependent_thoroughfares_connector] if args.key?(:dependent_thoroughfares_connector)
|
1145
|
+
@dependent_thoroughfares_indicator = args[:dependent_thoroughfares_indicator] if args.key?(:dependent_thoroughfares_indicator)
|
1146
|
+
@dependent_thoroughfares_type = args[:dependent_thoroughfares_type] if args.key?(:dependent_thoroughfares_type)
|
1147
|
+
@firm_name = args[:firm_name] if args.key?(:firm_name)
|
1148
|
+
@is_disputed = args[:is_disputed] if args.key?(:is_disputed)
|
1149
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
1150
|
+
@locality_name = args[:locality_name] if args.key?(:locality_name)
|
1151
|
+
@post_box_number = args[:post_box_number] if args.key?(:post_box_number)
|
1152
|
+
@postal_code_number = args[:postal_code_number] if args.key?(:postal_code_number)
|
1153
|
+
@postal_code_number_extension = args[:postal_code_number_extension] if args.key?(:postal_code_number_extension)
|
1154
|
+
@premise_name = args[:premise_name] if args.key?(:premise_name)
|
1155
|
+
@recipient_name = args[:recipient_name] if args.key?(:recipient_name)
|
1156
|
+
@sorting_code = args[:sorting_code] if args.key?(:sorting_code)
|
1157
|
+
@sub_administrative_area_name = args[:sub_administrative_area_name] if args.key?(:sub_administrative_area_name)
|
1158
|
+
@sub_premise_name = args[:sub_premise_name] if args.key?(:sub_premise_name)
|
1159
|
+
@thoroughfare_leading_type = args[:thoroughfare_leading_type] if args.key?(:thoroughfare_leading_type)
|
1160
|
+
@thoroughfare_name = args[:thoroughfare_name] if args.key?(:thoroughfare_name)
|
1161
|
+
@thoroughfare_number = args[:thoroughfare_number] if args.key?(:thoroughfare_number)
|
1162
|
+
@thoroughfare_post_direction = args[:thoroughfare_post_direction] if args.key?(:thoroughfare_post_direction)
|
1163
|
+
@thoroughfare_pre_direction = args[:thoroughfare_pre_direction] if args.key?(:thoroughfare_pre_direction)
|
1164
|
+
@thoroughfare_trailing_type = args[:thoroughfare_trailing_type] if args.key?(:thoroughfare_trailing_type)
|
1165
|
+
end
|
1166
|
+
end
|
1167
|
+
|
968
1168
|
#
|
969
1169
|
class RepresentativeInfoData
|
970
1170
|
include Google::Apis::Core::Hashable
|
@@ -1154,6 +1354,11 @@ module Google
|
|
1154
1354
|
# @return [Google::Apis::CivicinfoV2::ContextParams]
|
1155
1355
|
attr_accessor :context_params
|
1156
1356
|
|
1357
|
+
#
|
1358
|
+
# Corresponds to the JSON property `voterInfoSegmentResult`
|
1359
|
+
# @return [Google::Apis::CivicinfoV2::VoterInfoSegmentResult]
|
1360
|
+
attr_accessor :voter_info_segment_result
|
1361
|
+
|
1157
1362
|
def initialize(**args)
|
1158
1363
|
update!(**args)
|
1159
1364
|
end
|
@@ -1161,6 +1366,7 @@ module Google
|
|
1161
1366
|
# Update properties of this object
|
1162
1367
|
def update!(**args)
|
1163
1368
|
@context_params = args[:context_params] if args.key?(:context_params)
|
1369
|
+
@voter_info_segment_result = args[:voter_info_segment_result] if args.key?(:voter_info_segment_result)
|
1164
1370
|
end
|
1165
1371
|
end
|
1166
1372
|
|
@@ -1251,6 +1457,43 @@ module Google
|
|
1251
1457
|
@state = args[:state] if args.key?(:state)
|
1252
1458
|
end
|
1253
1459
|
end
|
1460
|
+
|
1461
|
+
#
|
1462
|
+
class VoterInfoSegmentResult
|
1463
|
+
include Google::Apis::Core::Hashable
|
1464
|
+
|
1465
|
+
#
|
1466
|
+
# Corresponds to the JSON property `generatedMillis`
|
1467
|
+
# @return [String]
|
1468
|
+
attr_accessor :generated_millis
|
1469
|
+
|
1470
|
+
#
|
1471
|
+
# Corresponds to the JSON property `postalAddress`
|
1472
|
+
# @return [Google::Apis::CivicinfoV2::PostalAddress]
|
1473
|
+
attr_accessor :postal_address
|
1474
|
+
|
1475
|
+
# A request for information about a voter.
|
1476
|
+
# Corresponds to the JSON property `request`
|
1477
|
+
# @return [Google::Apis::CivicinfoV2::VoterInfoRequest]
|
1478
|
+
attr_accessor :request
|
1479
|
+
|
1480
|
+
# The result of a voter info lookup query.
|
1481
|
+
# Corresponds to the JSON property `response`
|
1482
|
+
# @return [Google::Apis::CivicinfoV2::VoterInfoResponse]
|
1483
|
+
attr_accessor :response
|
1484
|
+
|
1485
|
+
def initialize(**args)
|
1486
|
+
update!(**args)
|
1487
|
+
end
|
1488
|
+
|
1489
|
+
# Update properties of this object
|
1490
|
+
def update!(**args)
|
1491
|
+
@generated_millis = args[:generated_millis] if args.key?(:generated_millis)
|
1492
|
+
@postal_address = args[:postal_address] if args.key?(:postal_address)
|
1493
|
+
@request = args[:request] if args.key?(:request)
|
1494
|
+
@response = args[:response] if args.key?(:response)
|
1495
|
+
end
|
1496
|
+
end
|
1254
1497
|
end
|
1255
1498
|
end
|
1256
1499
|
end
|