google-api-client 0.9.1 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +11 -2
- data/api_names.yaml +76 -43
- data/api_names_out.yaml +3853 -3508
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +151 -151
- data/generated/google/apis/adexchangebuyer_v1_4.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +2785 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1033 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +1378 -0
- data/generated/google/apis/adexchangeseller_v2_0/classes.rb +79 -79
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +26 -26
- data/generated/google/apis/admin_directory_v1/classes.rb +374 -374
- data/generated/google/apis/admin_reports_v1/classes.rb +63 -63
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +145 -143
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +95 -92
- data/generated/google/apis/analytics_v3/classes.rb +582 -582
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +132 -132
- data/generated/google/apis/androidenterprise_v1/service.rb +9 -8
- data/generated/google/apis/androidpublisher_v2/classes.rb +122 -122
- data/generated/google/apis/appengine_v1beta4.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/classes.rb +195 -142
- data/generated/google/apis/appengine_v1beta4/representations.rb +16 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +3 -2
- data/generated/google/apis/appengine_v1beta5.rb +35 -0
- data/generated/google/apis/appengine_v1beta5/classes.rb +1523 -0
- data/generated/google/apis/appengine_v1beta5/representations.rb +525 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +478 -0
- data/generated/google/apis/appsactivity_v1/classes.rb +34 -34
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/classes.rb +12 -12
- data/generated/google/apis/autoscaler_v1beta2/classes.rb +82 -82
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +266 -265
- data/generated/google/apis/blogger_v3/classes.rb +145 -145
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +431 -431
- data/generated/google/apis/books_v1/service.rb +3 -12
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +180 -180
- data/generated/google/apis/civicinfo_v2/classes.rb +125 -125
- data/generated/google/apis/classroom_v1/classes.rb +42 -42
- data/generated/google/apis/cloudbilling_v1/classes.rb +11 -11
- data/generated/google/apis/{mapsengine_v1.rb → cloudbuild_v1.rb} +11 -14
- data/generated/google/apis/cloudbuild_v1/classes.rb +521 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +190 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +278 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +81 -81
- data/generated/google/apis/cloudlatencytest_v2.rb +34 -0
- data/generated/google/apis/cloudlatencytest_v2/classes.rb +195 -0
- data/generated/google/apis/cloudlatencytest_v2/representations.rb +113 -0
- data/generated/google/apis/cloudlatencytest_v2/service.rb +135 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +55 -55
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +26 -26
- data/generated/google/apis/cloudtrace_v1/classes.rb +13 -13
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +85 -85
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1051 -998
- data/generated/google/apis/compute_beta/representations.rb +1 -0
- data/generated/google/apis/compute_beta/service.rb +426 -366
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1332 -946
- data/generated/google/apis/compute_v1/representations.rb +108 -0
- data/generated/google/apis/compute_v1/service.rb +686 -318
- data/generated/google/apis/container_v1/classes.rb +43 -43
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +767 -639
- data/generated/google/apis/content_v2/representations.rb +40 -0
- data/generated/google/apis/coordinate_v1/classes.rb +66 -66
- data/generated/google/apis/customsearch_v1/classes.rb +96 -96
- data/generated/google/apis/dataproc_v1.rb +43 -0
- data/generated/google/apis/dataproc_v1/classes.rb +175 -0
- data/generated/google/apis/dataproc_v1/representations.rb +84 -0
- data/generated/google/apis/dataproc_v1/service.rb +142 -0
- data/generated/google/apis/datastore_v1beta2/classes.rb +105 -105
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +183 -112
- data/generated/google/apis/deploymentmanager_v2/representations.rb +28 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +42 -37
- data/generated/google/apis/dfareporting_v2_3.rb +37 -0
- data/generated/google/apis/dfareporting_v2_3/classes.rb +10830 -0
- data/generated/google/apis/dfareporting_v2_3/representations.rb +3443 -0
- data/generated/google/apis/dfareporting_v2_3/service.rb +8581 -0
- data/generated/google/apis/discovery_v1/classes.rb +106 -106
- data/generated/google/apis/dns_v1/classes.rb +39 -39
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +155 -69
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +31 -0
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +106 -104
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +308 -308
- data/generated/google/apis/drive_v2/service.rb +44 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +178 -178
- data/generated/google/apis/drive_v3/service.rb +2 -1
- data/generated/google/apis/fitness_v1/classes.rb +74 -74
- data/generated/google/apis/fusiontables_v2/classes.rb +108 -108
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +52 -52
- data/generated/google/apis/games_management_v1management.rb +2 -2
- data/generated/google/apis/games_management_v1management/classes.rb +55 -46
- data/generated/google/apis/games_management_v1management/representations.rb +1 -0
- data/generated/google/apis/games_v1.rb +2 -2
- data/generated/google/apis/games_v1/classes.rb +484 -475
- data/generated/google/apis/games_v1/representations.rb +1 -0
- data/generated/google/apis/gan_v1beta1/classes.rb +187 -187
- data/generated/google/apis/genomics_v1.rb +2 -2
- data/generated/google/apis/genomics_v1/classes.rb +441 -232
- data/generated/google/apis/genomics_v1/representations.rb +85 -0
- data/generated/google/apis/genomics_v1/service.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +73 -73
- data/generated/google/apis/groupsmigration_v1/classes.rb +2 -2
- data/generated/google/apis/groupssettings_v1/classes.rb +28 -28
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +232 -166
- data/generated/google/apis/identitytoolkit_v3/representations.rb +10 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +3 -3
- data/generated/google/apis/licensing_v1/classes.rb +11 -11
- data/generated/google/apis/logging_v2beta1.rb +47 -0
- data/generated/google/apis/logging_v2beta1/classes.rb +990 -0
- data/generated/google/apis/logging_v2beta1/representations.rb +337 -0
- data/generated/google/apis/logging_v2beta1/service.rb +547 -0
- data/generated/google/apis/manager_v1beta2/classes.rb +125 -125
- data/generated/google/apis/mirror_v1/classes.rb +101 -101
- data/generated/google/apis/oauth2_v2.rb +2 -2
- data/generated/google/apis/oauth2_v2/classes.rb +27 -27
- data/generated/google/apis/pagespeedonline_v2/classes.rb +62 -62
- data/generated/google/apis/partners_v2/classes.rb +87 -87
- data/generated/google/apis/people_v1.rb +59 -0
- data/generated/google/apis/people_v1/classes.rb +1594 -0
- data/generated/google/apis/people_v1/representations.rb +593 -0
- data/generated/google/apis/people_v1/service.rb +193 -0
- data/generated/google/apis/plus_domains_v1.rb +2 -2
- data/generated/google/apis/plus_domains_v1/classes.rb +274 -274
- data/generated/google/apis/plus_v1.rb +2 -2
- data/generated/google/apis/plus_v1/classes.rb +215 -215
- data/generated/google/apis/prediction_v1_6/classes.rb +73 -73
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +45 -45
- data/generated/google/apis/pubsub_v1/classes.rb +36 -36
- data/generated/google/apis/qpx_express_v1/classes.rb +135 -135
- data/generated/google/apis/replicapool_v1beta2/classes.rb +63 -63
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +76 -76
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +55 -55
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +68 -68
- data/generated/google/apis/script_v1/classes.rb +18 -18
- data/generated/google/apis/site_verification_v1/classes.rb +12 -12
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +203 -203
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +130 -130
- data/generated/google/apis/storagetransfer_v1/classes.rb +84 -84
- data/generated/google/apis/tagmanager_v1/classes.rb +154 -154
- data/generated/google/apis/taskqueue_v1beta2/classes.rb +24 -24
- data/generated/google/apis/tasks_v1/classes.rb +32 -32
- data/generated/google/apis/translate_v2/classes.rb +10 -10
- data/generated/google/apis/urlshortener_v1/classes.rb +24 -24
- data/generated/google/apis/webmasters_v3/classes.rb +49 -49
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +49 -49
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +882 -895
- data/generated/google/apis/youtube_v3/representations.rb +2 -13
- data/generated/google/apis/youtubereporting_v1/classes.rb +19 -19
- data/lib/google/apis/core/api_command.rb +1 -1
- data/lib/google/apis/core/upload.rb +1 -1
- data/lib/google/apis/generator/templates/_class.tmpl +1 -1
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/base_cli.rb +2 -1
- data/samples/cli/lib/samples/androidpublisher.rb +47 -0
- data/script/generate +17 -13
- metadata +35 -6
- data/generated/google/apis/mapsengine_v1/classes.rb +0 -2873
- data/generated/google/apis/mapsengine_v1/representations.rb +0 -1235
- data/generated/google/apis/mapsengine_v1/service.rb +0 -3388
|
@@ -61,11 +61,11 @@ module Google
|
|
|
61
61
|
|
|
62
62
|
# Update properties of this object
|
|
63
63
|
def update!(**args)
|
|
64
|
-
@election_administration_body = args[:election_administration_body]
|
|
65
|
-
@id = args[:id]
|
|
66
|
-
@local_jurisdiction = args[:local_jurisdiction]
|
|
67
|
-
@name = args[:name]
|
|
68
|
-
@sources = args[:sources]
|
|
64
|
+
@election_administration_body = args[:election_administration_body] if args.key?(:election_administration_body)
|
|
65
|
+
@id = args[:id] if args.key?(:id)
|
|
66
|
+
@local_jurisdiction = args[:local_jurisdiction] if args.key?(:local_jurisdiction)
|
|
67
|
+
@name = args[:name] if args.key?(:name)
|
|
68
|
+
@sources = args[:sources] if args.key?(:sources)
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
@@ -150,19 +150,19 @@ module Google
|
|
|
150
150
|
|
|
151
151
|
# Update properties of this object
|
|
152
152
|
def update!(**args)
|
|
153
|
-
@absentee_voting_info_url = args[:absentee_voting_info_url]
|
|
154
|
-
@ballot_info_url = args[:ballot_info_url]
|
|
155
|
-
@correspondence_address = args[:correspondence_address]
|
|
156
|
-
@election_info_url = args[:election_info_url]
|
|
157
|
-
@election_officials = args[:election_officials]
|
|
158
|
-
@election_registration_confirmation_url = args[:election_registration_confirmation_url]
|
|
159
|
-
@election_registration_url = args[:election_registration_url]
|
|
160
|
-
@election_rules_url = args[:election_rules_url]
|
|
161
|
-
@hours_of_operation = args[:hours_of_operation]
|
|
162
|
-
@name = args[:name]
|
|
163
|
-
@physical_address = args[:physical_address]
|
|
164
|
-
@voter_services = args[:voter_services]
|
|
165
|
-
@voting_location_finder_url = args[:voting_location_finder_url]
|
|
153
|
+
@absentee_voting_info_url = args[:absentee_voting_info_url] if args.key?(:absentee_voting_info_url)
|
|
154
|
+
@ballot_info_url = args[:ballot_info_url] if args.key?(:ballot_info_url)
|
|
155
|
+
@correspondence_address = args[:correspondence_address] if args.key?(:correspondence_address)
|
|
156
|
+
@election_info_url = args[:election_info_url] if args.key?(:election_info_url)
|
|
157
|
+
@election_officials = args[:election_officials] if args.key?(:election_officials)
|
|
158
|
+
@election_registration_confirmation_url = args[:election_registration_confirmation_url] if args.key?(:election_registration_confirmation_url)
|
|
159
|
+
@election_registration_url = args[:election_registration_url] if args.key?(:election_registration_url)
|
|
160
|
+
@election_rules_url = args[:election_rules_url] if args.key?(:election_rules_url)
|
|
161
|
+
@hours_of_operation = args[:hours_of_operation] if args.key?(:hours_of_operation)
|
|
162
|
+
@name = args[:name] if args.key?(:name)
|
|
163
|
+
@physical_address = args[:physical_address] if args.key?(:physical_address)
|
|
164
|
+
@voter_services = args[:voter_services] if args.key?(:voter_services)
|
|
165
|
+
@voting_location_finder_url = args[:voting_location_finder_url] if args.key?(:voting_location_finder_url)
|
|
166
166
|
end
|
|
167
167
|
end
|
|
168
168
|
|
|
@@ -216,14 +216,14 @@ module Google
|
|
|
216
216
|
|
|
217
217
|
# Update properties of this object
|
|
218
218
|
def update!(**args)
|
|
219
|
-
@candidate_url = args[:candidate_url]
|
|
220
|
-
@channels = args[:channels]
|
|
221
|
-
@email = args[:email]
|
|
222
|
-
@name = args[:name]
|
|
223
|
-
@order_on_ballot = args[:order_on_ballot]
|
|
224
|
-
@party = args[:party]
|
|
225
|
-
@phone = args[:phone]
|
|
226
|
-
@photo_url = args[:photo_url]
|
|
219
|
+
@candidate_url = args[:candidate_url] if args.key?(:candidate_url)
|
|
220
|
+
@channels = args[:channels] if args.key?(:channels)
|
|
221
|
+
@email = args[:email] if args.key?(:email)
|
|
222
|
+
@name = args[:name] if args.key?(:name)
|
|
223
|
+
@order_on_ballot = args[:order_on_ballot] if args.key?(:order_on_ballot)
|
|
224
|
+
@party = args[:party] if args.key?(:party)
|
|
225
|
+
@phone = args[:phone] if args.key?(:phone)
|
|
226
|
+
@photo_url = args[:photo_url] if args.key?(:photo_url)
|
|
227
227
|
end
|
|
228
228
|
end
|
|
229
229
|
|
|
@@ -249,8 +249,8 @@ module Google
|
|
|
249
249
|
|
|
250
250
|
# Update properties of this object
|
|
251
251
|
def update!(**args)
|
|
252
|
-
@id = args[:id]
|
|
253
|
-
@type = args[:type]
|
|
252
|
+
@id = args[:id] if args.key?(:id)
|
|
253
|
+
@type = args[:type] if args.key?(:type)
|
|
254
254
|
end
|
|
255
255
|
end
|
|
256
256
|
|
|
@@ -408,30 +408,30 @@ module Google
|
|
|
408
408
|
|
|
409
409
|
# Update properties of this object
|
|
410
410
|
def update!(**args)
|
|
411
|
-
@ballot_placement = args[:ballot_placement]
|
|
412
|
-
@candidates = args[:candidates]
|
|
413
|
-
@district = args[:district]
|
|
414
|
-
@electorate_specifications = args[:electorate_specifications]
|
|
415
|
-
@id = args[:id]
|
|
416
|
-
@level = args[:level]
|
|
417
|
-
@number_elected = args[:number_elected]
|
|
418
|
-
@number_voting_for = args[:number_voting_for]
|
|
419
|
-
@office = args[:office]
|
|
420
|
-
@primary_party = args[:primary_party]
|
|
421
|
-
@referendum_ballot_responses = args[:referendum_ballot_responses]
|
|
422
|
-
@referendum_brief = args[:referendum_brief]
|
|
423
|
-
@referendum_con_statement = args[:referendum_con_statement]
|
|
424
|
-
@referendum_effect_of_abstain = args[:referendum_effect_of_abstain]
|
|
425
|
-
@referendum_passage_threshold = args[:referendum_passage_threshold]
|
|
426
|
-
@referendum_pro_statement = args[:referendum_pro_statement]
|
|
427
|
-
@referendum_subtitle = args[:referendum_subtitle]
|
|
428
|
-
@referendum_text = args[:referendum_text]
|
|
429
|
-
@referendum_title = args[:referendum_title]
|
|
430
|
-
@referendum_url = args[:referendum_url]
|
|
431
|
-
@roles = args[:roles]
|
|
432
|
-
@sources = args[:sources]
|
|
433
|
-
@special = args[:special]
|
|
434
|
-
@type = args[:type]
|
|
411
|
+
@ballot_placement = args[:ballot_placement] if args.key?(:ballot_placement)
|
|
412
|
+
@candidates = args[:candidates] if args.key?(:candidates)
|
|
413
|
+
@district = args[:district] if args.key?(:district)
|
|
414
|
+
@electorate_specifications = args[:electorate_specifications] if args.key?(:electorate_specifications)
|
|
415
|
+
@id = args[:id] if args.key?(:id)
|
|
416
|
+
@level = args[:level] if args.key?(:level)
|
|
417
|
+
@number_elected = args[:number_elected] if args.key?(:number_elected)
|
|
418
|
+
@number_voting_for = args[:number_voting_for] if args.key?(:number_voting_for)
|
|
419
|
+
@office = args[:office] if args.key?(:office)
|
|
420
|
+
@primary_party = args[:primary_party] if args.key?(:primary_party)
|
|
421
|
+
@referendum_ballot_responses = args[:referendum_ballot_responses] if args.key?(:referendum_ballot_responses)
|
|
422
|
+
@referendum_brief = args[:referendum_brief] if args.key?(:referendum_brief)
|
|
423
|
+
@referendum_con_statement = args[:referendum_con_statement] if args.key?(:referendum_con_statement)
|
|
424
|
+
@referendum_effect_of_abstain = args[:referendum_effect_of_abstain] if args.key?(:referendum_effect_of_abstain)
|
|
425
|
+
@referendum_passage_threshold = args[:referendum_passage_threshold] if args.key?(:referendum_passage_threshold)
|
|
426
|
+
@referendum_pro_statement = args[:referendum_pro_statement] if args.key?(:referendum_pro_statement)
|
|
427
|
+
@referendum_subtitle = args[:referendum_subtitle] if args.key?(:referendum_subtitle)
|
|
428
|
+
@referendum_text = args[:referendum_text] if args.key?(:referendum_text)
|
|
429
|
+
@referendum_title = args[:referendum_title] if args.key?(:referendum_title)
|
|
430
|
+
@referendum_url = args[:referendum_url] if args.key?(:referendum_url)
|
|
431
|
+
@roles = args[:roles] if args.key?(:roles)
|
|
432
|
+
@sources = args[:sources] if args.key?(:sources)
|
|
433
|
+
@special = args[:special] if args.key?(:special)
|
|
434
|
+
@type = args[:type] if args.key?(:type)
|
|
435
435
|
end
|
|
436
436
|
end
|
|
437
437
|
|
|
@@ -456,8 +456,8 @@ module Google
|
|
|
456
456
|
|
|
457
457
|
# Update properties of this object
|
|
458
458
|
def update!(**args)
|
|
459
|
-
@kind = args[:kind]
|
|
460
|
-
@results = args[:results]
|
|
459
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
460
|
+
@results = args[:results] if args.key?(:results)
|
|
461
461
|
end
|
|
462
462
|
end
|
|
463
463
|
|
|
@@ -490,9 +490,9 @@ module Google
|
|
|
490
490
|
|
|
491
491
|
# Update properties of this object
|
|
492
492
|
def update!(**args)
|
|
493
|
-
@aliases = args[:aliases]
|
|
494
|
-
@name = args[:name]
|
|
495
|
-
@ocd_id = args[:ocd_id]
|
|
493
|
+
@aliases = args[:aliases] if args.key?(:aliases)
|
|
494
|
+
@name = args[:name] if args.key?(:name)
|
|
495
|
+
@ocd_id = args[:ocd_id] if args.key?(:ocd_id)
|
|
496
496
|
end
|
|
497
497
|
end
|
|
498
498
|
|
|
@@ -529,10 +529,10 @@ module Google
|
|
|
529
529
|
|
|
530
530
|
# Update properties of this object
|
|
531
531
|
def update!(**args)
|
|
532
|
-
@election_day = args[:election_day]
|
|
533
|
-
@id = args[:id]
|
|
534
|
-
@name = args[:name]
|
|
535
|
-
@ocd_division_id = args[:ocd_division_id]
|
|
532
|
+
@election_day = args[:election_day] if args.key?(:election_day)
|
|
533
|
+
@id = args[:id] if args.key?(:id)
|
|
534
|
+
@name = args[:name] if args.key?(:name)
|
|
535
|
+
@ocd_division_id = args[:ocd_division_id] if args.key?(:ocd_division_id)
|
|
536
536
|
end
|
|
537
537
|
end
|
|
538
538
|
|
|
@@ -571,11 +571,11 @@ module Google
|
|
|
571
571
|
|
|
572
572
|
# Update properties of this object
|
|
573
573
|
def update!(**args)
|
|
574
|
-
@email_address = args[:email_address]
|
|
575
|
-
@fax_number = args[:fax_number]
|
|
576
|
-
@name = args[:name]
|
|
577
|
-
@office_phone_number = args[:office_phone_number]
|
|
578
|
-
@title = args[:title]
|
|
574
|
+
@email_address = args[:email_address] if args.key?(:email_address)
|
|
575
|
+
@fax_number = args[:fax_number] if args.key?(:fax_number)
|
|
576
|
+
@name = args[:name] if args.key?(:name)
|
|
577
|
+
@office_phone_number = args[:office_phone_number] if args.key?(:office_phone_number)
|
|
578
|
+
@title = args[:title] if args.key?(:title)
|
|
579
579
|
end
|
|
580
580
|
end
|
|
581
581
|
|
|
@@ -600,8 +600,8 @@ module Google
|
|
|
600
600
|
|
|
601
601
|
# Update properties of this object
|
|
602
602
|
def update!(**args)
|
|
603
|
-
@elections = args[:elections]
|
|
604
|
-
@kind = args[:kind]
|
|
603
|
+
@elections = args[:elections] if args.key?(:elections)
|
|
604
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
605
605
|
end
|
|
606
606
|
end
|
|
607
607
|
|
|
@@ -634,9 +634,9 @@ module Google
|
|
|
634
634
|
|
|
635
635
|
# Update properties of this object
|
|
636
636
|
def update!(**args)
|
|
637
|
-
@id = args[:id]
|
|
638
|
-
@name = args[:name]
|
|
639
|
-
@scope = args[:scope]
|
|
637
|
+
@id = args[:id] if args.key?(:id)
|
|
638
|
+
@name = args[:name] if args.key?(:name)
|
|
639
|
+
@scope = args[:scope] if args.key?(:scope)
|
|
640
640
|
end
|
|
641
641
|
end
|
|
642
642
|
|
|
@@ -675,9 +675,9 @@ module Google
|
|
|
675
675
|
|
|
676
676
|
# Update properties of this object
|
|
677
677
|
def update!(**args)
|
|
678
|
-
@also_known_as = args[:also_known_as]
|
|
679
|
-
@name = args[:name]
|
|
680
|
-
@office_indices = args[:office_indices]
|
|
678
|
+
@also_known_as = args[:also_known_as] if args.key?(:also_known_as)
|
|
679
|
+
@name = args[:name] if args.key?(:name)
|
|
680
|
+
@office_indices = args[:office_indices] if args.key?(:office_indices)
|
|
681
681
|
end
|
|
682
682
|
end
|
|
683
683
|
|
|
@@ -730,12 +730,12 @@ module Google
|
|
|
730
730
|
|
|
731
731
|
# Update properties of this object
|
|
732
732
|
def update!(**args)
|
|
733
|
-
@division_id = args[:division_id]
|
|
734
|
-
@levels = args[:levels]
|
|
735
|
-
@name = args[:name]
|
|
736
|
-
@official_indices = args[:official_indices]
|
|
737
|
-
@roles = args[:roles]
|
|
738
|
-
@sources = args[:sources]
|
|
733
|
+
@division_id = args[:division_id] if args.key?(:division_id)
|
|
734
|
+
@levels = args[:levels] if args.key?(:levels)
|
|
735
|
+
@name = args[:name] if args.key?(:name)
|
|
736
|
+
@official_indices = args[:official_indices] if args.key?(:official_indices)
|
|
737
|
+
@roles = args[:roles] if args.key?(:roles)
|
|
738
|
+
@sources = args[:sources] if args.key?(:sources)
|
|
739
739
|
end
|
|
740
740
|
end
|
|
741
741
|
|
|
@@ -789,14 +789,14 @@ module Google
|
|
|
789
789
|
|
|
790
790
|
# Update properties of this object
|
|
791
791
|
def update!(**args)
|
|
792
|
-
@address = args[:address]
|
|
793
|
-
@channels = args[:channels]
|
|
794
|
-
@emails = args[:emails]
|
|
795
|
-
@name = args[:name]
|
|
796
|
-
@party = args[:party]
|
|
797
|
-
@phones = args[:phones]
|
|
798
|
-
@photo_url = args[:photo_url]
|
|
799
|
-
@urls = args[:urls]
|
|
792
|
+
@address = args[:address] if args.key?(:address)
|
|
793
|
+
@channels = args[:channels] if args.key?(:channels)
|
|
794
|
+
@emails = args[:emails] if args.key?(:emails)
|
|
795
|
+
@name = args[:name] if args.key?(:name)
|
|
796
|
+
@party = args[:party] if args.key?(:party)
|
|
797
|
+
@phones = args[:phones] if args.key?(:phones)
|
|
798
|
+
@photo_url = args[:photo_url] if args.key?(:photo_url)
|
|
799
|
+
@urls = args[:urls] if args.key?(:urls)
|
|
800
800
|
end
|
|
801
801
|
end
|
|
802
802
|
|
|
@@ -863,15 +863,15 @@ module Google
|
|
|
863
863
|
|
|
864
864
|
# Update properties of this object
|
|
865
865
|
def update!(**args)
|
|
866
|
-
@address = args[:address]
|
|
867
|
-
@end_date = args[:end_date]
|
|
868
|
-
@id = args[:id]
|
|
869
|
-
@name = args[:name]
|
|
870
|
-
@notes = args[:notes]
|
|
871
|
-
@polling_hours = args[:polling_hours]
|
|
872
|
-
@sources = args[:sources]
|
|
873
|
-
@start_date = args[:start_date]
|
|
874
|
-
@voter_services = args[:voter_services]
|
|
866
|
+
@address = args[:address] if args.key?(:address)
|
|
867
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
|
868
|
+
@id = args[:id] if args.key?(:id)
|
|
869
|
+
@name = args[:name] if args.key?(:name)
|
|
870
|
+
@notes = args[:notes] if args.key?(:notes)
|
|
871
|
+
@polling_hours = args[:polling_hours] if args.key?(:polling_hours)
|
|
872
|
+
@sources = args[:sources] if args.key?(:sources)
|
|
873
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
|
874
|
+
@voter_services = args[:voter_services] if args.key?(:voter_services)
|
|
875
875
|
end
|
|
876
876
|
end
|
|
877
877
|
|
|
@@ -902,9 +902,9 @@ module Google
|
|
|
902
902
|
|
|
903
903
|
# Update properties of this object
|
|
904
904
|
def update!(**args)
|
|
905
|
-
@divisions = args[:divisions]
|
|
906
|
-
@offices = args[:offices]
|
|
907
|
-
@officials = args[:officials]
|
|
905
|
+
@divisions = args[:divisions] if args.key?(:divisions)
|
|
906
|
+
@offices = args[:offices] if args.key?(:offices)
|
|
907
|
+
@officials = args[:officials] if args.key?(:officials)
|
|
908
908
|
end
|
|
909
909
|
end
|
|
910
910
|
|
|
@@ -946,11 +946,11 @@ module Google
|
|
|
946
946
|
|
|
947
947
|
# Update properties of this object
|
|
948
948
|
def update!(**args)
|
|
949
|
-
@divisions = args[:divisions]
|
|
950
|
-
@kind = args[:kind]
|
|
951
|
-
@normalized_input = args[:normalized_input]
|
|
952
|
-
@offices = args[:offices]
|
|
953
|
-
@officials = args[:officials]
|
|
949
|
+
@divisions = args[:divisions] if args.key?(:divisions)
|
|
950
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
951
|
+
@normalized_input = args[:normalized_input] if args.key?(:normalized_input)
|
|
952
|
+
@offices = args[:offices] if args.key?(:offices)
|
|
953
|
+
@officials = args[:officials] if args.key?(:officials)
|
|
954
954
|
end
|
|
955
955
|
end
|
|
956
956
|
|
|
@@ -999,13 +999,13 @@ module Google
|
|
|
999
999
|
|
|
1000
1000
|
# Update properties of this object
|
|
1001
1001
|
def update!(**args)
|
|
1002
|
-
@city = args[:city]
|
|
1003
|
-
@line1 = args[:line1]
|
|
1004
|
-
@line2 = args[:line2]
|
|
1005
|
-
@line3 = args[:line3]
|
|
1006
|
-
@location_name = args[:location_name]
|
|
1007
|
-
@state = args[:state]
|
|
1008
|
-
@zip = args[:zip]
|
|
1002
|
+
@city = args[:city] if args.key?(:city)
|
|
1003
|
+
@line1 = args[:line1] if args.key?(:line1)
|
|
1004
|
+
@line2 = args[:line2] if args.key?(:line2)
|
|
1005
|
+
@line3 = args[:line3] if args.key?(:line3)
|
|
1006
|
+
@location_name = args[:location_name] if args.key?(:location_name)
|
|
1007
|
+
@state = args[:state] if args.key?(:state)
|
|
1008
|
+
@zip = args[:zip] if args.key?(:zip)
|
|
1009
1009
|
end
|
|
1010
1010
|
end
|
|
1011
1011
|
|
|
@@ -1030,8 +1030,8 @@ module Google
|
|
|
1030
1030
|
|
|
1031
1031
|
# Update properties of this object
|
|
1032
1032
|
def update!(**args)
|
|
1033
|
-
@name = args[:name]
|
|
1034
|
-
@official = args[:official]
|
|
1033
|
+
@name = args[:name] if args.key?(:name)
|
|
1034
|
+
@official = args[:official] if args.key?(:official)
|
|
1035
1035
|
end
|
|
1036
1036
|
end
|
|
1037
1037
|
|
|
@@ -1109,17 +1109,17 @@ module Google
|
|
|
1109
1109
|
|
|
1110
1110
|
# Update properties of this object
|
|
1111
1111
|
def update!(**args)
|
|
1112
|
-
@contests = args[:contests]
|
|
1113
|
-
@drop_off_locations = args[:drop_off_locations]
|
|
1114
|
-
@early_vote_sites = args[:early_vote_sites]
|
|
1115
|
-
@election = args[:election]
|
|
1116
|
-
@kind = args[:kind]
|
|
1117
|
-
@mail_only = args[:mail_only]
|
|
1118
|
-
@normalized_input = args[:normalized_input]
|
|
1119
|
-
@other_elections = args[:other_elections]
|
|
1120
|
-
@polling_locations = args[:polling_locations]
|
|
1121
|
-
@precinct_id = args[:precinct_id]
|
|
1122
|
-
@state = args[:state]
|
|
1112
|
+
@contests = args[:contests] if args.key?(:contests)
|
|
1113
|
+
@drop_off_locations = args[:drop_off_locations] if args.key?(:drop_off_locations)
|
|
1114
|
+
@early_vote_sites = args[:early_vote_sites] if args.key?(:early_vote_sites)
|
|
1115
|
+
@election = args[:election] if args.key?(:election)
|
|
1116
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
1117
|
+
@mail_only = args[:mail_only] if args.key?(:mail_only)
|
|
1118
|
+
@normalized_input = args[:normalized_input] if args.key?(:normalized_input)
|
|
1119
|
+
@other_elections = args[:other_elections] if args.key?(:other_elections)
|
|
1120
|
+
@polling_locations = args[:polling_locations] if args.key?(:polling_locations)
|
|
1121
|
+
@precinct_id = args[:precinct_id] if args.key?(:precinct_id)
|
|
1122
|
+
@state = args[:state] if args.key?(:state)
|
|
1123
1123
|
end
|
|
1124
1124
|
end
|
|
1125
1125
|
end
|
|
@@ -112,18 +112,18 @@ module Google
|
|
|
112
112
|
|
|
113
113
|
# Update properties of this object
|
|
114
114
|
def update!(**args)
|
|
115
|
-
@id = args[:id]
|
|
116
|
-
@name = args[:name]
|
|
117
|
-
@section = args[:section]
|
|
118
|
-
@description_heading = args[:description_heading]
|
|
119
|
-
@description = args[:description]
|
|
120
|
-
@room = args[:room]
|
|
121
|
-
@owner_id = args[:owner_id]
|
|
122
|
-
@creation_time = args[:creation_time]
|
|
123
|
-
@update_time = args[:update_time]
|
|
124
|
-
@enrollment_code = args[:enrollment_code]
|
|
125
|
-
@course_state = args[:course_state]
|
|
126
|
-
@alternate_link = args[:alternate_link]
|
|
115
|
+
@id = args[:id] if args.key?(:id)
|
|
116
|
+
@name = args[:name] if args.key?(:name)
|
|
117
|
+
@section = args[:section] if args.key?(:section)
|
|
118
|
+
@description_heading = args[:description_heading] if args.key?(:description_heading)
|
|
119
|
+
@description = args[:description] if args.key?(:description)
|
|
120
|
+
@room = args[:room] if args.key?(:room)
|
|
121
|
+
@owner_id = args[:owner_id] if args.key?(:owner_id)
|
|
122
|
+
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
|
123
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
124
|
+
@enrollment_code = args[:enrollment_code] if args.key?(:enrollment_code)
|
|
125
|
+
@course_state = args[:course_state] if args.key?(:course_state)
|
|
126
|
+
@alternate_link = args[:alternate_link] if args.key?(:alternate_link)
|
|
127
127
|
end
|
|
128
128
|
end
|
|
129
129
|
|
|
@@ -165,8 +165,8 @@ module Google
|
|
|
165
165
|
|
|
166
166
|
# Update properties of this object
|
|
167
167
|
def update!(**args)
|
|
168
|
-
@courses = args[:courses]
|
|
169
|
-
@next_page_token = args[:next_page_token]
|
|
168
|
+
@courses = args[:courses] if args.key?(:courses)
|
|
169
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
170
170
|
end
|
|
171
171
|
end
|
|
172
172
|
|
|
@@ -198,7 +198,7 @@ module Google
|
|
|
198
198
|
|
|
199
199
|
# Update properties of this object
|
|
200
200
|
def update!(**args)
|
|
201
|
-
@alias = args[:alias]
|
|
201
|
+
@alias = args[:alias] if args.key?(:alias)
|
|
202
202
|
end
|
|
203
203
|
end
|
|
204
204
|
|
|
@@ -223,8 +223,8 @@ module Google
|
|
|
223
223
|
|
|
224
224
|
# Update properties of this object
|
|
225
225
|
def update!(**args)
|
|
226
|
-
@aliases = args[:aliases]
|
|
227
|
-
@next_page_token = args[:next_page_token]
|
|
226
|
+
@aliases = args[:aliases] if args.key?(:aliases)
|
|
227
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
228
228
|
end
|
|
229
229
|
end
|
|
230
230
|
|
|
@@ -261,10 +261,10 @@ module Google
|
|
|
261
261
|
|
|
262
262
|
# Update properties of this object
|
|
263
263
|
def update!(**args)
|
|
264
|
-
@id = args[:id]
|
|
265
|
-
@user_id = args[:user_id]
|
|
266
|
-
@course_id = args[:course_id]
|
|
267
|
-
@role = args[:role]
|
|
264
|
+
@id = args[:id] if args.key?(:id)
|
|
265
|
+
@user_id = args[:user_id] if args.key?(:user_id)
|
|
266
|
+
@course_id = args[:course_id] if args.key?(:course_id)
|
|
267
|
+
@role = args[:role] if args.key?(:role)
|
|
268
268
|
end
|
|
269
269
|
end
|
|
270
270
|
|
|
@@ -289,8 +289,8 @@ module Google
|
|
|
289
289
|
|
|
290
290
|
# Update properties of this object
|
|
291
291
|
def update!(**args)
|
|
292
|
-
@invitations = args[:invitations]
|
|
293
|
-
@next_page_token = args[:next_page_token]
|
|
292
|
+
@invitations = args[:invitations] if args.key?(:invitations)
|
|
293
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
294
294
|
end
|
|
295
295
|
end
|
|
296
296
|
|
|
@@ -329,11 +329,11 @@ module Google
|
|
|
329
329
|
|
|
330
330
|
# Update properties of this object
|
|
331
331
|
def update!(**args)
|
|
332
|
-
@id = args[:id]
|
|
333
|
-
@name = args[:name]
|
|
334
|
-
@email_address = args[:email_address]
|
|
335
|
-
@photo_url = args[:photo_url]
|
|
336
|
-
@permissions = args[:permissions]
|
|
332
|
+
@id = args[:id] if args.key?(:id)
|
|
333
|
+
@name = args[:name] if args.key?(:name)
|
|
334
|
+
@email_address = args[:email_address] if args.key?(:email_address)
|
|
335
|
+
@photo_url = args[:photo_url] if args.key?(:photo_url)
|
|
336
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
|
337
337
|
end
|
|
338
338
|
end
|
|
339
339
|
|
|
@@ -363,9 +363,9 @@ module Google
|
|
|
363
363
|
|
|
364
364
|
# Update properties of this object
|
|
365
365
|
def update!(**args)
|
|
366
|
-
@given_name = args[:given_name]
|
|
367
|
-
@family_name = args[:family_name]
|
|
368
|
-
@full_name = args[:full_name]
|
|
366
|
+
@given_name = args[:given_name] if args.key?(:given_name)
|
|
367
|
+
@family_name = args[:family_name] if args.key?(:family_name)
|
|
368
|
+
@full_name = args[:full_name] if args.key?(:full_name)
|
|
369
369
|
end
|
|
370
370
|
end
|
|
371
371
|
|
|
@@ -384,7 +384,7 @@ module Google
|
|
|
384
384
|
|
|
385
385
|
# Update properties of this object
|
|
386
386
|
def update!(**args)
|
|
387
|
-
@permission = args[:permission]
|
|
387
|
+
@permission = args[:permission] if args.key?(:permission)
|
|
388
388
|
end
|
|
389
389
|
end
|
|
390
390
|
|
|
@@ -416,9 +416,9 @@ module Google
|
|
|
416
416
|
|
|
417
417
|
# Update properties of this object
|
|
418
418
|
def update!(**args)
|
|
419
|
-
@course_id = args[:course_id]
|
|
420
|
-
@user_id = args[:user_id]
|
|
421
|
-
@profile = args[:profile]
|
|
419
|
+
@course_id = args[:course_id] if args.key?(:course_id)
|
|
420
|
+
@user_id = args[:user_id] if args.key?(:user_id)
|
|
421
|
+
@profile = args[:profile] if args.key?(:profile)
|
|
422
422
|
end
|
|
423
423
|
end
|
|
424
424
|
|
|
@@ -443,8 +443,8 @@ module Google
|
|
|
443
443
|
|
|
444
444
|
# Update properties of this object
|
|
445
445
|
def update!(**args)
|
|
446
|
-
@teachers = args[:teachers]
|
|
447
|
-
@next_page_token = args[:next_page_token]
|
|
446
|
+
@teachers = args[:teachers] if args.key?(:teachers)
|
|
447
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
448
448
|
end
|
|
449
449
|
end
|
|
450
450
|
|
|
@@ -476,9 +476,9 @@ module Google
|
|
|
476
476
|
|
|
477
477
|
# Update properties of this object
|
|
478
478
|
def update!(**args)
|
|
479
|
-
@course_id = args[:course_id]
|
|
480
|
-
@user_id = args[:user_id]
|
|
481
|
-
@profile = args[:profile]
|
|
479
|
+
@course_id = args[:course_id] if args.key?(:course_id)
|
|
480
|
+
@user_id = args[:user_id] if args.key?(:user_id)
|
|
481
|
+
@profile = args[:profile] if args.key?(:profile)
|
|
482
482
|
end
|
|
483
483
|
end
|
|
484
484
|
|
|
@@ -503,8 +503,8 @@ module Google
|
|
|
503
503
|
|
|
504
504
|
# Update properties of this object
|
|
505
505
|
def update!(**args)
|
|
506
|
-
@students = args[:students]
|
|
507
|
-
@next_page_token = args[:next_page_token]
|
|
506
|
+
@students = args[:students] if args.key?(:students)
|
|
507
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
508
508
|
end
|
|
509
509
|
end
|
|
510
510
|
end
|