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
|
@@ -62,12 +62,12 @@ module Google
|
|
|
62
62
|
|
|
63
63
|
# Update properties of this object
|
|
64
64
|
def update!(**args)
|
|
65
|
-
@data_description = args[:data_description]
|
|
66
|
-
@errors = args[:errors]
|
|
67
|
-
@id = args[:id]
|
|
68
|
-
@kind = args[:kind]
|
|
69
|
-
@model_description = args[:model_description]
|
|
70
|
-
@self_link = args[:self_link]
|
|
65
|
+
@data_description = args[:data_description] if args.key?(:data_description)
|
|
66
|
+
@errors = args[:errors] if args.key?(:errors)
|
|
67
|
+
@id = args[:id] if args.key?(:id)
|
|
68
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
69
|
+
@model_description = args[:model_description] if args.key?(:model_description)
|
|
70
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
71
71
|
end
|
|
72
72
|
|
|
73
73
|
# Description of the data the model was trained on.
|
|
@@ -90,8 +90,8 @@ module Google
|
|
|
90
90
|
|
|
91
91
|
# Update properties of this object
|
|
92
92
|
def update!(**args)
|
|
93
|
-
@features = args[:features]
|
|
94
|
-
@output_feature = args[:output_feature]
|
|
93
|
+
@features = args[:features] if args.key?(:features)
|
|
94
|
+
@output_feature = args[:output_feature] if args.key?(:output_feature)
|
|
95
95
|
end
|
|
96
96
|
|
|
97
97
|
#
|
|
@@ -124,10 +124,10 @@ module Google
|
|
|
124
124
|
|
|
125
125
|
# Update properties of this object
|
|
126
126
|
def update!(**args)
|
|
127
|
-
@categorical = args[:categorical]
|
|
128
|
-
@index = args[:index]
|
|
129
|
-
@numeric = args[:numeric]
|
|
130
|
-
@text = args[:text]
|
|
127
|
+
@categorical = args[:categorical] if args.key?(:categorical)
|
|
128
|
+
@index = args[:index] if args.key?(:index)
|
|
129
|
+
@numeric = args[:numeric] if args.key?(:numeric)
|
|
130
|
+
@text = args[:text] if args.key?(:text)
|
|
131
131
|
end
|
|
132
132
|
|
|
133
133
|
# Description of the categorical values of this feature.
|
|
@@ -150,8 +150,8 @@ module Google
|
|
|
150
150
|
|
|
151
151
|
# Update properties of this object
|
|
152
152
|
def update!(**args)
|
|
153
|
-
@count = args[:count]
|
|
154
|
-
@values = args[:values]
|
|
153
|
+
@count = args[:count] if args.key?(:count)
|
|
154
|
+
@values = args[:values] if args.key?(:values)
|
|
155
155
|
end
|
|
156
156
|
|
|
157
157
|
#
|
|
@@ -174,8 +174,8 @@ module Google
|
|
|
174
174
|
|
|
175
175
|
# Update properties of this object
|
|
176
176
|
def update!(**args)
|
|
177
|
-
@count = args[:count]
|
|
178
|
-
@value = args[:value]
|
|
177
|
+
@count = args[:count] if args.key?(:count)
|
|
178
|
+
@value = args[:value] if args.key?(:value)
|
|
179
179
|
end
|
|
180
180
|
end
|
|
181
181
|
end
|
|
@@ -205,9 +205,9 @@ module Google
|
|
|
205
205
|
|
|
206
206
|
# Update properties of this object
|
|
207
207
|
def update!(**args)
|
|
208
|
-
@count = args[:count]
|
|
209
|
-
@mean = args[:mean]
|
|
210
|
-
@variance = args[:variance]
|
|
208
|
+
@count = args[:count] if args.key?(:count)
|
|
209
|
+
@mean = args[:mean] if args.key?(:mean)
|
|
210
|
+
@variance = args[:variance] if args.key?(:variance)
|
|
211
211
|
end
|
|
212
212
|
end
|
|
213
213
|
|
|
@@ -226,7 +226,7 @@ module Google
|
|
|
226
226
|
|
|
227
227
|
# Update properties of this object
|
|
228
228
|
def update!(**args)
|
|
229
|
-
@count = args[:count]
|
|
229
|
+
@count = args[:count] if args.key?(:count)
|
|
230
230
|
end
|
|
231
231
|
end
|
|
232
232
|
end
|
|
@@ -251,8 +251,8 @@ module Google
|
|
|
251
251
|
|
|
252
252
|
# Update properties of this object
|
|
253
253
|
def update!(**args)
|
|
254
|
-
@numeric = args[:numeric]
|
|
255
|
-
@text = args[:text]
|
|
254
|
+
@numeric = args[:numeric] if args.key?(:numeric)
|
|
255
|
+
@text = args[:text] if args.key?(:text)
|
|
256
256
|
end
|
|
257
257
|
|
|
258
258
|
# Description of the output values in the data set.
|
|
@@ -280,9 +280,9 @@ module Google
|
|
|
280
280
|
|
|
281
281
|
# Update properties of this object
|
|
282
282
|
def update!(**args)
|
|
283
|
-
@count = args[:count]
|
|
284
|
-
@mean = args[:mean]
|
|
285
|
-
@variance = args[:variance]
|
|
283
|
+
@count = args[:count] if args.key?(:count)
|
|
284
|
+
@mean = args[:mean] if args.key?(:mean)
|
|
285
|
+
@variance = args[:variance] if args.key?(:variance)
|
|
286
286
|
end
|
|
287
287
|
end
|
|
288
288
|
|
|
@@ -306,8 +306,8 @@ module Google
|
|
|
306
306
|
|
|
307
307
|
# Update properties of this object
|
|
308
308
|
def update!(**args)
|
|
309
|
-
@count = args[:count]
|
|
310
|
-
@value = args[:value]
|
|
309
|
+
@count = args[:count] if args.key?(:count)
|
|
310
|
+
@value = args[:value] if args.key?(:value)
|
|
311
311
|
end
|
|
312
312
|
end
|
|
313
313
|
end
|
|
@@ -342,9 +342,9 @@ module Google
|
|
|
342
342
|
|
|
343
343
|
# Update properties of this object
|
|
344
344
|
def update!(**args)
|
|
345
|
-
@confusion_matrix = args[:confusion_matrix]
|
|
346
|
-
@confusion_matrix_row_totals = args[:confusion_matrix_row_totals]
|
|
347
|
-
@modelinfo = args[:modelinfo]
|
|
345
|
+
@confusion_matrix = args[:confusion_matrix] if args.key?(:confusion_matrix)
|
|
346
|
+
@confusion_matrix_row_totals = args[:confusion_matrix_row_totals] if args.key?(:confusion_matrix_row_totals)
|
|
347
|
+
@modelinfo = args[:modelinfo] if args.key?(:modelinfo)
|
|
348
348
|
end
|
|
349
349
|
end
|
|
350
350
|
end
|
|
@@ -364,7 +364,7 @@ module Google
|
|
|
364
364
|
|
|
365
365
|
# Update properties of this object
|
|
366
366
|
def update!(**args)
|
|
367
|
-
@input = args[:input]
|
|
367
|
+
@input = args[:input] if args.key?(:input)
|
|
368
368
|
end
|
|
369
369
|
|
|
370
370
|
# Input to the model for a prediction.
|
|
@@ -382,7 +382,7 @@ module Google
|
|
|
382
382
|
|
|
383
383
|
# Update properties of this object
|
|
384
384
|
def update!(**args)
|
|
385
|
-
@csv_instance = args[:csv_instance]
|
|
385
|
+
@csv_instance = args[:csv_instance] if args.key?(:csv_instance)
|
|
386
386
|
end
|
|
387
387
|
end
|
|
388
388
|
end
|
|
@@ -438,14 +438,14 @@ module Google
|
|
|
438
438
|
|
|
439
439
|
# Update properties of this object
|
|
440
440
|
def update!(**args)
|
|
441
|
-
@id = args[:id]
|
|
442
|
-
@model_type = args[:model_type]
|
|
443
|
-
@source_model = args[:source_model]
|
|
444
|
-
@storage_data_location = args[:storage_data_location]
|
|
445
|
-
@storage_pmml_location = args[:storage_pmml_location]
|
|
446
|
-
@storage_pmml_model_location = args[:storage_pmml_model_location]
|
|
447
|
-
@training_instances = args[:training_instances]
|
|
448
|
-
@utility = args[:utility]
|
|
441
|
+
@id = args[:id] if args.key?(:id)
|
|
442
|
+
@model_type = args[:model_type] if args.key?(:model_type)
|
|
443
|
+
@source_model = args[:source_model] if args.key?(:source_model)
|
|
444
|
+
@storage_data_location = args[:storage_data_location] if args.key?(:storage_data_location)
|
|
445
|
+
@storage_pmml_location = args[:storage_pmml_location] if args.key?(:storage_pmml_location)
|
|
446
|
+
@storage_pmml_model_location = args[:storage_pmml_model_location] if args.key?(:storage_pmml_model_location)
|
|
447
|
+
@training_instances = args[:training_instances] if args.key?(:training_instances)
|
|
448
|
+
@utility = args[:utility] if args.key?(:utility)
|
|
449
449
|
end
|
|
450
450
|
|
|
451
451
|
#
|
|
@@ -468,8 +468,8 @@ module Google
|
|
|
468
468
|
|
|
469
469
|
# Update properties of this object
|
|
470
470
|
def update!(**args)
|
|
471
|
-
@csv_instance = args[:csv_instance]
|
|
472
|
-
@output = args[:output]
|
|
471
|
+
@csv_instance = args[:csv_instance] if args.key?(:csv_instance)
|
|
472
|
+
@output = args[:output] if args.key?(:output)
|
|
473
473
|
end
|
|
474
474
|
end
|
|
475
475
|
end
|
|
@@ -540,17 +540,17 @@ module Google
|
|
|
540
540
|
|
|
541
541
|
# Update properties of this object
|
|
542
542
|
def update!(**args)
|
|
543
|
-
@created = args[:created]
|
|
544
|
-
@id = args[:id]
|
|
545
|
-
@kind = args[:kind]
|
|
546
|
-
@model_info = args[:model_info]
|
|
547
|
-
@model_type = args[:model_type]
|
|
548
|
-
@self_link = args[:self_link]
|
|
549
|
-
@storage_data_location = args[:storage_data_location]
|
|
550
|
-
@storage_pmml_location = args[:storage_pmml_location]
|
|
551
|
-
@storage_pmml_model_location = args[:storage_pmml_model_location]
|
|
552
|
-
@training_complete = args[:training_complete]
|
|
553
|
-
@training_status = args[:training_status]
|
|
543
|
+
@created = args[:created] if args.key?(:created)
|
|
544
|
+
@id = args[:id] if args.key?(:id)
|
|
545
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
546
|
+
@model_info = args[:model_info] if args.key?(:model_info)
|
|
547
|
+
@model_type = args[:model_type] if args.key?(:model_type)
|
|
548
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
549
|
+
@storage_data_location = args[:storage_data_location] if args.key?(:storage_data_location)
|
|
550
|
+
@storage_pmml_location = args[:storage_pmml_location] if args.key?(:storage_pmml_location)
|
|
551
|
+
@storage_pmml_model_location = args[:storage_pmml_model_location] if args.key?(:storage_pmml_model_location)
|
|
552
|
+
@training_complete = args[:training_complete] if args.key?(:training_complete)
|
|
553
|
+
@training_status = args[:training_status] if args.key?(:training_status)
|
|
554
554
|
end
|
|
555
555
|
|
|
556
556
|
# Model metadata.
|
|
@@ -600,12 +600,12 @@ module Google
|
|
|
600
600
|
|
|
601
601
|
# Update properties of this object
|
|
602
602
|
def update!(**args)
|
|
603
|
-
@class_weighted_accuracy = args[:class_weighted_accuracy]
|
|
604
|
-
@classification_accuracy = args[:classification_accuracy]
|
|
605
|
-
@mean_squared_error = args[:mean_squared_error]
|
|
606
|
-
@model_type = args[:model_type]
|
|
607
|
-
@number_instances = args[:number_instances]
|
|
608
|
-
@number_labels = args[:number_labels]
|
|
603
|
+
@class_weighted_accuracy = args[:class_weighted_accuracy] if args.key?(:class_weighted_accuracy)
|
|
604
|
+
@classification_accuracy = args[:classification_accuracy] if args.key?(:classification_accuracy)
|
|
605
|
+
@mean_squared_error = args[:mean_squared_error] if args.key?(:mean_squared_error)
|
|
606
|
+
@model_type = args[:model_type] if args.key?(:model_type)
|
|
607
|
+
@number_instances = args[:number_instances] if args.key?(:number_instances)
|
|
608
|
+
@number_labels = args[:number_labels] if args.key?(:number_labels)
|
|
609
609
|
end
|
|
610
610
|
end
|
|
611
611
|
end
|
|
@@ -640,10 +640,10 @@ module Google
|
|
|
640
640
|
|
|
641
641
|
# Update properties of this object
|
|
642
642
|
def update!(**args)
|
|
643
|
-
@items = args[:items]
|
|
644
|
-
@kind = args[:kind]
|
|
645
|
-
@next_page_token = args[:next_page_token]
|
|
646
|
-
@self_link = args[:self_link]
|
|
643
|
+
@items = args[:items] if args.key?(:items)
|
|
644
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
645
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
646
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
647
647
|
end
|
|
648
648
|
end
|
|
649
649
|
|
|
@@ -688,12 +688,12 @@ module Google
|
|
|
688
688
|
|
|
689
689
|
# Update properties of this object
|
|
690
690
|
def update!(**args)
|
|
691
|
-
@id = args[:id]
|
|
692
|
-
@kind = args[:kind]
|
|
693
|
-
@output_label = args[:output_label]
|
|
694
|
-
@output_multi = args[:output_multi]
|
|
695
|
-
@output_value = args[:output_value]
|
|
696
|
-
@self_link = args[:self_link]
|
|
691
|
+
@id = args[:id] if args.key?(:id)
|
|
692
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
693
|
+
@output_label = args[:output_label] if args.key?(:output_label)
|
|
694
|
+
@output_multi = args[:output_multi] if args.key?(:output_multi)
|
|
695
|
+
@output_value = args[:output_value] if args.key?(:output_value)
|
|
696
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
697
697
|
end
|
|
698
698
|
|
|
699
699
|
#
|
|
@@ -716,8 +716,8 @@ module Google
|
|
|
716
716
|
|
|
717
717
|
# Update properties of this object
|
|
718
718
|
def update!(**args)
|
|
719
|
-
@label = args[:label]
|
|
720
|
-
@score = args[:score]
|
|
719
|
+
@label = args[:label] if args.key?(:label)
|
|
720
|
+
@score = args[:score] if args.key?(:score)
|
|
721
721
|
end
|
|
722
722
|
end
|
|
723
723
|
end
|
|
@@ -742,8 +742,8 @@ module Google
|
|
|
742
742
|
|
|
743
743
|
# Update properties of this object
|
|
744
744
|
def update!(**args)
|
|
745
|
-
@csv_instance = args[:csv_instance]
|
|
746
|
-
@output = args[:output]
|
|
745
|
+
@csv_instance = args[:csv_instance] if args.key?(:csv_instance)
|
|
746
|
+
@output = args[:output] if args.key?(:output)
|
|
747
747
|
end
|
|
748
748
|
end
|
|
749
749
|
end
|
|
@@ -105,15 +105,15 @@ module Google
|
|
|
105
105
|
|
|
106
106
|
# Update properties of this object
|
|
107
107
|
def update!(**args)
|
|
108
|
-
@beacon_name = args[:beacon_name]
|
|
109
|
-
@advertised_id = args[:advertised_id]
|
|
110
|
-
@status = args[:status]
|
|
111
|
-
@place_id = args[:place_id]
|
|
112
|
-
@lat_lng = args[:lat_lng]
|
|
113
|
-
@indoor_level = args[:indoor_level]
|
|
114
|
-
@expected_stability = args[:expected_stability]
|
|
115
|
-
@description = args[:description]
|
|
116
|
-
@properties = args[:properties]
|
|
108
|
+
@beacon_name = args[:beacon_name] if args.key?(:beacon_name)
|
|
109
|
+
@advertised_id = args[:advertised_id] if args.key?(:advertised_id)
|
|
110
|
+
@status = args[:status] if args.key?(:status)
|
|
111
|
+
@place_id = args[:place_id] if args.key?(:place_id)
|
|
112
|
+
@lat_lng = args[:lat_lng] if args.key?(:lat_lng)
|
|
113
|
+
@indoor_level = args[:indoor_level] if args.key?(:indoor_level)
|
|
114
|
+
@expected_stability = args[:expected_stability] if args.key?(:expected_stability)
|
|
115
|
+
@description = args[:description] if args.key?(:description)
|
|
116
|
+
@properties = args[:properties] if args.key?(:properties)
|
|
117
117
|
end
|
|
118
118
|
end
|
|
119
119
|
|
|
@@ -141,8 +141,8 @@ module Google
|
|
|
141
141
|
|
|
142
142
|
# Update properties of this object
|
|
143
143
|
def update!(**args)
|
|
144
|
-
@type = args[:type]
|
|
145
|
-
@id = args[:id]
|
|
144
|
+
@type = args[:type] if args.key?(:type)
|
|
145
|
+
@id = args[:id] if args.key?(:id)
|
|
146
146
|
end
|
|
147
147
|
end
|
|
148
148
|
|
|
@@ -184,8 +184,8 @@ module Google
|
|
|
184
184
|
|
|
185
185
|
# Update properties of this object
|
|
186
186
|
def update!(**args)
|
|
187
|
-
@latitude = args[:latitude]
|
|
188
|
-
@longitude = args[:longitude]
|
|
187
|
+
@latitude = args[:latitude] if args.key?(:latitude)
|
|
188
|
+
@longitude = args[:longitude] if args.key?(:longitude)
|
|
189
189
|
end
|
|
190
190
|
end
|
|
191
191
|
|
|
@@ -205,7 +205,7 @@ module Google
|
|
|
205
205
|
|
|
206
206
|
# Update properties of this object
|
|
207
207
|
def update!(**args)
|
|
208
|
-
@name = args[:name]
|
|
208
|
+
@name = args[:name] if args.key?(:name)
|
|
209
209
|
end
|
|
210
210
|
end
|
|
211
211
|
|
|
@@ -253,9 +253,9 @@ module Google
|
|
|
253
253
|
|
|
254
254
|
# Update properties of this object
|
|
255
255
|
def update!(**args)
|
|
256
|
-
@beacons = args[:beacons]
|
|
257
|
-
@next_page_token = args[:next_page_token]
|
|
258
|
-
@total_count = args[:total_count]
|
|
256
|
+
@beacons = args[:beacons] if args.key?(:beacons)
|
|
257
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
258
|
+
@total_count = args[:total_count] if args.key?(:total_count)
|
|
259
259
|
end
|
|
260
260
|
end
|
|
261
261
|
|
|
@@ -290,9 +290,9 @@ module Google
|
|
|
290
290
|
|
|
291
291
|
# Update properties of this object
|
|
292
292
|
def update!(**args)
|
|
293
|
-
@attachment_name = args[:attachment_name]
|
|
294
|
-
@namespaced_type = args[:namespaced_type]
|
|
295
|
-
@data = args[:data]
|
|
293
|
+
@attachment_name = args[:attachment_name] if args.key?(:attachment_name)
|
|
294
|
+
@namespaced_type = args[:namespaced_type] if args.key?(:namespaced_type)
|
|
295
|
+
@data = args[:data] if args.key?(:data)
|
|
296
296
|
end
|
|
297
297
|
end
|
|
298
298
|
|
|
@@ -311,7 +311,7 @@ module Google
|
|
|
311
311
|
|
|
312
312
|
# Update properties of this object
|
|
313
313
|
def update!(**args)
|
|
314
|
-
@attachments = args[:attachments]
|
|
314
|
+
@attachments = args[:attachments] if args.key?(:attachments)
|
|
315
315
|
end
|
|
316
316
|
end
|
|
317
317
|
|
|
@@ -330,7 +330,7 @@ module Google
|
|
|
330
330
|
|
|
331
331
|
# Update properties of this object
|
|
332
332
|
def update!(**args)
|
|
333
|
-
@num_deleted = args[:num_deleted]
|
|
333
|
+
@num_deleted = args[:num_deleted] if args.key?(:num_deleted)
|
|
334
334
|
end
|
|
335
335
|
end
|
|
336
336
|
|
|
@@ -349,7 +349,7 @@ module Google
|
|
|
349
349
|
|
|
350
350
|
# Update properties of this object
|
|
351
351
|
def update!(**args)
|
|
352
|
-
@namespaces = args[:namespaces]
|
|
352
|
+
@namespaces = args[:namespaces] if args.key?(:namespaces)
|
|
353
353
|
end
|
|
354
354
|
end
|
|
355
355
|
|
|
@@ -377,8 +377,8 @@ module Google
|
|
|
377
377
|
|
|
378
378
|
# Update properties of this object
|
|
379
379
|
def update!(**args)
|
|
380
|
-
@namespace_name = args[:namespace_name]
|
|
381
|
-
@serving_visibility = args[:serving_visibility]
|
|
380
|
+
@namespace_name = args[:namespace_name] if args.key?(:namespace_name)
|
|
381
|
+
@serving_visibility = args[:serving_visibility] if args.key?(:serving_visibility)
|
|
382
382
|
end
|
|
383
383
|
end
|
|
384
384
|
|
|
@@ -403,8 +403,8 @@ module Google
|
|
|
403
403
|
|
|
404
404
|
# Update properties of this object
|
|
405
405
|
def update!(**args)
|
|
406
|
-
@diagnostics = args[:diagnostics]
|
|
407
|
-
@next_page_token = args[:next_page_token]
|
|
406
|
+
@diagnostics = args[:diagnostics] if args.key?(:diagnostics)
|
|
407
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
408
408
|
end
|
|
409
409
|
end
|
|
410
410
|
|
|
@@ -439,9 +439,9 @@ module Google
|
|
|
439
439
|
|
|
440
440
|
# Update properties of this object
|
|
441
441
|
def update!(**args)
|
|
442
|
-
@beacon_name = args[:beacon_name]
|
|
443
|
-
@estimated_low_battery_date = args[:estimated_low_battery_date]
|
|
444
|
-
@alerts = args[:alerts]
|
|
442
|
+
@beacon_name = args[:beacon_name] if args.key?(:beacon_name)
|
|
443
|
+
@estimated_low_battery_date = args[:estimated_low_battery_date] if args.key?(:estimated_low_battery_date)
|
|
444
|
+
@alerts = args[:alerts] if args.key?(:alerts)
|
|
445
445
|
end
|
|
446
446
|
end
|
|
447
447
|
|
|
@@ -478,9 +478,9 @@ module Google
|
|
|
478
478
|
|
|
479
479
|
# Update properties of this object
|
|
480
480
|
def update!(**args)
|
|
481
|
-
@year = args[:year]
|
|
482
|
-
@month = args[:month]
|
|
483
|
-
@day = args[:day]
|
|
481
|
+
@year = args[:year] if args.key?(:year)
|
|
482
|
+
@month = args[:month] if args.key?(:month)
|
|
483
|
+
@day = args[:day] if args.key?(:day)
|
|
484
484
|
end
|
|
485
485
|
end
|
|
486
486
|
|
|
@@ -508,8 +508,8 @@ module Google
|
|
|
508
508
|
|
|
509
509
|
# Update properties of this object
|
|
510
510
|
def update!(**args)
|
|
511
|
-
@observations = args[:observations]
|
|
512
|
-
@namespaced_types = args[:namespaced_types]
|
|
511
|
+
@observations = args[:observations] if args.key?(:observations)
|
|
512
|
+
@namespaced_types = args[:namespaced_types] if args.key?(:namespaced_types)
|
|
513
513
|
end
|
|
514
514
|
end
|
|
515
515
|
|
|
@@ -541,9 +541,9 @@ module Google
|
|
|
541
541
|
|
|
542
542
|
# Update properties of this object
|
|
543
543
|
def update!(**args)
|
|
544
|
-
@advertised_id = args[:advertised_id]
|
|
545
|
-
@telemetry = args[:telemetry]
|
|
546
|
-
@timestamp_ms = args[:timestamp_ms]
|
|
544
|
+
@advertised_id = args[:advertised_id] if args.key?(:advertised_id)
|
|
545
|
+
@telemetry = args[:telemetry] if args.key?(:telemetry)
|
|
546
|
+
@timestamp_ms = args[:timestamp_ms] if args.key?(:timestamp_ms)
|
|
547
547
|
end
|
|
548
548
|
end
|
|
549
549
|
|
|
@@ -563,7 +563,7 @@ module Google
|
|
|
563
563
|
|
|
564
564
|
# Update properties of this object
|
|
565
565
|
def update!(**args)
|
|
566
|
-
@beacons = args[:beacons]
|
|
566
|
+
@beacons = args[:beacons] if args.key?(:beacons)
|
|
567
567
|
end
|
|
568
568
|
end
|
|
569
569
|
|
|
@@ -600,10 +600,10 @@ module Google
|
|
|
600
600
|
|
|
601
601
|
# Update properties of this object
|
|
602
602
|
def update!(**args)
|
|
603
|
-
@advertised_id = args[:advertised_id]
|
|
604
|
-
@beacon_name = args[:beacon_name]
|
|
605
|
-
@description = args[:description]
|
|
606
|
-
@attachments = args[:attachments]
|
|
603
|
+
@advertised_id = args[:advertised_id] if args.key?(:advertised_id)
|
|
604
|
+
@beacon_name = args[:beacon_name] if args.key?(:beacon_name)
|
|
605
|
+
@description = args[:description] if args.key?(:description)
|
|
606
|
+
@attachments = args[:attachments] if args.key?(:attachments)
|
|
607
607
|
end
|
|
608
608
|
end
|
|
609
609
|
|
|
@@ -630,8 +630,8 @@ module Google
|
|
|
630
630
|
|
|
631
631
|
# Update properties of this object
|
|
632
632
|
def update!(**args)
|
|
633
|
-
@namespaced_type = args[:namespaced_type]
|
|
634
|
-
@data = args[:data]
|
|
633
|
+
@namespaced_type = args[:namespaced_type] if args.key?(:namespaced_type)
|
|
634
|
+
@data = args[:data] if args.key?(:data)
|
|
635
635
|
end
|
|
636
636
|
end
|
|
637
637
|
end
|