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
@@ -1,279 +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 TracingV1
|
24
|
-
|
25
|
-
class StackTrace
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
-
|
28
|
-
include Google::Apis::Core::JsonObjectSupport
|
29
|
-
end
|
30
|
-
|
31
|
-
class TimeEvent
|
32
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
-
|
34
|
-
include Google::Apis::Core::JsonObjectSupport
|
35
|
-
end
|
36
|
-
|
37
|
-
class NetworkEvent
|
38
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
-
|
40
|
-
include Google::Apis::Core::JsonObjectSupport
|
41
|
-
end
|
42
|
-
|
43
|
-
class SpanUpdates
|
44
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
-
|
46
|
-
include Google::Apis::Core::JsonObjectSupport
|
47
|
-
end
|
48
|
-
|
49
|
-
class ListSpansResponse
|
50
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
-
|
52
|
-
include Google::Apis::Core::JsonObjectSupport
|
53
|
-
end
|
54
|
-
|
55
|
-
class StackFrame
|
56
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
-
|
58
|
-
include Google::Apis::Core::JsonObjectSupport
|
59
|
-
end
|
60
|
-
|
61
|
-
class Link
|
62
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
-
|
64
|
-
include Google::Apis::Core::JsonObjectSupport
|
65
|
-
end
|
66
|
-
|
67
|
-
class Annotation
|
68
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
-
|
70
|
-
include Google::Apis::Core::JsonObjectSupport
|
71
|
-
end
|
72
|
-
|
73
|
-
class Trace
|
74
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
-
|
76
|
-
include Google::Apis::Core::JsonObjectSupport
|
77
|
-
end
|
78
|
-
|
79
|
-
class Module
|
80
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
-
|
82
|
-
include Google::Apis::Core::JsonObjectSupport
|
83
|
-
end
|
84
|
-
|
85
|
-
class Status
|
86
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
-
|
88
|
-
include Google::Apis::Core::JsonObjectSupport
|
89
|
-
end
|
90
|
-
|
91
|
-
class ListTracesResponse
|
92
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
-
|
94
|
-
include Google::Apis::Core::JsonObjectSupport
|
95
|
-
end
|
96
|
-
|
97
|
-
class Span
|
98
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
-
|
100
|
-
include Google::Apis::Core::JsonObjectSupport
|
101
|
-
end
|
102
|
-
|
103
|
-
class Empty
|
104
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
-
|
106
|
-
include Google::Apis::Core::JsonObjectSupport
|
107
|
-
end
|
108
|
-
|
109
|
-
class AttributeValue
|
110
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
-
|
112
|
-
include Google::Apis::Core::JsonObjectSupport
|
113
|
-
end
|
114
|
-
|
115
|
-
class BatchUpdateSpansRequest
|
116
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
-
|
118
|
-
include Google::Apis::Core::JsonObjectSupport
|
119
|
-
end
|
120
|
-
|
121
|
-
class StackTrace
|
122
|
-
# @private
|
123
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
124
|
-
collection :stack_frame, as: 'stackFrame', class: Google::Apis::TracingV1::StackFrame, decorator: Google::Apis::TracingV1::StackFrame::Representation
|
125
|
-
|
126
|
-
property :stack_trace_hash_id, :numeric_string => true, as: 'stackTraceHashId'
|
127
|
-
end
|
128
|
-
end
|
129
|
-
|
130
|
-
class TimeEvent
|
131
|
-
# @private
|
132
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
133
|
-
property :network_event, as: 'networkEvent', class: Google::Apis::TracingV1::NetworkEvent, decorator: Google::Apis::TracingV1::NetworkEvent::Representation
|
134
|
-
|
135
|
-
property :annotation, as: 'annotation', class: Google::Apis::TracingV1::Annotation, decorator: Google::Apis::TracingV1::Annotation::Representation
|
136
|
-
|
137
|
-
property :local_time, as: 'localTime'
|
138
|
-
end
|
139
|
-
end
|
140
|
-
|
141
|
-
class NetworkEvent
|
142
|
-
# @private
|
143
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
144
|
-
property :message_id, :numeric_string => true, as: 'messageId'
|
145
|
-
property :message_size, :numeric_string => true, as: 'messageSize'
|
146
|
-
property :kernel_time, as: 'kernelTime'
|
147
|
-
property :type, as: 'type'
|
148
|
-
end
|
149
|
-
end
|
150
|
-
|
151
|
-
class SpanUpdates
|
152
|
-
# @private
|
153
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
154
|
-
collection :spans, as: 'spans', class: Google::Apis::TracingV1::Span, decorator: Google::Apis::TracingV1::Span::Representation
|
155
|
-
|
156
|
-
end
|
157
|
-
end
|
158
|
-
|
159
|
-
class ListSpansResponse
|
160
|
-
# @private
|
161
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
162
|
-
property :next_page_token, as: 'nextPageToken'
|
163
|
-
collection :spans, as: 'spans', class: Google::Apis::TracingV1::Span, decorator: Google::Apis::TracingV1::Span::Representation
|
164
|
-
|
165
|
-
end
|
166
|
-
end
|
167
|
-
|
168
|
-
class StackFrame
|
169
|
-
# @private
|
170
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
171
|
-
property :column_number, :numeric_string => true, as: 'columnNumber'
|
172
|
-
property :file_name, as: 'fileName'
|
173
|
-
property :source_version, as: 'sourceVersion'
|
174
|
-
property :original_function_name, as: 'originalFunctionName'
|
175
|
-
property :function_name, as: 'functionName'
|
176
|
-
property :line_number, :numeric_string => true, as: 'lineNumber'
|
177
|
-
property :load_module, as: 'loadModule', class: Google::Apis::TracingV1::Module, decorator: Google::Apis::TracingV1::Module::Representation
|
178
|
-
|
179
|
-
end
|
180
|
-
end
|
181
|
-
|
182
|
-
class Link
|
183
|
-
# @private
|
184
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
185
|
-
property :type, as: 'type'
|
186
|
-
property :trace_id, as: 'traceId'
|
187
|
-
property :span_id, :numeric_string => true, as: 'spanId'
|
188
|
-
end
|
189
|
-
end
|
190
|
-
|
191
|
-
class Annotation
|
192
|
-
# @private
|
193
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
194
|
-
property :description, as: 'description'
|
195
|
-
hash :attributes, as: 'attributes', class: Google::Apis::TracingV1::AttributeValue, decorator: Google::Apis::TracingV1::AttributeValue::Representation
|
196
|
-
|
197
|
-
end
|
198
|
-
end
|
199
|
-
|
200
|
-
class Trace
|
201
|
-
# @private
|
202
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
203
|
-
property :name, as: 'name'
|
204
|
-
end
|
205
|
-
end
|
206
|
-
|
207
|
-
class Module
|
208
|
-
# @private
|
209
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
210
|
-
property :module, as: 'module'
|
211
|
-
property :build_id, as: 'buildId'
|
212
|
-
end
|
213
|
-
end
|
214
|
-
|
215
|
-
class Status
|
216
|
-
# @private
|
217
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
218
|
-
property :message, as: 'message'
|
219
|
-
collection :details, as: 'details'
|
220
|
-
property :code, as: 'code'
|
221
|
-
end
|
222
|
-
end
|
223
|
-
|
224
|
-
class ListTracesResponse
|
225
|
-
# @private
|
226
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
227
|
-
collection :traces, as: 'traces', class: Google::Apis::TracingV1::Trace, decorator: Google::Apis::TracingV1::Trace::Representation
|
228
|
-
|
229
|
-
property :next_page_token, as: 'nextPageToken'
|
230
|
-
end
|
231
|
-
end
|
232
|
-
|
233
|
-
class Span
|
234
|
-
# @private
|
235
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
236
|
-
hash :attributes, as: 'attributes', class: Google::Apis::TracingV1::AttributeValue, decorator: Google::Apis::TracingV1::AttributeValue::Representation
|
237
|
-
|
238
|
-
property :id, :numeric_string => true, as: 'id'
|
239
|
-
property :local_start_time, as: 'localStartTime'
|
240
|
-
property :has_remote_parent, as: 'hasRemoteParent'
|
241
|
-
property :local_end_time, as: 'localEndTime'
|
242
|
-
property :parent_id, :numeric_string => true, as: 'parentId'
|
243
|
-
collection :time_events, as: 'timeEvents', class: Google::Apis::TracingV1::TimeEvent, decorator: Google::Apis::TracingV1::TimeEvent::Representation
|
244
|
-
|
245
|
-
property :status, as: 'status', class: Google::Apis::TracingV1::Status, decorator: Google::Apis::TracingV1::Status::Representation
|
246
|
-
|
247
|
-
property :name, as: 'name'
|
248
|
-
property :stack_trace, as: 'stackTrace', class: Google::Apis::TracingV1::StackTrace, decorator: Google::Apis::TracingV1::StackTrace::Representation
|
249
|
-
|
250
|
-
collection :links, as: 'links', class: Google::Apis::TracingV1::Link, decorator: Google::Apis::TracingV1::Link::Representation
|
251
|
-
|
252
|
-
end
|
253
|
-
end
|
254
|
-
|
255
|
-
class Empty
|
256
|
-
# @private
|
257
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
258
|
-
end
|
259
|
-
end
|
260
|
-
|
261
|
-
class AttributeValue
|
262
|
-
# @private
|
263
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
264
|
-
property :int_value, :numeric_string => true, as: 'intValue'
|
265
|
-
property :string_value, as: 'stringValue'
|
266
|
-
property :bool_value, as: 'boolValue'
|
267
|
-
end
|
268
|
-
end
|
269
|
-
|
270
|
-
class BatchUpdateSpansRequest
|
271
|
-
# @private
|
272
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
273
|
-
hash :span_updates, as: 'spanUpdates', class: Google::Apis::TracingV1::SpanUpdates, decorator: Google::Apis::TracingV1::SpanUpdates::Representation
|
274
|
-
|
275
|
-
end
|
276
|
-
end
|
277
|
-
end
|
278
|
-
end
|
279
|
-
end
|
@@ -1,226 +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 TracingV1
|
23
|
-
# Google Tracing API
|
24
|
-
#
|
25
|
-
# Send and retrieve trace data from Google Stackdriver Trace.
|
26
|
-
#
|
27
|
-
# @example
|
28
|
-
# require 'google/apis/tracing_v1'
|
29
|
-
#
|
30
|
-
# Tracing = Google::Apis::TracingV1 # Alias the module
|
31
|
-
# service = Tracing::TracingService.new
|
32
|
-
#
|
33
|
-
# @see https://cloud.google.com/trace
|
34
|
-
class TracingService < 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
|
-
attr_accessor :quota_user
|
44
|
-
|
45
|
-
def initialize
|
46
|
-
super('https://tracing.googleapis.com/', '')
|
47
|
-
@batch_path = 'batch'
|
48
|
-
end
|
49
|
-
|
50
|
-
# Returns of a list of traces that match the specified filter conditions.
|
51
|
-
# @param [String] parent
|
52
|
-
# ID of the Cloud project where the trace data is stored.
|
53
|
-
# @param [String] start_time
|
54
|
-
# Start of the time interval (inclusive) during which the trace data was
|
55
|
-
# collected from the application.
|
56
|
-
# @param [String] page_token
|
57
|
-
# Token identifying the page of results to return. If provided, use the
|
58
|
-
# value of the `next_page_token` field from a previous request. Optional.
|
59
|
-
# @param [Fixnum] page_size
|
60
|
-
# Maximum number of traces to return. If not specified or <= 0, the
|
61
|
-
# implementation selects a reasonable value. The implementation may
|
62
|
-
# return fewer traces than the requested page size. Optional.
|
63
|
-
# @param [String] order_by
|
64
|
-
# Field used to sort the returned traces. Optional.
|
65
|
-
# Can be one of the following:
|
66
|
-
# * `trace_id`
|
67
|
-
# * `name` (`name` field of root span in the trace)
|
68
|
-
# * `duration` (difference between `end_time` and `start_time` fields of
|
69
|
-
# the root span)
|
70
|
-
# * `start` (`start_time` field of the root span)
|
71
|
-
# Descending order can be specified by appending `desc` to the sort field
|
72
|
-
# (for example, `name desc`).
|
73
|
-
# Only one sort field is permitted.
|
74
|
-
# @param [String] filter
|
75
|
-
# An optional filter for the request.
|
76
|
-
# Example:
|
77
|
-
# `version_label_key:a some_label:some_label_key`
|
78
|
-
# returns traces from version `a` and has `some_label` with `some_label_key`.
|
79
|
-
# @param [String] end_time
|
80
|
-
# End of the time interval (inclusive) during which the trace data was
|
81
|
-
# collected from the application.
|
82
|
-
# @param [String] quota_user
|
83
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
84
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
85
|
-
# @param [String] fields
|
86
|
-
# Selector specifying which fields to include in a partial response.
|
87
|
-
# @param [Google::Apis::RequestOptions] options
|
88
|
-
# Request-specific options
|
89
|
-
#
|
90
|
-
# @yield [result, err] Result & error if block supplied
|
91
|
-
# @yieldparam result [Google::Apis::TracingV1::ListTracesResponse] parsed result object
|
92
|
-
# @yieldparam err [StandardError] error object if request failed
|
93
|
-
#
|
94
|
-
# @return [Google::Apis::TracingV1::ListTracesResponse]
|
95
|
-
#
|
96
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
97
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
98
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
99
|
-
def list_project_traces(parent, start_time: nil, page_token: nil, page_size: nil, order_by: nil, filter: nil, end_time: nil, quota_user: nil, fields: nil, options: nil, &block)
|
100
|
-
command = make_simple_command(:get, 'v1/{+parent}/traces', options)
|
101
|
-
command.response_representation = Google::Apis::TracingV1::ListTracesResponse::Representation
|
102
|
-
command.response_class = Google::Apis::TracingV1::ListTracesResponse
|
103
|
-
command.params['parent'] = parent unless parent.nil?
|
104
|
-
command.query['startTime'] = start_time unless start_time.nil?
|
105
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
106
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
107
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
108
|
-
command.query['filter'] = filter unless filter.nil?
|
109
|
-
command.query['endTime'] = end_time unless end_time.nil?
|
110
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
111
|
-
command.query['fields'] = fields unless fields.nil?
|
112
|
-
execute_or_queue_command(command, &block)
|
113
|
-
end
|
114
|
-
|
115
|
-
# Returns a specific trace.
|
116
|
-
# @param [String] name
|
117
|
-
# ID of the trace. Format is `projects/PROJECT_ID/traces/TRACE_ID`.
|
118
|
-
# @param [String] quota_user
|
119
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
120
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
121
|
-
# @param [String] fields
|
122
|
-
# Selector specifying which fields to include in a partial response.
|
123
|
-
# @param [Google::Apis::RequestOptions] options
|
124
|
-
# Request-specific options
|
125
|
-
#
|
126
|
-
# @yield [result, err] Result & error if block supplied
|
127
|
-
# @yieldparam result [Google::Apis::TracingV1::Trace] parsed result object
|
128
|
-
# @yieldparam err [StandardError] error object if request failed
|
129
|
-
#
|
130
|
-
# @return [Google::Apis::TracingV1::Trace]
|
131
|
-
#
|
132
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
133
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
134
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
135
|
-
def get_project_trace(name, quota_user: nil, fields: nil, options: nil, &block)
|
136
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
137
|
-
command.response_representation = Google::Apis::TracingV1::Trace::Representation
|
138
|
-
command.response_class = Google::Apis::TracingV1::Trace
|
139
|
-
command.params['name'] = name unless name.nil?
|
140
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
141
|
-
command.query['fields'] = fields unless fields.nil?
|
142
|
-
execute_or_queue_command(command, &block)
|
143
|
-
end
|
144
|
-
|
145
|
-
# Sends new spans to Stackdriver Trace or updates existing spans. If the
|
146
|
-
# name of a trace that you send matches that of an existing trace, any fields
|
147
|
-
# in the existing trace and its spans are overwritten by the provided values,
|
148
|
-
# and any new fields provided are merged with the existing trace data. If the
|
149
|
-
# name does not match, a new trace is created with given set of spans.
|
150
|
-
# @param [String] parent
|
151
|
-
# ID of the Cloud project where the trace data is stored.
|
152
|
-
# @param [Google::Apis::TracingV1::BatchUpdateSpansRequest] batch_update_spans_request_object
|
153
|
-
# @param [String] quota_user
|
154
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
155
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
156
|
-
# @param [String] fields
|
157
|
-
# Selector specifying which fields to include in a partial response.
|
158
|
-
# @param [Google::Apis::RequestOptions] options
|
159
|
-
# Request-specific options
|
160
|
-
#
|
161
|
-
# @yield [result, err] Result & error if block supplied
|
162
|
-
# @yieldparam result [Google::Apis::TracingV1::Empty] parsed result object
|
163
|
-
# @yieldparam err [StandardError] error object if request failed
|
164
|
-
#
|
165
|
-
# @return [Google::Apis::TracingV1::Empty]
|
166
|
-
#
|
167
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
168
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
169
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
170
|
-
def batch_trace_update_spans(parent, batch_update_spans_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
171
|
-
command = make_simple_command(:post, 'v1/{+parent}/traces:batchUpdate', options)
|
172
|
-
command.request_representation = Google::Apis::TracingV1::BatchUpdateSpansRequest::Representation
|
173
|
-
command.request_object = batch_update_spans_request_object
|
174
|
-
command.response_representation = Google::Apis::TracingV1::Empty::Representation
|
175
|
-
command.response_class = Google::Apis::TracingV1::Empty
|
176
|
-
command.params['parent'] = parent unless parent.nil?
|
177
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
178
|
-
command.query['fields'] = fields unless fields.nil?
|
179
|
-
execute_or_queue_command(command, &block)
|
180
|
-
end
|
181
|
-
|
182
|
-
# Returns a list of spans within a trace.
|
183
|
-
# @param [String] name
|
184
|
-
# ID of the trace for which to list child spans. Format is
|
185
|
-
# `projects/PROJECT_ID/traces/TRACE_ID`.
|
186
|
-
# @param [String] page_token
|
187
|
-
# Token identifying the page of results to return. If provided, use the
|
188
|
-
# value of the `nextPageToken` field from a previous request. Optional.
|
189
|
-
# @param [String] quota_user
|
190
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
191
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
192
|
-
# @param [String] fields
|
193
|
-
# Selector specifying which fields to include in a partial response.
|
194
|
-
# @param [Google::Apis::RequestOptions] options
|
195
|
-
# Request-specific options
|
196
|
-
#
|
197
|
-
# @yield [result, err] Result & error if block supplied
|
198
|
-
# @yieldparam result [Google::Apis::TracingV1::ListSpansResponse] parsed result object
|
199
|
-
# @yieldparam err [StandardError] error object if request failed
|
200
|
-
#
|
201
|
-
# @return [Google::Apis::TracingV1::ListSpansResponse]
|
202
|
-
#
|
203
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
204
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
205
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
206
|
-
def list_project_trace_spans(name, page_token: nil, quota_user: nil, fields: nil, options: nil, &block)
|
207
|
-
command = make_simple_command(:get, 'v1/{+name}:listSpans', options)
|
208
|
-
command.response_representation = Google::Apis::TracingV1::ListSpansResponse::Representation
|
209
|
-
command.response_class = Google::Apis::TracingV1::ListSpansResponse
|
210
|
-
command.params['name'] = name unless name.nil?
|
211
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
212
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
213
|
-
command.query['fields'] = fields unless fields.nil?
|
214
|
-
execute_or_queue_command(command, &block)
|
215
|
-
end
|
216
|
-
|
217
|
-
protected
|
218
|
-
|
219
|
-
def apply_command_defaults(command)
|
220
|
-
command.query['key'] = key unless key.nil?
|
221
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
222
|
-
end
|
223
|
-
end
|
224
|
-
end
|
225
|
-
end
|
226
|
-
end
|