google-api-client 0.11.3 → 0.12.0
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 +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
@@ -1,321 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'date'
|
16
|
-
require 'google/apis/core/base_service'
|
17
|
-
require 'google/apis/core/json_representation'
|
18
|
-
require 'google/apis/core/hashable'
|
19
|
-
require 'google/apis/errors'
|
20
|
-
|
21
|
-
module Google
|
22
|
-
module Apis
|
23
|
-
module CoordinateV1
|
24
|
-
|
25
|
-
class CustomField
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
-
|
28
|
-
include Google::Apis::Core::JsonObjectSupport
|
29
|
-
end
|
30
|
-
|
31
|
-
class CustomFieldDef
|
32
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
-
|
34
|
-
include Google::Apis::Core::JsonObjectSupport
|
35
|
-
end
|
36
|
-
|
37
|
-
class ListCustomFieldDefResponse
|
38
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
-
|
40
|
-
include Google::Apis::Core::JsonObjectSupport
|
41
|
-
end
|
42
|
-
|
43
|
-
class CustomFields
|
44
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
-
|
46
|
-
include Google::Apis::Core::JsonObjectSupport
|
47
|
-
end
|
48
|
-
|
49
|
-
class EnumItemDef
|
50
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
-
|
52
|
-
include Google::Apis::Core::JsonObjectSupport
|
53
|
-
end
|
54
|
-
|
55
|
-
class Job
|
56
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
-
|
58
|
-
include Google::Apis::Core::JsonObjectSupport
|
59
|
-
end
|
60
|
-
|
61
|
-
class JobChange
|
62
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
-
|
64
|
-
include Google::Apis::Core::JsonObjectSupport
|
65
|
-
end
|
66
|
-
|
67
|
-
class ListJobResponse
|
68
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
-
|
70
|
-
include Google::Apis::Core::JsonObjectSupport
|
71
|
-
end
|
72
|
-
|
73
|
-
class JobState
|
74
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
-
|
76
|
-
include Google::Apis::Core::JsonObjectSupport
|
77
|
-
end
|
78
|
-
|
79
|
-
class Location
|
80
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
-
|
82
|
-
include Google::Apis::Core::JsonObjectSupport
|
83
|
-
end
|
84
|
-
|
85
|
-
class ListLocationResponse
|
86
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
-
|
88
|
-
include Google::Apis::Core::JsonObjectSupport
|
89
|
-
end
|
90
|
-
|
91
|
-
class LocationRecord
|
92
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
-
|
94
|
-
include Google::Apis::Core::JsonObjectSupport
|
95
|
-
end
|
96
|
-
|
97
|
-
class Schedule
|
98
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
-
|
100
|
-
include Google::Apis::Core::JsonObjectSupport
|
101
|
-
end
|
102
|
-
|
103
|
-
class Team
|
104
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
-
|
106
|
-
include Google::Apis::Core::JsonObjectSupport
|
107
|
-
end
|
108
|
-
|
109
|
-
class ListTeamResponse
|
110
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
-
|
112
|
-
include Google::Apis::Core::JsonObjectSupport
|
113
|
-
end
|
114
|
-
|
115
|
-
class TokenPagination
|
116
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
-
|
118
|
-
include Google::Apis::Core::JsonObjectSupport
|
119
|
-
end
|
120
|
-
|
121
|
-
class Worker
|
122
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
-
|
124
|
-
include Google::Apis::Core::JsonObjectSupport
|
125
|
-
end
|
126
|
-
|
127
|
-
class ListWorkerResponse
|
128
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
-
|
130
|
-
include Google::Apis::Core::JsonObjectSupport
|
131
|
-
end
|
132
|
-
|
133
|
-
class CustomField
|
134
|
-
# @private
|
135
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
136
|
-
property :custom_field_id, as: 'customFieldId'
|
137
|
-
property :kind, as: 'kind'
|
138
|
-
property :value, as: 'value'
|
139
|
-
end
|
140
|
-
end
|
141
|
-
|
142
|
-
class CustomFieldDef
|
143
|
-
# @private
|
144
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
145
|
-
property :enabled, as: 'enabled'
|
146
|
-
collection :enumitems, as: 'enumitems', class: Google::Apis::CoordinateV1::EnumItemDef, decorator: Google::Apis::CoordinateV1::EnumItemDef::Representation
|
147
|
-
|
148
|
-
property :id, as: 'id'
|
149
|
-
property :kind, as: 'kind'
|
150
|
-
property :name, as: 'name'
|
151
|
-
property :required_for_checkout, as: 'requiredForCheckout'
|
152
|
-
property :type, as: 'type'
|
153
|
-
end
|
154
|
-
end
|
155
|
-
|
156
|
-
class ListCustomFieldDefResponse
|
157
|
-
# @private
|
158
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
159
|
-
collection :items, as: 'items', class: Google::Apis::CoordinateV1::CustomFieldDef, decorator: Google::Apis::CoordinateV1::CustomFieldDef::Representation
|
160
|
-
|
161
|
-
property :kind, as: 'kind'
|
162
|
-
end
|
163
|
-
end
|
164
|
-
|
165
|
-
class CustomFields
|
166
|
-
# @private
|
167
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
168
|
-
collection :custom_field, as: 'customField', class: Google::Apis::CoordinateV1::CustomField, decorator: Google::Apis::CoordinateV1::CustomField::Representation
|
169
|
-
|
170
|
-
property :kind, as: 'kind'
|
171
|
-
end
|
172
|
-
end
|
173
|
-
|
174
|
-
class EnumItemDef
|
175
|
-
# @private
|
176
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
177
|
-
property :active, as: 'active'
|
178
|
-
property :kind, as: 'kind'
|
179
|
-
property :value, as: 'value'
|
180
|
-
end
|
181
|
-
end
|
182
|
-
|
183
|
-
class Job
|
184
|
-
# @private
|
185
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
186
|
-
property :id, as: 'id'
|
187
|
-
collection :job_change, as: 'jobChange', class: Google::Apis::CoordinateV1::JobChange, decorator: Google::Apis::CoordinateV1::JobChange::Representation
|
188
|
-
|
189
|
-
property :kind, as: 'kind'
|
190
|
-
property :state, as: 'state', class: Google::Apis::CoordinateV1::JobState, decorator: Google::Apis::CoordinateV1::JobState::Representation
|
191
|
-
|
192
|
-
end
|
193
|
-
end
|
194
|
-
|
195
|
-
class JobChange
|
196
|
-
# @private
|
197
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
198
|
-
property :kind, as: 'kind'
|
199
|
-
property :state, as: 'state', class: Google::Apis::CoordinateV1::JobState, decorator: Google::Apis::CoordinateV1::JobState::Representation
|
200
|
-
|
201
|
-
property :timestamp, as: 'timestamp'
|
202
|
-
end
|
203
|
-
end
|
204
|
-
|
205
|
-
class ListJobResponse
|
206
|
-
# @private
|
207
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
208
|
-
collection :items, as: 'items', class: Google::Apis::CoordinateV1::Job, decorator: Google::Apis::CoordinateV1::Job::Representation
|
209
|
-
|
210
|
-
property :kind, as: 'kind'
|
211
|
-
property :next_page_token, as: 'nextPageToken'
|
212
|
-
end
|
213
|
-
end
|
214
|
-
|
215
|
-
class JobState
|
216
|
-
# @private
|
217
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
218
|
-
property :assignee, as: 'assignee'
|
219
|
-
property :custom_fields, as: 'customFields', class: Google::Apis::CoordinateV1::CustomFields, decorator: Google::Apis::CoordinateV1::CustomFields::Representation
|
220
|
-
|
221
|
-
property :customer_name, as: 'customerName'
|
222
|
-
property :customer_phone_number, as: 'customerPhoneNumber'
|
223
|
-
property :kind, as: 'kind'
|
224
|
-
property :location, as: 'location', class: Google::Apis::CoordinateV1::Location, decorator: Google::Apis::CoordinateV1::Location::Representation
|
225
|
-
|
226
|
-
collection :note, as: 'note'
|
227
|
-
property :progress, as: 'progress'
|
228
|
-
property :title, as: 'title'
|
229
|
-
end
|
230
|
-
end
|
231
|
-
|
232
|
-
class Location
|
233
|
-
# @private
|
234
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
235
|
-
collection :address_line, as: 'addressLine'
|
236
|
-
property :kind, as: 'kind'
|
237
|
-
property :lat, as: 'lat'
|
238
|
-
property :lng, as: 'lng'
|
239
|
-
end
|
240
|
-
end
|
241
|
-
|
242
|
-
class ListLocationResponse
|
243
|
-
# @private
|
244
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
245
|
-
collection :items, as: 'items', class: Google::Apis::CoordinateV1::LocationRecord, decorator: Google::Apis::CoordinateV1::LocationRecord::Representation
|
246
|
-
|
247
|
-
property :kind, as: 'kind'
|
248
|
-
property :next_page_token, as: 'nextPageToken'
|
249
|
-
property :token_pagination, as: 'tokenPagination', class: Google::Apis::CoordinateV1::TokenPagination, decorator: Google::Apis::CoordinateV1::TokenPagination::Representation
|
250
|
-
|
251
|
-
end
|
252
|
-
end
|
253
|
-
|
254
|
-
class LocationRecord
|
255
|
-
# @private
|
256
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
257
|
-
property :collection_time, as: 'collectionTime'
|
258
|
-
property :confidence_radius, as: 'confidenceRadius'
|
259
|
-
property :kind, as: 'kind'
|
260
|
-
property :latitude, as: 'latitude'
|
261
|
-
property :longitude, as: 'longitude'
|
262
|
-
end
|
263
|
-
end
|
264
|
-
|
265
|
-
class Schedule
|
266
|
-
# @private
|
267
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
268
|
-
property :all_day, as: 'allDay'
|
269
|
-
property :duration, as: 'duration'
|
270
|
-
property :end_time, as: 'endTime'
|
271
|
-
property :kind, as: 'kind'
|
272
|
-
property :start_time, as: 'startTime'
|
273
|
-
end
|
274
|
-
end
|
275
|
-
|
276
|
-
class Team
|
277
|
-
# @private
|
278
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
279
|
-
property :id, as: 'id'
|
280
|
-
property :kind, as: 'kind'
|
281
|
-
property :name, as: 'name'
|
282
|
-
end
|
283
|
-
end
|
284
|
-
|
285
|
-
class ListTeamResponse
|
286
|
-
# @private
|
287
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
288
|
-
collection :items, as: 'items', class: Google::Apis::CoordinateV1::Team, decorator: Google::Apis::CoordinateV1::Team::Representation
|
289
|
-
|
290
|
-
property :kind, as: 'kind'
|
291
|
-
end
|
292
|
-
end
|
293
|
-
|
294
|
-
class TokenPagination
|
295
|
-
# @private
|
296
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
297
|
-
property :kind, as: 'kind'
|
298
|
-
property :next_page_token, as: 'nextPageToken'
|
299
|
-
property :previous_page_token, as: 'previousPageToken'
|
300
|
-
end
|
301
|
-
end
|
302
|
-
|
303
|
-
class Worker
|
304
|
-
# @private
|
305
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
306
|
-
property :id, as: 'id'
|
307
|
-
property :kind, as: 'kind'
|
308
|
-
end
|
309
|
-
end
|
310
|
-
|
311
|
-
class ListWorkerResponse
|
312
|
-
# @private
|
313
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
314
|
-
collection :items, as: 'items', class: Google::Apis::CoordinateV1::Worker, decorator: Google::Apis::CoordinateV1::Worker::Representation
|
315
|
-
|
316
|
-
property :kind, as: 'kind'
|
317
|
-
end
|
318
|
-
end
|
319
|
-
end
|
320
|
-
end
|
321
|
-
end
|
@@ -1,678 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'google/apis/core/base_service'
|
16
|
-
require 'google/apis/core/json_representation'
|
17
|
-
require 'google/apis/core/hashable'
|
18
|
-
require 'google/apis/errors'
|
19
|
-
|
20
|
-
module Google
|
21
|
-
module Apis
|
22
|
-
module CoordinateV1
|
23
|
-
# Google Maps Coordinate API
|
24
|
-
#
|
25
|
-
# Lets you view and manage jobs in a Coordinate team.
|
26
|
-
#
|
27
|
-
# @example
|
28
|
-
# require 'google/apis/coordinate_v1'
|
29
|
-
#
|
30
|
-
# Coordinate = Google::Apis::CoordinateV1 # Alias the module
|
31
|
-
# service = Coordinate::CoordinateService.new
|
32
|
-
#
|
33
|
-
# @see https://developers.google.com/coordinate/
|
34
|
-
class CoordinateService < Google::Apis::Core::BaseService
|
35
|
-
# @return [String]
|
36
|
-
# API key. Your API key identifies your project and provides you with API access,
|
37
|
-
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
38
|
-
attr_accessor :key
|
39
|
-
|
40
|
-
# @return [String]
|
41
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
42
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
43
|
-
# Overrides userIp if both are provided.
|
44
|
-
attr_accessor :quota_user
|
45
|
-
|
46
|
-
# @return [String]
|
47
|
-
# IP address of the site where the request originates. Use this if you want to
|
48
|
-
# enforce per-user limits.
|
49
|
-
attr_accessor :user_ip
|
50
|
-
|
51
|
-
def initialize
|
52
|
-
super('https://www.googleapis.com/', 'coordinate/v1/')
|
53
|
-
end
|
54
|
-
|
55
|
-
# Retrieves a list of custom field definitions for a team.
|
56
|
-
# @param [String] team_id
|
57
|
-
# Team ID
|
58
|
-
# @param [String] fields
|
59
|
-
# Selector specifying which fields to include in a partial response.
|
60
|
-
# @param [String] quota_user
|
61
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
62
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
63
|
-
# Overrides userIp if both are provided.
|
64
|
-
# @param [String] user_ip
|
65
|
-
# IP address of the site where the request originates. Use this if you want to
|
66
|
-
# enforce per-user limits.
|
67
|
-
# @param [Google::Apis::RequestOptions] options
|
68
|
-
# Request-specific options
|
69
|
-
#
|
70
|
-
# @yield [result, err] Result & error if block supplied
|
71
|
-
# @yieldparam result [Google::Apis::CoordinateV1::ListCustomFieldDefResponse] parsed result object
|
72
|
-
# @yieldparam err [StandardError] error object if request failed
|
73
|
-
#
|
74
|
-
# @return [Google::Apis::CoordinateV1::ListCustomFieldDefResponse]
|
75
|
-
#
|
76
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
77
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
78
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
79
|
-
def list_custom_field_defs(team_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
80
|
-
command = make_simple_command(:get, 'teams/{teamId}/custom_fields', options)
|
81
|
-
command.response_representation = Google::Apis::CoordinateV1::ListCustomFieldDefResponse::Representation
|
82
|
-
command.response_class = Google::Apis::CoordinateV1::ListCustomFieldDefResponse
|
83
|
-
command.params['teamId'] = team_id unless team_id.nil?
|
84
|
-
command.query['fields'] = fields unless fields.nil?
|
85
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
86
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
87
|
-
execute_or_queue_command(command, &block)
|
88
|
-
end
|
89
|
-
|
90
|
-
# Retrieves a job, including all the changes made to the job.
|
91
|
-
# @param [String] team_id
|
92
|
-
# Team ID
|
93
|
-
# @param [String] job_id
|
94
|
-
# Job number
|
95
|
-
# @param [String] fields
|
96
|
-
# Selector specifying which fields to include in a partial response.
|
97
|
-
# @param [String] quota_user
|
98
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
99
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
100
|
-
# Overrides userIp if both are provided.
|
101
|
-
# @param [String] user_ip
|
102
|
-
# IP address of the site where the request originates. Use this if you want to
|
103
|
-
# enforce per-user limits.
|
104
|
-
# @param [Google::Apis::RequestOptions] options
|
105
|
-
# Request-specific options
|
106
|
-
#
|
107
|
-
# @yield [result, err] Result & error if block supplied
|
108
|
-
# @yieldparam result [Google::Apis::CoordinateV1::Job] parsed result object
|
109
|
-
# @yieldparam err [StandardError] error object if request failed
|
110
|
-
#
|
111
|
-
# @return [Google::Apis::CoordinateV1::Job]
|
112
|
-
#
|
113
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
114
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
115
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
116
|
-
def get_job(team_id, job_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
117
|
-
command = make_simple_command(:get, 'teams/{teamId}/jobs/{jobId}', options)
|
118
|
-
command.response_representation = Google::Apis::CoordinateV1::Job::Representation
|
119
|
-
command.response_class = Google::Apis::CoordinateV1::Job
|
120
|
-
command.params['teamId'] = team_id unless team_id.nil?
|
121
|
-
command.params['jobId'] = job_id unless job_id.nil?
|
122
|
-
command.query['fields'] = fields unless fields.nil?
|
123
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
124
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
125
|
-
execute_or_queue_command(command, &block)
|
126
|
-
end
|
127
|
-
|
128
|
-
# Inserts a new job. Only the state field of the job should be set.
|
129
|
-
# @param [String] team_id
|
130
|
-
# Team ID
|
131
|
-
# @param [String] address
|
132
|
-
# Job address as newline (Unix) separated string
|
133
|
-
# @param [Float] lat
|
134
|
-
# The latitude coordinate of this job's location.
|
135
|
-
# @param [Float] lng
|
136
|
-
# The longitude coordinate of this job's location.
|
137
|
-
# @param [String] title
|
138
|
-
# Job title
|
139
|
-
# @param [Google::Apis::CoordinateV1::Job] job_object
|
140
|
-
# @param [String] assignee
|
141
|
-
# Assignee email address, or empty string to unassign.
|
142
|
-
# @param [Array<String>, String] custom_field
|
143
|
-
# Sets the value of custom fields. To set a custom field, pass the field id (
|
144
|
-
# from /team/teamId/custom_fields), a URL escaped '=' character, and the desired
|
145
|
-
# value as a parameter. For example, customField=12%3DAlice. Repeat the
|
146
|
-
# parameter for each custom field. Note that '=' cannot appear in the parameter
|
147
|
-
# value. Specifying an invalid, or inactive enum field will result in an error
|
148
|
-
# 500.
|
149
|
-
# @param [String] customer_name
|
150
|
-
# Customer name
|
151
|
-
# @param [String] customer_phone_number
|
152
|
-
# Customer phone number
|
153
|
-
# @param [String] note
|
154
|
-
# Job note as newline (Unix) separated string
|
155
|
-
# @param [String] fields
|
156
|
-
# Selector specifying which fields to include in a partial response.
|
157
|
-
# @param [String] quota_user
|
158
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
159
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
160
|
-
# Overrides userIp if both are provided.
|
161
|
-
# @param [String] user_ip
|
162
|
-
# IP address of the site where the request originates. Use this if you want to
|
163
|
-
# enforce per-user limits.
|
164
|
-
# @param [Google::Apis::RequestOptions] options
|
165
|
-
# Request-specific options
|
166
|
-
#
|
167
|
-
# @yield [result, err] Result & error if block supplied
|
168
|
-
# @yieldparam result [Google::Apis::CoordinateV1::Job] parsed result object
|
169
|
-
# @yieldparam err [StandardError] error object if request failed
|
170
|
-
#
|
171
|
-
# @return [Google::Apis::CoordinateV1::Job]
|
172
|
-
#
|
173
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
174
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
175
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
176
|
-
def insert_job(team_id, address, lat, lng, title, job_object = nil, assignee: nil, custom_field: nil, customer_name: nil, customer_phone_number: nil, note: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
177
|
-
command = make_simple_command(:post, 'teams/{teamId}/jobs', options)
|
178
|
-
command.request_representation = Google::Apis::CoordinateV1::Job::Representation
|
179
|
-
command.request_object = job_object
|
180
|
-
command.response_representation = Google::Apis::CoordinateV1::Job::Representation
|
181
|
-
command.response_class = Google::Apis::CoordinateV1::Job
|
182
|
-
command.params['teamId'] = team_id unless team_id.nil?
|
183
|
-
command.query['address'] = address unless address.nil?
|
184
|
-
command.query['assignee'] = assignee unless assignee.nil?
|
185
|
-
command.query['customField'] = custom_field unless custom_field.nil?
|
186
|
-
command.query['customerName'] = customer_name unless customer_name.nil?
|
187
|
-
command.query['customerPhoneNumber'] = customer_phone_number unless customer_phone_number.nil?
|
188
|
-
command.query['lat'] = lat unless lat.nil?
|
189
|
-
command.query['lng'] = lng unless lng.nil?
|
190
|
-
command.query['note'] = note unless note.nil?
|
191
|
-
command.query['title'] = title unless title.nil?
|
192
|
-
command.query['fields'] = fields unless fields.nil?
|
193
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
194
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
195
|
-
execute_or_queue_command(command, &block)
|
196
|
-
end
|
197
|
-
|
198
|
-
# Retrieves jobs created or modified since the given timestamp.
|
199
|
-
# @param [String] team_id
|
200
|
-
# Team ID
|
201
|
-
# @param [Fixnum] max_results
|
202
|
-
# Maximum number of results to return in one page.
|
203
|
-
# @param [String] min_modified_timestamp_ms
|
204
|
-
# Minimum time a job was modified in milliseconds since epoch.
|
205
|
-
# @param [Boolean] omit_job_changes
|
206
|
-
# Whether to omit detail job history information.
|
207
|
-
# @param [String] page_token
|
208
|
-
# Continuation token
|
209
|
-
# @param [String] fields
|
210
|
-
# Selector specifying which fields to include in a partial response.
|
211
|
-
# @param [String] quota_user
|
212
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
213
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
214
|
-
# Overrides userIp if both are provided.
|
215
|
-
# @param [String] user_ip
|
216
|
-
# IP address of the site where the request originates. Use this if you want to
|
217
|
-
# enforce per-user limits.
|
218
|
-
# @param [Google::Apis::RequestOptions] options
|
219
|
-
# Request-specific options
|
220
|
-
#
|
221
|
-
# @yield [result, err] Result & error if block supplied
|
222
|
-
# @yieldparam result [Google::Apis::CoordinateV1::ListJobResponse] parsed result object
|
223
|
-
# @yieldparam err [StandardError] error object if request failed
|
224
|
-
#
|
225
|
-
# @return [Google::Apis::CoordinateV1::ListJobResponse]
|
226
|
-
#
|
227
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
228
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
229
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
230
|
-
def list_jobs(team_id, max_results: nil, min_modified_timestamp_ms: nil, omit_job_changes: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
231
|
-
command = make_simple_command(:get, 'teams/{teamId}/jobs', options)
|
232
|
-
command.response_representation = Google::Apis::CoordinateV1::ListJobResponse::Representation
|
233
|
-
command.response_class = Google::Apis::CoordinateV1::ListJobResponse
|
234
|
-
command.params['teamId'] = team_id unless team_id.nil?
|
235
|
-
command.query['maxResults'] = max_results unless max_results.nil?
|
236
|
-
command.query['minModifiedTimestampMs'] = min_modified_timestamp_ms unless min_modified_timestamp_ms.nil?
|
237
|
-
command.query['omitJobChanges'] = omit_job_changes unless omit_job_changes.nil?
|
238
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
239
|
-
command.query['fields'] = fields unless fields.nil?
|
240
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
241
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
242
|
-
execute_or_queue_command(command, &block)
|
243
|
-
end
|
244
|
-
|
245
|
-
# Updates a job. Fields that are set in the job state will be updated. This
|
246
|
-
# method supports patch semantics.
|
247
|
-
# @param [String] team_id
|
248
|
-
# Team ID
|
249
|
-
# @param [String] job_id
|
250
|
-
# Job number
|
251
|
-
# @param [Google::Apis::CoordinateV1::Job] job_object
|
252
|
-
# @param [String] address
|
253
|
-
# Job address as newline (Unix) separated string
|
254
|
-
# @param [String] assignee
|
255
|
-
# Assignee email address, or empty string to unassign.
|
256
|
-
# @param [Array<String>, String] custom_field
|
257
|
-
# Sets the value of custom fields. To set a custom field, pass the field id (
|
258
|
-
# from /team/teamId/custom_fields), a URL escaped '=' character, and the desired
|
259
|
-
# value as a parameter. For example, customField=12%3DAlice. Repeat the
|
260
|
-
# parameter for each custom field. Note that '=' cannot appear in the parameter
|
261
|
-
# value. Specifying an invalid, or inactive enum field will result in an error
|
262
|
-
# 500.
|
263
|
-
# @param [String] customer_name
|
264
|
-
# Customer name
|
265
|
-
# @param [String] customer_phone_number
|
266
|
-
# Customer phone number
|
267
|
-
# @param [Float] lat
|
268
|
-
# The latitude coordinate of this job's location.
|
269
|
-
# @param [Float] lng
|
270
|
-
# The longitude coordinate of this job's location.
|
271
|
-
# @param [String] note
|
272
|
-
# Job note as newline (Unix) separated string
|
273
|
-
# @param [String] progress
|
274
|
-
# Job progress
|
275
|
-
# @param [String] title
|
276
|
-
# Job title
|
277
|
-
# @param [String] fields
|
278
|
-
# Selector specifying which fields to include in a partial response.
|
279
|
-
# @param [String] quota_user
|
280
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
281
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
282
|
-
# Overrides userIp if both are provided.
|
283
|
-
# @param [String] user_ip
|
284
|
-
# IP address of the site where the request originates. Use this if you want to
|
285
|
-
# enforce per-user limits.
|
286
|
-
# @param [Google::Apis::RequestOptions] options
|
287
|
-
# Request-specific options
|
288
|
-
#
|
289
|
-
# @yield [result, err] Result & error if block supplied
|
290
|
-
# @yieldparam result [Google::Apis::CoordinateV1::Job] parsed result object
|
291
|
-
# @yieldparam err [StandardError] error object if request failed
|
292
|
-
#
|
293
|
-
# @return [Google::Apis::CoordinateV1::Job]
|
294
|
-
#
|
295
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
296
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
297
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
298
|
-
def patch_job(team_id, job_id, job_object = nil, address: nil, assignee: nil, custom_field: nil, customer_name: nil, customer_phone_number: nil, lat: nil, lng: nil, note: nil, progress: nil, title: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
299
|
-
command = make_simple_command(:patch, 'teams/{teamId}/jobs/{jobId}', options)
|
300
|
-
command.request_representation = Google::Apis::CoordinateV1::Job::Representation
|
301
|
-
command.request_object = job_object
|
302
|
-
command.response_representation = Google::Apis::CoordinateV1::Job::Representation
|
303
|
-
command.response_class = Google::Apis::CoordinateV1::Job
|
304
|
-
command.params['teamId'] = team_id unless team_id.nil?
|
305
|
-
command.params['jobId'] = job_id unless job_id.nil?
|
306
|
-
command.query['address'] = address unless address.nil?
|
307
|
-
command.query['assignee'] = assignee unless assignee.nil?
|
308
|
-
command.query['customField'] = custom_field unless custom_field.nil?
|
309
|
-
command.query['customerName'] = customer_name unless customer_name.nil?
|
310
|
-
command.query['customerPhoneNumber'] = customer_phone_number unless customer_phone_number.nil?
|
311
|
-
command.query['lat'] = lat unless lat.nil?
|
312
|
-
command.query['lng'] = lng unless lng.nil?
|
313
|
-
command.query['note'] = note unless note.nil?
|
314
|
-
command.query['progress'] = progress unless progress.nil?
|
315
|
-
command.query['title'] = title unless title.nil?
|
316
|
-
command.query['fields'] = fields unless fields.nil?
|
317
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
318
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
319
|
-
execute_or_queue_command(command, &block)
|
320
|
-
end
|
321
|
-
|
322
|
-
# Updates a job. Fields that are set in the job state will be updated.
|
323
|
-
# @param [String] team_id
|
324
|
-
# Team ID
|
325
|
-
# @param [String] job_id
|
326
|
-
# Job number
|
327
|
-
# @param [Google::Apis::CoordinateV1::Job] job_object
|
328
|
-
# @param [String] address
|
329
|
-
# Job address as newline (Unix) separated string
|
330
|
-
# @param [String] assignee
|
331
|
-
# Assignee email address, or empty string to unassign.
|
332
|
-
# @param [Array<String>, String] custom_field
|
333
|
-
# Sets the value of custom fields. To set a custom field, pass the field id (
|
334
|
-
# from /team/teamId/custom_fields), a URL escaped '=' character, and the desired
|
335
|
-
# value as a parameter. For example, customField=12%3DAlice. Repeat the
|
336
|
-
# parameter for each custom field. Note that '=' cannot appear in the parameter
|
337
|
-
# value. Specifying an invalid, or inactive enum field will result in an error
|
338
|
-
# 500.
|
339
|
-
# @param [String] customer_name
|
340
|
-
# Customer name
|
341
|
-
# @param [String] customer_phone_number
|
342
|
-
# Customer phone number
|
343
|
-
# @param [Float] lat
|
344
|
-
# The latitude coordinate of this job's location.
|
345
|
-
# @param [Float] lng
|
346
|
-
# The longitude coordinate of this job's location.
|
347
|
-
# @param [String] note
|
348
|
-
# Job note as newline (Unix) separated string
|
349
|
-
# @param [String] progress
|
350
|
-
# Job progress
|
351
|
-
# @param [String] title
|
352
|
-
# Job title
|
353
|
-
# @param [String] fields
|
354
|
-
# Selector specifying which fields to include in a partial response.
|
355
|
-
# @param [String] quota_user
|
356
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
357
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
358
|
-
# Overrides userIp if both are provided.
|
359
|
-
# @param [String] user_ip
|
360
|
-
# IP address of the site where the request originates. Use this if you want to
|
361
|
-
# enforce per-user limits.
|
362
|
-
# @param [Google::Apis::RequestOptions] options
|
363
|
-
# Request-specific options
|
364
|
-
#
|
365
|
-
# @yield [result, err] Result & error if block supplied
|
366
|
-
# @yieldparam result [Google::Apis::CoordinateV1::Job] parsed result object
|
367
|
-
# @yieldparam err [StandardError] error object if request failed
|
368
|
-
#
|
369
|
-
# @return [Google::Apis::CoordinateV1::Job]
|
370
|
-
#
|
371
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
372
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
373
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
374
|
-
def update_job(team_id, job_id, job_object = nil, address: nil, assignee: nil, custom_field: nil, customer_name: nil, customer_phone_number: nil, lat: nil, lng: nil, note: nil, progress: nil, title: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
375
|
-
command = make_simple_command(:put, 'teams/{teamId}/jobs/{jobId}', options)
|
376
|
-
command.request_representation = Google::Apis::CoordinateV1::Job::Representation
|
377
|
-
command.request_object = job_object
|
378
|
-
command.response_representation = Google::Apis::CoordinateV1::Job::Representation
|
379
|
-
command.response_class = Google::Apis::CoordinateV1::Job
|
380
|
-
command.params['teamId'] = team_id unless team_id.nil?
|
381
|
-
command.params['jobId'] = job_id unless job_id.nil?
|
382
|
-
command.query['address'] = address unless address.nil?
|
383
|
-
command.query['assignee'] = assignee unless assignee.nil?
|
384
|
-
command.query['customField'] = custom_field unless custom_field.nil?
|
385
|
-
command.query['customerName'] = customer_name unless customer_name.nil?
|
386
|
-
command.query['customerPhoneNumber'] = customer_phone_number unless customer_phone_number.nil?
|
387
|
-
command.query['lat'] = lat unless lat.nil?
|
388
|
-
command.query['lng'] = lng unless lng.nil?
|
389
|
-
command.query['note'] = note unless note.nil?
|
390
|
-
command.query['progress'] = progress unless progress.nil?
|
391
|
-
command.query['title'] = title unless title.nil?
|
392
|
-
command.query['fields'] = fields unless fields.nil?
|
393
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
394
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
395
|
-
execute_or_queue_command(command, &block)
|
396
|
-
end
|
397
|
-
|
398
|
-
# Retrieves a list of locations for a worker.
|
399
|
-
# @param [String] team_id
|
400
|
-
# Team ID
|
401
|
-
# @param [String] worker_email
|
402
|
-
# Worker email address.
|
403
|
-
# @param [String] start_timestamp_ms
|
404
|
-
# Start timestamp in milliseconds since the epoch.
|
405
|
-
# @param [Fixnum] max_results
|
406
|
-
# Maximum number of results to return in one page.
|
407
|
-
# @param [String] page_token
|
408
|
-
# Continuation token
|
409
|
-
# @param [String] fields
|
410
|
-
# Selector specifying which fields to include in a partial response.
|
411
|
-
# @param [String] quota_user
|
412
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
413
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
414
|
-
# Overrides userIp if both are provided.
|
415
|
-
# @param [String] user_ip
|
416
|
-
# IP address of the site where the request originates. Use this if you want to
|
417
|
-
# enforce per-user limits.
|
418
|
-
# @param [Google::Apis::RequestOptions] options
|
419
|
-
# Request-specific options
|
420
|
-
#
|
421
|
-
# @yield [result, err] Result & error if block supplied
|
422
|
-
# @yieldparam result [Google::Apis::CoordinateV1::ListLocationResponse] parsed result object
|
423
|
-
# @yieldparam err [StandardError] error object if request failed
|
424
|
-
#
|
425
|
-
# @return [Google::Apis::CoordinateV1::ListLocationResponse]
|
426
|
-
#
|
427
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
428
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
429
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
430
|
-
def list_locations(team_id, worker_email, start_timestamp_ms, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
431
|
-
command = make_simple_command(:get, 'teams/{teamId}/workers/{workerEmail}/locations', options)
|
432
|
-
command.response_representation = Google::Apis::CoordinateV1::ListLocationResponse::Representation
|
433
|
-
command.response_class = Google::Apis::CoordinateV1::ListLocationResponse
|
434
|
-
command.params['teamId'] = team_id unless team_id.nil?
|
435
|
-
command.params['workerEmail'] = worker_email unless worker_email.nil?
|
436
|
-
command.query['maxResults'] = max_results unless max_results.nil?
|
437
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
438
|
-
command.query['startTimestampMs'] = start_timestamp_ms unless start_timestamp_ms.nil?
|
439
|
-
command.query['fields'] = fields unless fields.nil?
|
440
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
441
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
442
|
-
execute_or_queue_command(command, &block)
|
443
|
-
end
|
444
|
-
|
445
|
-
# Retrieves the schedule for a job.
|
446
|
-
# @param [String] team_id
|
447
|
-
# Team ID
|
448
|
-
# @param [String] job_id
|
449
|
-
# Job number
|
450
|
-
# @param [String] fields
|
451
|
-
# Selector specifying which fields to include in a partial response.
|
452
|
-
# @param [String] quota_user
|
453
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
454
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
455
|
-
# Overrides userIp if both are provided.
|
456
|
-
# @param [String] user_ip
|
457
|
-
# IP address of the site where the request originates. Use this if you want to
|
458
|
-
# enforce per-user limits.
|
459
|
-
# @param [Google::Apis::RequestOptions] options
|
460
|
-
# Request-specific options
|
461
|
-
#
|
462
|
-
# @yield [result, err] Result & error if block supplied
|
463
|
-
# @yieldparam result [Google::Apis::CoordinateV1::Schedule] parsed result object
|
464
|
-
# @yieldparam err [StandardError] error object if request failed
|
465
|
-
#
|
466
|
-
# @return [Google::Apis::CoordinateV1::Schedule]
|
467
|
-
#
|
468
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
469
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
470
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
471
|
-
def get_schedule(team_id, job_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
472
|
-
command = make_simple_command(:get, 'teams/{teamId}/jobs/{jobId}/schedule', options)
|
473
|
-
command.response_representation = Google::Apis::CoordinateV1::Schedule::Representation
|
474
|
-
command.response_class = Google::Apis::CoordinateV1::Schedule
|
475
|
-
command.params['teamId'] = team_id unless team_id.nil?
|
476
|
-
command.params['jobId'] = job_id unless job_id.nil?
|
477
|
-
command.query['fields'] = fields unless fields.nil?
|
478
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
479
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
480
|
-
execute_or_queue_command(command, &block)
|
481
|
-
end
|
482
|
-
|
483
|
-
# Replaces the schedule of a job with the provided schedule. This method
|
484
|
-
# supports patch semantics.
|
485
|
-
# @param [String] team_id
|
486
|
-
# Team ID
|
487
|
-
# @param [String] job_id
|
488
|
-
# Job number
|
489
|
-
# @param [Google::Apis::CoordinateV1::Schedule] schedule_object
|
490
|
-
# @param [Boolean] all_day
|
491
|
-
# Whether the job is scheduled for the whole day. Time of day in start/end times
|
492
|
-
# is ignored if this is true.
|
493
|
-
# @param [String] duration
|
494
|
-
# Job duration in milliseconds.
|
495
|
-
# @param [String] end_time
|
496
|
-
# Scheduled end time in milliseconds since epoch.
|
497
|
-
# @param [String] start_time
|
498
|
-
# Scheduled start time in milliseconds since epoch.
|
499
|
-
# @param [String] fields
|
500
|
-
# Selector specifying which fields to include in a partial response.
|
501
|
-
# @param [String] quota_user
|
502
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
503
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
504
|
-
# Overrides userIp if both are provided.
|
505
|
-
# @param [String] user_ip
|
506
|
-
# IP address of the site where the request originates. Use this if you want to
|
507
|
-
# enforce per-user limits.
|
508
|
-
# @param [Google::Apis::RequestOptions] options
|
509
|
-
# Request-specific options
|
510
|
-
#
|
511
|
-
# @yield [result, err] Result & error if block supplied
|
512
|
-
# @yieldparam result [Google::Apis::CoordinateV1::Schedule] parsed result object
|
513
|
-
# @yieldparam err [StandardError] error object if request failed
|
514
|
-
#
|
515
|
-
# @return [Google::Apis::CoordinateV1::Schedule]
|
516
|
-
#
|
517
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
518
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
519
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
520
|
-
def patch_schedule(team_id, job_id, schedule_object = nil, all_day: nil, duration: nil, end_time: nil, start_time: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
521
|
-
command = make_simple_command(:patch, 'teams/{teamId}/jobs/{jobId}/schedule', options)
|
522
|
-
command.request_representation = Google::Apis::CoordinateV1::Schedule::Representation
|
523
|
-
command.request_object = schedule_object
|
524
|
-
command.response_representation = Google::Apis::CoordinateV1::Schedule::Representation
|
525
|
-
command.response_class = Google::Apis::CoordinateV1::Schedule
|
526
|
-
command.params['teamId'] = team_id unless team_id.nil?
|
527
|
-
command.params['jobId'] = job_id unless job_id.nil?
|
528
|
-
command.query['allDay'] = all_day unless all_day.nil?
|
529
|
-
command.query['duration'] = duration unless duration.nil?
|
530
|
-
command.query['endTime'] = end_time unless end_time.nil?
|
531
|
-
command.query['startTime'] = start_time unless start_time.nil?
|
532
|
-
command.query['fields'] = fields unless fields.nil?
|
533
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
534
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
535
|
-
execute_or_queue_command(command, &block)
|
536
|
-
end
|
537
|
-
|
538
|
-
# Replaces the schedule of a job with the provided schedule.
|
539
|
-
# @param [String] team_id
|
540
|
-
# Team ID
|
541
|
-
# @param [String] job_id
|
542
|
-
# Job number
|
543
|
-
# @param [Google::Apis::CoordinateV1::Schedule] schedule_object
|
544
|
-
# @param [Boolean] all_day
|
545
|
-
# Whether the job is scheduled for the whole day. Time of day in start/end times
|
546
|
-
# is ignored if this is true.
|
547
|
-
# @param [String] duration
|
548
|
-
# Job duration in milliseconds.
|
549
|
-
# @param [String] end_time
|
550
|
-
# Scheduled end time in milliseconds since epoch.
|
551
|
-
# @param [String] start_time
|
552
|
-
# Scheduled start time in milliseconds since epoch.
|
553
|
-
# @param [String] fields
|
554
|
-
# Selector specifying which fields to include in a partial response.
|
555
|
-
# @param [String] quota_user
|
556
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
557
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
558
|
-
# Overrides userIp if both are provided.
|
559
|
-
# @param [String] user_ip
|
560
|
-
# IP address of the site where the request originates. Use this if you want to
|
561
|
-
# enforce per-user limits.
|
562
|
-
# @param [Google::Apis::RequestOptions] options
|
563
|
-
# Request-specific options
|
564
|
-
#
|
565
|
-
# @yield [result, err] Result & error if block supplied
|
566
|
-
# @yieldparam result [Google::Apis::CoordinateV1::Schedule] parsed result object
|
567
|
-
# @yieldparam err [StandardError] error object if request failed
|
568
|
-
#
|
569
|
-
# @return [Google::Apis::CoordinateV1::Schedule]
|
570
|
-
#
|
571
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
572
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
573
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
574
|
-
def update_schedule(team_id, job_id, schedule_object = nil, all_day: nil, duration: nil, end_time: nil, start_time: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
575
|
-
command = make_simple_command(:put, 'teams/{teamId}/jobs/{jobId}/schedule', options)
|
576
|
-
command.request_representation = Google::Apis::CoordinateV1::Schedule::Representation
|
577
|
-
command.request_object = schedule_object
|
578
|
-
command.response_representation = Google::Apis::CoordinateV1::Schedule::Representation
|
579
|
-
command.response_class = Google::Apis::CoordinateV1::Schedule
|
580
|
-
command.params['teamId'] = team_id unless team_id.nil?
|
581
|
-
command.params['jobId'] = job_id unless job_id.nil?
|
582
|
-
command.query['allDay'] = all_day unless all_day.nil?
|
583
|
-
command.query['duration'] = duration unless duration.nil?
|
584
|
-
command.query['endTime'] = end_time unless end_time.nil?
|
585
|
-
command.query['startTime'] = start_time unless start_time.nil?
|
586
|
-
command.query['fields'] = fields unless fields.nil?
|
587
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
588
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
589
|
-
execute_or_queue_command(command, &block)
|
590
|
-
end
|
591
|
-
|
592
|
-
# Retrieves a list of teams for a user.
|
593
|
-
# @param [Boolean] admin
|
594
|
-
# Whether to include teams for which the user has the Admin role.
|
595
|
-
# @param [Boolean] dispatcher
|
596
|
-
# Whether to include teams for which the user has the Dispatcher role.
|
597
|
-
# @param [Boolean] worker
|
598
|
-
# Whether to include teams for which the user has the Worker role.
|
599
|
-
# @param [String] fields
|
600
|
-
# Selector specifying which fields to include in a partial response.
|
601
|
-
# @param [String] quota_user
|
602
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
603
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
604
|
-
# Overrides userIp if both are provided.
|
605
|
-
# @param [String] user_ip
|
606
|
-
# IP address of the site where the request originates. Use this if you want to
|
607
|
-
# enforce per-user limits.
|
608
|
-
# @param [Google::Apis::RequestOptions] options
|
609
|
-
# Request-specific options
|
610
|
-
#
|
611
|
-
# @yield [result, err] Result & error if block supplied
|
612
|
-
# @yieldparam result [Google::Apis::CoordinateV1::ListTeamResponse] parsed result object
|
613
|
-
# @yieldparam err [StandardError] error object if request failed
|
614
|
-
#
|
615
|
-
# @return [Google::Apis::CoordinateV1::ListTeamResponse]
|
616
|
-
#
|
617
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
618
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
619
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
620
|
-
def list_teams(admin: nil, dispatcher: nil, worker: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
621
|
-
command = make_simple_command(:get, 'teams', options)
|
622
|
-
command.response_representation = Google::Apis::CoordinateV1::ListTeamResponse::Representation
|
623
|
-
command.response_class = Google::Apis::CoordinateV1::ListTeamResponse
|
624
|
-
command.query['admin'] = admin unless admin.nil?
|
625
|
-
command.query['dispatcher'] = dispatcher unless dispatcher.nil?
|
626
|
-
command.query['worker'] = worker unless worker.nil?
|
627
|
-
command.query['fields'] = fields unless fields.nil?
|
628
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
629
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
630
|
-
execute_or_queue_command(command, &block)
|
631
|
-
end
|
632
|
-
|
633
|
-
# Retrieves a list of workers in a team.
|
634
|
-
# @param [String] team_id
|
635
|
-
# Team ID
|
636
|
-
# @param [String] fields
|
637
|
-
# Selector specifying which fields to include in a partial response.
|
638
|
-
# @param [String] quota_user
|
639
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
640
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
641
|
-
# Overrides userIp if both are provided.
|
642
|
-
# @param [String] user_ip
|
643
|
-
# IP address of the site where the request originates. Use this if you want to
|
644
|
-
# enforce per-user limits.
|
645
|
-
# @param [Google::Apis::RequestOptions] options
|
646
|
-
# Request-specific options
|
647
|
-
#
|
648
|
-
# @yield [result, err] Result & error if block supplied
|
649
|
-
# @yieldparam result [Google::Apis::CoordinateV1::ListWorkerResponse] parsed result object
|
650
|
-
# @yieldparam err [StandardError] error object if request failed
|
651
|
-
#
|
652
|
-
# @return [Google::Apis::CoordinateV1::ListWorkerResponse]
|
653
|
-
#
|
654
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
655
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
656
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
657
|
-
def list_workers(team_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
658
|
-
command = make_simple_command(:get, 'teams/{teamId}/workers', options)
|
659
|
-
command.response_representation = Google::Apis::CoordinateV1::ListWorkerResponse::Representation
|
660
|
-
command.response_class = Google::Apis::CoordinateV1::ListWorkerResponse
|
661
|
-
command.params['teamId'] = team_id unless team_id.nil?
|
662
|
-
command.query['fields'] = fields unless fields.nil?
|
663
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
664
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
665
|
-
execute_or_queue_command(command, &block)
|
666
|
-
end
|
667
|
-
|
668
|
-
protected
|
669
|
-
|
670
|
-
def apply_command_defaults(command)
|
671
|
-
command.query['key'] = key unless key.nil?
|
672
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
673
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
674
|
-
end
|
675
|
-
end
|
676
|
-
end
|
677
|
-
end
|
678
|
-
end
|