google-api-client 0.11.3 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +51 -0
- data/api_names.yaml +32317 -34465
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +44 -44
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +14 -14
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +305 -305
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +82 -82
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +106 -106
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
- data/generated/google/apis/admin_directory_v1/service.rb +26 -26
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
- data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
- data/generated/google/apis/adsense_v1_4/service.rb +44 -44
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
- data/generated/google/apis/analytics_v3/classes.rb +3 -3
- data/generated/google/apis/analytics_v3/representations.rb +3 -3
- data/generated/google/apis/analytics_v3/service.rb +82 -82
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +916 -916
- data/generated/google/apis/analyticsreporting_v4/representations.rb +167 -167
- data/generated/google/apis/analyticsreporting_v4/service.rb +7 -7
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
- data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
- data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
- data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
- data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
- data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +825 -817
- data/generated/google/apis/appengine_v1/representations.rb +185 -184
- data/generated/google/apis/appengine_v1/service.rb +220 -216
- 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 +9 -7
- data/generated/google/apis/bigquery_v2/representations.rb +8 -8
- data/generated/google/apis/bigquery_v2/service.rb +13 -13
- data/generated/google/apis/blogger_v3/service.rb +3 -3
- data/generated/google/apis/books_v1/classes.rb +55 -55
- data/generated/google/apis/books_v1/representations.rb +67 -67
- data/generated/google/apis/books_v1/service.rb +82 -82
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +6 -6
- data/generated/google/apis/calendar_v3/representations.rb +3 -3
- data/generated/google/apis/calendar_v3/service.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +1 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
- data/generated/google/apis/civicinfo_v2/service.rb +8 -8
- data/generated/google/apis/classroom_v1.rb +24 -24
- data/generated/google/apis/classroom_v1/classes.rb +381 -381
- data/generated/google/apis/classroom_v1/representations.rb +108 -108
- data/generated/google/apis/classroom_v1/service.rb +503 -503
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +219 -219
- data/generated/google/apis/cloudbuild_v1/representations.rb +62 -62
- data/generated/google/apis/cloudbuild_v1/service.rb +165 -165
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +133 -133
- data/generated/google/apis/clouddebugger_v2/representations.rb +29 -29
- data/generated/google/apis/clouddebugger_v2/service.rb +54 -54
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +177 -177
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +47 -47
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +123 -123
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
- data/generated/google/apis/cloudkms_v1.rb +3 -3
- data/generated/google/apis/cloudkms_v1/classes.rb +229 -229
- data/generated/google/apis/cloudkms_v1/representations.rb +54 -54
- data/generated/google/apis/cloudkms_v1/service.rb +224 -224
- data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1199 -1199
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +192 -192
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +122 -122
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +495 -495
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +92 -92
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +320 -320
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +44 -44
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +28 -28
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +57 -15
- data/generated/google/apis/compute_beta/representations.rb +30 -14
- data/generated/google/apis/compute_beta/service.rb +52 -52
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +223 -10
- data/generated/google/apis/compute_v1/representations.rb +85 -16
- data/generated/google/apis/compute_v1/service.rb +327 -51
- data/generated/google/apis/container_v1/classes.rb +267 -267
- data/generated/google/apis/container_v1/representations.rb +61 -61
- data/generated/google/apis/container_v1/service.rb +123 -123
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +71 -71
- data/generated/google/apis/content_v2/representations.rb +105 -105
- data/generated/google/apis/content_v2/service.rb +120 -120
- data/generated/google/apis/dataflow_v1b3.rb +4 -4
- data/generated/google/apis/dataflow_v1b3/classes.rb +3442 -3452
- data/generated/google/apis/dataflow_v1b3/representations.rb +388 -389
- data/generated/google/apis/dataflow_v1b3/service.rb +265 -265
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1059 -1059
- data/generated/google/apis/dataproc_v1/representations.rb +147 -147
- data/generated/google/apis/dataproc_v1/service.rb +309 -305
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +818 -818
- data/generated/google/apis/datastore_v1/representations.rb +151 -151
- data/generated/google/apis/datastore_v1/service.rb +62 -62
- data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
- data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
- data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
- data/generated/google/apis/discovery_v1/classes.rb +4 -4
- data/generated/google/apis/discovery_v1/representations.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +3 -3
- data/generated/google/apis/dns_v1/representations.rb +6 -6
- data/generated/google/apis/dns_v1/service.rb +12 -12
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +188 -188
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +62 -62
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +4 -4
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +403 -206
- data/generated/google/apis/firebaserules_v1/representations.rb +134 -54
- data/generated/google/apis/firebaserules_v1/service.rb +89 -89
- data/generated/google/apis/fusiontables_v2/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
- data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +23 -23
- data/generated/google/apis/games_v1/representations.rb +43 -43
- data/generated/google/apis/games_v1/service.rb +72 -72
- data/generated/google/apis/genomics_v1.rb +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +2296 -2297
- data/generated/google/apis/genomics_v1/representations.rb +298 -298
- data/generated/google/apis/genomics_v1/service.rb +1160 -1160
- data/generated/google/apis/groupssettings_v1/service.rb +0 -3
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +235 -235
- data/generated/google/apis/iam_v1/representations.rb +72 -72
- data/generated/google/apis/iam_v1/service.rb +189 -189
- data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
- data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
- data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +10 -10
- data/generated/google/apis/language_v1/classes.rb +220 -220
- data/generated/google/apis/language_v1/representations.rb +81 -81
- data/generated/google/apis/language_v1/service.rb +43 -43
- data/generated/google/apis/language_v1beta1/classes.rb +448 -448
- data/generated/google/apis/language_v1beta1/representations.rb +106 -106
- data/generated/google/apis/language_v1beta1/service.rb +31 -31
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/logging_v2/classes.rb +737 -737
- data/generated/google/apis/logging_v2/representations.rb +120 -120
- data/generated/google/apis/logging_v2/service.rb +479 -479
- data/generated/google/apis/logging_v2beta1/classes.rb +293 -293
- data/generated/google/apis/logging_v2beta1/representations.rb +54 -54
- data/generated/google/apis/logging_v2beta1/service.rb +349 -349
- data/generated/google/apis/manufacturers_v1/classes.rb +423 -423
- data/generated/google/apis/manufacturers_v1/representations.rb +61 -61
- data/generated/google/apis/manufacturers_v1/service.rb +8 -8
- data/generated/google/apis/mirror_v1/classes.rb +5 -5
- data/generated/google/apis/mirror_v1/representations.rb +10 -10
- data/generated/google/apis/mirror_v1/service.rb +20 -20
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1285 -1205
- data/generated/google/apis/ml_v1/representations.rb +204 -174
- data/generated/google/apis/ml_v1/service.rb +150 -145
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +880 -880
- data/generated/google/apis/monitoring_v3/representations.rb +154 -154
- data/generated/google/apis/monitoring_v3/service.rb +299 -299
- data/generated/google/apis/mybusiness_v3/service.rb +5 -5
- data/generated/google/apis/oauth2_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
- data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +524 -509
- data/generated/google/apis/partners_v2/representations.rb +115 -111
- data/generated/google/apis/partners_v2/service.rb +287 -287
- data/generated/google/apis/people_v1.rb +13 -13
- data/generated/google/apis/people_v1/classes.rb +1150 -1150
- data/generated/google/apis/people_v1/representations.rb +258 -258
- data/generated/google/apis/people_v1/service.rb +7 -7
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +4 -4
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/service.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -8
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +554 -554
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +108 -108
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +224 -224
- data/generated/google/apis/pubsub_v1/classes.rb +228 -228
- data/generated/google/apis/pubsub_v1/representations.rb +69 -69
- data/generated/google/apis/pubsub_v1/service.rb +182 -182
- data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
- data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
- data/generated/google/apis/qpx_express_v1/service.rb +8 -8
- data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
- data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
- data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
- data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
- data/generated/google/apis/runtimeconfig_v1.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1/classes.rb +19 -19
- data/generated/google/apis/runtimeconfig_v1/representations.rb +10 -10
- data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
- data/generated/google/apis/script_v1.rb +9 -9
- data/generated/google/apis/script_v1/classes.rb +94 -94
- data/generated/google/apis/script_v1/representations.rb +26 -26
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +65 -65
- data/generated/google/apis/searchconsole_v1/representations.rb +27 -27
- data/generated/google/apis/searchconsole_v1/service.rb +6 -6
- data/generated/google/apis/servicecontrol_v1/classes.rb +1131 -1131
- data/generated/google/apis/servicecontrol_v1/representations.rb +195 -195
- data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
- data/generated/google/apis/servicemanagement_v1.rb +7 -7
- data/generated/google/apis/servicemanagement_v1/classes.rb +3543 -3585
- data/generated/google/apis/servicemanagement_v1/representations.rb +556 -556
- data/generated/google/apis/servicemanagement_v1/service.rb +309 -309
- data/generated/google/apis/serviceuser_v1.rb +4 -4
- data/generated/google/apis/serviceuser_v1/classes.rb +2734 -2776
- data/generated/google/apis/serviceuser_v1/representations.rb +398 -398
- data/generated/google/apis/serviceuser_v1/service.rb +16 -16
- data/generated/google/apis/sheets_v4/classes.rb +1489 -1489
- data/generated/google/apis/sheets_v4/representations.rb +324 -324
- data/generated/google/apis/sheets_v4/service.rb +49 -49
- data/generated/google/apis/site_verification_v1/classes.rb +6 -6
- data/generated/google/apis/site_verification_v1/representations.rb +8 -8
- data/generated/google/apis/site_verification_v1/service.rb +12 -12
- data/generated/google/apis/slides_v1.rb +4 -4
- data/generated/google/apis/slides_v1/classes.rb +2907 -2907
- data/generated/google/apis/slides_v1/representations.rb +695 -695
- data/generated/google/apis/slides_v1/service.rb +40 -40
- data/generated/google/apis/sourcerepo_v1.rb +7 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +459 -452
- data/generated/google/apis/sourcerepo_v1/representations.rb +90 -89
- data/generated/google/apis/sourcerepo_v1/service.rb +101 -100
- data/generated/google/apis/spanner_v1/classes.rb +2557 -2557
- data/generated/google/apis/spanner_v1/representations.rb +205 -205
- data/generated/google/apis/spanner_v1/service.rb +525 -525
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +73 -73
- data/generated/google/apis/speech_v1beta1/representations.rb +25 -25
- data/generated/google/apis/speech_v1beta1/service.rb +33 -33
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +16 -15
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +28 -28
- data/generated/google/apis/sqladmin_v1beta4/service.rb +58 -57
- data/generated/google/apis/storage_v1/classes.rb +6 -6
- data/generated/google/apis/storage_v1/representations.rb +4 -4
- data/generated/google/apis/storage_v1/service.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +357 -357
- data/generated/google/apis/storagetransfer_v1/representations.rb +87 -87
- data/generated/google/apis/storagetransfer_v1/service.rb +53 -48
- data/generated/google/apis/tagmanager_v1/service.rb +33 -33
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/translate_v2.rb +1 -1
- data/generated/google/apis/translate_v2/classes.rb +46 -46
- data/generated/google/apis/translate_v2/representations.rb +22 -22
- data/generated/google/apis/translate_v2/service.rb +81 -74
- data/generated/google/apis/vision_v1/classes.rb +1290 -1290
- data/generated/google/apis/vision_v1/representations.rb +166 -166
- data/generated/google/apis/vision_v1/service.rb +6 -6
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/representations.rb +8 -8
- data/generated/google/apis/webmasters_v3/service.rb +21 -21
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_v3/classes.rb +20 -20
- data/generated/google/apis/youtube_v3/representations.rb +40 -40
- data/generated/google/apis/youtube_v3/service.rb +80 -80
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +127 -127
- data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
- data/generated/google/apis/youtubereporting_v1/service.rb +90 -90
- data/google-api-client.gemspec +3 -3
- data/lib/google/apis/core/base_service.rb +6 -0
- data/lib/google/apis/generator/annotator.rb +2 -2
- data/lib/google/apis/generator/model.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -94
- data/dl.rb +0 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +0 -35
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +0 -1335
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +0 -446
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +0 -872
- data/generated/google/apis/appengine_v1beta4.rb +0 -35
- data/generated/google/apis/appengine_v1beta4/classes.rb +0 -1585
- data/generated/google/apis/appengine_v1beta4/representations.rb +0 -542
- data/generated/google/apis/appengine_v1beta4/service.rb +0 -477
- data/generated/google/apis/appengine_v1beta5.rb +0 -40
- data/generated/google/apis/appengine_v1beta5/classes.rb +0 -2094
- data/generated/google/apis/appengine_v1beta5/representations.rb +0 -802
- data/generated/google/apis/appengine_v1beta5/service.rb +0 -867
- data/generated/google/apis/autoscaler_v1beta2.rb +0 -38
- data/generated/google/apis/autoscaler_v1beta2/classes.rb +0 -710
- data/generated/google/apis/autoscaler_v1beta2/representations.rb +0 -296
- data/generated/google/apis/autoscaler_v1beta2/service.rb +0 -478
- data/generated/google/apis/classroom_v1beta1.rb +0 -49
- data/generated/google/apis/classroom_v1beta1/classes.rb +0 -447
- data/generated/google/apis/classroom_v1beta1/representations.rb +0 -190
- data/generated/google/apis/classroom_v1beta1/service.rb +0 -791
- data/generated/google/apis/cloudkms_v1beta1.rb +0 -35
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +0 -1039
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +0 -448
- data/generated/google/apis/cloudkms_v1beta1/service.rb +0 -933
- data/generated/google/apis/cloudlatencytest_v2.rb +0 -34
- data/generated/google/apis/cloudlatencytest_v2/classes.rb +0 -195
- data/generated/google/apis/cloudlatencytest_v2/representations.rb +0 -127
- data/generated/google/apis/cloudlatencytest_v2/service.rb +0 -135
- data/generated/google/apis/container_v1beta1.rb +0 -35
- data/generated/google/apis/container_v1beta1/classes.rb +0 -466
- data/generated/google/apis/container_v1beta1/representations.rb +0 -177
- data/generated/google/apis/container_v1beta1/service.rb +0 -394
- data/generated/google/apis/coordinate_v1.rb +0 -37
- data/generated/google/apis/coordinate_v1/classes.rb +0 -669
- data/generated/google/apis/coordinate_v1/representations.rb +0 -321
- data/generated/google/apis/coordinate_v1/service.rb +0 -678
- data/generated/google/apis/datastore_v1beta2.rb +0 -40
- data/generated/google/apis/datastore_v1beta2/classes.rb +0 -1186
- data/generated/google/apis/datastore_v1beta2/representations.rb +0 -594
- data/generated/google/apis/datastore_v1beta2/service.rb +0 -294
- data/generated/google/apis/datastore_v1beta3.rb +0 -38
- data/generated/google/apis/datastore_v1beta3/classes.rb +0 -1284
- data/generated/google/apis/datastore_v1beta3/representations.rb +0 -572
- data/generated/google/apis/datastore_v1beta3/service.rb +0 -259
- data/generated/google/apis/deploymentmanager_v2beta2.rb +0 -44
- data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +0 -843
- data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +0 -306
- data/generated/google/apis/deploymentmanager_v2beta2/service.rb +0 -689
- data/generated/google/apis/dfareporting_v2_1.rb +0 -37
- data/generated/google/apis/dfareporting_v2_1/classes.rb +0 -10770
- data/generated/google/apis/dfareporting_v2_1/representations.rb +0 -3438
- data/generated/google/apis/dfareporting_v2_1/service.rb +0 -8585
- data/generated/google/apis/dfareporting_v2_3.rb +0 -37
- data/generated/google/apis/dfareporting_v2_3/classes.rb +0 -10839
- data/generated/google/apis/dfareporting_v2_3/representations.rb +0 -3829
- data/generated/google/apis/dfareporting_v2_3/service.rb +0 -8581
- data/generated/google/apis/dfareporting_v2_5.rb +0 -40
- data/generated/google/apis/dfareporting_v2_5/classes.rb +0 -11225
- data/generated/google/apis/dfareporting_v2_5/representations.rb +0 -3982
- data/generated/google/apis/dfareporting_v2_5/service.rb +0 -8755
- data/generated/google/apis/dfareporting_v2_6.rb +0 -40
- data/generated/google/apis/dfareporting_v2_6/classes.rb +0 -11599
- data/generated/google/apis/dfareporting_v2_6/representations.rb +0 -4119
- data/generated/google/apis/dfareporting_v2_6/service.rb +0 -9026
- data/generated/google/apis/gan_v1beta1.rb +0 -31
- data/generated/google/apis/gan_v1beta1/classes.rb +0 -1428
- data/generated/google/apis/gan_v1beta1/representations.rb +0 -462
- data/generated/google/apis/gan_v1beta1/service.rb +0 -682
- data/generated/google/apis/genomics_v1beta2.rb +0 -46
- data/generated/google/apis/genomics_v1beta2/classes.rb +0 -3288
- data/generated/google/apis/genomics_v1beta2/representations.rb +0 -1194
- data/generated/google/apis/genomics_v1beta2/service.rb +0 -2392
- data/generated/google/apis/logging_v1beta3.rb +0 -47
- data/generated/google/apis/logging_v1beta3/classes.rb +0 -1079
- data/generated/google/apis/logging_v1beta3/representations.rb +0 -366
- data/generated/google/apis/logging_v1beta3/service.rb +0 -1001
- data/generated/google/apis/manager_v1beta2.rb +0 -53
- data/generated/google/apis/manager_v1beta2/classes.rb +0 -1287
- data/generated/google/apis/manager_v1beta2/representations.rb +0 -606
- data/generated/google/apis/manager_v1beta2/service.rb +0 -372
- data/generated/google/apis/pubsub_v1beta2.rb +0 -37
- data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -620
- data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -282
- data/generated/google/apis/pubsub_v1beta2/service.rb +0 -774
- data/generated/google/apis/tracing_v1.rb +0 -40
- data/generated/google/apis/tracing_v1/classes.rb +0 -664
- data/generated/google/apis/tracing_v1/representations.rb +0 -279
- data/generated/google/apis/tracing_v1/service.rb +0 -226
@@ -47,12 +47,13 @@ module Google
|
|
47
47
|
@batch_path = 'batch'
|
48
48
|
end
|
49
49
|
|
50
|
-
#
|
51
|
-
#
|
50
|
+
# Get the service account information associated with your project. You need
|
51
|
+
# this information in order to grant the service account persmissions for
|
52
|
+
# the Google Cloud Storage location where you put your model training code
|
53
|
+
# for training the model with Google Cloud Machine Learning.
|
52
54
|
# @param [String] name
|
53
|
-
# Required. The
|
54
|
-
# Authorization: requires `Viewer` role on the
|
55
|
-
# @param [Google::Apis::MlV1::GoogleCloudMlV1PredictRequest] google_cloud_ml_v1__predict_request_object
|
55
|
+
# Required. The project name.
|
56
|
+
# Authorization: requires `Viewer` role on the specified project.
|
56
57
|
# @param [String] quota_user
|
57
58
|
# Available to use for quota purposes for server-side applications. Can be any
|
58
59
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
@@ -62,33 +63,30 @@ module Google
|
|
62
63
|
# Request-specific options
|
63
64
|
#
|
64
65
|
# @yield [result, err] Result & error if block supplied
|
65
|
-
# @yieldparam result [Google::Apis::MlV1::
|
66
|
+
# @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1GetConfigResponse] parsed result object
|
66
67
|
# @yieldparam err [StandardError] error object if request failed
|
67
68
|
#
|
68
|
-
# @return [Google::Apis::MlV1::
|
69
|
+
# @return [Google::Apis::MlV1::GoogleCloudMlV1GetConfigResponse]
|
69
70
|
#
|
70
71
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
71
72
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
72
73
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
73
|
-
def
|
74
|
-
command = make_simple_command(:
|
75
|
-
command.
|
76
|
-
command.
|
77
|
-
command.response_representation = Google::Apis::MlV1::GoogleApiHttpBody::Representation
|
78
|
-
command.response_class = Google::Apis::MlV1::GoogleApiHttpBody
|
74
|
+
def get_project_config(name, quota_user: nil, fields: nil, options: nil, &block)
|
75
|
+
command = make_simple_command(:get, 'v1/{+name}:getConfig', options)
|
76
|
+
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1GetConfigResponse::Representation
|
77
|
+
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1GetConfigResponse
|
79
78
|
command.params['name'] = name unless name.nil?
|
80
79
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
81
80
|
command.query['fields'] = fields unless fields.nil?
|
82
81
|
execute_or_queue_command(command, &block)
|
83
82
|
end
|
84
83
|
|
85
|
-
#
|
86
|
-
#
|
87
|
-
# the Google Cloud Storage location where you put your model training code
|
88
|
-
# for training the model with Google Cloud Machine Learning.
|
84
|
+
# Performs prediction on the data in the request.
|
85
|
+
# **** REMOVE FROM GENERATED DOCUMENTATION
|
89
86
|
# @param [String] name
|
90
|
-
# Required. The
|
91
|
-
# Authorization: requires `Viewer` role on the
|
87
|
+
# Required. The resource name of a model or a version.
|
88
|
+
# Authorization: requires `Viewer` role on the parent project.
|
89
|
+
# @param [Google::Apis::MlV1::GoogleCloudMlV1PredictRequest] google_cloud_ml_v1__predict_request_object
|
92
90
|
# @param [String] quota_user
|
93
91
|
# Available to use for quota purposes for server-side applications. Can be any
|
94
92
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
@@ -98,36 +96,43 @@ module Google
|
|
98
96
|
# Request-specific options
|
99
97
|
#
|
100
98
|
# @yield [result, err] Result & error if block supplied
|
101
|
-
# @yieldparam result [Google::Apis::MlV1::
|
99
|
+
# @yieldparam result [Google::Apis::MlV1::GoogleApiHttpBody] parsed result object
|
102
100
|
# @yieldparam err [StandardError] error object if request failed
|
103
101
|
#
|
104
|
-
# @return [Google::Apis::MlV1::
|
102
|
+
# @return [Google::Apis::MlV1::GoogleApiHttpBody]
|
105
103
|
#
|
106
104
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
107
105
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
108
106
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
109
|
-
def
|
110
|
-
command = make_simple_command(:
|
111
|
-
command.
|
112
|
-
command.
|
107
|
+
def predict_project(name, google_cloud_ml_v1__predict_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
108
|
+
command = make_simple_command(:post, 'v1/{+name}:predict', options)
|
109
|
+
command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1PredictRequest::Representation
|
110
|
+
command.request_object = google_cloud_ml_v1__predict_request_object
|
111
|
+
command.response_representation = Google::Apis::MlV1::GoogleApiHttpBody::Representation
|
112
|
+
command.response_class = Google::Apis::MlV1::GoogleApiHttpBody
|
113
113
|
command.params['name'] = name unless name.nil?
|
114
114
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
115
115
|
command.query['fields'] = fields unless fields.nil?
|
116
116
|
execute_or_queue_command(command, &block)
|
117
117
|
end
|
118
118
|
|
119
|
-
#
|
120
|
-
#
|
121
|
-
#
|
122
|
-
# `
|
123
|
-
#
|
124
|
-
#
|
125
|
-
#
|
126
|
-
#
|
127
|
-
#
|
128
|
-
# corresponding to `Code.CANCELLED`.
|
119
|
+
# Lists operations that match the specified filter in the request. If the
|
120
|
+
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
121
|
+
# NOTE: the `name` binding allows API services to override the binding
|
122
|
+
# to use different resource name schemes, such as `users/*/operations`. To
|
123
|
+
# override the binding, API services can add a binding such as
|
124
|
+
# `"/v1/`name=users/*`/operations"` to their service configuration.
|
125
|
+
# For backwards compatibility, the default name includes the operations
|
126
|
+
# collection id, however overriding users must ensure the name binding
|
127
|
+
# is the parent resource, without the operations collection id.
|
129
128
|
# @param [String] name
|
130
|
-
# The name of the operation resource
|
129
|
+
# The name of the operation's parent resource.
|
130
|
+
# @param [String] page_token
|
131
|
+
# The standard list page token.
|
132
|
+
# @param [Fixnum] page_size
|
133
|
+
# The standard list page size.
|
134
|
+
# @param [String] filter
|
135
|
+
# The standard list filter.
|
131
136
|
# @param [String] quota_user
|
132
137
|
# Available to use for quota purposes for server-side applications. Can be any
|
133
138
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
@@ -137,30 +142,32 @@ module Google
|
|
137
142
|
# Request-specific options
|
138
143
|
#
|
139
144
|
# @yield [result, err] Result & error if block supplied
|
140
|
-
# @yieldparam result [Google::Apis::MlV1::
|
145
|
+
# @yieldparam result [Google::Apis::MlV1::GoogleLongrunningListOperationsResponse] parsed result object
|
141
146
|
# @yieldparam err [StandardError] error object if request failed
|
142
147
|
#
|
143
|
-
# @return [Google::Apis::MlV1::
|
148
|
+
# @return [Google::Apis::MlV1::GoogleLongrunningListOperationsResponse]
|
144
149
|
#
|
145
150
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
146
151
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
147
152
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
148
|
-
def
|
149
|
-
command = make_simple_command(:
|
150
|
-
command.response_representation = Google::Apis::MlV1::
|
151
|
-
command.response_class = Google::Apis::MlV1::
|
153
|
+
def list_project_operations(name, page_token: nil, page_size: nil, filter: nil, quota_user: nil, fields: nil, options: nil, &block)
|
154
|
+
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
155
|
+
command.response_representation = Google::Apis::MlV1::GoogleLongrunningListOperationsResponse::Representation
|
156
|
+
command.response_class = Google::Apis::MlV1::GoogleLongrunningListOperationsResponse
|
152
157
|
command.params['name'] = name unless name.nil?
|
158
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
159
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
160
|
+
command.query['filter'] = filter unless filter.nil?
|
153
161
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
154
162
|
command.query['fields'] = fields unless fields.nil?
|
155
163
|
execute_or_queue_command(command, &block)
|
156
164
|
end
|
157
165
|
|
158
|
-
#
|
159
|
-
#
|
160
|
-
#
|
161
|
-
# `google.rpc.Code.UNIMPLEMENTED`.
|
166
|
+
# Gets the latest state of a long-running operation. Clients can use this
|
167
|
+
# method to poll the operation result at intervals as recommended by the API
|
168
|
+
# service.
|
162
169
|
# @param [String] name
|
163
|
-
# The name of the operation resource
|
170
|
+
# The name of the operation resource.
|
164
171
|
# @param [String] quota_user
|
165
172
|
# Available to use for quota purposes for server-side applications. Can be any
|
166
173
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
@@ -170,36 +177,36 @@ module Google
|
|
170
177
|
# Request-specific options
|
171
178
|
#
|
172
179
|
# @yield [result, err] Result & error if block supplied
|
173
|
-
# @yieldparam result [Google::Apis::MlV1::
|
180
|
+
# @yieldparam result [Google::Apis::MlV1::GoogleLongrunningOperation] parsed result object
|
174
181
|
# @yieldparam err [StandardError] error object if request failed
|
175
182
|
#
|
176
|
-
# @return [Google::Apis::MlV1::
|
183
|
+
# @return [Google::Apis::MlV1::GoogleLongrunningOperation]
|
177
184
|
#
|
178
185
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
179
186
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
180
187
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
181
|
-
def
|
182
|
-
command = make_simple_command(:
|
183
|
-
command.response_representation = Google::Apis::MlV1::
|
184
|
-
command.response_class = Google::Apis::MlV1::
|
188
|
+
def get_project_operation(name, quota_user: nil, fields: nil, options: nil, &block)
|
189
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
190
|
+
command.response_representation = Google::Apis::MlV1::GoogleLongrunningOperation::Representation
|
191
|
+
command.response_class = Google::Apis::MlV1::GoogleLongrunningOperation
|
185
192
|
command.params['name'] = name unless name.nil?
|
186
193
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
187
194
|
command.query['fields'] = fields unless fields.nil?
|
188
195
|
execute_or_queue_command(command, &block)
|
189
196
|
end
|
190
197
|
|
191
|
-
#
|
192
|
-
#
|
193
|
-
#
|
194
|
-
#
|
198
|
+
# Starts asynchronous cancellation on a long-running operation. The server
|
199
|
+
# makes a best effort to cancel the operation, but success is not
|
200
|
+
# guaranteed. If the server doesn't support this method, it returns
|
201
|
+
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
|
202
|
+
# Operations.GetOperation or
|
203
|
+
# other methods to check whether the cancellation succeeded or whether the
|
204
|
+
# operation completed despite cancellation. On successful cancellation,
|
205
|
+
# the operation is not deleted; instead, it becomes an operation with
|
206
|
+
# an Operation.error value with a google.rpc.Status.code of 1,
|
207
|
+
# corresponding to `Code.CANCELLED`.
|
195
208
|
# @param [String] name
|
196
|
-
# The name of the operation
|
197
|
-
# @param [String] filter
|
198
|
-
# The standard list filter.
|
199
|
-
# @param [String] page_token
|
200
|
-
# The standard list page token.
|
201
|
-
# @param [Fixnum] page_size
|
202
|
-
# The standard list page size.
|
209
|
+
# The name of the operation resource to be cancelled.
|
203
210
|
# @param [String] quota_user
|
204
211
|
# Available to use for quota purposes for server-side applications. Can be any
|
205
212
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
@@ -209,32 +216,30 @@ module Google
|
|
209
216
|
# Request-specific options
|
210
217
|
#
|
211
218
|
# @yield [result, err] Result & error if block supplied
|
212
|
-
# @yieldparam result [Google::Apis::MlV1::
|
219
|
+
# @yieldparam result [Google::Apis::MlV1::GoogleProtobufEmpty] parsed result object
|
213
220
|
# @yieldparam err [StandardError] error object if request failed
|
214
221
|
#
|
215
|
-
# @return [Google::Apis::MlV1::
|
222
|
+
# @return [Google::Apis::MlV1::GoogleProtobufEmpty]
|
216
223
|
#
|
217
224
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
218
225
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
219
226
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
220
|
-
def
|
221
|
-
command = make_simple_command(:
|
222
|
-
command.response_representation = Google::Apis::MlV1::
|
223
|
-
command.response_class = Google::Apis::MlV1::
|
227
|
+
def cancel_project_operation(name, quota_user: nil, fields: nil, options: nil, &block)
|
228
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
229
|
+
command.response_representation = Google::Apis::MlV1::GoogleProtobufEmpty::Representation
|
230
|
+
command.response_class = Google::Apis::MlV1::GoogleProtobufEmpty
|
224
231
|
command.params['name'] = name unless name.nil?
|
225
|
-
command.query['filter'] = filter unless filter.nil?
|
226
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
227
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
228
232
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
229
233
|
command.query['fields'] = fields unless fields.nil?
|
230
234
|
execute_or_queue_command(command, &block)
|
231
235
|
end
|
232
236
|
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
237
|
+
# Deletes a long-running operation. This method indicates that the client is
|
238
|
+
# no longer interested in the operation result. It does not cancel the
|
239
|
+
# operation. If the server doesn't support this method, it returns
|
240
|
+
# `google.rpc.Code.UNIMPLEMENTED`.
|
236
241
|
# @param [String] name
|
237
|
-
# The name of the operation resource.
|
242
|
+
# The name of the operation resource to be deleted.
|
238
243
|
# @param [String] quota_user
|
239
244
|
# Available to use for quota purposes for server-side applications. Can be any
|
240
245
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
@@ -244,18 +249,18 @@ module Google
|
|
244
249
|
# Request-specific options
|
245
250
|
#
|
246
251
|
# @yield [result, err] Result & error if block supplied
|
247
|
-
# @yieldparam result [Google::Apis::MlV1::
|
252
|
+
# @yieldparam result [Google::Apis::MlV1::GoogleProtobufEmpty] parsed result object
|
248
253
|
# @yieldparam err [StandardError] error object if request failed
|
249
254
|
#
|
250
|
-
# @return [Google::Apis::MlV1::
|
255
|
+
# @return [Google::Apis::MlV1::GoogleProtobufEmpty]
|
251
256
|
#
|
252
257
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
253
258
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
254
259
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
255
|
-
def
|
256
|
-
command = make_simple_command(:
|
257
|
-
command.response_representation = Google::Apis::MlV1::
|
258
|
-
command.response_class = Google::Apis::MlV1::
|
260
|
+
def delete_project_operation(name, quota_user: nil, fields: nil, options: nil, &block)
|
261
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
262
|
+
command.response_representation = Google::Apis::MlV1::GoogleProtobufEmpty::Representation
|
263
|
+
command.response_class = Google::Apis::MlV1::GoogleProtobufEmpty
|
259
264
|
command.params['name'] = name unless name.nil?
|
260
265
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
261
266
|
command.query['fields'] = fields unless fields.nil?
|
@@ -268,15 +273,15 @@ module Google
|
|
268
273
|
# @param [String] parent
|
269
274
|
# Required. The name of the project whose models are to be listed.
|
270
275
|
# Authorization: requires `Viewer` role on the specified project.
|
271
|
-
# @param [String] page_token
|
272
|
-
# Optional. A page token to request the next page of results.
|
273
|
-
# You get the token from the `next_page_token` field of the response from
|
274
|
-
# the previous call.
|
275
276
|
# @param [Fixnum] page_size
|
276
277
|
# Optional. The number of models to retrieve per "page" of results. If there
|
277
278
|
# are more remaining results than this number, the response message will
|
278
279
|
# contain a valid value in the `next_page_token` field.
|
279
280
|
# The default value is 20, and the maximum page size is 100.
|
281
|
+
# @param [String] page_token
|
282
|
+
# Optional. A page token to request the next page of results.
|
283
|
+
# You get the token from the `next_page_token` field of the response from
|
284
|
+
# the previous call.
|
280
285
|
# @param [String] quota_user
|
281
286
|
# Available to use for quota purposes for server-side applications. Can be any
|
282
287
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
@@ -294,13 +299,13 @@ module Google
|
|
294
299
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
295
300
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
296
301
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
297
|
-
def list_project_models(parent,
|
302
|
+
def list_project_models(parent, page_size: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block)
|
298
303
|
command = make_simple_command(:get, 'v1/{+parent}/models', options)
|
299
304
|
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1ListModelsResponse::Representation
|
300
305
|
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1ListModelsResponse
|
301
306
|
command.params['parent'] = parent unless parent.nil?
|
302
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
303
307
|
command.query['pageSize'] = page_size unless page_size.nil?
|
308
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
304
309
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
305
310
|
command.query['fields'] = fields unless fields.nil?
|
306
311
|
execute_or_queue_command(command, &block)
|
@@ -412,44 +417,6 @@ module Google
|
|
412
417
|
execute_or_queue_command(command, &block)
|
413
418
|
end
|
414
419
|
|
415
|
-
# Deletes a model version.
|
416
|
-
# Each model can have multiple versions deployed and in use at any given
|
417
|
-
# time. Use this method to remove a single version.
|
418
|
-
# Note: You cannot delete the version that is set as the default version
|
419
|
-
# of the model unless it is the only remaining version.
|
420
|
-
# @param [String] name
|
421
|
-
# Required. The name of the version. You can get the names of all the
|
422
|
-
# versions of a model by calling
|
423
|
-
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
|
424
|
-
# versions/list).
|
425
|
-
# Authorization: requires `Editor` role on the parent project.
|
426
|
-
# @param [String] quota_user
|
427
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
428
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
429
|
-
# @param [String] fields
|
430
|
-
# Selector specifying which fields to include in a partial response.
|
431
|
-
# @param [Google::Apis::RequestOptions] options
|
432
|
-
# Request-specific options
|
433
|
-
#
|
434
|
-
# @yield [result, err] Result & error if block supplied
|
435
|
-
# @yieldparam result [Google::Apis::MlV1::GoogleLongrunningOperation] parsed result object
|
436
|
-
# @yieldparam err [StandardError] error object if request failed
|
437
|
-
#
|
438
|
-
# @return [Google::Apis::MlV1::GoogleLongrunningOperation]
|
439
|
-
#
|
440
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
441
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
442
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
443
|
-
def delete_project_model_version(name, quota_user: nil, fields: nil, options: nil, &block)
|
444
|
-
command = make_simple_command(:delete, 'v1/{+name}', options)
|
445
|
-
command.response_representation = Google::Apis::MlV1::GoogleLongrunningOperation::Representation
|
446
|
-
command.response_class = Google::Apis::MlV1::GoogleLongrunningOperation
|
447
|
-
command.params['name'] = name unless name.nil?
|
448
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
449
|
-
command.query['fields'] = fields unless fields.nil?
|
450
|
-
execute_or_queue_command(command, &block)
|
451
|
-
end
|
452
|
-
|
453
420
|
# Gets basic information about all the versions of a model.
|
454
421
|
# If you expect that a model has a lot of versions, or if you need to handle
|
455
422
|
# only a limited number of results at a time, you can request that the list
|
@@ -614,11 +581,17 @@ module Google
|
|
614
581
|
execute_or_queue_command(command, &block)
|
615
582
|
end
|
616
583
|
|
617
|
-
#
|
584
|
+
# Deletes a model version.
|
585
|
+
# Each model can have multiple versions deployed and in use at any given
|
586
|
+
# time. Use this method to remove a single version.
|
587
|
+
# Note: You cannot delete the version that is set as the default version
|
588
|
+
# of the model unless it is the only remaining version.
|
618
589
|
# @param [String] name
|
619
|
-
# Required. The name of the
|
590
|
+
# Required. The name of the version. You can get the names of all the
|
591
|
+
# versions of a model by calling
|
592
|
+
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
|
593
|
+
# versions/list).
|
620
594
|
# Authorization: requires `Editor` role on the parent project.
|
621
|
-
# @param [Google::Apis::MlV1::GoogleCloudMlV1CancelJobRequest] google_cloud_ml_v1__cancel_job_request_object
|
622
595
|
# @param [String] quota_user
|
623
596
|
# Available to use for quota purposes for server-side applications. Can be any
|
624
597
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
@@ -628,20 +601,18 @@ module Google
|
|
628
601
|
# Request-specific options
|
629
602
|
#
|
630
603
|
# @yield [result, err] Result & error if block supplied
|
631
|
-
# @yieldparam result [Google::Apis::MlV1::
|
604
|
+
# @yieldparam result [Google::Apis::MlV1::GoogleLongrunningOperation] parsed result object
|
632
605
|
# @yieldparam err [StandardError] error object if request failed
|
633
606
|
#
|
634
|
-
# @return [Google::Apis::MlV1::
|
607
|
+
# @return [Google::Apis::MlV1::GoogleLongrunningOperation]
|
635
608
|
#
|
636
609
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
637
610
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
638
611
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
639
|
-
def
|
640
|
-
command = make_simple_command(:
|
641
|
-
command.
|
642
|
-
command.
|
643
|
-
command.response_representation = Google::Apis::MlV1::GoogleProtobufEmpty::Representation
|
644
|
-
command.response_class = Google::Apis::MlV1::GoogleProtobufEmpty
|
612
|
+
def delete_project_model_version(name, quota_user: nil, fields: nil, options: nil, &block)
|
613
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
614
|
+
command.response_representation = Google::Apis::MlV1::GoogleLongrunningOperation::Representation
|
615
|
+
command.response_class = Google::Apis::MlV1::GoogleLongrunningOperation
|
645
616
|
command.params['name'] = name unless name.nil?
|
646
617
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
647
618
|
command.query['fields'] = fields unless fields.nil?
|
@@ -652,17 +623,17 @@ module Google
|
|
652
623
|
# @param [String] parent
|
653
624
|
# Required. The name of the project for which to list jobs.
|
654
625
|
# Authorization: requires `Viewer` role on the specified project.
|
655
|
-
# @param [Fixnum] page_size
|
656
|
-
# Optional. The number of jobs to retrieve per "page" of results. If there
|
657
|
-
# are more remaining results than this number, the response message will
|
658
|
-
# contain a valid value in the `next_page_token` field.
|
659
|
-
# The default value is 20, and the maximum page size is 100.
|
660
626
|
# @param [String] filter
|
661
627
|
# Optional. Specifies the subset of jobs to retrieve.
|
662
628
|
# @param [String] page_token
|
663
629
|
# Optional. A page token to request the next page of results.
|
664
630
|
# You get the token from the `next_page_token` field of the response from
|
665
631
|
# the previous call.
|
632
|
+
# @param [Fixnum] page_size
|
633
|
+
# Optional. The number of jobs to retrieve per "page" of results. If there
|
634
|
+
# are more remaining results than this number, the response message will
|
635
|
+
# contain a valid value in the `next_page_token` field.
|
636
|
+
# The default value is 20, and the maximum page size is 100.
|
666
637
|
# @param [String] quota_user
|
667
638
|
# Available to use for quota purposes for server-side applications. Can be any
|
668
639
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
@@ -680,14 +651,14 @@ module Google
|
|
680
651
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
681
652
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
682
653
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
683
|
-
def list_project_jobs(parent,
|
654
|
+
def list_project_jobs(parent, filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
|
684
655
|
command = make_simple_command(:get, 'v1/{+parent}/jobs', options)
|
685
656
|
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1ListJobsResponse::Representation
|
686
657
|
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1ListJobsResponse
|
687
658
|
command.params['parent'] = parent unless parent.nil?
|
688
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
689
659
|
command.query['filter'] = filter unless filter.nil?
|
690
660
|
command.query['pageToken'] = page_token unless page_token.nil?
|
661
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
691
662
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
692
663
|
command.query['fields'] = fields unless fields.nil?
|
693
664
|
execute_or_queue_command(command, &block)
|
@@ -757,6 +728,40 @@ module Google
|
|
757
728
|
command.query['fields'] = fields unless fields.nil?
|
758
729
|
execute_or_queue_command(command, &block)
|
759
730
|
end
|
731
|
+
|
732
|
+
# Cancels a running job.
|
733
|
+
# @param [String] name
|
734
|
+
# Required. The name of the job to cancel.
|
735
|
+
# Authorization: requires `Editor` role on the parent project.
|
736
|
+
# @param [Google::Apis::MlV1::GoogleCloudMlV1CancelJobRequest] google_cloud_ml_v1__cancel_job_request_object
|
737
|
+
# @param [String] quota_user
|
738
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
739
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
740
|
+
# @param [String] fields
|
741
|
+
# Selector specifying which fields to include in a partial response.
|
742
|
+
# @param [Google::Apis::RequestOptions] options
|
743
|
+
# Request-specific options
|
744
|
+
#
|
745
|
+
# @yield [result, err] Result & error if block supplied
|
746
|
+
# @yieldparam result [Google::Apis::MlV1::GoogleProtobufEmpty] parsed result object
|
747
|
+
# @yieldparam err [StandardError] error object if request failed
|
748
|
+
#
|
749
|
+
# @return [Google::Apis::MlV1::GoogleProtobufEmpty]
|
750
|
+
#
|
751
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
752
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
753
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
754
|
+
def cancel_project_job(name, google_cloud_ml_v1__cancel_job_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
755
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
756
|
+
command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1CancelJobRequest::Representation
|
757
|
+
command.request_object = google_cloud_ml_v1__cancel_job_request_object
|
758
|
+
command.response_representation = Google::Apis::MlV1::GoogleProtobufEmpty::Representation
|
759
|
+
command.response_class = Google::Apis::MlV1::GoogleProtobufEmpty
|
760
|
+
command.params['name'] = name unless name.nil?
|
761
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
762
|
+
command.query['fields'] = fields unless fields.nil?
|
763
|
+
execute_or_queue_command(command, &block)
|
764
|
+
end
|
760
765
|
|
761
766
|
protected
|
762
767
|
|