google-api-client 0.13.2 → 0.13.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +149 -0
- data/bin/generate-api +6 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +6 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1394 -1394
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +322 -322
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +449 -449
- data/generated/google/apis/adexchangebuyer_v1_2.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_2/classes.rb +457 -0
- data/generated/google/apis/adexchangebuyer_v1_2/representations.rb +189 -0
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +329 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1347 -0
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +498 -0
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +873 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1.rb +37 -0
- data/generated/google/apis/adexchangeseller_v1/classes.rb +557 -0
- data/generated/google/apis/adexchangeseller_v1/representations.rb +248 -0
- data/generated/google/apis/adexchangeseller_v1/service.rb +568 -0
- data/generated/google/apis/adexchangeseller_v1_1.rb +37 -0
- data/generated/google/apis/adexchangeseller_v1_1/classes.rb +842 -0
- data/generated/google/apis/adexchangeseller_v1_1/representations.rb +364 -0
- data/generated/google/apis/adexchangeseller_v1_1/service.rb +771 -0
- data/generated/google/apis/adexperiencereport_v1.rb +35 -0
- data/generated/google/apis/adexperiencereport_v1/classes.rb +138 -0
- data/generated/google/apis/adexperiencereport_v1/representations.rb +77 -0
- data/generated/google/apis/adexperiencereport_v1/service.rb +123 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +60 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +29 -0
- data/generated/google/apis/admin_directory_v1/service.rb +39 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v2_4.rb +37 -0
- data/generated/google/apis/analytics_v2_4/classes.rb +26 -0
- data/generated/google/apis/analytics_v2_4/representations.rb +26 -0
- data/generated/google/apis/analytics_v2_4/service.rb +345 -0
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +15 -2
- data/generated/google/apis/analytics_v3/representations.rb +3 -0
- data/generated/google/apis/analyticsreporting_v4.rb +4 -4
- data/generated/google/apis/analyticsreporting_v4/classes.rb +891 -891
- data/generated/google/apis/analyticsreporting_v4/representations.rb +189 -189
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +32 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +917 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +447 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +419 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +31 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +14 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +76 -0
- data/generated/google/apis/androidmanagement_v1.rb +35 -0
- data/generated/google/apis/androidmanagement_v1/classes.rb +2039 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +702 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +796 -0
- data/generated/google/apis/androidpublisher_v1.rb +34 -0
- data/generated/google/apis/androidpublisher_v1/classes.rb +67 -0
- data/generated/google/apis/androidpublisher_v1/representations.rb +42 -0
- data/generated/google/apis/androidpublisher_v1/service.rb +150 -0
- data/generated/google/apis/androidpublisher_v1_1.rb +34 -0
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +123 -0
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +60 -0
- data/generated/google/apis/androidpublisher_v1_1/service.rb +192 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +21 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +3 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +6 -2
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +1519 -1474
- data/generated/google/apis/appengine_v1/representations.rb +351 -335
- data/generated/google/apis/appengine_v1/service.rb +255 -239
- data/generated/google/apis/appengine_v1alpha.rb +41 -0
- data/generated/google/apis/appengine_v1alpha/classes.rb +987 -0
- data/generated/google/apis/appengine_v1alpha/representations.rb +397 -0
- data/generated/google/apis/appengine_v1alpha/service.rb +631 -0
- data/generated/google/apis/appengine_v1beta.rb +41 -0
- data/generated/google/apis/appengine_v1beta/classes.rb +2876 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1138 -0
- data/generated/google/apis/appengine_v1beta/service.rb +1546 -0
- data/generated/google/apis/appengine_v1beta4.rb +41 -0
- data/generated/google/apis/appengine_v1beta4/classes.rb +2170 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +824 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +876 -0
- data/generated/google/apis/appengine_v1beta5.rb +41 -0
- data/generated/google/apis/appengine_v1beta5/classes.rb +2168 -0
- data/generated/google/apis/appengine_v1beta5/representations.rb +822 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +877 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- 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 +106 -18
- data/generated/google/apis/bigquery_v2/representations.rb +15 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +41 -0
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +886 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +343 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +1317 -0
- data/generated/google/apis/blogger_v2.rb +34 -0
- data/generated/google/apis/blogger_v2/classes.rb +947 -0
- data/generated/google/apis/blogger_v2/representations.rb +465 -0
- data/generated/google/apis/blogger_v2/service.rb +424 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +4 -207
- data/generated/google/apis/calendar_v3/representations.rb +0 -97
- data/generated/google/apis/calendar_v3/service.rb +8 -4
- data/generated/google/apis/classroom_v1.rb +27 -27
- data/generated/google/apis/classroom_v1/classes.rb +1037 -926
- data/generated/google/apis/classroom_v1/representations.rb +294 -244
- data/generated/google/apis/classroom_v1/service.rb +1114 -1109
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +473 -56
- data/generated/google/apis/cloudbilling_v1/representations.rb +176 -10
- data/generated/google/apis/cloudbilling_v1/service.rb +182 -89
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +666 -625
- data/generated/google/apis/cloudbuild_v1/representations.rb +132 -116
- data/generated/google/apis/cloudbuild_v1/service.rb +158 -158
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +637 -639
- data/generated/google/apis/clouddebugger_v2/representations.rb +139 -139
- data/generated/google/apis/clouddebugger_v2/service.rb +157 -157
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +310 -310
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +77 -77
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +144 -144
- data/generated/google/apis/cloudfunctions_v1.rb +4 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +265 -6
- data/generated/google/apis/cloudfunctions_v1/representations.rb +80 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +118 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +35 -0
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +678 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +264 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +385 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +652 -622
- data/generated/google/apis/cloudkms_v1/representations.rb +138 -137
- data/generated/google/apis/cloudkms_v1/service.rb +320 -320
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1129 -1129
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +609 -609
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +404 -404
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +83 -83
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +328 -328
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +38 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +819 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +304 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +528 -0
- data/generated/google/apis/cloudtrace_v1.rb +5 -5
- data/generated/google/apis/cloudtrace_v1/classes.rb +67 -67
- data/generated/google/apis/cloudtrace_v1/representations.rb +21 -21
- data/generated/google/apis/cloudtrace_v1/service.rb +36 -36
- data/generated/google/apis/cloudtrace_v2.rb +43 -0
- data/generated/google/apis/cloudtrace_v2/classes.rb +797 -0
- data/generated/google/apis/cloudtrace_v2/representations.rb +353 -0
- data/generated/google/apis/cloudtrace_v2/service.rb +238 -0
- data/generated/google/apis/clouduseraccounts_alpha.rb +44 -0
- data/generated/google/apis/clouduseraccounts_alpha/classes.rb +1188 -0
- data/generated/google/apis/clouduseraccounts_alpha/representations.rb +494 -0
- data/generated/google/apis/clouduseraccounts_alpha/service.rb +1152 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha.rb +44 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb +1188 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb +494 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +1152 -0
- data/generated/google/apis/clouduseraccounts_vm_beta.rb +44 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/classes.rb +845 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/representations.rb +352 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +908 -0
- data/generated/google/apis/compute_alpha.rb +49 -0
- data/generated/google/apis/compute_alpha/classes.rb +23796 -0
- data/generated/google/apis/compute_alpha/representations.rb +9391 -0
- data/generated/google/apis/compute_alpha/service.rb +24188 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1597 -235
- data/generated/google/apis/compute_beta/representations.rb +477 -0
- data/generated/google/apis/compute_beta/service.rb +2875 -1677
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +319 -197
- data/generated/google/apis/compute_v1/representations.rb +51 -0
- data/generated/google/apis/compute_v1/service.rb +2057 -172
- data/generated/google/apis/consumersurveys_v2.rb +40 -0
- data/generated/google/apis/consumersurveys_v2/classes.rb +736 -0
- data/generated/google/apis/consumersurveys_v2/representations.rb +343 -0
- data/generated/google/apis/consumersurveys_v2/service.rb +478 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1072 -936
- data/generated/google/apis/container_v1/representations.rb +266 -202
- data/generated/google/apis/container_v1/service.rb +243 -243
- data/generated/google/apis/container_v1beta1.rb +35 -0
- data/generated/google/apis/container_v1beta1/classes.rb +1900 -0
- data/generated/google/apis/container_v1beta1/representations.rb +662 -0
- data/generated/google/apis/container_v1beta1/service.rb +1875 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +72 -3
- data/generated/google/apis/content_v2/representations.rb +23 -0
- data/generated/google/apis/content_v2/service.rb +23 -18
- data/generated/google/apis/content_v2sandbox.rb +35 -0
- data/generated/google/apis/content_v2sandbox/classes.rb +2406 -0
- data/generated/google/apis/content_v2sandbox/representations.rb +1042 -0
- data/generated/google/apis/content_v2sandbox/service.rb +709 -0
- data/generated/google/apis/dataflow_v1b3.rb +5 -5
- data/generated/google/apis/dataflow_v1b3/classes.rb +3341 -3341
- data/generated/google/apis/dataflow_v1b3/representations.rb +807 -807
- data/generated/google/apis/dataflow_v1b3/service.rb +492 -444
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1101 -1101
- data/generated/google/apis/dataproc_v1/representations.rb +227 -227
- data/generated/google/apis/dataproc_v1/service.rb +254 -254
- data/generated/google/apis/dataproc_v1beta2.rb +34 -0
- data/generated/google/apis/dataproc_v1beta2/classes.rb +1756 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +675 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +739 -0
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +1311 -773
- data/generated/google/apis/datastore_v1/representations.rb +351 -148
- data/generated/google/apis/datastore_v1/service.rb +206 -55
- data/generated/google/apis/datastore_v1beta3.rb +38 -0
- data/generated/google/apis/datastore_v1beta3/classes.rb +1621 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +715 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +260 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +44 -0
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +2422 -0
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +1054 -0
- data/generated/google/apis/deploymentmanager_alpha/service.rb +1883 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +81 -2
- data/generated/google/apis/deploymentmanager_v2/representations.rb +30 -0
- data/generated/google/apis/deploymentmanager_v2beta.rb +44 -0
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2426 -0
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1054 -0
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +1687 -0
- data/generated/google/apis/dfareporting_v2_7.rb +1 -1
- data/generated/google/apis/dfareporting_v2_7/classes.rb +9 -26
- data/generated/google/apis/dfareporting_v2_7/service.rb +1 -0
- data/generated/google/apis/dfareporting_v2_8.rb +1 -1
- data/generated/google/apis/dfareporting_v2_8/classes.rb +26 -34
- data/generated/google/apis/dfareporting_v2_8/representations.rb +1 -0
- data/generated/google/apis/dfareporting_v2_8/service.rb +1 -0
- data/generated/google/apis/dlp_v2beta1.rb +36 -0
- data/generated/google/apis/dlp_v2beta1/classes.rb +1735 -0
- data/generated/google/apis/dlp_v2beta1/representations.rb +879 -0
- data/generated/google/apis/dlp_v2beta1/service.rb +406 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +267 -261
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +73 -72
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +283 -283
- data/generated/google/apis/firebaserules_v1/representations.rb +75 -75
- data/generated/google/apis/firebaserules_v1/service.rb +113 -113
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -1
- data/generated/google/apis/fusiontables_v1.rb +37 -0
- data/generated/google/apis/fusiontables_v1/classes.rb +977 -0
- data/generated/google/apis/fusiontables_v1/representations.rb +449 -0
- data/generated/google/apis/fusiontables_v1/service.rb +1373 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +8 -8
- data/generated/google/apis/genomics_v1/classes.rb +2288 -2288
- data/generated/google/apis/genomics_v1/representations.rb +482 -482
- data/generated/google/apis/genomics_v1/service.rb +966 -966
- data/generated/google/apis/genomics_v1alpha2.rb +40 -0
- data/generated/google/apis/genomics_v1alpha2/classes.rb +1207 -0
- data/generated/google/apis/genomics_v1alpha2/representations.rb +449 -0
- data/generated/google/apis/genomics_v1alpha2/service.rb +426 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +664 -395
- data/generated/google/apis/iam_v1/representations.rb +194 -81
- data/generated/google/apis/iam_v1/service.rb +657 -92
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +7 -7
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +8 -8
- data/generated/google/apis/language_v1.rb +4 -1
- data/generated/google/apis/language_v1/classes.rb +393 -393
- data/generated/google/apis/language_v1/representations.rb +95 -95
- data/generated/google/apis/language_v1/service.rb +42 -42
- data/generated/google/apis/language_v1beta1.rb +4 -1
- data/generated/google/apis/language_v1beta1/classes.rb +457 -457
- data/generated/google/apis/language_v1beta1/representations.rb +114 -114
- data/generated/google/apis/language_v1beta1/service.rb +48 -48
- data/generated/google/apis/language_v1beta2.rb +39 -0
- data/generated/google/apis/language_v1beta2/classes.rb +824 -0
- data/generated/google/apis/language_v1beta2/representations.rb +373 -0
- data/generated/google/apis/language_v1beta2/service.rb +217 -0
- data/generated/google/apis/logging_v2.rb +9 -9
- data/generated/google/apis/logging_v2/classes.rb +840 -834
- data/generated/google/apis/logging_v2/representations.rb +168 -167
- data/generated/google/apis/logging_v2/service.rb +667 -463
- data/generated/google/apis/logging_v2beta1.rb +9 -9
- data/generated/google/apis/logging_v2beta1/classes.rb +856 -850
- data/generated/google/apis/logging_v2beta1/representations.rb +169 -168
- data/generated/google/apis/logging_v2beta1/service.rb +253 -255
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +396 -389
- data/generated/google/apis/manufacturers_v1/representations.rb +92 -91
- data/generated/google/apis/manufacturers_v1/service.rb +8 -7
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1487 -1676
- data/generated/google/apis/ml_v1/representations.rb +229 -299
- data/generated/google/apis/ml_v1/service.rb +359 -253
- data/generated/google/apis/ml_v1beta1.rb +34 -0
- data/generated/google/apis/ml_v1beta1/classes.rb +2396 -0
- data/generated/google/apis/ml_v1beta1/representations.rb +755 -0
- data/generated/google/apis/ml_v1beta1/service.rb +975 -0
- data/generated/google/apis/monitoring_v3.rb +6 -6
- data/generated/google/apis/monitoring_v3/classes.rb +834 -834
- data/generated/google/apis/monitoring_v3/representations.rb +168 -168
- data/generated/google/apis/monitoring_v3/service.rb +330 -330
- data/generated/google/apis/mybusiness_v3/classes.rb +1181 -1181
- data/generated/google/apis/mybusiness_v3/representations.rb +242 -242
- data/generated/google/apis/mybusiness_v3/service.rb +241 -241
- data/generated/google/apis/oauth2_v1.rb +43 -0
- data/generated/google/apis/oauth2_v1/classes.rb +321 -0
- data/generated/google/apis/oauth2_v1/representations.rb +135 -0
- data/generated/google/apis/oauth2_v1/service.rb +337 -0
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha.rb +37 -0
- data/generated/google/apis/oslogin_v1alpha/classes.rb +200 -0
- data/generated/google/apis/oslogin_v1alpha/representations.rb +105 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +228 -0
- data/generated/google/apis/pagespeedonline_v1.rb +32 -0
- data/generated/google/apis/pagespeedonline_v1/classes.rb +536 -0
- data/generated/google/apis/pagespeedonline_v1/representations.rb +257 -0
- data/generated/google/apis/pagespeedonline_v1/service.rb +120 -0
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1512 -1512
- data/generated/google/apis/partners_v2/representations.rb +368 -368
- data/generated/google/apis/partners_v2/service.rb +596 -596
- data/generated/google/apis/people_v1.rb +15 -15
- data/generated/google/apis/people_v1/classes.rb +1384 -1383
- data/generated/google/apis/people_v1/representations.rb +311 -311
- data/generated/google/apis/people_v1/service.rb +208 -202
- data/generated/google/apis/playcustomapp_v1.rb +34 -0
- data/generated/google/apis/playcustomapp_v1/classes.rb +51 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +40 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +114 -0
- data/generated/google/apis/playmoviespartner_v1.rb +34 -0
- data/generated/google/apis/playmoviespartner_v1/classes.rb +782 -0
- data/generated/google/apis/playmoviespartner_v1/representations.rb +191 -0
- data/generated/google/apis/playmoviespartner_v1/service.rb +354 -0
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/prediction_v1_2.rb +44 -0
- data/generated/google/apis/prediction_v1_2/classes.rb +237 -0
- data/generated/google/apis/prediction_v1_2/representations.rb +133 -0
- data/generated/google/apis/prediction_v1_2/service.rb +287 -0
- data/generated/google/apis/prediction_v1_3.rb +44 -0
- data/generated/google/apis/prediction_v1_3/classes.rb +286 -0
- data/generated/google/apis/prediction_v1_3/representations.rb +139 -0
- data/generated/google/apis/prediction_v1_3/service.rb +284 -0
- data/generated/google/apis/prediction_v1_4.rb +44 -0
- data/generated/google/apis/prediction_v1_4/classes.rb +336 -0
- data/generated/google/apis/prediction_v1_4/representations.rb +158 -0
- data/generated/google/apis/prediction_v1_4/service.rb +284 -0
- data/generated/google/apis/prediction_v1_5.rb +44 -0
- data/generated/google/apis/prediction_v1_5/classes.rb +708 -0
- data/generated/google/apis/prediction_v1_5/representations.rb +352 -0
- data/generated/google/apis/prediction_v1_5/service.rb +357 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +539 -539
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +105 -105
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +312 -312
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +352 -352
- data/generated/google/apis/pubsub_v1/representations.rb +77 -77
- data/generated/google/apis/pubsub_v1/service.rb +346 -346
- data/generated/google/apis/pubsub_v1beta1a.rb +37 -0
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +605 -0
- data/generated/google/apis/pubsub_v1beta1a/representations.rb +306 -0
- data/generated/google/apis/pubsub_v1beta1a/service.rb +549 -0
- data/generated/google/apis/pubsub_v1beta2.rb +37 -0
- data/generated/google/apis/pubsub_v1beta2/classes.rb +679 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +324 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +779 -0
- data/generated/google/apis/replicapool_v1beta1.rb +50 -0
- data/generated/google/apis/replicapool_v1beta1/classes.rb +918 -0
- data/generated/google/apis/replicapool_v1beta1/representations.rb +409 -0
- data/generated/google/apis/replicapool_v1beta1/service.rb +511 -0
- data/generated/google/apis/resourceviews_v1beta1.rb +50 -0
- data/generated/google/apis/resourceviews_v1beta1/classes.rb +338 -0
- data/generated/google/apis/resourceviews_v1beta1/representations.rb +201 -0
- data/generated/google/apis/resourceviews_v1beta1/service.rb +667 -0
- data/generated/google/apis/runtimeconfig_v1.rb +4 -4
- data/generated/google/apis/runtimeconfig_v1/classes.rb +118 -118
- data/generated/google/apis/runtimeconfig_v1/representations.rb +18 -18
- data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
- data/generated/google/apis/runtimeconfig_v1beta1.rb +40 -0
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +805 -0
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +280 -0
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +903 -0
- data/generated/google/apis/safebrowsing_v4.rb +32 -0
- data/generated/google/apis/safebrowsing_v4/classes.rb +771 -0
- data/generated/google/apis/safebrowsing_v4/representations.rb +379 -0
- data/generated/google/apis/safebrowsing_v4/service.rb +252 -0
- data/generated/google/apis/script_v1.rb +19 -19
- data/generated/google/apis/script_v1/classes.rb +99 -157
- data/generated/google/apis/script_v1/representations.rb +17 -47
- data/generated/google/apis/script_v1/service.rb +12 -12
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
- data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
- data/generated/google/apis/servicecontrol_v1.rb +4 -4
- data/generated/google/apis/servicecontrol_v1/classes.rb +1086 -1042
- data/generated/google/apis/servicecontrol_v1/representations.rb +216 -200
- data/generated/google/apis/servicecontrol_v1/service.rb +120 -114
- data/generated/google/apis/servicemanagement_v1.rb +7 -7
- data/generated/google/apis/servicemanagement_v1/classes.rb +3375 -3383
- data/generated/google/apis/servicemanagement_v1/representations.rb +551 -552
- data/generated/google/apis/servicemanagement_v1/service.rb +386 -386
- data/generated/google/apis/serviceuser_v1.rb +5 -5
- data/generated/google/apis/serviceuser_v1/classes.rb +2667 -2598
- data/generated/google/apis/serviceuser_v1/representations.rb +406 -389
- data/generated/google/apis/serviceuser_v1/service.rb +43 -43
- data/generated/google/apis/sheets_v4.rb +7 -7
- data/generated/google/apis/sheets_v4/classes.rb +5031 -5024
- data/generated/google/apis/sheets_v4/representations.rb +931 -930
- data/generated/google/apis/sheets_v4/service.rb +244 -244
- data/generated/google/apis/slides_v1.rb +10 -10
- data/generated/google/apis/slides_v1/classes.rb +2915 -2915
- data/generated/google/apis/slides_v1/representations.rb +698 -698
- data/generated/google/apis/slides_v1/service.rb +35 -35
- data/generated/google/apis/sourcerepo_v1.rb +3 -3
- data/generated/google/apis/sourcerepo_v1/classes.rb +313 -313
- data/generated/google/apis/sourcerepo_v1/representations.rb +77 -77
- data/generated/google/apis/sourcerepo_v1/service.rb +102 -102
- data/generated/google/apis/spanner_v1.rb +4 -4
- data/generated/google/apis/spanner_v1/classes.rb +2304 -2251
- data/generated/google/apis/spanner_v1/representations.rb +338 -323
- data/generated/google/apis/spanner_v1/service.rb +689 -689
- data/generated/google/apis/spectrum_v1explorer.rb +31 -0
- data/generated/google/apis/spectrum_v1explorer/classes.rb +1612 -0
- data/generated/google/apis/spectrum_v1explorer/representations.rb +611 -0
- data/generated/google/apis/spectrum_v1explorer/service.rb +285 -0
- data/generated/google/apis/speech_v1.rb +34 -0
- data/generated/google/apis/speech_v1/classes.rb +572 -0
- data/generated/google/apis/speech_v1/representations.rb +236 -0
- data/generated/google/apis/speech_v1/service.rb +277 -0
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +312 -312
- data/generated/google/apis/speech_v1beta1/representations.rb +48 -48
- data/generated/google/apis/speech_v1beta1/service.rb +46 -46
- data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
- data/generated/google/apis/sqladmin_v1beta3/classes.rb +1615 -0
- data/generated/google/apis/sqladmin_v1beta3/representations.rb +731 -0
- data/generated/google/apis/sqladmin_v1beta3/service.rb +1045 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +15 -7
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -6
- data/generated/google/apis/storage_v1/service.rb +51 -29
- data/generated/google/apis/storage_v1beta1.rb +40 -0
- data/generated/google/apis/storage_v1beta1/classes.rb +616 -0
- data/generated/google/apis/storage_v1beta1/representations.rb +249 -0
- data/generated/google/apis/storage_v1beta1/service.rb +1082 -0
- data/generated/google/apis/storage_v1beta2.rb +40 -0
- data/generated/google/apis/storage_v1beta2/classes.rb +1048 -0
- data/generated/google/apis/storage_v1beta2/representations.rb +425 -0
- data/generated/google/apis/storage_v1beta2/service.rb +1736 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +556 -556
- data/generated/google/apis/storagetransfer_v1/representations.rb +139 -139
- data/generated/google/apis/storagetransfer_v1/service.rb +148 -148
- data/generated/google/apis/streetviewpublish_v1.rb +36 -0
- data/generated/google/apis/streetviewpublish_v1/classes.rb +705 -0
- data/generated/google/apis/streetviewpublish_v1/representations.rb +296 -0
- data/generated/google/apis/streetviewpublish_v1/service.rb +485 -0
- data/generated/google/apis/taskqueue_v1beta1.rb +37 -0
- data/generated/google/apis/taskqueue_v1beta1/classes.rb +242 -0
- data/generated/google/apis/taskqueue_v1beta1/representations.rb +124 -0
- data/generated/google/apis/taskqueue_v1beta1/service.rb +269 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +382 -4
- data/generated/google/apis/toolresults_v1beta3/representations.rb +139 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +50 -0
- data/generated/google/apis/toolresults_v1beta3firstparty.rb +31 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/classes.rb +2630 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/representations.rb +886 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +1288 -0
- data/generated/google/apis/translate_v2/classes.rb +111 -111
- data/generated/google/apis/translate_v2/representations.rb +49 -49
- data/generated/google/apis/translate_v2/service.rb +94 -94
- data/generated/google/apis/vault_v1.rb +31 -0
- data/generated/google/apis/vault_v1/classes.rb +554 -0
- data/generated/google/apis/vault_v1/representations.rb +318 -0
- data/generated/google/apis/vault_v1/service.rb +677 -0
- data/generated/google/apis/videointelligence_v1beta1.rb +34 -0
- data/generated/google/apis/videointelligence_v1beta1/classes.rb +903 -0
- data/generated/google/apis/videointelligence_v1beta1/representations.rb +351 -0
- data/generated/google/apis/videointelligence_v1beta1/service.rb +92 -0
- data/generated/google/apis/vision_v1.rb +4 -4
- data/generated/google/apis/vision_v1/classes.rb +1176 -1178
- data/generated/google/apis/vision_v1/representations.rb +235 -235
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1beta1.rb +46 -0
- data/generated/google/apis/youtube_analytics_v1beta1/classes.rb +337 -0
- data/generated/google/apis/youtube_analytics_v1beta1/representations.rb +174 -0
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +491 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +3 -3
- data/generated/google/apis/youtube_partner_v1/representations.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +134 -134
- data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
- data/generated/google/apis/youtubereporting_v1/service.rb +131 -131
- data/lib/google/apis/version.rb +1 -1
- metadata +246 -2
@@ -26,13 +26,13 @@ module Google
|
|
26
26
|
# @see http://cloud.google.com/debugger
|
27
27
|
module ClouddebuggerV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
30
|
-
|
31
|
-
# Manage cloud debugger
|
32
|
-
AUTH_CLOUD_DEBUGGER = 'https://www.googleapis.com/auth/cloud_debugger'
|
29
|
+
REVISION = '20170809'
|
33
30
|
|
34
31
|
# View and manage your data across Google Cloud Platform services
|
35
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
33
|
+
|
34
|
+
# Manage cloud debugger
|
35
|
+
AUTH_CLOUD_DEBUGGER = 'https://www.googleapis.com/auth/cloud_debugger'
|
36
36
|
end
|
37
37
|
end
|
38
38
|
end
|
@@ -22,19 +22,16 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ClouddebuggerV2
|
24
24
|
|
25
|
-
#
|
26
|
-
|
27
|
-
# can be stored before they are committed.
|
28
|
-
class CloudWorkspaceId
|
25
|
+
# An alias to a repo revision.
|
26
|
+
class AliasContext
|
29
27
|
include Google::Apis::Core::Hashable
|
30
28
|
|
31
|
-
#
|
32
|
-
# Corresponds to the JSON property `
|
33
|
-
# @return [
|
34
|
-
attr_accessor :
|
29
|
+
# The alias kind.
|
30
|
+
# Corresponds to the JSON property `kind`
|
31
|
+
# @return [String]
|
32
|
+
attr_accessor :kind
|
35
33
|
|
36
|
-
# The
|
37
|
-
# chosen by the client in the Source API's CreateWorkspace method.
|
34
|
+
# The alias name.
|
38
35
|
# Corresponds to the JSON property `name`
|
39
36
|
# @return [String]
|
40
37
|
attr_accessor :name
|
@@ -45,69 +42,51 @@ module Google
|
|
45
42
|
|
46
43
|
# Update properties of this object
|
47
44
|
def update!(**args)
|
48
|
-
@
|
45
|
+
@kind = args[:kind] if args.key?(:kind)
|
49
46
|
@name = args[:name] if args.key?(:name)
|
50
47
|
end
|
51
48
|
end
|
52
49
|
|
53
|
-
# Response for listing breakpoints.
|
54
|
-
class ListBreakpointsResponse
|
55
|
-
include Google::Apis::Core::Hashable
|
56
|
-
|
57
|
-
# List of breakpoints matching the request.
|
58
|
-
# The fields `id` and `location` are guaranteed to be set on each breakpoint.
|
59
|
-
# The fields: `stack_frames`, `evaluated_expressions` and `variable_table`
|
60
|
-
# are cleared on each breakpoint regardless of it's status.
|
61
|
-
# Corresponds to the JSON property `breakpoints`
|
62
|
-
# @return [Array<Google::Apis::ClouddebuggerV2::Breakpoint>]
|
63
|
-
attr_accessor :breakpoints
|
64
|
-
|
65
|
-
# A wait token that can be used in the next call to `list` (REST) or
|
66
|
-
# `ListBreakpoints` (RPC) to block until the list of breakpoints has changes.
|
67
|
-
# Corresponds to the JSON property `nextWaitToken`
|
68
|
-
# @return [String]
|
69
|
-
attr_accessor :next_wait_token
|
70
|
-
|
71
|
-
def initialize(**args)
|
72
|
-
update!(**args)
|
73
|
-
end
|
74
|
-
|
75
|
-
# Update properties of this object
|
76
|
-
def update!(**args)
|
77
|
-
@breakpoints = args[:breakpoints] if args.key?(:breakpoints)
|
78
|
-
@next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token)
|
79
|
-
end
|
80
|
-
end
|
81
|
-
|
82
50
|
# Represents the breakpoint specification, status and results.
|
83
51
|
class Breakpoint
|
84
52
|
include Google::Apis::Core::Hashable
|
85
53
|
|
86
|
-
# E-mail address of the user that created this breakpoint
|
87
|
-
# Corresponds to the JSON property `userEmail`
|
88
|
-
# @return [String]
|
89
|
-
attr_accessor :user_email
|
90
|
-
|
91
54
|
# Action that the agent should perform when the code at the
|
92
55
|
# breakpoint location is hit.
|
93
56
|
# Corresponds to the JSON property `action`
|
94
57
|
# @return [String]
|
95
58
|
attr_accessor :action
|
96
59
|
|
97
|
-
#
|
98
|
-
#
|
60
|
+
# Condition that triggers the breakpoint.
|
61
|
+
# The condition is a compound boolean expression composed using expressions
|
62
|
+
# in a programming language at the source location.
|
63
|
+
# Corresponds to the JSON property `condition`
|
99
64
|
# @return [String]
|
100
|
-
attr_accessor :
|
65
|
+
attr_accessor :condition
|
101
66
|
|
102
|
-
#
|
103
|
-
# Corresponds to the JSON property `
|
67
|
+
# Time this breakpoint was created by the server in seconds resolution.
|
68
|
+
# Corresponds to the JSON property `createTime`
|
104
69
|
# @return [String]
|
105
|
-
attr_accessor :
|
70
|
+
attr_accessor :create_time
|
106
71
|
|
107
|
-
#
|
108
|
-
#
|
109
|
-
#
|
110
|
-
|
72
|
+
# Values of evaluated expressions at breakpoint time.
|
73
|
+
# The evaluated expressions appear in exactly the same order they
|
74
|
+
# are listed in the `expressions` field.
|
75
|
+
# The `name` field holds the original expression text, the `value` or
|
76
|
+
# `members` field holds the result of the evaluated expression.
|
77
|
+
# If the expression cannot be evaluated, the `status` inside the `Variable`
|
78
|
+
# will indicate an error and contain the error text.
|
79
|
+
# Corresponds to the JSON property `evaluatedExpressions`
|
80
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
81
|
+
attr_accessor :evaluated_expressions
|
82
|
+
|
83
|
+
# List of read-only expressions to evaluate at the breakpoint location.
|
84
|
+
# The expressions are composed using expressions in the programming language
|
85
|
+
# at the source location. If the breakpoint action is `LOG`, the evaluated
|
86
|
+
# expressions are included in log statements.
|
87
|
+
# Corresponds to the JSON property `expressions`
|
88
|
+
# @return [Array<String>]
|
89
|
+
attr_accessor :expressions
|
111
90
|
|
112
91
|
# Time this breakpoint was finalized as seen by the server in seconds
|
113
92
|
# resolution.
|
@@ -115,20 +94,17 @@ module Google
|
|
115
94
|
# @return [String]
|
116
95
|
attr_accessor :final_time
|
117
96
|
|
118
|
-
#
|
119
|
-
#
|
120
|
-
#
|
121
|
-
|
122
|
-
|
123
|
-
#
|
124
|
-
#
|
125
|
-
#
|
126
|
-
#
|
127
|
-
|
128
|
-
|
129
|
-
# Corresponds to the JSON property `variableTable`
|
130
|
-
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
131
|
-
attr_accessor :variable_table
|
97
|
+
# Breakpoint identifier, unique in the scope of the debuggee.
|
98
|
+
# Corresponds to the JSON property `id`
|
99
|
+
# @return [String]
|
100
|
+
attr_accessor :id
|
101
|
+
|
102
|
+
# When true, indicates that this is a final result and the
|
103
|
+
# breakpoint state will not change from here on.
|
104
|
+
# Corresponds to the JSON property `isFinalState`
|
105
|
+
# @return [Boolean]
|
106
|
+
attr_accessor :is_final_state
|
107
|
+
alias_method :is_final_state?, :is_final_state
|
132
108
|
|
133
109
|
# A set of custom breakpoint properties, populated by the agent, to be
|
134
110
|
# displayed to the user.
|
@@ -136,6 +112,16 @@ module Google
|
|
136
112
|
# @return [Hash<String,String>]
|
137
113
|
attr_accessor :labels
|
138
114
|
|
115
|
+
# Represents a location in the source code.
|
116
|
+
# Corresponds to the JSON property `location`
|
117
|
+
# @return [Google::Apis::ClouddebuggerV2::SourceLocation]
|
118
|
+
attr_accessor :location
|
119
|
+
|
120
|
+
# Indicates the severity of the log. Only relevant when action is `LOG`.
|
121
|
+
# Corresponds to the JSON property `logLevel`
|
122
|
+
# @return [String]
|
123
|
+
attr_accessor :log_level
|
124
|
+
|
139
125
|
# Only relevant when action is `LOG`. Defines the message to log when
|
140
126
|
# the breakpoint hits. The message may include parameter placeholders `$0`,
|
141
127
|
# `$1`, etc. These placeholders are replaced with the evaluated value
|
@@ -147,49 +133,11 @@ module Google
|
|
147
133
|
# @return [String]
|
148
134
|
attr_accessor :log_message_format
|
149
135
|
|
150
|
-
# Time this breakpoint was created by the server in seconds resolution.
|
151
|
-
# Corresponds to the JSON property `createTime`
|
152
|
-
# @return [String]
|
153
|
-
attr_accessor :create_time
|
154
|
-
|
155
|
-
# List of read-only expressions to evaluate at the breakpoint location.
|
156
|
-
# The expressions are composed using expressions in the programming language
|
157
|
-
# at the source location. If the breakpoint action is `LOG`, the evaluated
|
158
|
-
# expressions are included in log statements.
|
159
|
-
# Corresponds to the JSON property `expressions`
|
160
|
-
# @return [Array<String>]
|
161
|
-
attr_accessor :expressions
|
162
|
-
|
163
|
-
# Values of evaluated expressions at breakpoint time.
|
164
|
-
# The evaluated expressions appear in exactly the same order they
|
165
|
-
# are listed in the `expressions` field.
|
166
|
-
# The `name` field holds the original expression text, the `value` or
|
167
|
-
# `members` field holds the result of the evaluated expression.
|
168
|
-
# If the expression cannot be evaluated, the `status` inside the `Variable`
|
169
|
-
# will indicate an error and contain the error text.
|
170
|
-
# Corresponds to the JSON property `evaluatedExpressions`
|
171
|
-
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
172
|
-
attr_accessor :evaluated_expressions
|
173
|
-
|
174
|
-
# When true, indicates that this is a final result and the
|
175
|
-
# breakpoint state will not change from here on.
|
176
|
-
# Corresponds to the JSON property `isFinalState`
|
177
|
-
# @return [Boolean]
|
178
|
-
attr_accessor :is_final_state
|
179
|
-
alias_method :is_final_state?, :is_final_state
|
180
|
-
|
181
136
|
# The stack at breakpoint time.
|
182
137
|
# Corresponds to the JSON property `stackFrames`
|
183
138
|
# @return [Array<Google::Apis::ClouddebuggerV2::StackFrame>]
|
184
139
|
attr_accessor :stack_frames
|
185
140
|
|
186
|
-
# Condition that triggers the breakpoint.
|
187
|
-
# The condition is a compound boolean expression composed using expressions
|
188
|
-
# in a programming language at the source location.
|
189
|
-
# Corresponds to the JSON property `condition`
|
190
|
-
# @return [String]
|
191
|
-
attr_accessor :condition
|
192
|
-
|
193
141
|
# Represents a contextual status message.
|
194
142
|
# The message can indicate an error or informational status, and refer to
|
195
143
|
# specific parts of the containing object.
|
@@ -199,39 +147,75 @@ module Google
|
|
199
147
|
# @return [Google::Apis::ClouddebuggerV2::StatusMessage]
|
200
148
|
attr_accessor :status
|
201
149
|
|
150
|
+
# E-mail address of the user that created this breakpoint
|
151
|
+
# Corresponds to the JSON property `userEmail`
|
152
|
+
# @return [String]
|
153
|
+
attr_accessor :user_email
|
154
|
+
|
155
|
+
# The `variable_table` exists to aid with computation, memory and network
|
156
|
+
# traffic optimization. It enables storing a variable once and reference
|
157
|
+
# it from multiple variables, including variables stored in the
|
158
|
+
# `variable_table` itself.
|
159
|
+
# For example, the same `this` object, which may appear at many levels of
|
160
|
+
# the stack, can have all of its data stored once in this table. The
|
161
|
+
# stack frame variables then would hold only a reference to it.
|
162
|
+
# The variable `var_table_index` field is an index into this repeated field.
|
163
|
+
# The stored objects are nameless and get their name from the referencing
|
164
|
+
# variable. The effective variable is a merge of the referencing variable
|
165
|
+
# and the referenced variable.
|
166
|
+
# Corresponds to the JSON property `variableTable`
|
167
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
168
|
+
attr_accessor :variable_table
|
169
|
+
|
202
170
|
def initialize(**args)
|
203
171
|
update!(**args)
|
204
172
|
end
|
205
173
|
|
206
174
|
# Update properties of this object
|
207
175
|
def update!(**args)
|
208
|
-
@user_email = args[:user_email] if args.key?(:user_email)
|
209
176
|
@action = args[:action] if args.key?(:action)
|
210
|
-
@
|
211
|
-
@id = args[:id] if args.key?(:id)
|
212
|
-
@location = args[:location] if args.key?(:location)
|
213
|
-
@final_time = args[:final_time] if args.key?(:final_time)
|
214
|
-
@variable_table = args[:variable_table] if args.key?(:variable_table)
|
215
|
-
@labels = args[:labels] if args.key?(:labels)
|
216
|
-
@log_message_format = args[:log_message_format] if args.key?(:log_message_format)
|
177
|
+
@condition = args[:condition] if args.key?(:condition)
|
217
178
|
@create_time = args[:create_time] if args.key?(:create_time)
|
218
|
-
@expressions = args[:expressions] if args.key?(:expressions)
|
219
179
|
@evaluated_expressions = args[:evaluated_expressions] if args.key?(:evaluated_expressions)
|
180
|
+
@expressions = args[:expressions] if args.key?(:expressions)
|
181
|
+
@final_time = args[:final_time] if args.key?(:final_time)
|
182
|
+
@id = args[:id] if args.key?(:id)
|
220
183
|
@is_final_state = args[:is_final_state] if args.key?(:is_final_state)
|
184
|
+
@labels = args[:labels] if args.key?(:labels)
|
185
|
+
@location = args[:location] if args.key?(:location)
|
186
|
+
@log_level = args[:log_level] if args.key?(:log_level)
|
187
|
+
@log_message_format = args[:log_message_format] if args.key?(:log_message_format)
|
221
188
|
@stack_frames = args[:stack_frames] if args.key?(:stack_frames)
|
222
|
-
@condition = args[:condition] if args.key?(:condition)
|
223
189
|
@status = args[:status] if args.key?(:status)
|
190
|
+
@user_email = args[:user_email] if args.key?(:user_email)
|
191
|
+
@variable_table = args[:variable_table] if args.key?(:variable_table)
|
224
192
|
end
|
225
193
|
end
|
226
194
|
|
227
|
-
#
|
228
|
-
|
195
|
+
# A CloudRepoSourceContext denotes a particular revision in a cloud
|
196
|
+
# repo (a repo hosted by the Google Cloud Platform).
|
197
|
+
class CloudRepoSourceContext
|
229
198
|
include Google::Apis::Core::Hashable
|
230
199
|
|
231
|
-
#
|
232
|
-
# Corresponds to the JSON property `
|
233
|
-
# @return [Google::Apis::ClouddebuggerV2::
|
234
|
-
attr_accessor :
|
200
|
+
# An alias to a repo revision.
|
201
|
+
# Corresponds to the JSON property `aliasContext`
|
202
|
+
# @return [Google::Apis::ClouddebuggerV2::AliasContext]
|
203
|
+
attr_accessor :alias_context
|
204
|
+
|
205
|
+
# The name of an alias (branch, tag, etc.).
|
206
|
+
# Corresponds to the JSON property `aliasName`
|
207
|
+
# @return [String]
|
208
|
+
attr_accessor :alias_name
|
209
|
+
|
210
|
+
# A unique identifier for a cloud repo.
|
211
|
+
# Corresponds to the JSON property `repoId`
|
212
|
+
# @return [Google::Apis::ClouddebuggerV2::RepoId]
|
213
|
+
attr_accessor :repo_id
|
214
|
+
|
215
|
+
# A revision ID.
|
216
|
+
# Corresponds to the JSON property `revisionId`
|
217
|
+
# @return [String]
|
218
|
+
attr_accessor :revision_id
|
235
219
|
|
236
220
|
def initialize(**args)
|
237
221
|
update!(**args)
|
@@ -239,18 +223,29 @@ module Google
|
|
239
223
|
|
240
224
|
# Update properties of this object
|
241
225
|
def update!(**args)
|
242
|
-
@
|
226
|
+
@alias_context = args[:alias_context] if args.key?(:alias_context)
|
227
|
+
@alias_name = args[:alias_name] if args.key?(:alias_name)
|
228
|
+
@repo_id = args[:repo_id] if args.key?(:repo_id)
|
229
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
243
230
|
end
|
244
231
|
end
|
245
232
|
|
246
|
-
#
|
247
|
-
|
233
|
+
# A CloudWorkspaceId is a unique identifier for a cloud workspace.
|
234
|
+
# A cloud workspace is a place associated with a repo where modified files
|
235
|
+
# can be stored before they are committed.
|
236
|
+
class CloudWorkspaceId
|
248
237
|
include Google::Apis::Core::Hashable
|
249
238
|
|
250
|
-
#
|
251
|
-
#
|
252
|
-
#
|
253
|
-
|
239
|
+
# The unique name of the workspace within the repo. This is the name
|
240
|
+
# chosen by the client in the Source API's CreateWorkspace method.
|
241
|
+
# Corresponds to the JSON property `name`
|
242
|
+
# @return [String]
|
243
|
+
attr_accessor :name
|
244
|
+
|
245
|
+
# A unique identifier for a cloud repo.
|
246
|
+
# Corresponds to the JSON property `repoId`
|
247
|
+
# @return [Google::Apis::ClouddebuggerV2::RepoId]
|
248
|
+
attr_accessor :repo_id
|
254
249
|
|
255
250
|
def initialize(**args)
|
256
251
|
update!(**args)
|
@@ -258,36 +253,27 @@ module Google
|
|
258
253
|
|
259
254
|
# Update properties of this object
|
260
255
|
def update!(**args)
|
261
|
-
@
|
262
|
-
|
256
|
+
@name = args[:name] if args.key?(:name)
|
257
|
+
@repo_id = args[:repo_id] if args.key?(:repo_id)
|
258
|
+
end
|
263
259
|
end
|
264
260
|
|
265
|
-
# A
|
266
|
-
|
267
|
-
class SourceContext
|
261
|
+
# A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.
|
262
|
+
class CloudWorkspaceSourceContext
|
268
263
|
include Google::Apis::Core::Hashable
|
269
264
|
|
270
|
-
#
|
271
|
-
#
|
272
|
-
#
|
273
|
-
|
274
|
-
|
275
|
-
# A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.
|
276
|
-
# Corresponds to the JSON property `cloudWorkspace`
|
277
|
-
# @return [Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext]
|
278
|
-
attr_accessor :cloud_workspace
|
279
|
-
|
280
|
-
# A CloudRepoSourceContext denotes a particular revision in a cloud
|
281
|
-
# repo (a repo hosted by the Google Cloud Platform).
|
282
|
-
# Corresponds to the JSON property `cloudRepo`
|
283
|
-
# @return [Google::Apis::ClouddebuggerV2::CloudRepoSourceContext]
|
284
|
-
attr_accessor :cloud_repo
|
265
|
+
# The ID of the snapshot.
|
266
|
+
# An empty snapshot_id refers to the most recent snapshot.
|
267
|
+
# Corresponds to the JSON property `snapshotId`
|
268
|
+
# @return [String]
|
269
|
+
attr_accessor :snapshot_id
|
285
270
|
|
286
|
-
# A
|
287
|
-
#
|
288
|
-
#
|
289
|
-
#
|
290
|
-
|
271
|
+
# A CloudWorkspaceId is a unique identifier for a cloud workspace.
|
272
|
+
# A cloud workspace is a place associated with a repo where modified files
|
273
|
+
# can be stored before they are committed.
|
274
|
+
# Corresponds to the JSON property `workspaceId`
|
275
|
+
# @return [Google::Apis::ClouddebuggerV2::CloudWorkspaceId]
|
276
|
+
attr_accessor :workspace_id
|
291
277
|
|
292
278
|
def initialize(**args)
|
293
279
|
update!(**args)
|
@@ -295,37 +281,95 @@ module Google
|
|
295
281
|
|
296
282
|
# Update properties of this object
|
297
283
|
def update!(**args)
|
298
|
-
@
|
299
|
-
@
|
300
|
-
@cloud_repo = args[:cloud_repo] if args.key?(:cloud_repo)
|
301
|
-
@git = args[:git] if args.key?(:git)
|
284
|
+
@snapshot_id = args[:snapshot_id] if args.key?(:snapshot_id)
|
285
|
+
@workspace_id = args[:workspace_id] if args.key?(:workspace_id)
|
302
286
|
end
|
303
287
|
end
|
304
288
|
|
305
|
-
#
|
306
|
-
#
|
307
|
-
|
289
|
+
# Represents the debugged application. The application may include one or more
|
290
|
+
# replicated processes executing the same code. Each of these processes is
|
291
|
+
# attached with a debugger agent, carrying out the debugging commands.
|
292
|
+
# Agents attached to the same debuggee identify themselves as such by using
|
293
|
+
# exactly the same Debuggee message value when registering.
|
294
|
+
class Debuggee
|
308
295
|
include Google::Apis::Core::Hashable
|
309
296
|
|
310
|
-
#
|
311
|
-
#
|
312
|
-
#
|
313
|
-
|
297
|
+
# Version ID of the agent.
|
298
|
+
# Schema: `domain/language-platform/vmajor.minor` (for example
|
299
|
+
# `google.com/java-gcp/v1.1`).
|
300
|
+
# Corresponds to the JSON property `agentVersion`
|
301
|
+
# @return [String]
|
302
|
+
attr_accessor :agent_version
|
314
303
|
|
315
|
-
#
|
316
|
-
#
|
317
|
-
#
|
318
|
-
|
304
|
+
# Human readable description of the debuggee.
|
305
|
+
# Including a human-readable project name, environment name and version
|
306
|
+
# information is recommended.
|
307
|
+
# Corresponds to the JSON property `description`
|
308
|
+
# @return [String]
|
309
|
+
attr_accessor :description
|
319
310
|
|
320
|
-
#
|
321
|
-
#
|
311
|
+
# References to the locations and revisions of the source code used in the
|
312
|
+
# deployed application.
|
313
|
+
# NOTE: this field is experimental and can be ignored.
|
314
|
+
# Corresponds to the JSON property `extSourceContexts`
|
315
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::ExtendedSourceContext>]
|
316
|
+
attr_accessor :ext_source_contexts
|
317
|
+
|
318
|
+
# Unique identifier for the debuggee generated by the controller service.
|
319
|
+
# Corresponds to the JSON property `id`
|
322
320
|
# @return [String]
|
323
|
-
attr_accessor :
|
321
|
+
attr_accessor :id
|
324
322
|
|
325
|
-
#
|
326
|
-
#
|
323
|
+
# If set to `true`, indicates that the agent should disable itself and
|
324
|
+
# detach from the debuggee.
|
325
|
+
# Corresponds to the JSON property `isDisabled`
|
326
|
+
# @return [Boolean]
|
327
|
+
attr_accessor :is_disabled
|
328
|
+
alias_method :is_disabled?, :is_disabled
|
329
|
+
|
330
|
+
# If set to `true`, indicates that Controller service does not detect any
|
331
|
+
# activity from the debuggee agents and the application is possibly stopped.
|
332
|
+
# Corresponds to the JSON property `isInactive`
|
333
|
+
# @return [Boolean]
|
334
|
+
attr_accessor :is_inactive
|
335
|
+
alias_method :is_inactive?, :is_inactive
|
336
|
+
|
337
|
+
# A set of custom debuggee properties, populated by the agent, to be
|
338
|
+
# displayed to the user.
|
339
|
+
# Corresponds to the JSON property `labels`
|
340
|
+
# @return [Hash<String,String>]
|
341
|
+
attr_accessor :labels
|
342
|
+
|
343
|
+
# Project the debuggee is associated with.
|
344
|
+
# Use project number or id when registering a Google Cloud Platform project.
|
345
|
+
# Corresponds to the JSON property `project`
|
327
346
|
# @return [String]
|
328
|
-
attr_accessor :
|
347
|
+
attr_accessor :project
|
348
|
+
|
349
|
+
# References to the locations and revisions of the source code used in the
|
350
|
+
# deployed application.
|
351
|
+
# Corresponds to the JSON property `sourceContexts`
|
352
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::SourceContext>]
|
353
|
+
attr_accessor :source_contexts
|
354
|
+
|
355
|
+
# Represents a contextual status message.
|
356
|
+
# The message can indicate an error or informational status, and refer to
|
357
|
+
# specific parts of the containing object.
|
358
|
+
# For example, the `Breakpoint.status` field can indicate an error referring
|
359
|
+
# to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
|
360
|
+
# Corresponds to the JSON property `status`
|
361
|
+
# @return [Google::Apis::ClouddebuggerV2::StatusMessage]
|
362
|
+
attr_accessor :status
|
363
|
+
|
364
|
+
# Uniquifier to further distiguish the application.
|
365
|
+
# It is possible that different applications might have identical values in
|
366
|
+
# the debuggee message, thus, incorrectly identified as a single application
|
367
|
+
# by the Controller service. This field adds salt to further distiguish the
|
368
|
+
# application. Agents should consider seeding this field with value that
|
369
|
+
# identifies the code, binary, configuration and environment.
|
370
|
+
# Corresponds to the JSON property `uniquifier`
|
371
|
+
# @return [String]
|
372
|
+
attr_accessor :uniquifier
|
329
373
|
|
330
374
|
def initialize(**args)
|
331
375
|
update!(**args)
|
@@ -333,48 +377,54 @@ module Google
|
|
333
377
|
|
334
378
|
# Update properties of this object
|
335
379
|
def update!(**args)
|
336
|
-
@
|
337
|
-
@
|
338
|
-
@
|
339
|
-
@
|
380
|
+
@agent_version = args[:agent_version] if args.key?(:agent_version)
|
381
|
+
@description = args[:description] if args.key?(:description)
|
382
|
+
@ext_source_contexts = args[:ext_source_contexts] if args.key?(:ext_source_contexts)
|
383
|
+
@id = args[:id] if args.key?(:id)
|
384
|
+
@is_disabled = args[:is_disabled] if args.key?(:is_disabled)
|
385
|
+
@is_inactive = args[:is_inactive] if args.key?(:is_inactive)
|
386
|
+
@labels = args[:labels] if args.key?(:labels)
|
387
|
+
@project = args[:project] if args.key?(:project)
|
388
|
+
@source_contexts = args[:source_contexts] if args.key?(:source_contexts)
|
389
|
+
@status = args[:status] if args.key?(:status)
|
390
|
+
@uniquifier = args[:uniquifier] if args.key?(:uniquifier)
|
340
391
|
end
|
341
392
|
end
|
342
393
|
|
343
|
-
#
|
344
|
-
|
394
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
395
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
396
|
+
# or the response type of an API method. For instance:
|
397
|
+
# service Foo `
|
398
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
399
|
+
# `
|
400
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
401
|
+
class Empty
|
345
402
|
include Google::Apis::Core::Hashable
|
346
403
|
|
347
|
-
# Represents the application to debug. The application may include one or more
|
348
|
-
# replicated processes executing the same code. Each of these processes is
|
349
|
-
# attached with a debugger agent, carrying out the debugging commands.
|
350
|
-
# The agents attached to the same debuggee are identified by using exactly the
|
351
|
-
# same field values when registering.
|
352
|
-
# Corresponds to the JSON property `debuggee`
|
353
|
-
# @return [Google::Apis::ClouddebuggerV2::Debuggee]
|
354
|
-
attr_accessor :debuggee
|
355
|
-
|
356
404
|
def initialize(**args)
|
357
405
|
update!(**args)
|
358
406
|
end
|
359
407
|
|
360
408
|
# Update properties of this object
|
361
409
|
def update!(**args)
|
362
|
-
@debuggee = args[:debuggee] if args.key?(:debuggee)
|
363
410
|
end
|
364
411
|
end
|
365
412
|
|
366
|
-
#
|
367
|
-
|
413
|
+
# An ExtendedSourceContext is a SourceContext combined with additional
|
414
|
+
# details describing the context.
|
415
|
+
class ExtendedSourceContext
|
368
416
|
include Google::Apis::Core::Hashable
|
369
417
|
|
370
|
-
#
|
371
|
-
#
|
372
|
-
#
|
373
|
-
#
|
374
|
-
|
375
|
-
|
376
|
-
#
|
377
|
-
|
418
|
+
# A SourceContext is a reference to a tree of files. A SourceContext together
|
419
|
+
# with a path point to a unique revision of a single file or directory.
|
420
|
+
# Corresponds to the JSON property `context`
|
421
|
+
# @return [Google::Apis::ClouddebuggerV2::SourceContext]
|
422
|
+
attr_accessor :context
|
423
|
+
|
424
|
+
# Labels with user defined metadata.
|
425
|
+
# Corresponds to the JSON property `labels`
|
426
|
+
# @return [Hash<String,String>]
|
427
|
+
attr_accessor :labels
|
378
428
|
|
379
429
|
def initialize(**args)
|
380
430
|
update!(**args)
|
@@ -382,18 +432,30 @@ module Google
|
|
382
432
|
|
383
433
|
# Update properties of this object
|
384
434
|
def update!(**args)
|
385
|
-
@
|
435
|
+
@context = args[:context] if args.key?(:context)
|
436
|
+
@labels = args[:labels] if args.key?(:labels)
|
386
437
|
end
|
387
438
|
end
|
388
439
|
|
389
|
-
#
|
390
|
-
class
|
440
|
+
# Represents a message with parameters.
|
441
|
+
class FormatMessage
|
391
442
|
include Google::Apis::Core::Hashable
|
392
443
|
|
393
|
-
#
|
394
|
-
#
|
395
|
-
#
|
396
|
-
|
444
|
+
# Format template for the message. The `format` uses placeholders `$0`,
|
445
|
+
# `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
|
446
|
+
# character.
|
447
|
+
# Examples:
|
448
|
+
# * `Failed to load '$0' which helps debug $1 the first time it
|
449
|
+
# is loaded. Again, $0 is very important.`
|
450
|
+
# * `Please pay $$10 to use $0 instead of $1.`
|
451
|
+
# Corresponds to the JSON property `format`
|
452
|
+
# @return [String]
|
453
|
+
attr_accessor :format
|
454
|
+
|
455
|
+
# Optional parameters to be embedded into the message.
|
456
|
+
# Corresponds to the JSON property `parameters`
|
457
|
+
# @return [Array<String>]
|
458
|
+
attr_accessor :parameters
|
397
459
|
|
398
460
|
def initialize(**args)
|
399
461
|
update!(**args)
|
@@ -401,33 +463,41 @@ module Google
|
|
401
463
|
|
402
464
|
# Update properties of this object
|
403
465
|
def update!(**args)
|
404
|
-
@
|
466
|
+
@format = args[:format] if args.key?(:format)
|
467
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
405
468
|
end
|
406
469
|
end
|
407
470
|
|
408
|
-
#
|
409
|
-
|
410
|
-
# specific parts of the containing object.
|
411
|
-
# For example, the `Breakpoint.status` field can indicate an error referring
|
412
|
-
# to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
|
413
|
-
class StatusMessage
|
471
|
+
# A SourceContext referring to a Gerrit project.
|
472
|
+
class GerritSourceContext
|
414
473
|
include Google::Apis::Core::Hashable
|
415
474
|
|
416
|
-
#
|
417
|
-
# Corresponds to the JSON property `
|
418
|
-
# @return [Google::Apis::ClouddebuggerV2::
|
419
|
-
attr_accessor :
|
475
|
+
# An alias to a repo revision.
|
476
|
+
# Corresponds to the JSON property `aliasContext`
|
477
|
+
# @return [Google::Apis::ClouddebuggerV2::AliasContext]
|
478
|
+
attr_accessor :alias_context
|
420
479
|
|
421
|
-
#
|
422
|
-
# Corresponds to the JSON property `
|
423
|
-
# @return [
|
424
|
-
attr_accessor :
|
425
|
-
alias_method :is_error?, :is_error
|
480
|
+
# The name of an alias (branch, tag, etc.).
|
481
|
+
# Corresponds to the JSON property `aliasName`
|
482
|
+
# @return [String]
|
483
|
+
attr_accessor :alias_name
|
426
484
|
|
427
|
-
#
|
428
|
-
#
|
485
|
+
# The full project name within the host. Projects may be nested, so
|
486
|
+
# "project/subproject" is a valid project name.
|
487
|
+
# The "repo name" is hostURI/project.
|
488
|
+
# Corresponds to the JSON property `gerritProject`
|
429
489
|
# @return [String]
|
430
|
-
attr_accessor :
|
490
|
+
attr_accessor :gerrit_project
|
491
|
+
|
492
|
+
# The URI of a running Gerrit instance.
|
493
|
+
# Corresponds to the JSON property `hostUri`
|
494
|
+
# @return [String]
|
495
|
+
attr_accessor :host_uri
|
496
|
+
|
497
|
+
# A revision (commit) ID.
|
498
|
+
# Corresponds to the JSON property `revisionId`
|
499
|
+
# @return [String]
|
500
|
+
attr_accessor :revision_id
|
431
501
|
|
432
502
|
def initialize(**args)
|
433
503
|
update!(**args)
|
@@ -435,13 +505,34 @@ module Google
|
|
435
505
|
|
436
506
|
# Update properties of this object
|
437
507
|
def update!(**args)
|
438
|
-
@
|
439
|
-
@
|
440
|
-
@
|
508
|
+
@alias_context = args[:alias_context] if args.key?(:alias_context)
|
509
|
+
@alias_name = args[:alias_name] if args.key?(:alias_name)
|
510
|
+
@gerrit_project = args[:gerrit_project] if args.key?(:gerrit_project)
|
511
|
+
@host_uri = args[:host_uri] if args.key?(:host_uri)
|
512
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
441
513
|
end
|
442
514
|
end
|
443
515
|
|
444
|
-
#
|
516
|
+
# Response for getting breakpoint information.
|
517
|
+
class GetBreakpointResponse
|
518
|
+
include Google::Apis::Core::Hashable
|
519
|
+
|
520
|
+
# Represents the breakpoint specification, status and results.
|
521
|
+
# Corresponds to the JSON property `breakpoint`
|
522
|
+
# @return [Google::Apis::ClouddebuggerV2::Breakpoint]
|
523
|
+
attr_accessor :breakpoint
|
524
|
+
|
525
|
+
def initialize(**args)
|
526
|
+
update!(**args)
|
527
|
+
end
|
528
|
+
|
529
|
+
# Update properties of this object
|
530
|
+
def update!(**args)
|
531
|
+
@breakpoint = args[:breakpoint] if args.key?(:breakpoint)
|
532
|
+
end
|
533
|
+
end
|
534
|
+
|
535
|
+
# A GitSourceContext denotes a particular revision in a third party Git
|
445
536
|
# repository (e.g. GitHub).
|
446
537
|
class GitSourceContext
|
447
538
|
include Google::Apis::Core::Hashable
|
@@ -468,129 +559,29 @@ module Google
|
|
468
559
|
end
|
469
560
|
end
|
470
561
|
|
471
|
-
#
|
472
|
-
|
473
|
-
# 1) A simple variable:
|
474
|
-
# int x = 5
|
475
|
-
# ` name: "x", value: "5", type: "int" ` // Captured variable
|
476
|
-
# 2) A compound object:
|
477
|
-
# struct T `
|
478
|
-
# int m1;
|
479
|
-
# int m2;
|
480
|
-
# `;
|
481
|
-
# T x = ` 3, 7 `;
|
482
|
-
# ` // Captured variable
|
483
|
-
# name: "x",
|
484
|
-
# type: "T",
|
485
|
-
# members ` name: "m1", value: "3", type: "int" `,
|
486
|
-
# members ` name: "m2", value: "7", type: "int" `
|
487
|
-
# `
|
488
|
-
# 3) A pointer where the pointee was captured:
|
489
|
-
# T x = ` 3, 7 `;
|
490
|
-
# T* p = &x;
|
491
|
-
# ` // Captured variable
|
492
|
-
# name: "p",
|
493
|
-
# type: "T*",
|
494
|
-
# value: "0x00500500",
|
495
|
-
# members ` name: "m1", value: "3", type: "int" `,
|
496
|
-
# members ` name: "m2", value: "7", type: "int" `
|
497
|
-
# `
|
498
|
-
# 4) A pointer where the pointee was not captured:
|
499
|
-
# T* p = new T;
|
500
|
-
# ` // Captured variable
|
501
|
-
# name: "p",
|
502
|
-
# type: "T*",
|
503
|
-
# value: "0x00400400"
|
504
|
-
# status ` is_error: true, description ` format: "unavailable" ` `
|
505
|
-
# `
|
506
|
-
# The status should describe the reason for the missing value,
|
507
|
-
# such as `<optimized out>`, `<inaccessible>`, `<pointers limit reached>`.
|
508
|
-
# Note that a null pointer should not have members.
|
509
|
-
# 5) An unnamed value:
|
510
|
-
# int* p = new int(7);
|
511
|
-
# ` // Captured variable
|
512
|
-
# name: "p",
|
513
|
-
# value: "0x00500500",
|
514
|
-
# type: "int*",
|
515
|
-
# members ` value: "7", type: "int" ` `
|
516
|
-
# 6) An unnamed pointer where the pointee was not captured:
|
517
|
-
# int* p = new int(7);
|
518
|
-
# int** pp = &p;
|
519
|
-
# ` // Captured variable
|
520
|
-
# name: "pp",
|
521
|
-
# value: "0x00500500",
|
522
|
-
# type: "int**",
|
523
|
-
# members `
|
524
|
-
# value: "0x00400400",
|
525
|
-
# type: "int*"
|
526
|
-
# status `
|
527
|
-
# is_error: true,
|
528
|
-
# description: ` format: "unavailable" ` `
|
529
|
-
# `
|
530
|
-
# `
|
531
|
-
# `
|
532
|
-
# To optimize computation, memory and network traffic, variables that
|
533
|
-
# repeat in the output multiple times can be stored once in a shared
|
534
|
-
# variable table and be referenced using the `var_table_index` field. The
|
535
|
-
# variables stored in the shared table are nameless and are essentially
|
536
|
-
# a partition of the complete variable. To reconstruct the complete
|
537
|
-
# variable, merge the referencing variable with the referenced variable.
|
538
|
-
# When using the shared variable table, the following variables:
|
539
|
-
# T x = ` 3, 7 `;
|
540
|
-
# T* p = &x;
|
541
|
-
# T& r = x;
|
542
|
-
# ` name: "x", var_table_index: 3, type: "T" ` // Captured variables
|
543
|
-
# ` name: "p", value "0x00500500", type="T*", var_table_index: 3 `
|
544
|
-
# ` name: "r", type="T&", var_table_index: 3 `
|
545
|
-
# ` // Shared variable table entry #3:
|
546
|
-
# members ` name: "m1", value: "3", type: "int" `,
|
547
|
-
# members ` name: "m2", value: "7", type: "int" `
|
548
|
-
# `
|
549
|
-
# Note that the pointer address is stored with the referencing variable
|
550
|
-
# and not with the referenced variable. This allows the referenced variable
|
551
|
-
# to be shared between pointers and references.
|
552
|
-
# The type field is optional. The debugger agent may or may not support it.
|
553
|
-
class Variable
|
562
|
+
# Response for listing active breakpoints.
|
563
|
+
class ListActiveBreakpointsResponse
|
554
564
|
include Google::Apis::Core::Hashable
|
555
565
|
|
556
|
-
#
|
557
|
-
#
|
558
|
-
#
|
559
|
-
|
560
|
-
|
561
|
-
# Represents a contextual status message.
|
562
|
-
# The message can indicate an error or informational status, and refer to
|
563
|
-
# specific parts of the containing object.
|
564
|
-
# For example, the `Breakpoint.status` field can indicate an error referring
|
565
|
-
# to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
|
566
|
-
# Corresponds to the JSON property `status`
|
567
|
-
# @return [Google::Apis::ClouddebuggerV2::StatusMessage]
|
568
|
-
attr_accessor :status
|
569
|
-
|
570
|
-
# Name of the variable, if any.
|
571
|
-
# Corresponds to the JSON property `name`
|
572
|
-
# @return [String]
|
573
|
-
attr_accessor :name
|
566
|
+
# List of all active breakpoints.
|
567
|
+
# The fields `id` and `location` are guaranteed to be set on each breakpoint.
|
568
|
+
# Corresponds to the JSON property `breakpoints`
|
569
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::Breakpoint>]
|
570
|
+
attr_accessor :breakpoints
|
574
571
|
|
575
|
-
#
|
576
|
-
#
|
577
|
-
#
|
578
|
-
# rather than a static type of an object.
|
579
|
-
# Corresponds to the JSON property `type`
|
572
|
+
# A token that can be used in the next method call to block until
|
573
|
+
# the list of breakpoints changes.
|
574
|
+
# Corresponds to the JSON property `nextWaitToken`
|
580
575
|
# @return [String]
|
581
|
-
attr_accessor :
|
582
|
-
|
583
|
-
# Reference to a variable in the shared variable table. More than
|
584
|
-
# one variable can reference the same variable in the table. The
|
585
|
-
# `var_table_index` field is an index into `variable_table` in Breakpoint.
|
586
|
-
# Corresponds to the JSON property `varTableIndex`
|
587
|
-
# @return [Fixnum]
|
588
|
-
attr_accessor :var_table_index
|
576
|
+
attr_accessor :next_wait_token
|
589
577
|
|
590
|
-
#
|
591
|
-
#
|
592
|
-
#
|
593
|
-
|
578
|
+
# If set to `true`, indicates that there is no change to the
|
579
|
+
# list of active breakpoints and the server-selected timeout has expired.
|
580
|
+
# The `breakpoints` field would be empty and should be ignored.
|
581
|
+
# Corresponds to the JSON property `waitExpired`
|
582
|
+
# @return [Boolean]
|
583
|
+
attr_accessor :wait_expired
|
584
|
+
alias_method :wait_expired?, :wait_expired
|
594
585
|
|
595
586
|
def initialize(**args)
|
596
587
|
update!(**args)
|
@@ -598,40 +589,29 @@ module Google
|
|
598
589
|
|
599
590
|
# Update properties of this object
|
600
591
|
def update!(**args)
|
601
|
-
@
|
602
|
-
@
|
603
|
-
@
|
604
|
-
@type = args[:type] if args.key?(:type)
|
605
|
-
@var_table_index = args[:var_table_index] if args.key?(:var_table_index)
|
606
|
-
@value = args[:value] if args.key?(:value)
|
592
|
+
@breakpoints = args[:breakpoints] if args.key?(:breakpoints)
|
593
|
+
@next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token)
|
594
|
+
@wait_expired = args[:wait_expired] if args.key?(:wait_expired)
|
607
595
|
end
|
608
596
|
end
|
609
597
|
|
610
|
-
#
|
611
|
-
class
|
598
|
+
# Response for listing breakpoints.
|
599
|
+
class ListBreakpointsResponse
|
612
600
|
include Google::Apis::Core::Hashable
|
613
601
|
|
614
|
-
#
|
615
|
-
#
|
616
|
-
#
|
617
|
-
|
618
|
-
|
619
|
-
#
|
620
|
-
|
621
|
-
# Corresponds to the JSON property `arguments`
|
622
|
-
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
623
|
-
attr_accessor :arguments
|
624
|
-
|
625
|
-
# Set of local variables at the stack frame location.
|
626
|
-
# Note that this might not be populated for all stack frames.
|
627
|
-
# Corresponds to the JSON property `locals`
|
628
|
-
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
629
|
-
attr_accessor :locals
|
602
|
+
# List of breakpoints matching the request.
|
603
|
+
# The fields `id` and `location` are guaranteed to be set on each breakpoint.
|
604
|
+
# The fields: `stack_frames`, `evaluated_expressions` and `variable_table`
|
605
|
+
# are cleared on each breakpoint regardless of its status.
|
606
|
+
# Corresponds to the JSON property `breakpoints`
|
607
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::Breakpoint>]
|
608
|
+
attr_accessor :breakpoints
|
630
609
|
|
631
|
-
#
|
632
|
-
#
|
633
|
-
#
|
634
|
-
|
610
|
+
# A wait token that can be used in the next call to `list` (REST) or
|
611
|
+
# `ListBreakpoints` (RPC) to block until the list of breakpoints has changes.
|
612
|
+
# Corresponds to the JSON property `nextWaitToken`
|
613
|
+
# @return [String]
|
614
|
+
attr_accessor :next_wait_token
|
635
615
|
|
636
616
|
def initialize(**args)
|
637
617
|
update!(**args)
|
@@ -639,27 +619,22 @@ module Google
|
|
639
619
|
|
640
620
|
# Update properties of this object
|
641
621
|
def update!(**args)
|
642
|
-
@
|
643
|
-
@
|
644
|
-
@locals = args[:locals] if args.key?(:locals)
|
645
|
-
@location = args[:location] if args.key?(:location)
|
622
|
+
@breakpoints = args[:breakpoints] if args.key?(:breakpoints)
|
623
|
+
@next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token)
|
646
624
|
end
|
647
625
|
end
|
648
626
|
|
649
|
-
#
|
650
|
-
class
|
627
|
+
# Response for listing debuggees.
|
628
|
+
class ListDebuggeesResponse
|
651
629
|
include Google::Apis::Core::Hashable
|
652
630
|
|
653
|
-
#
|
654
|
-
#
|
655
|
-
#
|
656
|
-
|
657
|
-
|
658
|
-
#
|
659
|
-
|
660
|
-
# Corresponds to the JSON property `projectRepoId`
|
661
|
-
# @return [Google::Apis::ClouddebuggerV2::ProjectRepoId]
|
662
|
-
attr_accessor :project_repo_id
|
631
|
+
# List of debuggees accessible to the calling user.
|
632
|
+
# The fields `debuggee.id` and `description` are guaranteed to be set.
|
633
|
+
# The `description` field is a human readable field provided by agents and
|
634
|
+
# can be displayed to users.
|
635
|
+
# Corresponds to the JSON property `debuggees`
|
636
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::Debuggee>]
|
637
|
+
attr_accessor :debuggees
|
663
638
|
|
664
639
|
def initialize(**args)
|
665
640
|
update!(**args)
|
@@ -667,30 +642,24 @@ module Google
|
|
667
642
|
|
668
643
|
# Update properties of this object
|
669
644
|
def update!(**args)
|
670
|
-
@
|
671
|
-
@project_repo_id = args[:project_repo_id] if args.key?(:project_repo_id)
|
645
|
+
@debuggees = args[:debuggees] if args.key?(:debuggees)
|
672
646
|
end
|
673
647
|
end
|
674
648
|
|
675
|
-
#
|
676
|
-
|
649
|
+
# Selects a repo using a Google Cloud Platform project ID
|
650
|
+
# (e.g. winged-cargo-31) and a repo name within that project.
|
651
|
+
class ProjectRepoId
|
677
652
|
include Google::Apis::Core::Hashable
|
678
653
|
|
679
|
-
#
|
680
|
-
# Corresponds to the JSON property `
|
681
|
-
# @return [
|
682
|
-
attr_accessor :
|
654
|
+
# The ID of the project.
|
655
|
+
# Corresponds to the JSON property `projectId`
|
656
|
+
# @return [String]
|
657
|
+
attr_accessor :project_id
|
683
658
|
|
684
|
-
#
|
685
|
-
#
|
686
|
-
# character.
|
687
|
-
# Examples:
|
688
|
-
# * `Failed to load '$0' which helps debug $1 the first time it
|
689
|
-
# is loaded. Again, $0 is very important.`
|
690
|
-
# * `Please pay $$10 to use $0 instead of $1.`
|
691
|
-
# Corresponds to the JSON property `format`
|
659
|
+
# The name of the repo. Leave empty for the default repo.
|
660
|
+
# Corresponds to the JSON property `repoName`
|
692
661
|
# @return [String]
|
693
|
-
attr_accessor :
|
662
|
+
attr_accessor :repo_name
|
694
663
|
|
695
664
|
def initialize(**args)
|
696
665
|
update!(**args)
|
@@ -698,26 +667,23 @@ module Google
|
|
698
667
|
|
699
668
|
# Update properties of this object
|
700
669
|
def update!(**args)
|
701
|
-
@
|
702
|
-
@
|
670
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
671
|
+
@repo_name = args[:repo_name] if args.key?(:repo_name)
|
703
672
|
end
|
704
673
|
end
|
705
674
|
|
706
|
-
#
|
707
|
-
|
708
|
-
|
709
|
-
include Google::Apis::Core::Hashable
|
710
|
-
|
711
|
-
# A SourceContext is a reference to a tree of files. A SourceContext together
|
712
|
-
# with a path point to a unique revision of a single file or directory.
|
713
|
-
# Corresponds to the JSON property `context`
|
714
|
-
# @return [Google::Apis::ClouddebuggerV2::SourceContext]
|
715
|
-
attr_accessor :context
|
675
|
+
# Request to register a debuggee.
|
676
|
+
class RegisterDebuggeeRequest
|
677
|
+
include Google::Apis::Core::Hashable
|
716
678
|
|
717
|
-
#
|
718
|
-
#
|
719
|
-
#
|
720
|
-
|
679
|
+
# Represents the debugged application. The application may include one or more
|
680
|
+
# replicated processes executing the same code. Each of these processes is
|
681
|
+
# attached with a debugger agent, carrying out the debugging commands.
|
682
|
+
# Agents attached to the same debuggee identify themselves as such by using
|
683
|
+
# exactly the same Debuggee message value when registering.
|
684
|
+
# Corresponds to the JSON property `debuggee`
|
685
|
+
# @return [Google::Apis::ClouddebuggerV2::Debuggee]
|
686
|
+
attr_accessor :debuggee
|
721
687
|
|
722
688
|
def initialize(**args)
|
723
689
|
update!(**args)
|
@@ -725,23 +691,22 @@ module Google
|
|
725
691
|
|
726
692
|
# Update properties of this object
|
727
693
|
def update!(**args)
|
728
|
-
@
|
729
|
-
@labels = args[:labels] if args.key?(:labels)
|
694
|
+
@debuggee = args[:debuggee] if args.key?(:debuggee)
|
730
695
|
end
|
731
696
|
end
|
732
697
|
|
733
|
-
# Response for
|
734
|
-
class
|
698
|
+
# Response for registering a debuggee.
|
699
|
+
class RegisterDebuggeeResponse
|
735
700
|
include Google::Apis::Core::Hashable
|
736
701
|
|
737
|
-
#
|
738
|
-
#
|
739
|
-
#
|
740
|
-
#
|
741
|
-
#
|
742
|
-
# Corresponds to the JSON property `
|
743
|
-
# @return [
|
744
|
-
attr_accessor :
|
702
|
+
# Represents the debugged application. The application may include one or more
|
703
|
+
# replicated processes executing the same code. Each of these processes is
|
704
|
+
# attached with a debugger agent, carrying out the debugging commands.
|
705
|
+
# Agents attached to the same debuggee identify themselves as such by using
|
706
|
+
# exactly the same Debuggee message value when registering.
|
707
|
+
# Corresponds to the JSON property `debuggee`
|
708
|
+
# @return [Google::Apis::ClouddebuggerV2::Debuggee]
|
709
|
+
attr_accessor :debuggee
|
745
710
|
|
746
711
|
def initialize(**args)
|
747
712
|
update!(**args)
|
@@ -749,23 +714,24 @@ module Google
|
|
749
714
|
|
750
715
|
# Update properties of this object
|
751
716
|
def update!(**args)
|
752
|
-
@
|
717
|
+
@debuggee = args[:debuggee] if args.key?(:debuggee)
|
753
718
|
end
|
754
719
|
end
|
755
720
|
|
756
|
-
#
|
757
|
-
class
|
721
|
+
# A unique identifier for a cloud repo.
|
722
|
+
class RepoId
|
758
723
|
include Google::Apis::Core::Hashable
|
759
724
|
|
760
|
-
#
|
761
|
-
#
|
762
|
-
#
|
763
|
-
|
725
|
+
# Selects a repo using a Google Cloud Platform project ID
|
726
|
+
# (e.g. winged-cargo-31) and a repo name within that project.
|
727
|
+
# Corresponds to the JSON property `projectRepoId`
|
728
|
+
# @return [Google::Apis::ClouddebuggerV2::ProjectRepoId]
|
729
|
+
attr_accessor :project_repo_id
|
764
730
|
|
765
|
-
#
|
766
|
-
# Corresponds to the JSON property `
|
731
|
+
# A server-assigned, globally unique identifier.
|
732
|
+
# Corresponds to the JSON property `uid`
|
767
733
|
# @return [String]
|
768
|
-
attr_accessor :
|
734
|
+
attr_accessor :uid
|
769
735
|
|
770
736
|
def initialize(**args)
|
771
737
|
update!(**args)
|
@@ -773,43 +739,56 @@ module Google
|
|
773
739
|
|
774
740
|
# Update properties of this object
|
775
741
|
def update!(**args)
|
776
|
-
@
|
777
|
-
@
|
742
|
+
@project_repo_id = args[:project_repo_id] if args.key?(:project_repo_id)
|
743
|
+
@uid = args[:uid] if args.key?(:uid)
|
778
744
|
end
|
779
745
|
end
|
780
746
|
|
781
|
-
#
|
782
|
-
|
783
|
-
# or the response type of an API method. For instance:
|
784
|
-
# service Foo `
|
785
|
-
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
786
|
-
# `
|
787
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
788
|
-
class Empty
|
747
|
+
# Response for setting a breakpoint.
|
748
|
+
class SetBreakpointResponse
|
789
749
|
include Google::Apis::Core::Hashable
|
790
750
|
|
751
|
+
# Represents the breakpoint specification, status and results.
|
752
|
+
# Corresponds to the JSON property `breakpoint`
|
753
|
+
# @return [Google::Apis::ClouddebuggerV2::Breakpoint]
|
754
|
+
attr_accessor :breakpoint
|
755
|
+
|
791
756
|
def initialize(**args)
|
792
757
|
update!(**args)
|
793
758
|
end
|
794
759
|
|
795
760
|
# Update properties of this object
|
796
761
|
def update!(**args)
|
762
|
+
@breakpoint = args[:breakpoint] if args.key?(:breakpoint)
|
797
763
|
end
|
798
764
|
end
|
799
765
|
|
800
|
-
#
|
801
|
-
|
766
|
+
# A SourceContext is a reference to a tree of files. A SourceContext together
|
767
|
+
# with a path point to a unique revision of a single file or directory.
|
768
|
+
class SourceContext
|
802
769
|
include Google::Apis::Core::Hashable
|
803
770
|
|
804
|
-
#
|
805
|
-
#
|
806
|
-
#
|
807
|
-
|
771
|
+
# A CloudRepoSourceContext denotes a particular revision in a cloud
|
772
|
+
# repo (a repo hosted by the Google Cloud Platform).
|
773
|
+
# Corresponds to the JSON property `cloudRepo`
|
774
|
+
# @return [Google::Apis::ClouddebuggerV2::CloudRepoSourceContext]
|
775
|
+
attr_accessor :cloud_repo
|
808
776
|
|
809
|
-
#
|
810
|
-
# Corresponds to the JSON property `
|
811
|
-
# @return [
|
812
|
-
attr_accessor :
|
777
|
+
# A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.
|
778
|
+
# Corresponds to the JSON property `cloudWorkspace`
|
779
|
+
# @return [Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext]
|
780
|
+
attr_accessor :cloud_workspace
|
781
|
+
|
782
|
+
# A SourceContext referring to a Gerrit project.
|
783
|
+
# Corresponds to the JSON property `gerrit`
|
784
|
+
# @return [Google::Apis::ClouddebuggerV2::GerritSourceContext]
|
785
|
+
attr_accessor :gerrit
|
786
|
+
|
787
|
+
# A GitSourceContext denotes a particular revision in a third party Git
|
788
|
+
# repository (e.g. GitHub).
|
789
|
+
# Corresponds to the JSON property `git`
|
790
|
+
# @return [Google::Apis::ClouddebuggerV2::GitSourceContext]
|
791
|
+
attr_accessor :git
|
813
792
|
|
814
793
|
def initialize(**args)
|
815
794
|
update!(**args)
|
@@ -817,97 +796,26 @@ module Google
|
|
817
796
|
|
818
797
|
# Update properties of this object
|
819
798
|
def update!(**args)
|
820
|
-
@
|
821
|
-
@
|
799
|
+
@cloud_repo = args[:cloud_repo] if args.key?(:cloud_repo)
|
800
|
+
@cloud_workspace = args[:cloud_workspace] if args.key?(:cloud_workspace)
|
801
|
+
@gerrit = args[:gerrit] if args.key?(:gerrit)
|
802
|
+
@git = args[:git] if args.key?(:git)
|
822
803
|
end
|
823
804
|
end
|
824
805
|
|
825
|
-
# Represents
|
826
|
-
|
827
|
-
# attached with a debugger agent, carrying out the debugging commands.
|
828
|
-
# The agents attached to the same debuggee are identified by using exactly the
|
829
|
-
# same field values when registering.
|
830
|
-
class Debuggee
|
806
|
+
# Represents a location in the source code.
|
807
|
+
class SourceLocation
|
831
808
|
include Google::Apis::Core::Hashable
|
832
809
|
|
833
|
-
#
|
834
|
-
#
|
835
|
-
#
|
836
|
-
|
837
|
-
# @return [String]
|
838
|
-
attr_accessor :description
|
839
|
-
|
840
|
-
# Debuggee uniquifier within the project.
|
841
|
-
# Any string that identifies the application within the project can be used.
|
842
|
-
# Including environment and version or build IDs is recommended.
|
843
|
-
# Corresponds to the JSON property `uniquifier`
|
844
|
-
# @return [String]
|
845
|
-
attr_accessor :uniquifier
|
846
|
-
|
847
|
-
# References to the locations and revisions of the source code used in the
|
848
|
-
# deployed application.
|
849
|
-
# NOTE: This field is deprecated. Consumers should use
|
850
|
-
# `ext_source_contexts` if it is not empty. Debug agents should populate
|
851
|
-
# both this field and `ext_source_contexts`.
|
852
|
-
# Corresponds to the JSON property `sourceContexts`
|
853
|
-
# @return [Array<Google::Apis::ClouddebuggerV2::SourceContext>]
|
854
|
-
attr_accessor :source_contexts
|
855
|
-
|
856
|
-
# References to the locations and revisions of the source code used in the
|
857
|
-
# deployed application.
|
858
|
-
# Contexts describing a remote repo related to the source code
|
859
|
-
# have a `category` label of `remote_repo`. Source snapshot source
|
860
|
-
# contexts have a `category` of `snapshot`.
|
861
|
-
# Corresponds to the JSON property `extSourceContexts`
|
862
|
-
# @return [Array<Google::Apis::ClouddebuggerV2::ExtendedSourceContext>]
|
863
|
-
attr_accessor :ext_source_contexts
|
864
|
-
|
865
|
-
# A set of custom debuggee properties, populated by the agent, to be
|
866
|
-
# displayed to the user.
|
867
|
-
# Corresponds to the JSON property `labels`
|
868
|
-
# @return [Hash<String,String>]
|
869
|
-
attr_accessor :labels
|
870
|
-
|
871
|
-
# If set to `true`, indicates that the debuggee is considered as inactive by
|
872
|
-
# the Controller service.
|
873
|
-
# Corresponds to the JSON property `isInactive`
|
874
|
-
# @return [Boolean]
|
875
|
-
attr_accessor :is_inactive
|
876
|
-
alias_method :is_inactive?, :is_inactive
|
877
|
-
|
878
|
-
# Represents a contextual status message.
|
879
|
-
# The message can indicate an error or informational status, and refer to
|
880
|
-
# specific parts of the containing object.
|
881
|
-
# For example, the `Breakpoint.status` field can indicate an error referring
|
882
|
-
# to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
|
883
|
-
# Corresponds to the JSON property `status`
|
884
|
-
# @return [Google::Apis::ClouddebuggerV2::StatusMessage]
|
885
|
-
attr_accessor :status
|
886
|
-
|
887
|
-
# Project the debuggee is associated with.
|
888
|
-
# Use the project number when registering a Google Cloud Platform project.
|
889
|
-
# Corresponds to the JSON property `project`
|
890
|
-
# @return [String]
|
891
|
-
attr_accessor :project
|
892
|
-
|
893
|
-
# If set to `true`, indicates that the agent should disable itself and
|
894
|
-
# detach from the debuggee.
|
895
|
-
# Corresponds to the JSON property `isDisabled`
|
896
|
-
# @return [Boolean]
|
897
|
-
attr_accessor :is_disabled
|
898
|
-
alias_method :is_disabled?, :is_disabled
|
899
|
-
|
900
|
-
# Version ID of the agent release. The version ID is structured as
|
901
|
-
# following: `domain/type/vmajor.minor` (for example
|
902
|
-
# `google.com/gcp-java/v1.1`).
|
903
|
-
# Corresponds to the JSON property `agentVersion`
|
904
|
-
# @return [String]
|
905
|
-
attr_accessor :agent_version
|
810
|
+
# Line inside the file. The first line in the file has the value `1`.
|
811
|
+
# Corresponds to the JSON property `line`
|
812
|
+
# @return [Fixnum]
|
813
|
+
attr_accessor :line
|
906
814
|
|
907
|
-
#
|
908
|
-
# Corresponds to the JSON property `
|
815
|
+
# Path to the source file within the source context of the target binary.
|
816
|
+
# Corresponds to the JSON property `path`
|
909
817
|
# @return [String]
|
910
|
-
attr_accessor :
|
818
|
+
attr_accessor :path
|
911
819
|
|
912
820
|
def initialize(**args)
|
913
821
|
update!(**args)
|
@@ -915,34 +823,36 @@ module Google
|
|
915
823
|
|
916
824
|
# Update properties of this object
|
917
825
|
def update!(**args)
|
918
|
-
@
|
919
|
-
@
|
920
|
-
@source_contexts = args[:source_contexts] if args.key?(:source_contexts)
|
921
|
-
@ext_source_contexts = args[:ext_source_contexts] if args.key?(:ext_source_contexts)
|
922
|
-
@labels = args[:labels] if args.key?(:labels)
|
923
|
-
@is_inactive = args[:is_inactive] if args.key?(:is_inactive)
|
924
|
-
@status = args[:status] if args.key?(:status)
|
925
|
-
@project = args[:project] if args.key?(:project)
|
926
|
-
@is_disabled = args[:is_disabled] if args.key?(:is_disabled)
|
927
|
-
@agent_version = args[:agent_version] if args.key?(:agent_version)
|
928
|
-
@id = args[:id] if args.key?(:id)
|
826
|
+
@line = args[:line] if args.key?(:line)
|
827
|
+
@path = args[:path] if args.key?(:path)
|
929
828
|
end
|
930
829
|
end
|
931
830
|
|
932
|
-
#
|
933
|
-
|
934
|
-
class ProjectRepoId
|
831
|
+
# Represents a stack frame context.
|
832
|
+
class StackFrame
|
935
833
|
include Google::Apis::Core::Hashable
|
936
834
|
|
937
|
-
#
|
938
|
-
#
|
939
|
-
#
|
940
|
-
|
835
|
+
# Set of arguments passed to this function.
|
836
|
+
# Note that this might not be populated for all stack frames.
|
837
|
+
# Corresponds to the JSON property `arguments`
|
838
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
839
|
+
attr_accessor :arguments
|
941
840
|
|
942
|
-
#
|
943
|
-
# Corresponds to the JSON property `
|
841
|
+
# Demangled function name at the call site.
|
842
|
+
# Corresponds to the JSON property `function`
|
944
843
|
# @return [String]
|
945
|
-
attr_accessor :
|
844
|
+
attr_accessor :function
|
845
|
+
|
846
|
+
# Set of local variables at the stack frame location.
|
847
|
+
# Note that this might not be populated for all stack frames.
|
848
|
+
# Corresponds to the JSON property `locals`
|
849
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
850
|
+
attr_accessor :locals
|
851
|
+
|
852
|
+
# Represents a location in the source code.
|
853
|
+
# Corresponds to the JSON property `location`
|
854
|
+
# @return [Google::Apis::ClouddebuggerV2::SourceLocation]
|
855
|
+
attr_accessor :location
|
946
856
|
|
947
857
|
def initialize(**args)
|
948
858
|
update!(**args)
|
@@ -950,33 +860,36 @@ module Google
|
|
950
860
|
|
951
861
|
# Update properties of this object
|
952
862
|
def update!(**args)
|
953
|
-
@
|
954
|
-
@
|
863
|
+
@arguments = args[:arguments] if args.key?(:arguments)
|
864
|
+
@function = args[:function] if args.key?(:function)
|
865
|
+
@locals = args[:locals] if args.key?(:locals)
|
866
|
+
@location = args[:location] if args.key?(:location)
|
955
867
|
end
|
956
868
|
end
|
957
869
|
|
958
|
-
#
|
959
|
-
|
870
|
+
# Represents a contextual status message.
|
871
|
+
# The message can indicate an error or informational status, and refer to
|
872
|
+
# specific parts of the containing object.
|
873
|
+
# For example, the `Breakpoint.status` field can indicate an error referring
|
874
|
+
# to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
|
875
|
+
class StatusMessage
|
960
876
|
include Google::Apis::Core::Hashable
|
961
877
|
|
962
|
-
#
|
963
|
-
#
|
964
|
-
#
|
878
|
+
# Represents a message with parameters.
|
879
|
+
# Corresponds to the JSON property `description`
|
880
|
+
# @return [Google::Apis::ClouddebuggerV2::FormatMessage]
|
881
|
+
attr_accessor :description
|
882
|
+
|
883
|
+
# Distinguishes errors from informational messages.
|
884
|
+
# Corresponds to the JSON property `isError`
|
965
885
|
# @return [Boolean]
|
966
|
-
attr_accessor :
|
967
|
-
alias_method :
|
886
|
+
attr_accessor :is_error
|
887
|
+
alias_method :is_error?, :is_error
|
968
888
|
|
969
|
-
#
|
970
|
-
# the
|
971
|
-
# Corresponds to the JSON property `nextWaitToken`
|
889
|
+
# Reference to which the message applies.
|
890
|
+
# Corresponds to the JSON property `refersTo`
|
972
891
|
# @return [String]
|
973
|
-
attr_accessor :
|
974
|
-
|
975
|
-
# List of all active breakpoints.
|
976
|
-
# The fields `id` and `location` are guaranteed to be set on each breakpoint.
|
977
|
-
# Corresponds to the JSON property `breakpoints`
|
978
|
-
# @return [Array<Google::Apis::ClouddebuggerV2::Breakpoint>]
|
979
|
-
attr_accessor :breakpoints
|
892
|
+
attr_accessor :refers_to
|
980
893
|
|
981
894
|
def initialize(**args)
|
982
895
|
update!(**args)
|
@@ -984,28 +897,20 @@ module Google
|
|
984
897
|
|
985
898
|
# Update properties of this object
|
986
899
|
def update!(**args)
|
987
|
-
@
|
988
|
-
@
|
989
|
-
@
|
900
|
+
@description = args[:description] if args.key?(:description)
|
901
|
+
@is_error = args[:is_error] if args.key?(:is_error)
|
902
|
+
@refers_to = args[:refers_to] if args.key?(:refers_to)
|
990
903
|
end
|
991
904
|
end
|
992
905
|
|
993
|
-
#
|
994
|
-
class
|
906
|
+
# Request to update an active breakpoint.
|
907
|
+
class UpdateActiveBreakpointRequest
|
995
908
|
include Google::Apis::Core::Hashable
|
996
909
|
|
997
|
-
#
|
998
|
-
#
|
999
|
-
#
|
1000
|
-
|
1001
|
-
attr_accessor :snapshot_id
|
1002
|
-
|
1003
|
-
# A CloudWorkspaceId is a unique identifier for a cloud workspace.
|
1004
|
-
# A cloud workspace is a place associated with a repo where modified files
|
1005
|
-
# can be stored before they are committed.
|
1006
|
-
# Corresponds to the JSON property `workspaceId`
|
1007
|
-
# @return [Google::Apis::ClouddebuggerV2::CloudWorkspaceId]
|
1008
|
-
attr_accessor :workspace_id
|
910
|
+
# Represents the breakpoint specification, status and results.
|
911
|
+
# Corresponds to the JSON property `breakpoint`
|
912
|
+
# @return [Google::Apis::ClouddebuggerV2::Breakpoint]
|
913
|
+
attr_accessor :breakpoint
|
1009
914
|
|
1010
915
|
def initialize(**args)
|
1011
916
|
update!(**args)
|
@@ -1013,8 +918,7 @@ module Google
|
|
1013
918
|
|
1014
919
|
# Update properties of this object
|
1015
920
|
def update!(**args)
|
1016
|
-
@
|
1017
|
-
@workspace_id = args[:workspace_id] if args.key?(:workspace_id)
|
921
|
+
@breakpoint = args[:breakpoint] if args.key?(:breakpoint)
|
1018
922
|
end
|
1019
923
|
end
|
1020
924
|
|
@@ -1032,36 +936,129 @@ module Google
|
|
1032
936
|
end
|
1033
937
|
end
|
1034
938
|
|
1035
|
-
#
|
1036
|
-
|
939
|
+
# Represents a variable or an argument possibly of a compound object type.
|
940
|
+
# Note how the following variables are represented:
|
941
|
+
# 1) A simple variable:
|
942
|
+
# int x = 5
|
943
|
+
# ` name: "x", value: "5", type: "int" ` // Captured variable
|
944
|
+
# 2) A compound object:
|
945
|
+
# struct T `
|
946
|
+
# int m1;
|
947
|
+
# int m2;
|
948
|
+
# `;
|
949
|
+
# T x = ` 3, 7 `;
|
950
|
+
# ` // Captured variable
|
951
|
+
# name: "x",
|
952
|
+
# type: "T",
|
953
|
+
# members ` name: "m1", value: "3", type: "int" `,
|
954
|
+
# members ` name: "m2", value: "7", type: "int" `
|
955
|
+
# `
|
956
|
+
# 3) A pointer where the pointee was captured:
|
957
|
+
# T x = ` 3, 7 `;
|
958
|
+
# T* p = &x;
|
959
|
+
# ` // Captured variable
|
960
|
+
# name: "p",
|
961
|
+
# type: "T*",
|
962
|
+
# value: "0x00500500",
|
963
|
+
# members ` name: "m1", value: "3", type: "int" `,
|
964
|
+
# members ` name: "m2", value: "7", type: "int" `
|
965
|
+
# `
|
966
|
+
# 4) A pointer where the pointee was not captured:
|
967
|
+
# T* p = new T;
|
968
|
+
# ` // Captured variable
|
969
|
+
# name: "p",
|
970
|
+
# type: "T*",
|
971
|
+
# value: "0x00400400"
|
972
|
+
# status ` is_error: true, description ` format: "unavailable" ` `
|
973
|
+
# `
|
974
|
+
# The status should describe the reason for the missing value,
|
975
|
+
# such as `<optimized out>`, `<inaccessible>`, `<pointers limit reached>`.
|
976
|
+
# Note that a null pointer should not have members.
|
977
|
+
# 5) An unnamed value:
|
978
|
+
# int* p = new int(7);
|
979
|
+
# ` // Captured variable
|
980
|
+
# name: "p",
|
981
|
+
# value: "0x00500500",
|
982
|
+
# type: "int*",
|
983
|
+
# members ` value: "7", type: "int" ` `
|
984
|
+
# 6) An unnamed pointer where the pointee was not captured:
|
985
|
+
# int* p = new int(7);
|
986
|
+
# int** pp = &p;
|
987
|
+
# ` // Captured variable
|
988
|
+
# name: "pp",
|
989
|
+
# value: "0x00500500",
|
990
|
+
# type: "int**",
|
991
|
+
# members `
|
992
|
+
# value: "0x00400400",
|
993
|
+
# type: "int*"
|
994
|
+
# status `
|
995
|
+
# is_error: true,
|
996
|
+
# description: ` format: "unavailable" ` `
|
997
|
+
# `
|
998
|
+
# `
|
999
|
+
# `
|
1000
|
+
# To optimize computation, memory and network traffic, variables that
|
1001
|
+
# repeat in the output multiple times can be stored once in a shared
|
1002
|
+
# variable table and be referenced using the `var_table_index` field. The
|
1003
|
+
# variables stored in the shared table are nameless and are essentially
|
1004
|
+
# a partition of the complete variable. To reconstruct the complete
|
1005
|
+
# variable, merge the referencing variable with the referenced variable.
|
1006
|
+
# When using the shared variable table, the following variables:
|
1007
|
+
# T x = ` 3, 7 `;
|
1008
|
+
# T* p = &x;
|
1009
|
+
# T& r = x;
|
1010
|
+
# ` name: "x", var_table_index: 3, type: "T" ` // Captured variables
|
1011
|
+
# ` name: "p", value "0x00500500", type="T*", var_table_index: 3 `
|
1012
|
+
# ` name: "r", type="T&", var_table_index: 3 `
|
1013
|
+
# ` // Shared variable table entry #3:
|
1014
|
+
# members ` name: "m1", value: "3", type: "int" `,
|
1015
|
+
# members ` name: "m2", value: "7", type: "int" `
|
1016
|
+
# `
|
1017
|
+
# Note that the pointer address is stored with the referencing variable
|
1018
|
+
# and not with the referenced variable. This allows the referenced variable
|
1019
|
+
# to be shared between pointers and references.
|
1020
|
+
# The type field is optional. The debugger agent may or may not support it.
|
1021
|
+
class Variable
|
1037
1022
|
include Google::Apis::Core::Hashable
|
1038
1023
|
|
1039
|
-
#
|
1040
|
-
# Corresponds to the JSON property `
|
1041
|
-
# @return [
|
1042
|
-
attr_accessor :
|
1024
|
+
# Members contained or pointed to by the variable.
|
1025
|
+
# Corresponds to the JSON property `members`
|
1026
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
1027
|
+
attr_accessor :members
|
1043
1028
|
|
1044
|
-
#
|
1045
|
-
# Corresponds to the JSON property `
|
1029
|
+
# Name of the variable, if any.
|
1030
|
+
# Corresponds to the JSON property `name`
|
1046
1031
|
# @return [String]
|
1047
|
-
attr_accessor :
|
1032
|
+
attr_accessor :name
|
1048
1033
|
|
1049
|
-
#
|
1050
|
-
#
|
1051
|
-
#
|
1052
|
-
|
1034
|
+
# Represents a contextual status message.
|
1035
|
+
# The message can indicate an error or informational status, and refer to
|
1036
|
+
# specific parts of the containing object.
|
1037
|
+
# For example, the `Breakpoint.status` field can indicate an error referring
|
1038
|
+
# to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
|
1039
|
+
# Corresponds to the JSON property `status`
|
1040
|
+
# @return [Google::Apis::ClouddebuggerV2::StatusMessage]
|
1041
|
+
attr_accessor :status
|
1053
1042
|
|
1054
|
-
#
|
1055
|
-
#
|
1056
|
-
#
|
1057
|
-
|
1043
|
+
# Variable type (e.g. `MyClass`). If the variable is split with
|
1044
|
+
# `var_table_index`, `type` goes next to `value`. The interpretation of
|
1045
|
+
# a type is agent specific. It is recommended to include the dynamic type
|
1046
|
+
# rather than a static type of an object.
|
1047
|
+
# Corresponds to the JSON property `type`
|
1048
|
+
# @return [String]
|
1049
|
+
attr_accessor :type
|
1058
1050
|
|
1059
|
-
#
|
1060
|
-
#
|
1061
|
-
# The "repo name" is hostURI/project.
|
1062
|
-
# Corresponds to the JSON property `gerritProject`
|
1051
|
+
# Simple value of the variable.
|
1052
|
+
# Corresponds to the JSON property `value`
|
1063
1053
|
# @return [String]
|
1064
|
-
attr_accessor :
|
1054
|
+
attr_accessor :value
|
1055
|
+
|
1056
|
+
# Reference to a variable in the shared variable table. More than
|
1057
|
+
# one variable can reference the same variable in the table. The
|
1058
|
+
# `var_table_index` field is an index into `variable_table` in Breakpoint.
|
1059
|
+
# Corresponds to the JSON property `varTableIndex`
|
1060
|
+
# @return [Fixnum]
|
1061
|
+
attr_accessor :var_table_index
|
1065
1062
|
|
1066
1063
|
def initialize(**args)
|
1067
1064
|
update!(**args)
|
@@ -1069,11 +1066,12 @@ module Google
|
|
1069
1066
|
|
1070
1067
|
# Update properties of this object
|
1071
1068
|
def update!(**args)
|
1072
|
-
@
|
1073
|
-
@
|
1074
|
-
@
|
1075
|
-
@
|
1076
|
-
@
|
1069
|
+
@members = args[:members] if args.key?(:members)
|
1070
|
+
@name = args[:name] if args.key?(:name)
|
1071
|
+
@status = args[:status] if args.key?(:status)
|
1072
|
+
@type = args[:type] if args.key?(:type)
|
1073
|
+
@value = args[:value] if args.key?(:value)
|
1074
|
+
@var_table_index = args[:var_table_index] if args.key?(:var_table_index)
|
1077
1075
|
end
|
1078
1076
|
end
|
1079
1077
|
end
|