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,40 +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/tracing_v1/service.rb'
|
16
|
-
require 'google/apis/tracing_v1/classes.rb'
|
17
|
-
require 'google/apis/tracing_v1/representations.rb'
|
18
|
-
|
19
|
-
module Google
|
20
|
-
module Apis
|
21
|
-
# Google Tracing API
|
22
|
-
#
|
23
|
-
# Send and retrieve trace data from Google Stackdriver Trace.
|
24
|
-
#
|
25
|
-
# @see https://cloud.google.com/trace
|
26
|
-
module TracingV1
|
27
|
-
VERSION = 'V1'
|
28
|
-
REVISION = '20170320'
|
29
|
-
|
30
|
-
# Read Trace data for a project or application
|
31
|
-
AUTH_TRACE_READONLY = 'https://www.googleapis.com/auth/trace.readonly'
|
32
|
-
|
33
|
-
# Write Trace data for a project or application
|
34
|
-
AUTH_TRACE_APPEND = 'https://www.googleapis.com/auth/trace.append'
|
35
|
-
|
36
|
-
# View and manage your data across Google Cloud Platform services
|
37
|
-
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
38
|
-
end
|
39
|
-
end
|
40
|
-
end
|
@@ -1,664 +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
|
-
# StackTrace collected in a trace.
|
26
|
-
class StackTrace
|
27
|
-
include Google::Apis::Core::Hashable
|
28
|
-
|
29
|
-
# Stack frames of this stack trace.
|
30
|
-
# Corresponds to the JSON property `stackFrame`
|
31
|
-
# @return [Array<Google::Apis::TracingV1::StackFrame>]
|
32
|
-
attr_accessor :stack_frame
|
33
|
-
|
34
|
-
# The hash ID is used to conserve network bandwidth for duplicate
|
35
|
-
# stack traces within a single trace.
|
36
|
-
# Often multiple spans will have identical stack traces.
|
37
|
-
# The first occurance of a stack trace should contain both the
|
38
|
-
# `stackFrame` content and a value in `stackTraceHashId`.
|
39
|
-
# Subsequent spans within the same request can refer
|
40
|
-
# to that stack trace by only setting `stackTraceHashId`.
|
41
|
-
# Corresponds to the JSON property `stackTraceHashId`
|
42
|
-
# @return [Fixnum]
|
43
|
-
attr_accessor :stack_trace_hash_id
|
44
|
-
|
45
|
-
def initialize(**args)
|
46
|
-
update!(**args)
|
47
|
-
end
|
48
|
-
|
49
|
-
# Update properties of this object
|
50
|
-
def update!(**args)
|
51
|
-
@stack_frame = args[:stack_frame] if args.key?(:stack_frame)
|
52
|
-
@stack_trace_hash_id = args[:stack_trace_hash_id] if args.key?(:stack_trace_hash_id)
|
53
|
-
end
|
54
|
-
end
|
55
|
-
|
56
|
-
# A time-stamped annotation in the Span.
|
57
|
-
class TimeEvent
|
58
|
-
include Google::Apis::Core::Hashable
|
59
|
-
|
60
|
-
# An event describing an RPC message sent/received on the network.
|
61
|
-
# Corresponds to the JSON property `networkEvent`
|
62
|
-
# @return [Google::Apis::TracingV1::NetworkEvent]
|
63
|
-
attr_accessor :network_event
|
64
|
-
|
65
|
-
# Text annotation with a set of attributes.
|
66
|
-
# Corresponds to the JSON property `annotation`
|
67
|
-
# @return [Google::Apis::TracingV1::Annotation]
|
68
|
-
attr_accessor :annotation
|
69
|
-
|
70
|
-
# The timestamp indicating the time the event occurred.
|
71
|
-
# Corresponds to the JSON property `localTime`
|
72
|
-
# @return [String]
|
73
|
-
attr_accessor :local_time
|
74
|
-
|
75
|
-
def initialize(**args)
|
76
|
-
update!(**args)
|
77
|
-
end
|
78
|
-
|
79
|
-
# Update properties of this object
|
80
|
-
def update!(**args)
|
81
|
-
@network_event = args[:network_event] if args.key?(:network_event)
|
82
|
-
@annotation = args[:annotation] if args.key?(:annotation)
|
83
|
-
@local_time = args[:local_time] if args.key?(:local_time)
|
84
|
-
end
|
85
|
-
end
|
86
|
-
|
87
|
-
# An event describing an RPC message sent/received on the network.
|
88
|
-
class NetworkEvent
|
89
|
-
include Google::Apis::Core::Hashable
|
90
|
-
|
91
|
-
# An identifier for the message, which must be unique in this span.
|
92
|
-
# Corresponds to the JSON property `messageId`
|
93
|
-
# @return [Fixnum]
|
94
|
-
attr_accessor :message_id
|
95
|
-
|
96
|
-
# The number of bytes sent or received.
|
97
|
-
# Corresponds to the JSON property `messageSize`
|
98
|
-
# @return [Fixnum]
|
99
|
-
attr_accessor :message_size
|
100
|
-
|
101
|
-
# If available, this is the kernel time:
|
102
|
-
# * For sent messages, this is the time at which the first bit was sent.
|
103
|
-
# * For received messages, this is the time at which the last bit was
|
104
|
-
# received.
|
105
|
-
# Corresponds to the JSON property `kernelTime`
|
106
|
-
# @return [String]
|
107
|
-
attr_accessor :kernel_time
|
108
|
-
|
109
|
-
# Type of NetworkEvent. Indicates whether the RPC message was sent or
|
110
|
-
# received.
|
111
|
-
# Corresponds to the JSON property `type`
|
112
|
-
# @return [String]
|
113
|
-
attr_accessor :type
|
114
|
-
|
115
|
-
def initialize(**args)
|
116
|
-
update!(**args)
|
117
|
-
end
|
118
|
-
|
119
|
-
# Update properties of this object
|
120
|
-
def update!(**args)
|
121
|
-
@message_id = args[:message_id] if args.key?(:message_id)
|
122
|
-
@message_size = args[:message_size] if args.key?(:message_size)
|
123
|
-
@kernel_time = args[:kernel_time] if args.key?(:kernel_time)
|
124
|
-
@type = args[:type] if args.key?(:type)
|
125
|
-
end
|
126
|
-
end
|
127
|
-
|
128
|
-
# Collection of spans to update.
|
129
|
-
class SpanUpdates
|
130
|
-
include Google::Apis::Core::Hashable
|
131
|
-
|
132
|
-
# A collection of spans.
|
133
|
-
# Corresponds to the JSON property `spans`
|
134
|
-
# @return [Array<Google::Apis::TracingV1::Span>]
|
135
|
-
attr_accessor :spans
|
136
|
-
|
137
|
-
def initialize(**args)
|
138
|
-
update!(**args)
|
139
|
-
end
|
140
|
-
|
141
|
-
# Update properties of this object
|
142
|
-
def update!(**args)
|
143
|
-
@spans = args[:spans] if args.key?(:spans)
|
144
|
-
end
|
145
|
-
end
|
146
|
-
|
147
|
-
# The response message for the `ListSpans` method.
|
148
|
-
class ListSpansResponse
|
149
|
-
include Google::Apis::Core::Hashable
|
150
|
-
|
151
|
-
# If defined, indicates that there are more spans that match the request.
|
152
|
-
# Pass this as the value of `pageToken` in a subsequent request to retrieve
|
153
|
-
# additional spans.
|
154
|
-
# Corresponds to the JSON property `nextPageToken`
|
155
|
-
# @return [String]
|
156
|
-
attr_accessor :next_page_token
|
157
|
-
|
158
|
-
# The requested spans if there are any in the specified trace.
|
159
|
-
# Corresponds to the JSON property `spans`
|
160
|
-
# @return [Array<Google::Apis::TracingV1::Span>]
|
161
|
-
attr_accessor :spans
|
162
|
-
|
163
|
-
def initialize(**args)
|
164
|
-
update!(**args)
|
165
|
-
end
|
166
|
-
|
167
|
-
# Update properties of this object
|
168
|
-
def update!(**args)
|
169
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
170
|
-
@spans = args[:spans] if args.key?(:spans)
|
171
|
-
end
|
172
|
-
end
|
173
|
-
|
174
|
-
# Represents a single stack frame in a stack trace.
|
175
|
-
class StackFrame
|
176
|
-
include Google::Apis::Core::Hashable
|
177
|
-
|
178
|
-
# Column number is important in JavaScript (anonymous functions).
|
179
|
-
# May not be available in some languages.
|
180
|
-
# Corresponds to the JSON property `columnNumber`
|
181
|
-
# @return [Fixnum]
|
182
|
-
attr_accessor :column_number
|
183
|
-
|
184
|
-
# The filename of the file containing this frame.
|
185
|
-
# Corresponds to the JSON property `fileName`
|
186
|
-
# @return [String]
|
187
|
-
attr_accessor :file_name
|
188
|
-
|
189
|
-
# The version of the deployed source code.
|
190
|
-
# Corresponds to the JSON property `sourceVersion`
|
191
|
-
# @return [String]
|
192
|
-
attr_accessor :source_version
|
193
|
-
|
194
|
-
# Used when the function name is
|
195
|
-
# [mangled](http://www.avabodh.com/cxxin/namemangling.html). May be
|
196
|
-
# fully-qualified.
|
197
|
-
# Corresponds to the JSON property `originalFunctionName`
|
198
|
-
# @return [String]
|
199
|
-
attr_accessor :original_function_name
|
200
|
-
|
201
|
-
# The fully-qualified name that uniquely identifies this function or
|
202
|
-
# method.
|
203
|
-
# Corresponds to the JSON property `functionName`
|
204
|
-
# @return [String]
|
205
|
-
attr_accessor :function_name
|
206
|
-
|
207
|
-
# Line number of the frame.
|
208
|
-
# Corresponds to the JSON property `lineNumber`
|
209
|
-
# @return [Fixnum]
|
210
|
-
attr_accessor :line_number
|
211
|
-
|
212
|
-
# Binary module.
|
213
|
-
# Corresponds to the JSON property `loadModule`
|
214
|
-
# @return [Google::Apis::TracingV1::Module]
|
215
|
-
attr_accessor :load_module
|
216
|
-
|
217
|
-
def initialize(**args)
|
218
|
-
update!(**args)
|
219
|
-
end
|
220
|
-
|
221
|
-
# Update properties of this object
|
222
|
-
def update!(**args)
|
223
|
-
@column_number = args[:column_number] if args.key?(:column_number)
|
224
|
-
@file_name = args[:file_name] if args.key?(:file_name)
|
225
|
-
@source_version = args[:source_version] if args.key?(:source_version)
|
226
|
-
@original_function_name = args[:original_function_name] if args.key?(:original_function_name)
|
227
|
-
@function_name = args[:function_name] if args.key?(:function_name)
|
228
|
-
@line_number = args[:line_number] if args.key?(:line_number)
|
229
|
-
@load_module = args[:load_module] if args.key?(:load_module)
|
230
|
-
end
|
231
|
-
end
|
232
|
-
|
233
|
-
# A pointer from this span to another span in a different `Trace`. Used
|
234
|
-
# (for example) in batching operations, where a single batch handler
|
235
|
-
# processes multiple requests from different traces.
|
236
|
-
class Link
|
237
|
-
include Google::Apis::Core::Hashable
|
238
|
-
|
239
|
-
# The relationship of the current span relative to the linked span.
|
240
|
-
# Corresponds to the JSON property `type`
|
241
|
-
# @return [String]
|
242
|
-
attr_accessor :type
|
243
|
-
|
244
|
-
# The ID of the parent trace of the linked span.
|
245
|
-
# Corresponds to the JSON property `traceId`
|
246
|
-
# @return [String]
|
247
|
-
attr_accessor :trace_id
|
248
|
-
|
249
|
-
# The `id` of the linked span.
|
250
|
-
# Corresponds to the JSON property `spanId`
|
251
|
-
# @return [Fixnum]
|
252
|
-
attr_accessor :span_id
|
253
|
-
|
254
|
-
def initialize(**args)
|
255
|
-
update!(**args)
|
256
|
-
end
|
257
|
-
|
258
|
-
# Update properties of this object
|
259
|
-
def update!(**args)
|
260
|
-
@type = args[:type] if args.key?(:type)
|
261
|
-
@trace_id = args[:trace_id] if args.key?(:trace_id)
|
262
|
-
@span_id = args[:span_id] if args.key?(:span_id)
|
263
|
-
end
|
264
|
-
end
|
265
|
-
|
266
|
-
# Text annotation with a set of attributes.
|
267
|
-
class Annotation
|
268
|
-
include Google::Apis::Core::Hashable
|
269
|
-
|
270
|
-
# A user-supplied message describing the event.
|
271
|
-
# Corresponds to the JSON property `description`
|
272
|
-
# @return [String]
|
273
|
-
attr_accessor :description
|
274
|
-
|
275
|
-
# A set of attributes on the annotation.
|
276
|
-
# Corresponds to the JSON property `attributes`
|
277
|
-
# @return [Hash<String,Google::Apis::TracingV1::AttributeValue>]
|
278
|
-
attr_accessor :attributes
|
279
|
-
|
280
|
-
def initialize(**args)
|
281
|
-
update!(**args)
|
282
|
-
end
|
283
|
-
|
284
|
-
# Update properties of this object
|
285
|
-
def update!(**args)
|
286
|
-
@description = args[:description] if args.key?(:description)
|
287
|
-
@attributes = args[:attributes] if args.key?(:attributes)
|
288
|
-
end
|
289
|
-
end
|
290
|
-
|
291
|
-
# A trace describes how long it takes for an application to perform some
|
292
|
-
# operations. It consists of a set of spans, each representing
|
293
|
-
# an operation and including time information and operation details.
|
294
|
-
class Trace
|
295
|
-
include Google::Apis::Core::Hashable
|
296
|
-
|
297
|
-
# A globally unique identifier for the trace in the format
|
298
|
-
# `projects/PROJECT_NUMBER/traces/TRACE_ID`. `TRACE_ID` is a base16-encoded
|
299
|
-
# string of a 128-bit number and is required to be 32 char long.
|
300
|
-
# Corresponds to the JSON property `name`
|
301
|
-
# @return [String]
|
302
|
-
attr_accessor :name
|
303
|
-
|
304
|
-
def initialize(**args)
|
305
|
-
update!(**args)
|
306
|
-
end
|
307
|
-
|
308
|
-
# Update properties of this object
|
309
|
-
def update!(**args)
|
310
|
-
@name = args[:name] if args.key?(:name)
|
311
|
-
end
|
312
|
-
end
|
313
|
-
|
314
|
-
# Binary module.
|
315
|
-
class Module
|
316
|
-
include Google::Apis::Core::Hashable
|
317
|
-
|
318
|
-
# E.g. main binary, kernel modules, and dynamic libraries
|
319
|
-
# such as libc.so, sharedlib.so
|
320
|
-
# Corresponds to the JSON property `module`
|
321
|
-
# @return [String]
|
322
|
-
attr_accessor :module
|
323
|
-
|
324
|
-
# Build_id is a unique identifier for the module,
|
325
|
-
# usually a hash of its contents
|
326
|
-
# Corresponds to the JSON property `buildId`
|
327
|
-
# @return [String]
|
328
|
-
attr_accessor :build_id
|
329
|
-
|
330
|
-
def initialize(**args)
|
331
|
-
update!(**args)
|
332
|
-
end
|
333
|
-
|
334
|
-
# Update properties of this object
|
335
|
-
def update!(**args)
|
336
|
-
@module = args[:module] if args.key?(:module)
|
337
|
-
@build_id = args[:build_id] if args.key?(:build_id)
|
338
|
-
end
|
339
|
-
end
|
340
|
-
|
341
|
-
# The `Status` type defines a logical error model that is suitable for different
|
342
|
-
# programming environments, including REST APIs and RPC APIs. It is used by
|
343
|
-
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
344
|
-
# - Simple to use and understand for most users
|
345
|
-
# - Flexible enough to meet unexpected needs
|
346
|
-
# # Overview
|
347
|
-
# The `Status` message contains three pieces of data: error code, error message,
|
348
|
-
# and error details. The error code should be an enum value of
|
349
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
350
|
-
# error message should be a developer-facing English message that helps
|
351
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
352
|
-
# error message is needed, put the localized message in the error details or
|
353
|
-
# localize it in the client. The optional error details may contain arbitrary
|
354
|
-
# information about the error. There is a predefined set of error detail types
|
355
|
-
# in the package `google.rpc` which can be used for common error conditions.
|
356
|
-
# # Language mapping
|
357
|
-
# The `Status` message is the logical representation of the error model, but it
|
358
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
359
|
-
# exposed in different client libraries and different wire protocols, it can be
|
360
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
361
|
-
# in Java, but more likely mapped to some error codes in C.
|
362
|
-
# # Other uses
|
363
|
-
# The error model and the `Status` message can be used in a variety of
|
364
|
-
# environments, either with or without APIs, to provide a
|
365
|
-
# consistent developer experience across different environments.
|
366
|
-
# Example uses of this error model include:
|
367
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
368
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
369
|
-
# errors.
|
370
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
371
|
-
# have a `Status` message for error reporting purpose.
|
372
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
373
|
-
# `Status` message should be used directly inside batch response, one for
|
374
|
-
# each error sub-response.
|
375
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
376
|
-
# results in its response, the status of those operations should be
|
377
|
-
# represented directly using the `Status` message.
|
378
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
379
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
380
|
-
class Status
|
381
|
-
include Google::Apis::Core::Hashable
|
382
|
-
|
383
|
-
# A developer-facing error message, which should be in English. Any
|
384
|
-
# user-facing error message should be localized and sent in the
|
385
|
-
# google.rpc.Status.details field, or localized by the client.
|
386
|
-
# Corresponds to the JSON property `message`
|
387
|
-
# @return [String]
|
388
|
-
attr_accessor :message
|
389
|
-
|
390
|
-
# A list of messages that carry the error details. There will be a
|
391
|
-
# common set of message types for APIs to use.
|
392
|
-
# Corresponds to the JSON property `details`
|
393
|
-
# @return [Array<Hash<String,Object>>]
|
394
|
-
attr_accessor :details
|
395
|
-
|
396
|
-
# The status code, which should be an enum value of google.rpc.Code.
|
397
|
-
# Corresponds to the JSON property `code`
|
398
|
-
# @return [Fixnum]
|
399
|
-
attr_accessor :code
|
400
|
-
|
401
|
-
def initialize(**args)
|
402
|
-
update!(**args)
|
403
|
-
end
|
404
|
-
|
405
|
-
# Update properties of this object
|
406
|
-
def update!(**args)
|
407
|
-
@message = args[:message] if args.key?(:message)
|
408
|
-
@details = args[:details] if args.key?(:details)
|
409
|
-
@code = args[:code] if args.key?(:code)
|
410
|
-
end
|
411
|
-
end
|
412
|
-
|
413
|
-
# The response message for the `ListTraces` method.
|
414
|
-
class ListTracesResponse
|
415
|
-
include Google::Apis::Core::Hashable
|
416
|
-
|
417
|
-
# List of trace records returned.
|
418
|
-
# Corresponds to the JSON property `traces`
|
419
|
-
# @return [Array<Google::Apis::TracingV1::Trace>]
|
420
|
-
attr_accessor :traces
|
421
|
-
|
422
|
-
# If defined, indicates that there are more traces that match the request
|
423
|
-
# and that this value should be passed to the next request to continue
|
424
|
-
# retrieving additional traces.
|
425
|
-
# Corresponds to the JSON property `nextPageToken`
|
426
|
-
# @return [String]
|
427
|
-
attr_accessor :next_page_token
|
428
|
-
|
429
|
-
def initialize(**args)
|
430
|
-
update!(**args)
|
431
|
-
end
|
432
|
-
|
433
|
-
# Update properties of this object
|
434
|
-
def update!(**args)
|
435
|
-
@traces = args[:traces] if args.key?(:traces)
|
436
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
437
|
-
end
|
438
|
-
end
|
439
|
-
|
440
|
-
# A span represents a single operation within a trace. Spans can be nested
|
441
|
-
# to form a trace tree. Often, a trace contains a root span that
|
442
|
-
# describes the end-to-end latency and, optionally, one or more subspans for
|
443
|
-
# its sub-operations. (A trace could alternatively contain multiple root spans,
|
444
|
-
# or none at all.) Spans do not need to be contiguous. There may be gaps
|
445
|
-
# and/or overlaps between spans in a trace.
|
446
|
-
class Span
|
447
|
-
include Google::Apis::Core::Hashable
|
448
|
-
|
449
|
-
# Properties of a span in key:value format. The maximum length for the
|
450
|
-
# key is 128 characters. The value can be a string (up to 2000 characters),
|
451
|
-
# int, or boolean.
|
452
|
-
# Some common pair examples:
|
453
|
-
# "/instance_id": "my-instance"
|
454
|
-
# "/zone": "us-central1-a"
|
455
|
-
# "/grpc/peer_address": "ip:port" (dns, etc.)
|
456
|
-
# "/grpc/deadline": "Duration"
|
457
|
-
# "/http/user_agent"
|
458
|
-
# "/http/request_bytes": 300
|
459
|
-
# "/http/response_bytes": 1200
|
460
|
-
# "/http/url": google.com/apis
|
461
|
-
# "abc.com/myattribute": true
|
462
|
-
# Corresponds to the JSON property `attributes`
|
463
|
-
# @return [Hash<String,Google::Apis::TracingV1::AttributeValue>]
|
464
|
-
attr_accessor :attributes
|
465
|
-
|
466
|
-
# Identifier for the span. Must be a 64-bit integer other than 0 and
|
467
|
-
# unique within a trace.
|
468
|
-
# Corresponds to the JSON property `id`
|
469
|
-
# @return [Fixnum]
|
470
|
-
attr_accessor :id
|
471
|
-
|
472
|
-
# Start time of the span.
|
473
|
-
# On the client side, this is the local machine clock time at which the span
|
474
|
-
# execution was started; on the server
|
475
|
-
# side, this is the time at which the server application handler started
|
476
|
-
# running.
|
477
|
-
# Corresponds to the JSON property `localStartTime`
|
478
|
-
# @return [String]
|
479
|
-
attr_accessor :local_start_time
|
480
|
-
|
481
|
-
# True if this span has a remote parent (is an RPC server span).
|
482
|
-
# Corresponds to the JSON property `hasRemoteParent`
|
483
|
-
# @return [Boolean]
|
484
|
-
attr_accessor :has_remote_parent
|
485
|
-
alias_method :has_remote_parent?, :has_remote_parent
|
486
|
-
|
487
|
-
# End time of the span.
|
488
|
-
# On the client side, this is the local machine clock time at which the span
|
489
|
-
# execution was ended; on the server
|
490
|
-
# side, this is the time at which the server application handler stopped
|
491
|
-
# running.
|
492
|
-
# Corresponds to the JSON property `localEndTime`
|
493
|
-
# @return [String]
|
494
|
-
attr_accessor :local_end_time
|
495
|
-
|
496
|
-
# ID of the parent span. If this is a root span, the value must be `0` or
|
497
|
-
# empty.
|
498
|
-
# Corresponds to the JSON property `parentId`
|
499
|
-
# @return [Fixnum]
|
500
|
-
attr_accessor :parent_id
|
501
|
-
|
502
|
-
# A collection of `TimeEvent`s. A `TimeEvent` is a time-stamped annotation
|
503
|
-
# on the span, consisting of either user-supplied key:value pairs, or
|
504
|
-
# details of an RPC message sent/received on the network.
|
505
|
-
# Corresponds to the JSON property `timeEvents`
|
506
|
-
# @return [Array<Google::Apis::TracingV1::TimeEvent>]
|
507
|
-
attr_accessor :time_events
|
508
|
-
|
509
|
-
# The `Status` type defines a logical error model that is suitable for different
|
510
|
-
# programming environments, including REST APIs and RPC APIs. It is used by
|
511
|
-
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
512
|
-
# - Simple to use and understand for most users
|
513
|
-
# - Flexible enough to meet unexpected needs
|
514
|
-
# # Overview
|
515
|
-
# The `Status` message contains three pieces of data: error code, error message,
|
516
|
-
# and error details. The error code should be an enum value of
|
517
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
518
|
-
# error message should be a developer-facing English message that helps
|
519
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
520
|
-
# error message is needed, put the localized message in the error details or
|
521
|
-
# localize it in the client. The optional error details may contain arbitrary
|
522
|
-
# information about the error. There is a predefined set of error detail types
|
523
|
-
# in the package `google.rpc` which can be used for common error conditions.
|
524
|
-
# # Language mapping
|
525
|
-
# The `Status` message is the logical representation of the error model, but it
|
526
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
527
|
-
# exposed in different client libraries and different wire protocols, it can be
|
528
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
529
|
-
# in Java, but more likely mapped to some error codes in C.
|
530
|
-
# # Other uses
|
531
|
-
# The error model and the `Status` message can be used in a variety of
|
532
|
-
# environments, either with or without APIs, to provide a
|
533
|
-
# consistent developer experience across different environments.
|
534
|
-
# Example uses of this error model include:
|
535
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
536
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
537
|
-
# errors.
|
538
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
539
|
-
# have a `Status` message for error reporting purpose.
|
540
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
541
|
-
# `Status` message should be used directly inside batch response, one for
|
542
|
-
# each error sub-response.
|
543
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
544
|
-
# results in its response, the status of those operations should be
|
545
|
-
# represented directly using the `Status` message.
|
546
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
547
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
548
|
-
# Corresponds to the JSON property `status`
|
549
|
-
# @return [Google::Apis::TracingV1::Status]
|
550
|
-
attr_accessor :status
|
551
|
-
|
552
|
-
# Name of the span. The span name is sanitized and displayed in the
|
553
|
-
# Stackdriver Trace tool in the `% dynamic print site_values.console_name %`.
|
554
|
-
# The name may be a method name or some other per-call site name.
|
555
|
-
# For the same executable and the same call point, a best practice is
|
556
|
-
# to use a consistent name, which makes it easier to correlate
|
557
|
-
# cross-trace spans.
|
558
|
-
# Corresponds to the JSON property `name`
|
559
|
-
# @return [String]
|
560
|
-
attr_accessor :name
|
561
|
-
|
562
|
-
# StackTrace collected in a trace.
|
563
|
-
# Corresponds to the JSON property `stackTrace`
|
564
|
-
# @return [Google::Apis::TracingV1::StackTrace]
|
565
|
-
attr_accessor :stack_trace
|
566
|
-
|
567
|
-
# A collection of links, which are references from this span to another span
|
568
|
-
# in a different trace.
|
569
|
-
# Corresponds to the JSON property `links`
|
570
|
-
# @return [Array<Google::Apis::TracingV1::Link>]
|
571
|
-
attr_accessor :links
|
572
|
-
|
573
|
-
def initialize(**args)
|
574
|
-
update!(**args)
|
575
|
-
end
|
576
|
-
|
577
|
-
# Update properties of this object
|
578
|
-
def update!(**args)
|
579
|
-
@attributes = args[:attributes] if args.key?(:attributes)
|
580
|
-
@id = args[:id] if args.key?(:id)
|
581
|
-
@local_start_time = args[:local_start_time] if args.key?(:local_start_time)
|
582
|
-
@has_remote_parent = args[:has_remote_parent] if args.key?(:has_remote_parent)
|
583
|
-
@local_end_time = args[:local_end_time] if args.key?(:local_end_time)
|
584
|
-
@parent_id = args[:parent_id] if args.key?(:parent_id)
|
585
|
-
@time_events = args[:time_events] if args.key?(:time_events)
|
586
|
-
@status = args[:status] if args.key?(:status)
|
587
|
-
@name = args[:name] if args.key?(:name)
|
588
|
-
@stack_trace = args[:stack_trace] if args.key?(:stack_trace)
|
589
|
-
@links = args[:links] if args.key?(:links)
|
590
|
-
end
|
591
|
-
end
|
592
|
-
|
593
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
594
|
-
# empty messages in your APIs. A typical example is to use it as the request
|
595
|
-
# or the response type of an API method. For instance:
|
596
|
-
# service Foo `
|
597
|
-
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
598
|
-
# `
|
599
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
600
|
-
class Empty
|
601
|
-
include Google::Apis::Core::Hashable
|
602
|
-
|
603
|
-
def initialize(**args)
|
604
|
-
update!(**args)
|
605
|
-
end
|
606
|
-
|
607
|
-
# Update properties of this object
|
608
|
-
def update!(**args)
|
609
|
-
end
|
610
|
-
end
|
611
|
-
|
612
|
-
# The allowed types for the value side of an attribute key:value pair.
|
613
|
-
class AttributeValue
|
614
|
-
include Google::Apis::Core::Hashable
|
615
|
-
|
616
|
-
# An integer value.
|
617
|
-
# Corresponds to the JSON property `intValue`
|
618
|
-
# @return [Fixnum]
|
619
|
-
attr_accessor :int_value
|
620
|
-
|
621
|
-
# A string value.
|
622
|
-
# Corresponds to the JSON property `stringValue`
|
623
|
-
# @return [String]
|
624
|
-
attr_accessor :string_value
|
625
|
-
|
626
|
-
# A boolean value.
|
627
|
-
# Corresponds to the JSON property `boolValue`
|
628
|
-
# @return [Boolean]
|
629
|
-
attr_accessor :bool_value
|
630
|
-
alias_method :bool_value?, :bool_value
|
631
|
-
|
632
|
-
def initialize(**args)
|
633
|
-
update!(**args)
|
634
|
-
end
|
635
|
-
|
636
|
-
# Update properties of this object
|
637
|
-
def update!(**args)
|
638
|
-
@int_value = args[:int_value] if args.key?(:int_value)
|
639
|
-
@string_value = args[:string_value] if args.key?(:string_value)
|
640
|
-
@bool_value = args[:bool_value] if args.key?(:bool_value)
|
641
|
-
end
|
642
|
-
end
|
643
|
-
|
644
|
-
# The request message for the `BatchUpdateSpans` method.
|
645
|
-
class BatchUpdateSpansRequest
|
646
|
-
include Google::Apis::Core::Hashable
|
647
|
-
|
648
|
-
# A map from trace name to spans to be stored or updated.
|
649
|
-
# Corresponds to the JSON property `spanUpdates`
|
650
|
-
# @return [Hash<String,Google::Apis::TracingV1::SpanUpdates>]
|
651
|
-
attr_accessor :span_updates
|
652
|
-
|
653
|
-
def initialize(**args)
|
654
|
-
update!(**args)
|
655
|
-
end
|
656
|
-
|
657
|
-
# Update properties of this object
|
658
|
-
def update!(**args)
|
659
|
-
@span_updates = args[:span_updates] if args.key?(:span_updates)
|
660
|
-
end
|
661
|
-
end
|
662
|
-
end
|
663
|
-
end
|
664
|
-
end
|