google-api-client 0.10.3 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +12 -18
- data/CHANGELOG.md +22 -2
- data/Gemfile +5 -7
- data/MIGRATING.md +33 -0
- data/README.md +10 -2
- data/Rakefile +1 -0
- data/bin/generate-api +7 -1
- data/dl.rb +0 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +6 -6
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +1 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +759 -759
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +152 -152
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +376 -375
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +58 -58
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +45 -45
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +22 -21
- data/generated/google/apis/adexchangeseller_v2_0/classes.rb +5 -5
- data/generated/google/apis/adexchangeseller_v2_0/representations.rb +5 -5
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -0
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/representations.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +11 -11
- data/generated/google/apis/admin_directory_v1/representations.rb +11 -11
- data/generated/google/apis/admin_directory_v1/service.rb +1 -0
- data/generated/google/apis/admin_reports_v1/classes.rb +5 -5
- data/generated/google/apis/admin_reports_v1/representations.rb +4 -4
- data/generated/google/apis/admin_reports_v1/service.rb +1 -0
- 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 +2 -2
- data/generated/google/apis/adsense_v1_4/service.rb +1 -0
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/representations.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +1 -0
- data/generated/google/apis/analytics_v3/classes.rb +10 -10
- data/generated/google/apis/analytics_v3/representations.rb +10 -10
- data/generated/google/apis/analytics_v3/service.rb +1 -0
- data/generated/google/apis/analyticsreporting_v4/classes.rb +933 -933
- data/generated/google/apis/analyticsreporting_v4/representations.rb +197 -197
- data/generated/google/apis/analyticsreporting_v4/service.rb +5 -4
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +1 -0
- data/generated/google/apis/androidpublisher_v2/classes.rb +13 -13
- data/generated/google/apis/androidpublisher_v2/representations.rb +13 -13
- data/generated/google/apis/androidpublisher_v2/service.rb +3 -2
- data/generated/google/apis/appengine_v1/classes.rb +2 -2
- data/generated/google/apis/appengine_v1/representations.rb +2 -2
- data/generated/google/apis/appengine_v1/service.rb +1 -0
- data/generated/google/apis/appsactivity_v1/classes.rb +1 -1
- data/generated/google/apis/appsactivity_v1/representations.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +1 -0
- data/generated/google/apis/appsmarket_v2.rb +35 -0
- data/generated/google/apis/appsmarket_v2/classes.rb +396 -0
- data/generated/google/apis/appsmarket_v2/representations.rb +180 -0
- data/generated/google/apis/appsmarket_v2/service.rb +187 -0
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/service.rb +1 -0
- data/generated/google/apis/bigquery_v2/classes.rb +39 -39
- data/generated/google/apis/bigquery_v2/representations.rb +38 -38
- data/generated/google/apis/bigquery_v2/service.rb +3 -2
- data/generated/google/apis/blogger_v3/classes.rb +2 -2
- data/generated/google/apis/blogger_v3/representations.rb +2 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -0
- data/generated/google/apis/books_v1/classes.rb +5 -5
- data/generated/google/apis/books_v1/representations.rb +4 -4
- data/generated/google/apis/books_v1/service.rb +1 -0
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/representations.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +1 -0
- data/generated/google/apis/civicinfo_v2/classes.rb +6 -6
- data/generated/google/apis/civicinfo_v2/representations.rb +6 -6
- data/generated/google/apis/civicinfo_v2/service.rb +2 -1
- data/generated/google/apis/classroom_v1/service.rb +1 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +1 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +626 -626
- data/generated/google/apis/cloudbuild_v1/representations.rb +109 -109
- data/generated/google/apis/cloudbuild_v1/service.rb +159 -158
- data/generated/google/apis/clouddebugger_v2/classes.rb +358 -358
- data/generated/google/apis/clouddebugger_v2/representations.rb +99 -99
- data/generated/google/apis/clouddebugger_v2/service.rb +42 -41
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +220 -220
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +52 -52
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +59 -58
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -7
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +5 -4
- data/generated/google/apis/cloudkms_v1/classes.rb +311 -311
- data/generated/google/apis/cloudkms_v1/representations.rb +87 -87
- data/generated/google/apis/cloudkms_v1/service.rb +168 -167
- data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +4 -4
- data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +4 -4
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +341 -341
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +62 -62
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +458 -457
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +327 -327
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +71 -71
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +237 -236
- data/generated/google/apis/cloudtrace_v1.rb +3 -3
- data/generated/google/apis/cloudtrace_v1/classes.rb +38 -38
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +14 -13
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +4 -4
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +4 -4
- data/generated/google/apis/clouduseraccounts_beta/service.rb +1 -0
- data/generated/google/apis/compute_beta/classes.rb +52 -52
- data/generated/google/apis/compute_beta/representations.rb +52 -52
- data/generated/google/apis/compute_beta/service.rb +2 -1
- data/generated/google/apis/compute_v1/classes.rb +48 -48
- data/generated/google/apis/compute_v1/representations.rb +48 -48
- data/generated/google/apis/compute_v1/service.rb +2 -1
- data/generated/google/apis/container_v1/service.rb +1 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +38 -660
- data/generated/google/apis/content_v2/representations.rb +37 -303
- data/generated/google/apis/content_v2/service.rb +63 -279
- data/generated/google/apis/customsearch_v1/classes.rb +2 -2
- data/generated/google/apis/customsearch_v1/representations.rb +2 -2
- data/generated/google/apis/customsearch_v1/service.rb +1 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +3281 -3281
- data/generated/google/apis/dataflow_v1b3/representations.rb +777 -777
- data/generated/google/apis/dataflow_v1b3/service.rb +106 -105
- data/generated/google/apis/dataproc_v1/classes.rb +395 -395
- data/generated/google/apis/dataproc_v1/representations.rb +91 -91
- data/generated/google/apis/dataproc_v1/service.rb +356 -355
- data/generated/google/apis/datastore_v1/classes.rb +506 -506
- data/generated/google/apis/datastore_v1/representations.rb +147 -147
- data/generated/google/apis/datastore_v1/service.rb +46 -45
- data/generated/google/apis/deploymentmanager_v2/classes.rb +6 -6
- data/generated/google/apis/deploymentmanager_v2/representations.rb +6 -6
- data/generated/google/apis/deploymentmanager_v2/service.rb +1 -0
- data/generated/google/apis/dfareporting_v2_6/classes.rb +280 -280
- data/generated/google/apis/dfareporting_v2_6/representations.rb +266 -266
- data/generated/google/apis/dfareporting_v2_6/service.rb +421 -420
- data/generated/google/apis/dfareporting_v2_7/classes.rb +280 -280
- data/generated/google/apis/dfareporting_v2_7/representations.rb +266 -266
- data/generated/google/apis/dfareporting_v2_7/service.rb +423 -422
- data/generated/google/apis/discovery_v1/service.rb +1 -0
- data/generated/google/apis/dns_v1/classes.rb +2 -2
- data/generated/google/apis/dns_v1/representations.rb +2 -2
- data/generated/google/apis/dns_v1/service.rb +1 -0
- data/generated/google/apis/dns_v2beta1/classes.rb +2 -2
- data/generated/google/apis/dns_v2beta1/representations.rb +2 -2
- data/generated/google/apis/dns_v2beta1/service.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +15 -15
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +13 -13
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +5 -4
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +28 -28
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +28 -28
- data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -12
- data/generated/google/apis/drive_v2/classes.rb +17 -17
- data/generated/google/apis/drive_v2/representations.rb +17 -17
- data/generated/google/apis/drive_v2/service.rb +5 -4
- data/generated/google/apis/drive_v3/classes.rb +13 -13
- data/generated/google/apis/drive_v3/representations.rb +12 -12
- data/generated/google/apis/drive_v3/service.rb +1 -0
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +81 -81
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +24 -24
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -0
- data/generated/google/apis/firebaserules_v1/classes.rb +201 -201
- data/generated/google/apis/firebaserules_v1/representations.rb +61 -61
- data/generated/google/apis/firebaserules_v1/service.rb +1 -0
- data/generated/google/apis/fitness_v1/classes.rb +18 -18
- data/generated/google/apis/fitness_v1/representations.rb +18 -18
- data/generated/google/apis/fitness_v1/service.rb +6 -5
- data/generated/google/apis/fusiontables_v2/classes.rb +2 -2
- data/generated/google/apis/fusiontables_v2/representations.rb +2 -2
- data/generated/google/apis/fusiontables_v2/service.rb +1 -0
- 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 +2 -2
- data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -0
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +6 -6
- data/generated/google/apis/games_management_v1management/representations.rb +6 -6
- data/generated/google/apis/games_management_v1management/service.rb +1 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +47 -47
- data/generated/google/apis/games_v1/representations.rb +47 -47
- data/generated/google/apis/games_v1/service.rb +58 -57
- data/generated/google/apis/genomics_v1.rb +6 -6
- data/generated/google/apis/genomics_v1/classes.rb +2354 -2354
- data/generated/google/apis/genomics_v1/representations.rb +487 -487
- data/generated/google/apis/genomics_v1/service.rb +1188 -1187
- data/generated/google/apis/gmail_v1/classes.rb +11 -11
- data/generated/google/apis/gmail_v1/representations.rb +11 -11
- data/generated/google/apis/gmail_v1/service.rb +2 -1
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -0
- data/generated/google/apis/groupssettings_v1/service.rb +1 -0
- data/generated/google/apis/iam_v1/classes.rb +437 -437
- data/generated/google/apis/iam_v1/representations.rb +95 -95
- data/generated/google/apis/iam_v1/service.rb +87 -86
- data/generated/google/apis/identitytoolkit_v3/classes.rb +20 -20
- data/generated/google/apis/identitytoolkit_v3/representations.rb +20 -20
- data/generated/google/apis/identitytoolkit_v3/service.rb +1 -0
- data/generated/google/apis/kgsearch_v1/service.rb +9 -8
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +245 -245
- data/generated/google/apis/language_v1/representations.rb +65 -65
- data/generated/google/apis/language_v1/service.rb +1 -0
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +277 -277
- data/generated/google/apis/language_v1beta1/representations.rb +83 -83
- data/generated/google/apis/language_v1beta1/service.rb +31 -30
- data/generated/google/apis/licensing_v1/service.rb +1 -0
- data/generated/google/apis/logging_v2/classes.rb +408 -408
- data/generated/google/apis/logging_v2/representations.rb +93 -93
- data/generated/google/apis/logging_v2/service.rb +408 -407
- data/generated/google/apis/logging_v2beta1.rb +3 -3
- data/generated/google/apis/logging_v2beta1/classes.rb +892 -892
- data/generated/google/apis/logging_v2beta1/representations.rb +128 -128
- data/generated/google/apis/logging_v2beta1/service.rb +89 -88
- data/generated/google/apis/manufacturers_v1/classes.rb +309 -309
- data/generated/google/apis/manufacturers_v1/representations.rb +64 -64
- data/generated/google/apis/manufacturers_v1/service.rb +1 -0
- data/generated/google/apis/mirror_v1/service.rb +1 -0
- data/generated/google/apis/ml_v1/classes.rb +1185 -1185
- data/generated/google/apis/ml_v1/representations.rb +171 -171
- data/generated/google/apis/ml_v1/service.rb +282 -281
- data/generated/google/apis/monitoring_v3.rb +3 -3
- data/generated/google/apis/monitoring_v3/classes.rb +334 -334
- data/generated/google/apis/monitoring_v3/representations.rb +86 -86
- data/generated/google/apis/monitoring_v3/service.rb +344 -343
- data/generated/google/apis/mybusiness_v3/service.rb +1 -0
- data/generated/google/apis/oauth2_v2/service.rb +1 -0
- data/generated/google/apis/pagespeedonline_v2/classes.rb +8 -8
- data/generated/google/apis/pagespeedonline_v2/representations.rb +8 -8
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -0
- data/generated/google/apis/partners_v2/classes.rb +1466 -1466
- data/generated/google/apis/partners_v2/representations.rb +371 -371
- data/generated/google/apis/partners_v2/service.rb +530 -529
- data/generated/google/apis/people_v1.rb +4 -4
- data/generated/google/apis/people_v1/classes.rb +1009 -1009
- data/generated/google/apis/people_v1/representations.rb +249 -249
- data/generated/google/apis/people_v1/service.rb +13 -12
- data/generated/google/apis/plus_domains_v1/classes.rb +2 -2
- data/generated/google/apis/plus_domains_v1/representations.rb +2 -2
- data/generated/google/apis/plus_domains_v1/service.rb +1 -0
- data/generated/google/apis/plus_v1/service.rb +1 -0
- data/generated/google/apis/prediction_v1_6/classes.rb +9 -9
- data/generated/google/apis/prediction_v1_6/representations.rb +9 -9
- data/generated/google/apis/prediction_v1_6/service.rb +1 -0
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +221 -221
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +55 -55
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +378 -377
- data/generated/google/apis/pubsub_v1/classes.rb +99 -99
- data/generated/google/apis/pubsub_v1/representations.rb +25 -25
- data/generated/google/apis/pubsub_v1/service.rb +236 -235
- data/generated/google/apis/qpx_express_v1/service.rb +1 -0
- data/generated/google/apis/replicapool_v1beta2/classes.rb +3 -3
- data/generated/google/apis/replicapool_v1beta2/representations.rb +3 -3
- data/generated/google/apis/replicapool_v1beta2/service.rb +1 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +2 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +2 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -0
- data/generated/google/apis/reseller_v1/classes.rb +5 -5
- data/generated/google/apis/reseller_v1/representations.rb +5 -5
- data/generated/google/apis/reseller_v1/service.rb +1 -0
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +2 -2
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +2 -2
- data/generated/google/apis/resourceviews_v1beta2/service.rb +1 -0
- data/generated/google/apis/runtimeconfig_v1.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1/classes.rb +28 -28
- data/generated/google/apis/runtimeconfig_v1/representations.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1/service.rb +53 -52
- data/generated/google/apis/script_v1.rb +18 -18
- data/generated/google/apis/script_v1/classes.rb +84 -84
- data/generated/google/apis/script_v1/representations.rb +18 -18
- data/generated/google/apis/script_v1/service.rb +11 -10
- data/generated/google/apis/searchconsole_v1/classes.rb +75 -75
- data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
- data/generated/google/apis/searchconsole_v1/service.rb +11 -10
- data/generated/google/apis/servicecontrol_v1/classes.rb +582 -582
- data/generated/google/apis/servicecontrol_v1/representations.rb +113 -113
- data/generated/google/apis/servicecontrol_v1/service.rb +71 -70
- data/generated/google/apis/servicemanagement_v1.rb +3 -3
- data/generated/google/apis/servicemanagement_v1/classes.rb +3725 -3725
- data/generated/google/apis/servicemanagement_v1/representations.rb +255 -255
- data/generated/google/apis/servicemanagement_v1/service.rb +179 -178
- data/generated/google/apis/serviceuser_v1.rb +3 -3
- data/generated/google/apis/serviceuser_v1/classes.rb +2845 -2845
- data/generated/google/apis/serviceuser_v1/representations.rb +228 -228
- data/generated/google/apis/serviceuser_v1/service.rb +47 -46
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4456 -4456
- data/generated/google/apis/sheets_v4/representations.rb +859 -859
- data/generated/google/apis/sheets_v4/service.rb +180 -179
- data/generated/google/apis/site_verification_v1/service.rb +1 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2856 -2856
- data/generated/google/apis/slides_v1/representations.rb +683 -683
- data/generated/google/apis/slides_v1/service.rb +27 -26
- data/generated/google/apis/sourcerepo_v1/classes.rb +281 -281
- data/generated/google/apis/sourcerepo_v1/representations.rb +79 -79
- data/generated/google/apis/sourcerepo_v1/service.rb +112 -111
- data/generated/google/apis/spanner_v1/classes.rb +2177 -2177
- data/generated/google/apis/spanner_v1/representations.rb +325 -325
- data/generated/google/apis/spanner_v1/service.rb +374 -373
- data/generated/google/apis/speech_v1beta1/classes.rb +197 -197
- data/generated/google/apis/speech_v1beta1/representations.rb +36 -36
- data/generated/google/apis/speech_v1beta1/service.rb +27 -26
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +14 -14
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +14 -14
- data/generated/google/apis/sqladmin_v1beta4/service.rb +3 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +11 -11
- data/generated/google/apis/storage_v1/representations.rb +11 -11
- data/generated/google/apis/storage_v1/service.rb +65 -64
- data/generated/google/apis/storagetransfer_v1/classes.rb +239 -239
- data/generated/google/apis/storagetransfer_v1/representations.rb +79 -79
- data/generated/google/apis/storagetransfer_v1/service.rb +133 -132
- data/generated/google/apis/surveys_v2/classes.rb +4 -4
- data/generated/google/apis/surveys_v2/representations.rb +4 -4
- data/generated/google/apis/surveys_v2/service.rb +1 -0
- data/generated/google/apis/tagmanager_v1/classes.rb +7 -7
- data/generated/google/apis/tagmanager_v1/representations.rb +7 -7
- data/generated/google/apis/tagmanager_v1/service.rb +1 -0
- data/generated/google/apis/tagmanager_v2/classes.rb +6 -6
- data/generated/google/apis/tagmanager_v2/representations.rb +6 -6
- data/generated/google/apis/tagmanager_v2/service.rb +1 -0
- data/generated/google/apis/taskqueue_v1beta2/classes.rb +5 -5
- data/generated/google/apis/taskqueue_v1beta2/representations.rb +5 -5
- data/generated/google/apis/taskqueue_v1beta2/service.rb +1 -0
- data/generated/google/apis/tasks_v1/service.rb +3 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3/representations.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3/service.rb +1 -0
- data/generated/google/apis/tracing_v1/classes.rb +421 -421
- data/generated/google/apis/tracing_v1/representations.rb +86 -86
- data/generated/google/apis/tracing_v1/service.rb +60 -59
- data/generated/google/apis/translate_v2/service.rb +1 -0
- data/generated/google/apis/urlshortener_v1/classes.rb +3 -3
- data/generated/google/apis/urlshortener_v1/representations.rb +3 -3
- data/generated/google/apis/urlshortener_v1/service.rb +1 -0
- data/generated/google/apis/vision_v1/classes.rb +1290 -1290
- data/generated/google/apis/vision_v1/representations.rb +184 -184
- data/generated/google/apis/vision_v1/service.rb +11 -10
- data/generated/google/apis/webfonts_v1/service.rb +1 -0
- data/generated/google/apis/webmasters_v3/classes.rb +5 -5
- data/generated/google/apis/webmasters_v3/representations.rb +5 -5
- data/generated/google/apis/webmasters_v3/service.rb +1 -0
- data/generated/google/apis/youtube_analytics_v1/classes.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/service.rb +1 -0
- data/generated/google/apis/youtube_partner_v1/classes.rb +13 -13
- data/generated/google/apis/youtube_partner_v1/representations.rb +13 -13
- data/generated/google/apis/youtube_partner_v1/service.rb +1 -0
- data/generated/google/apis/youtube_v3/classes.rb +31 -31
- data/generated/google/apis/youtube_v3/representations.rb +31 -31
- data/generated/google/apis/youtube_v3/service.rb +2 -1
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +73 -73
- data/generated/google/apis/youtubereporting_v1/representations.rb +18 -18
- data/generated/google/apis/youtubereporting_v1/service.rb +77 -76
- data/google-api-client.gemspec +4 -6
- data/lib/google/apis/core/api_command.rb +8 -3
- data/lib/google/apis/core/base_service.rb +47 -18
- data/lib/google/apis/core/batch.rb +13 -18
- data/lib/google/apis/core/composite_io.rb +97 -0
- data/lib/google/apis/core/download.rb +24 -20
- data/lib/google/apis/core/http_command.rb +49 -38
- data/lib/google/apis/core/json_representation.rb +5 -1
- data/lib/google/apis/core/multipart.rb +43 -95
- data/lib/google/apis/core/upload.rb +59 -84
- data/lib/google/apis/generator/model.rb +2 -0
- data/lib/google/apis/generator/templates/_representation.tmpl +1 -1
- data/lib/google/apis/generator/templates/service.rb.tmpl +1 -0
- data/lib/google/apis/options.rb +24 -12
- data/lib/google/apis/version.rb +1 -1
- data/samples/web/Gemfile +0 -1
- metadata +39 -37
- data/lib/google/apis/core/http_client_adapter.rb +0 -82
- data/third_party/hurley_patches.rb +0 -103
@@ -377,7 +377,7 @@ module Google
|
|
377
377
|
# Cost per survey response in nano units of the given currency. To get the total
|
378
378
|
# cost for a survey, multiply this value by wanted_response_count.
|
379
379
|
# Corresponds to the JSON property `costPerResponseNanos`
|
380
|
-
# @return [
|
380
|
+
# @return [Fixnum]
|
381
381
|
attr_accessor :cost_per_response_nanos
|
382
382
|
|
383
383
|
# Currency code that the cost is given in.
|
@@ -401,13 +401,13 @@ module Google
|
|
401
401
|
# before attempting to start the survey again. This will immediately start the
|
402
402
|
# survey as long the incidence test was run within the last 21 days.
|
403
403
|
# Corresponds to the JSON property `maxCostPerResponseNanos`
|
404
|
-
# @return [
|
404
|
+
# @return [Fixnum]
|
405
405
|
attr_accessor :max_cost_per_response_nanos
|
406
406
|
|
407
407
|
# Cost of survey in nano units of the given currency. DEPRECATED in favor of
|
408
408
|
# cost_per_response_nanos
|
409
409
|
# Corresponds to the JSON property `nanos`
|
410
|
-
# @return [
|
410
|
+
# @return [Fixnum]
|
411
411
|
attr_accessor :nanos
|
412
412
|
|
413
413
|
def initialize(**args)
|
@@ -712,7 +712,7 @@ module Google
|
|
712
712
|
# Threshold to start a survey automically if the quoted prices is less than or
|
713
713
|
# equal to this value. See Survey.Cost for more details.
|
714
714
|
# Corresponds to the JSON property `maxCostPerResponseNanos`
|
715
|
-
# @return [
|
715
|
+
# @return [Fixnum]
|
716
716
|
attr_accessor :max_cost_per_response_nanos
|
717
717
|
|
718
718
|
def initialize(**args)
|
@@ -233,10 +233,10 @@ module Google
|
|
233
233
|
class SurveyCost
|
234
234
|
# @private
|
235
235
|
class Representation < Google::Apis::Core::JsonRepresentation
|
236
|
-
property :cost_per_response_nanos, as: 'costPerResponseNanos'
|
236
|
+
property :cost_per_response_nanos, :numeric_string => true, as: 'costPerResponseNanos'
|
237
237
|
property :currency_code, as: 'currencyCode'
|
238
|
-
property :max_cost_per_response_nanos, as: 'maxCostPerResponseNanos'
|
239
|
-
property :nanos, as: 'nanos'
|
238
|
+
property :max_cost_per_response_nanos, :numeric_string => true, as: 'maxCostPerResponseNanos'
|
239
|
+
property :nanos, :numeric_string => true, as: 'nanos'
|
240
240
|
end
|
241
241
|
end
|
242
242
|
|
@@ -313,7 +313,7 @@ module Google
|
|
313
313
|
class SurveysStartRequest
|
314
314
|
# @private
|
315
315
|
class Representation < Google::Apis::Core::JsonRepresentation
|
316
|
-
property :max_cost_per_response_nanos, as: 'maxCostPerResponseNanos'
|
316
|
+
property :max_cost_per_response_nanos, :numeric_string => true, as: 'maxCostPerResponseNanos'
|
317
317
|
end
|
318
318
|
end
|
319
319
|
|
@@ -475,7 +475,7 @@ module Google
|
|
475
475
|
|
476
476
|
# The last update time-stamp for the authorization code.
|
477
477
|
# Corresponds to the JSON property `authorizationTimestampMs`
|
478
|
-
# @return [
|
478
|
+
# @return [Fixnum]
|
479
479
|
attr_accessor :authorization_timestamp_ms
|
480
480
|
|
481
481
|
# GTM Container ID.
|
@@ -861,12 +861,12 @@ module Google
|
|
861
861
|
|
862
862
|
# The end timestamp in milliseconds to schedule a macro.
|
863
863
|
# Corresponds to the JSON property `scheduleEndMs`
|
864
|
-
# @return [
|
864
|
+
# @return [Fixnum]
|
865
865
|
attr_accessor :schedule_end_ms
|
866
866
|
|
867
867
|
# The start timestamp in milliseconds to schedule a macro.
|
868
868
|
# Corresponds to the JSON property `scheduleStartMs`
|
869
|
-
# @return [
|
869
|
+
# @return [Fixnum]
|
870
870
|
attr_accessor :schedule_start_ms
|
871
871
|
|
872
872
|
# GTM Macro Type.
|
@@ -1134,12 +1134,12 @@ module Google
|
|
1134
1134
|
|
1135
1135
|
# The end timestamp in milliseconds to schedule a tag.
|
1136
1136
|
# Corresponds to the JSON property `scheduleEndMs`
|
1137
|
-
# @return [
|
1137
|
+
# @return [Fixnum]
|
1138
1138
|
attr_accessor :schedule_end_ms
|
1139
1139
|
|
1140
1140
|
# The start timestamp in milliseconds to schedule a tag.
|
1141
1141
|
# Corresponds to the JSON property `scheduleStartMs`
|
1142
|
-
# @return [
|
1142
|
+
# @return [Fixnum]
|
1143
1143
|
attr_accessor :schedule_start_ms
|
1144
1144
|
|
1145
1145
|
# The list of setup tags. Currently we only allow one.
|
@@ -1450,12 +1450,12 @@ module Google
|
|
1450
1450
|
|
1451
1451
|
# The end timestamp in milliseconds to schedule a variable.
|
1452
1452
|
# Corresponds to the JSON property `scheduleEndMs`
|
1453
|
-
# @return [
|
1453
|
+
# @return [Fixnum]
|
1454
1454
|
attr_accessor :schedule_end_ms
|
1455
1455
|
|
1456
1456
|
# The start timestamp in milliseconds to schedule a variable.
|
1457
1457
|
# Corresponds to the JSON property `scheduleStartMs`
|
1458
|
-
# @return [
|
1458
|
+
# @return [Fixnum]
|
1459
1459
|
attr_accessor :schedule_start_ms
|
1460
1460
|
|
1461
1461
|
# GTM Variable Type.
|
@@ -325,7 +325,7 @@ module Google
|
|
325
325
|
class Representation < Google::Apis::Core::JsonRepresentation
|
326
326
|
property :account_id, as: 'accountId'
|
327
327
|
property :authorization_code, as: 'authorizationCode'
|
328
|
-
property :authorization_timestamp_ms, as: 'authorizationTimestampMs'
|
328
|
+
property :authorization_timestamp_ms, :numeric_string => true, as: 'authorizationTimestampMs'
|
329
329
|
property :container_id, as: 'containerId'
|
330
330
|
property :container_version_id, as: 'containerVersionId'
|
331
331
|
property :description, as: 'description'
|
@@ -449,8 +449,8 @@ module Google
|
|
449
449
|
collection :parameter, as: 'parameter', class: Google::Apis::TagmanagerV1::Parameter, decorator: Google::Apis::TagmanagerV1::Parameter::Representation
|
450
450
|
|
451
451
|
property :parent_folder_id, as: 'parentFolderId'
|
452
|
-
property :schedule_end_ms, as: 'scheduleEndMs'
|
453
|
-
property :schedule_start_ms, as: 'scheduleStartMs'
|
452
|
+
property :schedule_end_ms, :numeric_string => true, as: 'scheduleEndMs'
|
453
|
+
property :schedule_start_ms, :numeric_string => true, as: 'scheduleStartMs'
|
454
454
|
property :type, as: 'type'
|
455
455
|
end
|
456
456
|
end
|
@@ -517,8 +517,8 @@ module Google
|
|
517
517
|
property :parent_folder_id, as: 'parentFolderId'
|
518
518
|
property :priority, as: 'priority', class: Google::Apis::TagmanagerV1::Parameter, decorator: Google::Apis::TagmanagerV1::Parameter::Representation
|
519
519
|
|
520
|
-
property :schedule_end_ms, as: 'scheduleEndMs'
|
521
|
-
property :schedule_start_ms, as: 'scheduleStartMs'
|
520
|
+
property :schedule_end_ms, :numeric_string => true, as: 'scheduleEndMs'
|
521
|
+
property :schedule_start_ms, :numeric_string => true, as: 'scheduleStartMs'
|
522
522
|
collection :setup_tag, as: 'setupTag', class: Google::Apis::TagmanagerV1::SetupTag, decorator: Google::Apis::TagmanagerV1::SetupTag::Representation
|
523
523
|
|
524
524
|
property :tag_firing_option, as: 'tagFiringOption'
|
@@ -600,8 +600,8 @@ module Google
|
|
600
600
|
collection :parameter, as: 'parameter', class: Google::Apis::TagmanagerV1::Parameter, decorator: Google::Apis::TagmanagerV1::Parameter::Representation
|
601
601
|
|
602
602
|
property :parent_folder_id, as: 'parentFolderId'
|
603
|
-
property :schedule_end_ms, as: 'scheduleEndMs'
|
604
|
-
property :schedule_start_ms, as: 'scheduleStartMs'
|
603
|
+
property :schedule_end_ms, :numeric_string => true, as: 'scheduleEndMs'
|
604
|
+
property :schedule_start_ms, :numeric_string => true, as: 'scheduleStartMs'
|
605
605
|
property :type, as: 'type'
|
606
606
|
property :variable_id, as: 'variableId'
|
607
607
|
end
|
@@ -1582,12 +1582,12 @@ module Google
|
|
1582
1582
|
|
1583
1583
|
# The end timestamp in milliseconds to schedule a tag.
|
1584
1584
|
# Corresponds to the JSON property `scheduleEndMs`
|
1585
|
-
# @return [
|
1585
|
+
# @return [Fixnum]
|
1586
1586
|
attr_accessor :schedule_end_ms
|
1587
1587
|
|
1588
1588
|
# The start timestamp in milliseconds to schedule a tag.
|
1589
1589
|
# Corresponds to the JSON property `scheduleStartMs`
|
1590
|
-
# @return [
|
1590
|
+
# @return [Fixnum]
|
1591
1591
|
attr_accessor :schedule_start_ms
|
1592
1592
|
|
1593
1593
|
# The list of setup tags. Currently we only allow one.
|
@@ -1748,7 +1748,7 @@ module Google
|
|
1748
1748
|
# Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be
|
1749
1749
|
# from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.
|
1750
1750
|
# Corresponds to the JSON property `seconds`
|
1751
|
-
# @return [
|
1751
|
+
# @return [Fixnum]
|
1752
1752
|
attr_accessor :seconds
|
1753
1753
|
|
1754
1754
|
def initialize(**args)
|
@@ -2104,12 +2104,12 @@ module Google
|
|
2104
2104
|
|
2105
2105
|
# The end timestamp in milliseconds to schedule a variable.
|
2106
2106
|
# Corresponds to the JSON property `scheduleEndMs`
|
2107
|
-
# @return [
|
2107
|
+
# @return [Fixnum]
|
2108
2108
|
attr_accessor :schedule_end_ms
|
2109
2109
|
|
2110
2110
|
# The start timestamp in milliseconds to schedule a variable.
|
2111
2111
|
# Corresponds to the JSON property `scheduleStartMs`
|
2112
|
-
# @return [
|
2112
|
+
# @return [Fixnum]
|
2113
2113
|
attr_accessor :schedule_start_ms
|
2114
2114
|
|
2115
2115
|
# Auto generated link to the tag manager UI
|
@@ -2412,7 +2412,7 @@ module Google
|
|
2412
2412
|
|
2413
2413
|
# Gaia id associated with a user, absent for the Google Tag Manager system.
|
2414
2414
|
# Corresponds to the JSON property `gaiaId`
|
2415
|
-
# @return [
|
2415
|
+
# @return [Fixnum]
|
2416
2416
|
attr_accessor :gaia_id
|
2417
2417
|
|
2418
2418
|
# User type distinguishes between a user and the Google Tag Manager system.
|
@@ -787,8 +787,8 @@ module Google
|
|
787
787
|
property :path, as: 'path'
|
788
788
|
property :priority, as: 'priority', class: Google::Apis::TagmanagerV2::Parameter, decorator: Google::Apis::TagmanagerV2::Parameter::Representation
|
789
789
|
|
790
|
-
property :schedule_end_ms, as: 'scheduleEndMs'
|
791
|
-
property :schedule_start_ms, as: 'scheduleStartMs'
|
790
|
+
property :schedule_end_ms, :numeric_string => true, as: 'scheduleEndMs'
|
791
|
+
property :schedule_start_ms, :numeric_string => true, as: 'scheduleStartMs'
|
792
792
|
collection :setup_tag, as: 'setupTag', class: Google::Apis::TagmanagerV2::SetupTag, decorator: Google::Apis::TagmanagerV2::SetupTag::Representation
|
793
793
|
|
794
794
|
property :tag_firing_option, as: 'tagFiringOption'
|
@@ -813,7 +813,7 @@ module Google
|
|
813
813
|
# @private
|
814
814
|
class Representation < Google::Apis::Core::JsonRepresentation
|
815
815
|
property :nanos, as: 'nanos'
|
816
|
-
property :seconds, as: 'seconds'
|
816
|
+
property :seconds, :numeric_string => true, as: 'seconds'
|
817
817
|
end
|
818
818
|
end
|
819
819
|
|
@@ -913,8 +913,8 @@ module Google
|
|
913
913
|
|
914
914
|
property :parent_folder_id, as: 'parentFolderId'
|
915
915
|
property :path, as: 'path'
|
916
|
-
property :schedule_end_ms, as: 'scheduleEndMs'
|
917
|
-
property :schedule_start_ms, as: 'scheduleStartMs'
|
916
|
+
property :schedule_end_ms, :numeric_string => true, as: 'scheduleEndMs'
|
917
|
+
property :schedule_start_ms, :numeric_string => true, as: 'scheduleStartMs'
|
918
918
|
property :tag_manager_url, as: 'tagManagerUrl'
|
919
919
|
property :type, as: 'type'
|
920
920
|
property :variable_id, as: 'variableId'
|
@@ -984,7 +984,7 @@ module Google
|
|
984
984
|
class WorkspaceProposalUser
|
985
985
|
# @private
|
986
986
|
class Representation < Google::Apis::Core::JsonRepresentation
|
987
|
-
property :gaia_id, as: 'gaiaId'
|
987
|
+
property :gaia_id, :numeric_string => true, as: 'gaiaId'
|
988
988
|
property :type, as: 'type'
|
989
989
|
end
|
990
990
|
end
|
@@ -28,7 +28,7 @@ module Google
|
|
28
28
|
|
29
29
|
# Time (in seconds since the epoch) at which the task was enqueued.
|
30
30
|
# Corresponds to the JSON property `enqueueTimestamp`
|
31
|
-
# @return [
|
31
|
+
# @return [Fixnum]
|
32
32
|
attr_accessor :enqueue_timestamp
|
33
33
|
|
34
34
|
# Name of the task.
|
@@ -44,7 +44,7 @@ module Google
|
|
44
44
|
# Time (in seconds since the epoch) at which the task lease will expire. This
|
45
45
|
# value is 0 if the task isnt currently leased out to a worker.
|
46
46
|
# Corresponds to the JSON property `leaseTimestamp`
|
47
|
-
# @return [
|
47
|
+
# @return [Fixnum]
|
48
48
|
attr_accessor :lease_timestamp
|
49
49
|
|
50
50
|
# A bag of bytes which is the task payload. The payload on the JSON side is
|
@@ -168,17 +168,17 @@ module Google
|
|
168
168
|
|
169
169
|
# Number of tasks leased in the last hour.
|
170
170
|
# Corresponds to the JSON property `leasedLastHour`
|
171
|
-
# @return [
|
171
|
+
# @return [Fixnum]
|
172
172
|
attr_accessor :leased_last_hour
|
173
173
|
|
174
174
|
# Number of tasks leased in the last minute.
|
175
175
|
# Corresponds to the JSON property `leasedLastMinute`
|
176
|
-
# @return [
|
176
|
+
# @return [Fixnum]
|
177
177
|
attr_accessor :leased_last_minute
|
178
178
|
|
179
179
|
# The timestamp (in seconds since the epoch) of the oldest unfinished task.
|
180
180
|
# Corresponds to the JSON property `oldestTask`
|
181
|
-
# @return [
|
181
|
+
# @return [Fixnum]
|
182
182
|
attr_accessor :oldest_task
|
183
183
|
|
184
184
|
# Number of tasks in the queue.
|
@@ -61,10 +61,10 @@ module Google
|
|
61
61
|
class Task
|
62
62
|
# @private
|
63
63
|
class Representation < Google::Apis::Core::JsonRepresentation
|
64
|
-
property :enqueue_timestamp, as: 'enqueueTimestamp'
|
64
|
+
property :enqueue_timestamp, :numeric_string => true, as: 'enqueueTimestamp'
|
65
65
|
property :id, as: 'id'
|
66
66
|
property :kind, as: 'kind'
|
67
|
-
property :lease_timestamp, as: 'leaseTimestamp'
|
67
|
+
property :lease_timestamp, :numeric_string => true, as: 'leaseTimestamp'
|
68
68
|
property :payload_base64, as: 'payloadBase64'
|
69
69
|
property :queue_name, as: 'queueName'
|
70
70
|
property :retry_count, as: 'retry_count'
|
@@ -96,9 +96,9 @@ module Google
|
|
96
96
|
class Stats
|
97
97
|
# @private
|
98
98
|
class Representation < Google::Apis::Core::JsonRepresentation
|
99
|
-
property :leased_last_hour, as: 'leasedLastHour'
|
100
|
-
property :leased_last_minute, as: 'leasedLastMinute'
|
101
|
-
property :oldest_task, as: 'oldestTask'
|
99
|
+
property :leased_last_hour, :numeric_string => true, as: 'leasedLastHour'
|
100
|
+
property :leased_last_minute, :numeric_string => true, as: 'leasedLastMinute'
|
101
|
+
property :oldest_task, :numeric_string => true, as: 'oldestTask'
|
102
102
|
property :total_tasks, as: 'totalTasks'
|
103
103
|
end
|
104
104
|
end
|
@@ -50,6 +50,7 @@ module Google
|
|
50
50
|
|
51
51
|
def initialize
|
52
52
|
super('https://www.googleapis.com/', 'tasks/v1/')
|
53
|
+
@batch_path = 'batch'
|
53
54
|
end
|
54
55
|
|
55
56
|
# Deletes the authenticated user's specified task list.
|
@@ -156,7 +157,7 @@ module Google
|
|
156
157
|
end
|
157
158
|
|
158
159
|
# Returns all the authenticated user's task lists.
|
159
|
-
# @param [
|
160
|
+
# @param [Fixnum] max_results
|
160
161
|
# Maximum number of task lists returned on one page. Optional. The default is
|
161
162
|
# 100.
|
162
163
|
# @param [String] page_token
|
@@ -441,7 +442,7 @@ module Google
|
|
441
442
|
# @param [String] due_min
|
442
443
|
# Lower bound for a task's due date (as a RFC 3339 timestamp) to filter by.
|
443
444
|
# Optional. The default is not to filter by due date.
|
444
|
-
# @param [
|
445
|
+
# @param [Fixnum] max_results
|
445
446
|
# Maximum number of task lists returned on one page. Optional. The default is
|
446
447
|
# 100.
|
447
448
|
# @param [String] page_token
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://firebase.google.com/docs/test-lab/
|
26
26
|
module ToolresultsV1beta3
|
27
27
|
VERSION = 'V1beta3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170331'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -235,7 +235,7 @@ module Google
|
|
235
235
|
# 000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/
|
236
236
|
# hr * 24 hr/day * 365.25 days/year * 10000 years
|
237
237
|
# Corresponds to the JSON property `seconds`
|
238
|
-
# @return [
|
238
|
+
# @return [Fixnum]
|
239
239
|
attr_accessor :seconds
|
240
240
|
|
241
241
|
def initialize(**args)
|
@@ -805,12 +805,12 @@ module Google
|
|
805
805
|
|
806
806
|
# Maximum memory that can be allocated to the process in KiB
|
807
807
|
# Corresponds to the JSON property `memoryCapInKibibyte`
|
808
|
-
# @return [
|
808
|
+
# @return [Fixnum]
|
809
809
|
attr_accessor :memory_cap_in_kibibyte
|
810
810
|
|
811
811
|
# Total memory available on the device in KiB
|
812
812
|
# Corresponds to the JSON property `memoryTotalInKibibyte`
|
813
|
-
# @return [
|
813
|
+
# @return [Fixnum]
|
814
814
|
attr_accessor :memory_total_in_kibibyte
|
815
815
|
|
816
816
|
def initialize(**args)
|
@@ -1967,7 +1967,7 @@ module Google
|
|
1967
1967
|
# Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be
|
1968
1968
|
# from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.
|
1969
1969
|
# Corresponds to the JSON property `seconds`
|
1970
|
-
# @return [
|
1970
|
+
# @return [Fixnum]
|
1971
1971
|
attr_accessor :seconds
|
1972
1972
|
|
1973
1973
|
def initialize(**args)
|
@@ -332,7 +332,7 @@ module Google
|
|
332
332
|
# @private
|
333
333
|
class Representation < Google::Apis::Core::JsonRepresentation
|
334
334
|
property :nanos, as: 'nanos'
|
335
|
-
property :seconds, as: 'seconds'
|
335
|
+
property :seconds, :numeric_string => true, as: 'seconds'
|
336
336
|
end
|
337
337
|
end
|
338
338
|
|
@@ -455,8 +455,8 @@ module Google
|
|
455
455
|
class MemoryInfo
|
456
456
|
# @private
|
457
457
|
class Representation < Google::Apis::Core::JsonRepresentation
|
458
|
-
property :memory_cap_in_kibibyte, as: 'memoryCapInKibibyte'
|
459
|
-
property :memory_total_in_kibibyte, as: 'memoryTotalInKibibyte'
|
458
|
+
property :memory_cap_in_kibibyte, :numeric_string => true, as: 'memoryCapInKibibyte'
|
459
|
+
property :memory_total_in_kibibyte, :numeric_string => true, as: 'memoryTotalInKibibyte'
|
460
460
|
end
|
461
461
|
end
|
462
462
|
|
@@ -681,7 +681,7 @@ module Google
|
|
681
681
|
# @private
|
682
682
|
class Representation < Google::Apis::Core::JsonRepresentation
|
683
683
|
property :nanos, as: 'nanos'
|
684
|
-
property :seconds, as: 'seconds'
|
684
|
+
property :seconds, :numeric_string => true, as: 'seconds'
|
685
685
|
end
|
686
686
|
end
|
687
687
|
|
@@ -22,18 +22,25 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module TracingV1
|
24
24
|
|
25
|
-
#
|
26
|
-
|
27
|
-
# an operation and including time information and operation details.
|
28
|
-
class Trace
|
25
|
+
# StackTrace collected in a trace.
|
26
|
+
class StackTrace
|
29
27
|
include Google::Apis::Core::Hashable
|
30
28
|
|
31
|
-
#
|
32
|
-
#
|
33
|
-
#
|
34
|
-
|
35
|
-
|
36
|
-
|
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
|
37
44
|
|
38
45
|
def initialize(**args)
|
39
46
|
update!(**args)
|
@@ -41,25 +48,29 @@ module Google
|
|
41
48
|
|
42
49
|
# Update properties of this object
|
43
50
|
def update!(**args)
|
44
|
-
@
|
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)
|
45
53
|
end
|
46
54
|
end
|
47
55
|
|
48
|
-
#
|
49
|
-
class
|
56
|
+
# A time-stamped annotation in the Span.
|
57
|
+
class TimeEvent
|
50
58
|
include Google::Apis::Core::Hashable
|
51
59
|
|
52
|
-
#
|
53
|
-
#
|
54
|
-
#
|
55
|
-
|
56
|
-
attr_accessor :build_id
|
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
|
57
64
|
|
58
|
-
#
|
59
|
-
#
|
60
|
-
#
|
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`
|
61
72
|
# @return [String]
|
62
|
-
attr_accessor :
|
73
|
+
attr_accessor :local_time
|
63
74
|
|
64
75
|
def initialize(**args)
|
65
76
|
update!(**args)
|
@@ -67,70 +78,39 @@ module Google
|
|
67
78
|
|
68
79
|
# Update properties of this object
|
69
80
|
def update!(**args)
|
70
|
-
@
|
71
|
-
@
|
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)
|
72
84
|
end
|
73
85
|
end
|
74
86
|
|
75
|
-
#
|
76
|
-
|
77
|
-
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
78
|
-
# - Simple to use and understand for most users
|
79
|
-
# - Flexible enough to meet unexpected needs
|
80
|
-
# # Overview
|
81
|
-
# The `Status` message contains three pieces of data: error code, error message,
|
82
|
-
# and error details. The error code should be an enum value of
|
83
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
84
|
-
# error message should be a developer-facing English message that helps
|
85
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
86
|
-
# error message is needed, put the localized message in the error details or
|
87
|
-
# localize it in the client. The optional error details may contain arbitrary
|
88
|
-
# information about the error. There is a predefined set of error detail types
|
89
|
-
# in the package `google.rpc` which can be used for common error conditions.
|
90
|
-
# # Language mapping
|
91
|
-
# The `Status` message is the logical representation of the error model, but it
|
92
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
93
|
-
# exposed in different client libraries and different wire protocols, it can be
|
94
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
95
|
-
# in Java, but more likely mapped to some error codes in C.
|
96
|
-
# # Other uses
|
97
|
-
# The error model and the `Status` message can be used in a variety of
|
98
|
-
# environments, either with or without APIs, to provide a
|
99
|
-
# consistent developer experience across different environments.
|
100
|
-
# Example uses of this error model include:
|
101
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
102
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
103
|
-
# errors.
|
104
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
105
|
-
# have a `Status` message for error reporting purpose.
|
106
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
107
|
-
# `Status` message should be used directly inside batch response, one for
|
108
|
-
# each error sub-response.
|
109
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
110
|
-
# results in its response, the status of those operations should be
|
111
|
-
# represented directly using the `Status` message.
|
112
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
113
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
114
|
-
class Status
|
87
|
+
# An event describing an RPC message sent/received on the network.
|
88
|
+
class NetworkEvent
|
115
89
|
include Google::Apis::Core::Hashable
|
116
90
|
|
117
|
-
#
|
118
|
-
# Corresponds to the JSON property `
|
91
|
+
# An identifier for the message, which must be unique in this span.
|
92
|
+
# Corresponds to the JSON property `messageId`
|
119
93
|
# @return [Fixnum]
|
120
|
-
attr_accessor :
|
94
|
+
attr_accessor :message_id
|
121
95
|
|
122
|
-
#
|
123
|
-
#
|
124
|
-
#
|
125
|
-
|
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`
|
126
106
|
# @return [String]
|
127
|
-
attr_accessor :
|
107
|
+
attr_accessor :kernel_time
|
128
108
|
|
129
|
-
#
|
130
|
-
#
|
131
|
-
# Corresponds to the JSON property `
|
132
|
-
# @return [
|
133
|
-
attr_accessor :
|
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
|
134
114
|
|
135
115
|
def initialize(**args)
|
136
116
|
update!(**args)
|
@@ -138,190 +118,101 @@ module Google
|
|
138
118
|
|
139
119
|
# Update properties of this object
|
140
120
|
def update!(**args)
|
141
|
-
@
|
142
|
-
@
|
143
|
-
@
|
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)
|
144
125
|
end
|
145
126
|
end
|
146
127
|
|
147
|
-
#
|
148
|
-
|
149
|
-
# or the response type of an API method. For instance:
|
150
|
-
# service Foo `
|
151
|
-
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
152
|
-
# `
|
153
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
154
|
-
class Empty
|
128
|
+
# Collection of spans to update.
|
129
|
+
class SpanUpdates
|
155
130
|
include Google::Apis::Core::Hashable
|
156
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
|
+
|
157
137
|
def initialize(**args)
|
158
138
|
update!(**args)
|
159
139
|
end
|
160
140
|
|
161
141
|
# Update properties of this object
|
162
142
|
def update!(**args)
|
143
|
+
@spans = args[:spans] if args.key?(:spans)
|
163
144
|
end
|
164
145
|
end
|
165
146
|
|
166
|
-
# The response message for the `
|
167
|
-
class
|
147
|
+
# The response message for the `ListSpans` method.
|
148
|
+
class ListSpansResponse
|
168
149
|
include Google::Apis::Core::Hashable
|
169
150
|
|
170
|
-
#
|
171
|
-
#
|
172
|
-
#
|
173
|
-
attr_accessor :traces
|
174
|
-
|
175
|
-
# If defined, indicates that there are more traces that match the request
|
176
|
-
# and that this value should be passed to the next request to continue
|
177
|
-
# retrieving additional traces.
|
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.
|
178
154
|
# Corresponds to the JSON property `nextPageToken`
|
179
155
|
# @return [String]
|
180
156
|
attr_accessor :next_page_token
|
181
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
|
+
|
182
163
|
def initialize(**args)
|
183
164
|
update!(**args)
|
184
165
|
end
|
185
166
|
|
186
167
|
# Update properties of this object
|
187
168
|
def update!(**args)
|
188
|
-
@traces = args[:traces] if args.key?(:traces)
|
189
169
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
170
|
+
@spans = args[:spans] if args.key?(:spans)
|
190
171
|
end
|
191
172
|
end
|
192
173
|
|
193
|
-
#
|
194
|
-
|
195
|
-
# describes the end-to-end latency and, optionally, one or more subspans for
|
196
|
-
# its sub-operations. (A trace could alternatively contain multiple root spans,
|
197
|
-
# or none at all.) Spans do not need to be contiguous. There may be gaps
|
198
|
-
# and/or overlaps between spans in a trace.
|
199
|
-
class Span
|
174
|
+
# Represents a single stack frame in a stack trace.
|
175
|
+
class StackFrame
|
200
176
|
include Google::Apis::Core::Hashable
|
201
177
|
|
202
|
-
#
|
203
|
-
#
|
204
|
-
#
|
205
|
-
#
|
206
|
-
|
207
|
-
|
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`
|
208
186
|
# @return [String]
|
209
|
-
attr_accessor :
|
187
|
+
attr_accessor :file_name
|
210
188
|
|
211
|
-
#
|
212
|
-
#
|
213
|
-
# Corresponds to the JSON property `parentId`
|
189
|
+
# The version of the deployed source code.
|
190
|
+
# Corresponds to the JSON property `sourceVersion`
|
214
191
|
# @return [String]
|
215
|
-
attr_accessor :
|
192
|
+
attr_accessor :source_version
|
216
193
|
|
217
|
-
#
|
218
|
-
#
|
219
|
-
#
|
220
|
-
# Corresponds to the JSON property `
|
221
|
-
# @return [
|
222
|
-
attr_accessor :
|
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
|
223
200
|
|
224
|
-
# The
|
225
|
-
#
|
226
|
-
#
|
227
|
-
# - Simple to use and understand for most users
|
228
|
-
# - Flexible enough to meet unexpected needs
|
229
|
-
# # Overview
|
230
|
-
# The `Status` message contains three pieces of data: error code, error message,
|
231
|
-
# and error details. The error code should be an enum value of
|
232
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
233
|
-
# error message should be a developer-facing English message that helps
|
234
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
235
|
-
# error message is needed, put the localized message in the error details or
|
236
|
-
# localize it in the client. The optional error details may contain arbitrary
|
237
|
-
# information about the error. There is a predefined set of error detail types
|
238
|
-
# in the package `google.rpc` which can be used for common error conditions.
|
239
|
-
# # Language mapping
|
240
|
-
# The `Status` message is the logical representation of the error model, but it
|
241
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
242
|
-
# exposed in different client libraries and different wire protocols, it can be
|
243
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
244
|
-
# in Java, but more likely mapped to some error codes in C.
|
245
|
-
# # Other uses
|
246
|
-
# The error model and the `Status` message can be used in a variety of
|
247
|
-
# environments, either with or without APIs, to provide a
|
248
|
-
# consistent developer experience across different environments.
|
249
|
-
# Example uses of this error model include:
|
250
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
251
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
252
|
-
# errors.
|
253
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
254
|
-
# have a `Status` message for error reporting purpose.
|
255
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
256
|
-
# `Status` message should be used directly inside batch response, one for
|
257
|
-
# each error sub-response.
|
258
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
259
|
-
# results in its response, the status of those operations should be
|
260
|
-
# represented directly using the `Status` message.
|
261
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
262
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
263
|
-
# Corresponds to the JSON property `status`
|
264
|
-
# @return [Google::Apis::TracingV1::Status]
|
265
|
-
attr_accessor :status
|
266
|
-
|
267
|
-
# Name of the span. The span name is sanitized and displayed in the
|
268
|
-
# Stackdriver Trace tool in the `% dynamic print site_values.console_name %`.
|
269
|
-
# The name may be a method name or some other per-call site name.
|
270
|
-
# For the same executable and the same call point, a best practice is
|
271
|
-
# to use a consistent name, which makes it easier to correlate
|
272
|
-
# cross-trace spans.
|
273
|
-
# Corresponds to the JSON property `name`
|
274
|
-
# @return [String]
|
275
|
-
attr_accessor :name
|
276
|
-
|
277
|
-
# StackTrace collected in a trace.
|
278
|
-
# Corresponds to the JSON property `stackTrace`
|
279
|
-
# @return [Google::Apis::TracingV1::StackTrace]
|
280
|
-
attr_accessor :stack_trace
|
281
|
-
|
282
|
-
# A collection of links, which are references from this span to another span
|
283
|
-
# in a different trace.
|
284
|
-
# Corresponds to the JSON property `links`
|
285
|
-
# @return [Array<Google::Apis::TracingV1::Link>]
|
286
|
-
attr_accessor :links
|
287
|
-
|
288
|
-
# Properties of a span in key:value format. The maximum length for the
|
289
|
-
# key is 128 characters. The value can be a string (up to 2000 characters),
|
290
|
-
# int, or boolean.
|
291
|
-
# Some common pair examples:
|
292
|
-
# "/instance_id": "my-instance"
|
293
|
-
# "/zone": "us-central1-a"
|
294
|
-
# "/grpc/peer_address": "ip:port" (dns, etc.)
|
295
|
-
# "/grpc/deadline": "Duration"
|
296
|
-
# "/http/user_agent"
|
297
|
-
# "/http/request_bytes": 300
|
298
|
-
# "/http/response_bytes": 1200
|
299
|
-
# "/http/url": google.com/apis
|
300
|
-
# "abc.com/myattribute": true
|
301
|
-
# Corresponds to the JSON property `attributes`
|
302
|
-
# @return [Hash<String,Google::Apis::TracingV1::AttributeValue>]
|
303
|
-
attr_accessor :attributes
|
304
|
-
|
305
|
-
# Identifier for the span. Must be a 64-bit integer other than 0 and
|
306
|
-
# unique within a trace.
|
307
|
-
# Corresponds to the JSON property `id`
|
201
|
+
# The fully-qualified name that uniquely identifies this function or
|
202
|
+
# method.
|
203
|
+
# Corresponds to the JSON property `functionName`
|
308
204
|
# @return [String]
|
309
|
-
attr_accessor :
|
205
|
+
attr_accessor :function_name
|
310
206
|
|
311
|
-
#
|
312
|
-
#
|
313
|
-
#
|
314
|
-
|
315
|
-
# running.
|
316
|
-
# Corresponds to the JSON property `localStartTime`
|
317
|
-
# @return [String]
|
318
|
-
attr_accessor :local_start_time
|
207
|
+
# Line number of the frame.
|
208
|
+
# Corresponds to the JSON property `lineNumber`
|
209
|
+
# @return [Fixnum]
|
210
|
+
attr_accessor :line_number
|
319
211
|
|
320
|
-
#
|
321
|
-
# Corresponds to the JSON property `
|
322
|
-
# @return [
|
323
|
-
attr_accessor :
|
324
|
-
alias_method :has_remote_parent?, :has_remote_parent
|
212
|
+
# Binary module.
|
213
|
+
# Corresponds to the JSON property `loadModule`
|
214
|
+
# @return [Google::Apis::TracingV1::Module]
|
215
|
+
attr_accessor :load_module
|
325
216
|
|
326
217
|
def initialize(**args)
|
327
218
|
update!(**args)
|
@@ -329,60 +220,36 @@ module Google
|
|
329
220
|
|
330
221
|
# Update properties of this object
|
331
222
|
def update!(**args)
|
332
|
-
@
|
333
|
-
@
|
334
|
-
@
|
335
|
-
@
|
336
|
-
@
|
337
|
-
@
|
338
|
-
@
|
339
|
-
@attributes = args[:attributes] if args.key?(:attributes)
|
340
|
-
@id = args[:id] if args.key?(:id)
|
341
|
-
@local_start_time = args[:local_start_time] if args.key?(:local_start_time)
|
342
|
-
@has_remote_parent = args[:has_remote_parent] if args.key?(:has_remote_parent)
|
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)
|
343
230
|
end
|
344
231
|
end
|
345
232
|
|
346
|
-
#
|
347
|
-
|
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
|
348
237
|
include Google::Apis::Core::Hashable
|
349
238
|
|
350
|
-
#
|
351
|
-
# Corresponds to the JSON property `
|
239
|
+
# The relationship of the current span relative to the linked span.
|
240
|
+
# Corresponds to the JSON property `type`
|
352
241
|
# @return [String]
|
353
|
-
attr_accessor :
|
354
|
-
|
355
|
-
# A boolean value.
|
356
|
-
# Corresponds to the JSON property `boolValue`
|
357
|
-
# @return [Boolean]
|
358
|
-
attr_accessor :bool_value
|
359
|
-
alias_method :bool_value?, :bool_value
|
242
|
+
attr_accessor :type
|
360
243
|
|
361
|
-
#
|
362
|
-
# Corresponds to the JSON property `
|
244
|
+
# The ID of the parent trace of the linked span.
|
245
|
+
# Corresponds to the JSON property `traceId`
|
363
246
|
# @return [String]
|
364
|
-
attr_accessor :
|
365
|
-
|
366
|
-
def initialize(**args)
|
367
|
-
update!(**args)
|
368
|
-
end
|
369
|
-
|
370
|
-
# Update properties of this object
|
371
|
-
def update!(**args)
|
372
|
-
@string_value = args[:string_value] if args.key?(:string_value)
|
373
|
-
@bool_value = args[:bool_value] if args.key?(:bool_value)
|
374
|
-
@int_value = args[:int_value] if args.key?(:int_value)
|
375
|
-
end
|
376
|
-
end
|
377
|
-
|
378
|
-
# The request message for the `BatchUpdateSpans` method.
|
379
|
-
class BatchUpdateSpansRequest
|
380
|
-
include Google::Apis::Core::Hashable
|
247
|
+
attr_accessor :trace_id
|
381
248
|
|
382
|
-
#
|
383
|
-
# Corresponds to the JSON property `
|
384
|
-
# @return [
|
385
|
-
attr_accessor :
|
249
|
+
# The `id` of the linked span.
|
250
|
+
# Corresponds to the JSON property `spanId`
|
251
|
+
# @return [Fixnum]
|
252
|
+
attr_accessor :span_id
|
386
253
|
|
387
254
|
def initialize(**args)
|
388
255
|
update!(**args)
|
@@ -390,29 +257,25 @@ module Google
|
|
390
257
|
|
391
258
|
# Update properties of this object
|
392
259
|
def update!(**args)
|
393
|
-
@
|
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)
|
394
263
|
end
|
395
264
|
end
|
396
265
|
|
397
|
-
#
|
398
|
-
class
|
266
|
+
# Text annotation with a set of attributes.
|
267
|
+
class Annotation
|
399
268
|
include Google::Apis::Core::Hashable
|
400
269
|
|
401
|
-
#
|
402
|
-
# Corresponds to the JSON property `
|
403
|
-
# @return [Array<Google::Apis::TracingV1::StackFrame>]
|
404
|
-
attr_accessor :stack_frame
|
405
|
-
|
406
|
-
# The hash ID is used to conserve network bandwidth for duplicate
|
407
|
-
# stack traces within a single trace.
|
408
|
-
# Often multiple spans will have identical stack traces.
|
409
|
-
# The first occurance of a stack trace should contain both the
|
410
|
-
# `stackFrame` content and a value in `stackTraceHashId`.
|
411
|
-
# Subsequent spans within the same request can refer
|
412
|
-
# to that stack trace by only setting `stackTraceHashId`.
|
413
|
-
# Corresponds to the JSON property `stackTraceHashId`
|
270
|
+
# A user-supplied message describing the event.
|
271
|
+
# Corresponds to the JSON property `description`
|
414
272
|
# @return [String]
|
415
|
-
attr_accessor :
|
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
|
416
279
|
|
417
280
|
def initialize(**args)
|
418
281
|
update!(**args)
|
@@ -420,29 +283,23 @@ module Google
|
|
420
283
|
|
421
284
|
# Update properties of this object
|
422
285
|
def update!(**args)
|
423
|
-
@
|
424
|
-
@
|
286
|
+
@description = args[:description] if args.key?(:description)
|
287
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
425
288
|
end
|
426
289
|
end
|
427
290
|
|
428
|
-
# A
|
429
|
-
|
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
|
430
295
|
include Google::Apis::Core::Hashable
|
431
296
|
|
432
|
-
#
|
433
|
-
#
|
434
|
-
#
|
435
|
-
|
436
|
-
|
437
|
-
# Text annotation with a set of attributes.
|
438
|
-
# Corresponds to the JSON property `annotation`
|
439
|
-
# @return [Google::Apis::TracingV1::Annotation]
|
440
|
-
attr_accessor :annotation
|
441
|
-
|
442
|
-
# The timestamp indicating the time the event occurred.
|
443
|
-
# Corresponds to the JSON property `localTime`
|
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`
|
444
301
|
# @return [String]
|
445
|
-
attr_accessor :
|
302
|
+
attr_accessor :name
|
446
303
|
|
447
304
|
def initialize(**args)
|
448
305
|
update!(**args)
|
@@ -450,39 +307,25 @@ module Google
|
|
450
307
|
|
451
308
|
# Update properties of this object
|
452
309
|
def update!(**args)
|
453
|
-
@
|
454
|
-
@annotation = args[:annotation] if args.key?(:annotation)
|
455
|
-
@local_time = args[:local_time] if args.key?(:local_time)
|
310
|
+
@name = args[:name] if args.key?(:name)
|
456
311
|
end
|
457
312
|
end
|
458
313
|
|
459
|
-
#
|
460
|
-
class
|
314
|
+
# Binary module.
|
315
|
+
class Module
|
461
316
|
include Google::Apis::Core::Hashable
|
462
317
|
|
463
|
-
#
|
464
|
-
#
|
465
|
-
#
|
466
|
-
attr_accessor :message_size
|
467
|
-
|
468
|
-
# If available, this is the kernel time:
|
469
|
-
# * For sent messages, this is the time at which the first bit was sent.
|
470
|
-
# * For received messages, this is the time at which the last bit was
|
471
|
-
# received.
|
472
|
-
# Corresponds to the JSON property `kernelTime`
|
473
|
-
# @return [String]
|
474
|
-
attr_accessor :kernel_time
|
475
|
-
|
476
|
-
# Type of NetworkEvent. Indicates whether the RPC message was sent or
|
477
|
-
# received.
|
478
|
-
# Corresponds to the JSON property `type`
|
318
|
+
# E.g. main binary, kernel modules, and dynamic libraries
|
319
|
+
# such as libc.so, sharedlib.so
|
320
|
+
# Corresponds to the JSON property `module`
|
479
321
|
# @return [String]
|
480
|
-
attr_accessor :
|
322
|
+
attr_accessor :module
|
481
323
|
|
482
|
-
#
|
483
|
-
#
|
324
|
+
# Build_id is a unique identifier for the module,
|
325
|
+
# usually a hash of its contents
|
326
|
+
# Corresponds to the JSON property `buildId`
|
484
327
|
# @return [String]
|
485
|
-
attr_accessor :
|
328
|
+
attr_accessor :build_id
|
486
329
|
|
487
330
|
def initialize(**args)
|
488
331
|
update!(**args)
|
@@ -490,28 +333,70 @@ module Google
|
|
490
333
|
|
491
334
|
# Update properties of this object
|
492
335
|
def update!(**args)
|
493
|
-
@
|
494
|
-
@
|
495
|
-
@type = args[:type] if args.key?(:type)
|
496
|
-
@message_id = args[:message_id] if args.key?(:message_id)
|
336
|
+
@module = args[:module] if args.key?(:module)
|
337
|
+
@build_id = args[:build_id] if args.key?(:build_id)
|
497
338
|
end
|
498
339
|
end
|
499
340
|
|
500
|
-
# The
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
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`
|
513
387
|
# @return [String]
|
514
|
-
attr_accessor :
|
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
|
515
400
|
|
516
401
|
def initialize(**args)
|
517
402
|
update!(**args)
|
@@ -519,19 +404,27 @@ module Google
|
|
519
404
|
|
520
405
|
# Update properties of this object
|
521
406
|
def update!(**args)
|
522
|
-
@
|
523
|
-
@
|
407
|
+
@message = args[:message] if args.key?(:message)
|
408
|
+
@details = args[:details] if args.key?(:details)
|
409
|
+
@code = args[:code] if args.key?(:code)
|
524
410
|
end
|
525
411
|
end
|
526
412
|
|
527
|
-
#
|
528
|
-
class
|
413
|
+
# The response message for the `ListTraces` method.
|
414
|
+
class ListTracesResponse
|
529
415
|
include Google::Apis::Core::Hashable
|
530
416
|
|
531
|
-
#
|
532
|
-
# Corresponds to the JSON property `
|
533
|
-
# @return [Array<Google::Apis::TracingV1::
|
534
|
-
attr_accessor :
|
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
|
535
428
|
|
536
429
|
def initialize(**args)
|
537
430
|
update!(**args)
|
@@ -539,52 +432,143 @@ module Google
|
|
539
432
|
|
540
433
|
# Update properties of this object
|
541
434
|
def update!(**args)
|
542
|
-
@
|
435
|
+
@traces = args[:traces] if args.key?(:traces)
|
436
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
543
437
|
end
|
544
438
|
end
|
545
439
|
|
546
|
-
#
|
547
|
-
|
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
|
548
447
|
include Google::Apis::Core::Hashable
|
549
448
|
|
550
|
-
#
|
551
|
-
#
|
552
|
-
#
|
553
|
-
|
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
|
554
465
|
|
555
|
-
#
|
556
|
-
#
|
557
|
-
#
|
558
|
-
|
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
|
559
471
|
|
560
|
-
#
|
561
|
-
#
|
562
|
-
#
|
563
|
-
#
|
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`
|
564
478
|
# @return [String]
|
565
|
-
attr_accessor :
|
479
|
+
attr_accessor :local_start_time
|
566
480
|
|
567
|
-
#
|
568
|
-
#
|
569
|
-
#
|
570
|
-
|
571
|
-
|
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
|
572
486
|
|
573
|
-
#
|
574
|
-
#
|
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`
|
575
493
|
# @return [String]
|
576
|
-
attr_accessor :
|
494
|
+
attr_accessor :local_end_time
|
577
495
|
|
578
|
-
#
|
579
|
-
#
|
580
|
-
#
|
581
|
-
|
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
|
582
501
|
|
583
|
-
#
|
584
|
-
#
|
585
|
-
#
|
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`
|
586
559
|
# @return [String]
|
587
|
-
attr_accessor :
|
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
|
588
572
|
|
589
573
|
def initialize(**args)
|
590
574
|
update!(**args)
|
@@ -592,36 +576,58 @@ module Google
|
|
592
576
|
|
593
577
|
# Update properties of this object
|
594
578
|
def update!(**args)
|
595
|
-
@
|
596
|
-
@
|
597
|
-
@
|
598
|
-
@
|
599
|
-
@
|
600
|
-
@
|
601
|
-
@
|
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)
|
602
590
|
end
|
603
591
|
end
|
604
592
|
|
605
|
-
# A
|
606
|
-
#
|
607
|
-
#
|
608
|
-
|
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
|
609
601
|
include Google::Apis::Core::Hashable
|
610
602
|
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
attr_accessor :type
|
603
|
+
def initialize(**args)
|
604
|
+
update!(**args)
|
605
|
+
end
|
615
606
|
|
616
|
-
#
|
617
|
-
|
618
|
-
|
619
|
-
|
607
|
+
# Update properties of this object
|
608
|
+
def update!(**args)
|
609
|
+
end
|
610
|
+
end
|
620
611
|
|
621
|
-
|
622
|
-
|
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
623
|
# @return [String]
|
624
|
-
attr_accessor :
|
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
|
625
631
|
|
626
632
|
def initialize(**args)
|
627
633
|
update!(**args)
|
@@ -629,25 +635,20 @@ module Google
|
|
629
635
|
|
630
636
|
# Update properties of this object
|
631
637
|
def update!(**args)
|
632
|
-
@
|
633
|
-
@
|
634
|
-
@
|
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)
|
635
641
|
end
|
636
642
|
end
|
637
643
|
|
638
|
-
#
|
639
|
-
class
|
644
|
+
# The request message for the `BatchUpdateSpans` method.
|
645
|
+
class BatchUpdateSpansRequest
|
640
646
|
include Google::Apis::Core::Hashable
|
641
647
|
|
642
|
-
# A
|
643
|
-
# Corresponds to the JSON property `
|
644
|
-
# @return [String]
|
645
|
-
attr_accessor :
|
646
|
-
|
647
|
-
# A set of attributes on the annotation.
|
648
|
-
# Corresponds to the JSON property `attributes`
|
649
|
-
# @return [Hash<String,Google::Apis::TracingV1::AttributeValue>]
|
650
|
-
attr_accessor :attributes
|
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
|
651
652
|
|
652
653
|
def initialize(**args)
|
653
654
|
update!(**args)
|
@@ -655,8 +656,7 @@ module Google
|
|
655
656
|
|
656
657
|
# Update properties of this object
|
657
658
|
def update!(**args)
|
658
|
-
@
|
659
|
-
@attributes = args[:attributes] if args.key?(:attributes)
|
659
|
+
@span_updates = args[:span_updates] if args.key?(:span_updates)
|
660
660
|
end
|
661
661
|
end
|
662
662
|
end
|