google-api-client 0.13.2 → 0.13.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +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
|
@@ -25,22 +25,22 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/logging/docs/
|
|
26
26
|
module LoggingV2
|
|
27
27
|
VERSION = 'V2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20170821'
|
|
29
29
|
|
|
30
|
-
#
|
|
31
|
-
|
|
30
|
+
# View and manage your data across Google Cloud Platform services
|
|
31
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
32
32
|
|
|
33
|
-
# View
|
|
34
|
-
|
|
33
|
+
# View your data across Google Cloud Platform services
|
|
34
|
+
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
|
35
35
|
|
|
36
36
|
# Administrate log data for your projects
|
|
37
37
|
AUTH_LOGGING_ADMIN = 'https://www.googleapis.com/auth/logging.admin'
|
|
38
38
|
|
|
39
|
-
# View
|
|
40
|
-
|
|
39
|
+
# View log data for your projects
|
|
40
|
+
AUTH_LOGGING_READ = 'https://www.googleapis.com/auth/logging.read'
|
|
41
41
|
|
|
42
|
-
#
|
|
43
|
-
|
|
42
|
+
# Submit log data for your projects
|
|
43
|
+
AUTH_LOGGING_WRITE = 'https://www.googleapis.com/auth/logging.write'
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
end
|
|
@@ -22,150 +22,118 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module LoggingV2
|
|
24
24
|
|
|
25
|
-
#
|
|
26
|
-
|
|
25
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
|
26
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
|
27
|
+
# response type of an API method. For instance:
|
|
28
|
+
# service Foo `
|
|
29
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
30
|
+
# `
|
|
31
|
+
# The JSON representation for Empty is empty JSON object ``.
|
|
32
|
+
class Empty
|
|
27
33
|
include Google::Apis::Core::Hashable
|
|
28
34
|
|
|
29
|
-
# A list of logs-based metrics.
|
|
30
|
-
# Corresponds to the JSON property `metrics`
|
|
31
|
-
# @return [Array<Google::Apis::LoggingV2::LogMetric>]
|
|
32
|
-
attr_accessor :metrics
|
|
33
|
-
|
|
34
|
-
# If there might be more results than appear in this response, then
|
|
35
|
-
# nextPageToken is included. To get the next set of results, call this method
|
|
36
|
-
# again using the value of nextPageToken as pageToken.
|
|
37
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
38
|
-
# @return [String]
|
|
39
|
-
attr_accessor :next_page_token
|
|
40
|
-
|
|
41
35
|
def initialize(**args)
|
|
42
36
|
update!(**args)
|
|
43
37
|
end
|
|
44
38
|
|
|
45
39
|
# Update properties of this object
|
|
46
40
|
def update!(**args)
|
|
47
|
-
@metrics = args[:metrics] if args.key?(:metrics)
|
|
48
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
49
41
|
end
|
|
50
42
|
end
|
|
51
43
|
|
|
52
|
-
#
|
|
53
|
-
|
|
44
|
+
# A common proto for logging HTTP requests. Only contains semantics defined by
|
|
45
|
+
# the HTTP specification. Product-specific logging information MUST be defined
|
|
46
|
+
# in a separate message.
|
|
47
|
+
class HttpRequest
|
|
54
48
|
include Google::Apis::Core::Hashable
|
|
55
49
|
|
|
56
|
-
#
|
|
57
|
-
#
|
|
58
|
-
#
|
|
59
|
-
#
|
|
60
|
-
|
|
61
|
-
# Corresponds to the JSON property `timestamp`
|
|
62
|
-
# @return [String]
|
|
63
|
-
attr_accessor :timestamp
|
|
50
|
+
# The number of HTTP response bytes inserted into cache. Set only when a cache
|
|
51
|
+
# fill was attempted.
|
|
52
|
+
# Corresponds to the JSON property `cacheFillBytes`
|
|
53
|
+
# @return [Fixnum]
|
|
54
|
+
attr_accessor :cache_fill_bytes
|
|
64
55
|
|
|
65
|
-
#
|
|
66
|
-
# Corresponds to the JSON property `
|
|
67
|
-
# @return [
|
|
68
|
-
attr_accessor :
|
|
56
|
+
# Whether or not an entity was served from cache (with or without validation).
|
|
57
|
+
# Corresponds to the JSON property `cacheHit`
|
|
58
|
+
# @return [Boolean]
|
|
59
|
+
attr_accessor :cache_hit
|
|
60
|
+
alias_method :cache_hit?, :cache_hit
|
|
69
61
|
|
|
70
|
-
#
|
|
71
|
-
#
|
|
72
|
-
#
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
# [LOG_ID] must be URL-encoded within log_name. Example: "organizations/
|
|
76
|
-
# 1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity". [LOG_ID] must
|
|
77
|
-
# be less than 512 characters long and can only include the following characters:
|
|
78
|
-
# upper and lower case alphanumeric characters, forward-slash, underscore,
|
|
79
|
-
# hyphen, and period.For backward compatibility, if log_name begins with a
|
|
80
|
-
# forward-slash, such as /projects/..., then the log entry is ingested as usual
|
|
81
|
-
# but the forward-slash is removed. Listing the log entry will not show the
|
|
82
|
-
# leading slash and filtering for a log name with a leading slash will never
|
|
83
|
-
# return any results.
|
|
84
|
-
# Corresponds to the JSON property `logName`
|
|
85
|
-
# @return [String]
|
|
86
|
-
attr_accessor :log_name
|
|
62
|
+
# Whether or not a cache lookup was attempted.
|
|
63
|
+
# Corresponds to the JSON property `cacheLookup`
|
|
64
|
+
# @return [Boolean]
|
|
65
|
+
attr_accessor :cache_lookup
|
|
66
|
+
alias_method :cache_lookup?, :cache_lookup
|
|
87
67
|
|
|
88
|
-
#
|
|
89
|
-
#
|
|
90
|
-
#
|
|
91
|
-
#
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
# VM instance could be represented by the following object, because the
|
|
95
|
-
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
|
|
96
|
-
# zone":
|
|
97
|
-
# ` "type": "gce_instance",
|
|
98
|
-
# "labels": ` "instance_id": "12345678901234",
|
|
99
|
-
# "zone": "us-central1-a" ``
|
|
100
|
-
# Corresponds to the JSON property `resource`
|
|
101
|
-
# @return [Google::Apis::LoggingV2::MonitoredResource]
|
|
102
|
-
attr_accessor :resource
|
|
68
|
+
# Whether or not the response was validated with the origin server before being
|
|
69
|
+
# served from cache. This field is only meaningful if cache_hit is True.
|
|
70
|
+
# Corresponds to the JSON property `cacheValidatedWithOriginServer`
|
|
71
|
+
# @return [Boolean]
|
|
72
|
+
attr_accessor :cache_validated_with_origin_server
|
|
73
|
+
alias_method :cache_validated_with_origin_server?, :cache_validated_with_origin_server
|
|
103
74
|
|
|
104
|
-
#
|
|
105
|
-
#
|
|
106
|
-
#
|
|
107
|
-
#
|
|
108
|
-
|
|
109
|
-
attr_accessor :http_request
|
|
75
|
+
# The request processing latency on the server, from the time the request was
|
|
76
|
+
# received until the response was sent.
|
|
77
|
+
# Corresponds to the JSON property `latency`
|
|
78
|
+
# @return [String]
|
|
79
|
+
attr_accessor :latency
|
|
110
80
|
|
|
111
|
-
#
|
|
112
|
-
#
|
|
113
|
-
#
|
|
114
|
-
|
|
115
|
-
attr_accessor :json_payload
|
|
81
|
+
# Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket"
|
|
82
|
+
# Corresponds to the JSON property `protocol`
|
|
83
|
+
# @return [String]
|
|
84
|
+
attr_accessor :protocol
|
|
116
85
|
|
|
117
|
-
#
|
|
118
|
-
#
|
|
119
|
-
# Corresponds to the JSON property `
|
|
120
|
-
# @return [
|
|
121
|
-
attr_accessor :
|
|
86
|
+
# The referer URL of the request, as defined in HTTP/1.1 Header Field
|
|
87
|
+
# Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
|
|
88
|
+
# Corresponds to the JSON property `referer`
|
|
89
|
+
# @return [String]
|
|
90
|
+
attr_accessor :referer
|
|
122
91
|
|
|
123
|
-
#
|
|
124
|
-
#
|
|
125
|
-
#
|
|
126
|
-
# removed. If omitted in new log entries, then Stackdriver Logging will insert
|
|
127
|
-
# its own unique identifier. The insert_id is used to order log entries that
|
|
128
|
-
# have the same timestamp value.
|
|
129
|
-
# Corresponds to the JSON property `insertId`
|
|
92
|
+
# The IP address (IPv4 or IPv6) of the client that issued the HTTP request.
|
|
93
|
+
# Examples: "192.168.1.1", "FE80::0202:B3FF:FE1E:8329".
|
|
94
|
+
# Corresponds to the JSON property `remoteIp`
|
|
130
95
|
# @return [String]
|
|
131
|
-
attr_accessor :
|
|
96
|
+
attr_accessor :remote_ip
|
|
132
97
|
|
|
133
|
-
# The
|
|
134
|
-
# Corresponds to the JSON property `
|
|
98
|
+
# The request method. Examples: "GET", "HEAD", "PUT", "POST".
|
|
99
|
+
# Corresponds to the JSON property `requestMethod`
|
|
135
100
|
# @return [String]
|
|
136
|
-
attr_accessor :
|
|
101
|
+
attr_accessor :request_method
|
|
137
102
|
|
|
138
|
-
# The
|
|
139
|
-
#
|
|
140
|
-
# Corresponds to the JSON property `
|
|
141
|
-
# @return [
|
|
142
|
-
attr_accessor :
|
|
103
|
+
# The size of the HTTP request message in bytes, including the request headers
|
|
104
|
+
# and the request body.
|
|
105
|
+
# Corresponds to the JSON property `requestSize`
|
|
106
|
+
# @return [Fixnum]
|
|
107
|
+
attr_accessor :request_size
|
|
143
108
|
|
|
144
|
-
#
|
|
145
|
-
#
|
|
146
|
-
#
|
|
147
|
-
# 06796866738c859f2f19b7cfb3214824
|
|
148
|
-
# Corresponds to the JSON property `trace`
|
|
109
|
+
# The scheme (http, https), the host name, the path and the query portion of the
|
|
110
|
+
# URL that was requested. Example: "http://example.com/some/info?color=red".
|
|
111
|
+
# Corresponds to the JSON property `requestUrl`
|
|
149
112
|
# @return [String]
|
|
150
|
-
attr_accessor :
|
|
113
|
+
attr_accessor :request_url
|
|
151
114
|
|
|
152
|
-
#
|
|
153
|
-
#
|
|
154
|
-
# Corresponds to the JSON property `
|
|
155
|
-
# @return [
|
|
156
|
-
attr_accessor :
|
|
115
|
+
# The size of the HTTP response message sent back to the client, in bytes,
|
|
116
|
+
# including the response headers and the response body.
|
|
117
|
+
# Corresponds to the JSON property `responseSize`
|
|
118
|
+
# @return [Fixnum]
|
|
119
|
+
attr_accessor :response_size
|
|
157
120
|
|
|
158
|
-
#
|
|
159
|
-
#
|
|
160
|
-
# Corresponds to the JSON property `
|
|
121
|
+
# The IP address (IPv4 or IPv6) of the origin server that the request was sent
|
|
122
|
+
# to.
|
|
123
|
+
# Corresponds to the JSON property `serverIp`
|
|
161
124
|
# @return [String]
|
|
162
|
-
attr_accessor :
|
|
125
|
+
attr_accessor :server_ip
|
|
163
126
|
|
|
164
|
-
#
|
|
165
|
-
#
|
|
166
|
-
#
|
|
167
|
-
|
|
168
|
-
|
|
127
|
+
# The response code indicating the status of response. Examples: 200, 404.
|
|
128
|
+
# Corresponds to the JSON property `status`
|
|
129
|
+
# @return [Fixnum]
|
|
130
|
+
attr_accessor :status
|
|
131
|
+
|
|
132
|
+
# The user agent sent by the client. Example: "Mozilla/4.0 (compatible; MSIE 6.0;
|
|
133
|
+
# Windows 98; Q312461; .NET CLR 1.0.3705)".
|
|
134
|
+
# Corresponds to the JSON property `userAgent`
|
|
135
|
+
# @return [String]
|
|
136
|
+
attr_accessor :user_agent
|
|
169
137
|
|
|
170
138
|
def initialize(**args)
|
|
171
139
|
update!(**args)
|
|
@@ -173,81 +141,67 @@ module Google
|
|
|
173
141
|
|
|
174
142
|
# Update properties of this object
|
|
175
143
|
def update!(**args)
|
|
176
|
-
@
|
|
177
|
-
@
|
|
178
|
-
@
|
|
179
|
-
@
|
|
180
|
-
@
|
|
181
|
-
@
|
|
182
|
-
@
|
|
183
|
-
@
|
|
184
|
-
@
|
|
185
|
-
@
|
|
186
|
-
@
|
|
187
|
-
@
|
|
188
|
-
@
|
|
189
|
-
@
|
|
144
|
+
@cache_fill_bytes = args[:cache_fill_bytes] if args.key?(:cache_fill_bytes)
|
|
145
|
+
@cache_hit = args[:cache_hit] if args.key?(:cache_hit)
|
|
146
|
+
@cache_lookup = args[:cache_lookup] if args.key?(:cache_lookup)
|
|
147
|
+
@cache_validated_with_origin_server = args[:cache_validated_with_origin_server] if args.key?(:cache_validated_with_origin_server)
|
|
148
|
+
@latency = args[:latency] if args.key?(:latency)
|
|
149
|
+
@protocol = args[:protocol] if args.key?(:protocol)
|
|
150
|
+
@referer = args[:referer] if args.key?(:referer)
|
|
151
|
+
@remote_ip = args[:remote_ip] if args.key?(:remote_ip)
|
|
152
|
+
@request_method = args[:request_method] if args.key?(:request_method)
|
|
153
|
+
@request_size = args[:request_size] if args.key?(:request_size)
|
|
154
|
+
@request_url = args[:request_url] if args.key?(:request_url)
|
|
155
|
+
@response_size = args[:response_size] if args.key?(:response_size)
|
|
156
|
+
@server_ip = args[:server_ip] if args.key?(:server_ip)
|
|
157
|
+
@status = args[:status] if args.key?(:status)
|
|
158
|
+
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
|
190
159
|
end
|
|
191
160
|
end
|
|
192
161
|
|
|
193
|
-
# A
|
|
194
|
-
|
|
195
|
-
# response type of an API method. For instance:
|
|
196
|
-
# service Foo `
|
|
197
|
-
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
198
|
-
# `
|
|
199
|
-
# The JSON representation for Empty is empty JSON object ``.
|
|
200
|
-
class Empty
|
|
162
|
+
# A description of a label.
|
|
163
|
+
class LabelDescriptor
|
|
201
164
|
include Google::Apis::Core::Hashable
|
|
202
165
|
|
|
166
|
+
# A human-readable description for the label.
|
|
167
|
+
# Corresponds to the JSON property `description`
|
|
168
|
+
# @return [String]
|
|
169
|
+
attr_accessor :description
|
|
170
|
+
|
|
171
|
+
# The label key.
|
|
172
|
+
# Corresponds to the JSON property `key`
|
|
173
|
+
# @return [String]
|
|
174
|
+
attr_accessor :key
|
|
175
|
+
|
|
176
|
+
# The type of data that can be assigned to the label.
|
|
177
|
+
# Corresponds to the JSON property `valueType`
|
|
178
|
+
# @return [String]
|
|
179
|
+
attr_accessor :value_type
|
|
180
|
+
|
|
203
181
|
def initialize(**args)
|
|
204
182
|
update!(**args)
|
|
205
183
|
end
|
|
206
184
|
|
|
207
185
|
# Update properties of this object
|
|
208
186
|
def update!(**args)
|
|
187
|
+
@description = args[:description] if args.key?(:description)
|
|
188
|
+
@key = args[:key] if args.key?(:key)
|
|
189
|
+
@value_type = args[:value_type] if args.key?(:value_type)
|
|
209
190
|
end
|
|
210
191
|
end
|
|
211
192
|
|
|
212
|
-
#
|
|
213
|
-
class
|
|
193
|
+
# The parameters to ListLogEntries.
|
|
194
|
+
class ListLogEntriesRequest
|
|
214
195
|
include Google::Apis::Core::Hashable
|
|
215
196
|
|
|
216
|
-
#
|
|
217
|
-
#
|
|
218
|
-
#
|
|
219
|
-
#
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
# Human-readable name of the function or method being invoked, with optional
|
|
223
|
-
# context such as the class or package name. This information is used in
|
|
224
|
-
# contexts such as the logs viewer, where a file and line number are less
|
|
225
|
-
# meaningful. The format can vary by language. For example: qual.if.ied.Class.
|
|
226
|
-
# method (Java), dir/package.func (Go), function (Python).
|
|
227
|
-
# Corresponds to the JSON property `functionName`
|
|
197
|
+
# Optional. A filter that chooses which log entries to return. See Advanced Logs
|
|
198
|
+
# Filters. Only log entries that match the filter are returned. An empty filter
|
|
199
|
+
# matches all log entries in the resources listed in resource_names. Referencing
|
|
200
|
+
# a parent resource that is not listed in resource_names will cause the filter
|
|
201
|
+
# to return no results. The maximum length of the filter is 20000 characters.
|
|
202
|
+
# Corresponds to the JSON property `filter`
|
|
228
203
|
# @return [String]
|
|
229
|
-
attr_accessor :
|
|
230
|
-
|
|
231
|
-
# Line within the source file.
|
|
232
|
-
# Corresponds to the JSON property `line`
|
|
233
|
-
# @return [Fixnum]
|
|
234
|
-
attr_accessor :line
|
|
235
|
-
|
|
236
|
-
def initialize(**args)
|
|
237
|
-
update!(**args)
|
|
238
|
-
end
|
|
239
|
-
|
|
240
|
-
# Update properties of this object
|
|
241
|
-
def update!(**args)
|
|
242
|
-
@file = args[:file] if args.key?(:file)
|
|
243
|
-
@function_name = args[:function_name] if args.key?(:function_name)
|
|
244
|
-
@line = args[:line] if args.key?(:line)
|
|
245
|
-
end
|
|
246
|
-
end
|
|
247
|
-
|
|
248
|
-
# The parameters to ListLogEntries.
|
|
249
|
-
class ListLogEntriesRequest
|
|
250
|
-
include Google::Apis::Core::Hashable
|
|
204
|
+
attr_accessor :filter
|
|
251
205
|
|
|
252
206
|
# Optional. How the results should be sorted. Presently, the only permitted
|
|
253
207
|
# values are "timestamp asc" (default) and "timestamp desc". The first option
|
|
@@ -259,25 +213,20 @@ module Google
|
|
|
259
213
|
# @return [String]
|
|
260
214
|
attr_accessor :order_by
|
|
261
215
|
|
|
262
|
-
#
|
|
263
|
-
#
|
|
264
|
-
#
|
|
265
|
-
#
|
|
266
|
-
#
|
|
267
|
-
|
|
268
|
-
# Projects listed in the project_ids field are added to this list.
|
|
269
|
-
# Corresponds to the JSON property `resourceNames`
|
|
270
|
-
# @return [Array<String>]
|
|
271
|
-
attr_accessor :resource_names
|
|
216
|
+
# Optional. The maximum number of results to return from this request. Non-
|
|
217
|
+
# positive values are ignored. The presence of next_page_token in the response
|
|
218
|
+
# indicates that more results might be available.
|
|
219
|
+
# Corresponds to the JSON property `pageSize`
|
|
220
|
+
# @return [Fixnum]
|
|
221
|
+
attr_accessor :page_size
|
|
272
222
|
|
|
273
|
-
# Optional.
|
|
274
|
-
#
|
|
275
|
-
#
|
|
276
|
-
#
|
|
277
|
-
# to
|
|
278
|
-
# Corresponds to the JSON property `filter`
|
|
223
|
+
# Optional. If present, then retrieve the next batch of results from the
|
|
224
|
+
# preceding call to this method. page_token must be the value of next_page_token
|
|
225
|
+
# from the previous response. The values of other method parameters should be
|
|
226
|
+
# identical to those in the previous call.
|
|
227
|
+
# Corresponds to the JSON property `pageToken`
|
|
279
228
|
# @return [String]
|
|
280
|
-
attr_accessor :
|
|
229
|
+
attr_accessor :page_token
|
|
281
230
|
|
|
282
231
|
# Deprecated. Use resource_names instead. One or more project identifiers or
|
|
283
232
|
# project numbers from which to retrieve log entries. Example: "my-project-1A".
|
|
@@ -287,20 +236,16 @@ module Google
|
|
|
287
236
|
# @return [Array<String>]
|
|
288
237
|
attr_accessor :project_ids
|
|
289
238
|
|
|
290
|
-
#
|
|
291
|
-
#
|
|
292
|
-
#
|
|
293
|
-
#
|
|
294
|
-
#
|
|
295
|
-
#
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
#
|
|
299
|
-
|
|
300
|
-
# indicates that more results might be available.
|
|
301
|
-
# Corresponds to the JSON property `pageSize`
|
|
302
|
-
# @return [Fixnum]
|
|
303
|
-
attr_accessor :page_size
|
|
239
|
+
# Required. Names of one or more parent resources from which to retrieve log
|
|
240
|
+
# entries:
|
|
241
|
+
# "projects/[PROJECT_ID]"
|
|
242
|
+
# "organizations/[ORGANIZATION_ID]"
|
|
243
|
+
# "billingAccounts/[BILLING_ACCOUNT_ID]"
|
|
244
|
+
# "folders/[FOLDER_ID]"
|
|
245
|
+
# Projects listed in the project_ids field are added to this list.
|
|
246
|
+
# Corresponds to the JSON property `resourceNames`
|
|
247
|
+
# @return [Array<String>]
|
|
248
|
+
attr_accessor :resource_names
|
|
304
249
|
|
|
305
250
|
def initialize(**args)
|
|
306
251
|
update!(**args)
|
|
@@ -308,196 +253,276 @@ module Google
|
|
|
308
253
|
|
|
309
254
|
# Update properties of this object
|
|
310
255
|
def update!(**args)
|
|
311
|
-
@order_by = args[:order_by] if args.key?(:order_by)
|
|
312
|
-
@resource_names = args[:resource_names] if args.key?(:resource_names)
|
|
313
256
|
@filter = args[:filter] if args.key?(:filter)
|
|
314
|
-
@
|
|
315
|
-
@page_token = args[:page_token] if args.key?(:page_token)
|
|
257
|
+
@order_by = args[:order_by] if args.key?(:order_by)
|
|
316
258
|
@page_size = args[:page_size] if args.key?(:page_size)
|
|
259
|
+
@page_token = args[:page_token] if args.key?(:page_token)
|
|
260
|
+
@project_ids = args[:project_ids] if args.key?(:project_ids)
|
|
261
|
+
@resource_names = args[:resource_names] if args.key?(:resource_names)
|
|
317
262
|
end
|
|
318
263
|
end
|
|
319
264
|
|
|
320
|
-
#
|
|
321
|
-
|
|
322
|
-
class RequestLog
|
|
265
|
+
# Result returned from ListLogEntries.
|
|
266
|
+
class ListLogEntriesResponse
|
|
323
267
|
include Google::Apis::Core::Hashable
|
|
324
268
|
|
|
325
|
-
#
|
|
326
|
-
#
|
|
327
|
-
#
|
|
328
|
-
|
|
269
|
+
# A list of log entries. If entries is empty, nextPageToken may still be
|
|
270
|
+
# returned, indicating that more entries may exist. See nextPageToken for more
|
|
271
|
+
# information.
|
|
272
|
+
# Corresponds to the JSON property `entries`
|
|
273
|
+
# @return [Array<Google::Apis::LoggingV2::LogEntry>]
|
|
274
|
+
attr_accessor :entries
|
|
329
275
|
|
|
330
|
-
#
|
|
331
|
-
#
|
|
276
|
+
# If there might be more results than those appearing in this response, then
|
|
277
|
+
# nextPageToken is included. To get the next set of results, call this method
|
|
278
|
+
# again using the value of nextPageToken as pageToken.If a value for
|
|
279
|
+
# next_page_token appears and the entries field is empty, it means that the
|
|
280
|
+
# search found no log entries so far but it did not have time to search all the
|
|
281
|
+
# possible log entries. Retry the method with this value for page_token to
|
|
282
|
+
# continue the search. Alternatively, consider speeding up the search by
|
|
283
|
+
# changing your filter to specify a single log name or resource type, or to
|
|
284
|
+
# narrow the time range of the search.
|
|
285
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
332
286
|
# @return [String]
|
|
333
|
-
attr_accessor :
|
|
287
|
+
attr_accessor :next_page_token
|
|
334
288
|
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
attr_accessor :app_id
|
|
289
|
+
def initialize(**args)
|
|
290
|
+
update!(**args)
|
|
291
|
+
end
|
|
339
292
|
|
|
340
|
-
#
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
293
|
+
# Update properties of this object
|
|
294
|
+
def update!(**args)
|
|
295
|
+
@entries = args[:entries] if args.key?(:entries)
|
|
296
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
297
|
+
end
|
|
298
|
+
end
|
|
344
299
|
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
attr_accessor :method_prop
|
|
300
|
+
# Result returned from ListLogMetrics.
|
|
301
|
+
class ListLogMetricsResponse
|
|
302
|
+
include Google::Apis::Core::Hashable
|
|
349
303
|
|
|
350
|
-
#
|
|
351
|
-
# Corresponds to the JSON property `
|
|
352
|
-
# @return [
|
|
353
|
-
attr_accessor :
|
|
304
|
+
# A list of logs-based metrics.
|
|
305
|
+
# Corresponds to the JSON property `metrics`
|
|
306
|
+
# @return [Array<Google::Apis::LoggingV2::LogMetric>]
|
|
307
|
+
attr_accessor :metrics
|
|
354
308
|
|
|
355
|
-
#
|
|
356
|
-
#
|
|
309
|
+
# If there might be more results than appear in this response, then
|
|
310
|
+
# nextPageToken is included. To get the next set of results, call this method
|
|
311
|
+
# again using the value of nextPageToken as pageToken.
|
|
312
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
357
313
|
# @return [String]
|
|
358
|
-
attr_accessor :
|
|
359
|
-
|
|
360
|
-
# Number of CPU megacycles used to process request.
|
|
361
|
-
# Corresponds to the JSON property `megaCycles`
|
|
362
|
-
# @return [Fixnum]
|
|
363
|
-
attr_accessor :mega_cycles
|
|
314
|
+
attr_accessor :next_page_token
|
|
364
315
|
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
# Corresponds to the JSON property `first`
|
|
369
|
-
# @return [Boolean]
|
|
370
|
-
attr_accessor :first
|
|
371
|
-
alias_method :first?, :first
|
|
316
|
+
def initialize(**args)
|
|
317
|
+
update!(**args)
|
|
318
|
+
end
|
|
372
319
|
|
|
373
|
-
#
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
320
|
+
# Update properties of this object
|
|
321
|
+
def update!(**args)
|
|
322
|
+
@metrics = args[:metrics] if args.key?(:metrics)
|
|
323
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
324
|
+
end
|
|
325
|
+
end
|
|
377
326
|
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
attr_accessor :module_id
|
|
327
|
+
# Result returned from ListLogs.
|
|
328
|
+
class ListLogsResponse
|
|
329
|
+
include Google::Apis::Core::Hashable
|
|
382
330
|
|
|
383
|
-
#
|
|
384
|
-
#
|
|
385
|
-
#
|
|
386
|
-
|
|
331
|
+
# A list of log names. For example, "projects/my-project/syslog" or "
|
|
332
|
+
# organizations/123/cloudresourcemanager.googleapis.com%2Factivity".
|
|
333
|
+
# Corresponds to the JSON property `logNames`
|
|
334
|
+
# @return [Array<String>]
|
|
335
|
+
attr_accessor :log_names
|
|
387
336
|
|
|
388
|
-
#
|
|
389
|
-
#
|
|
337
|
+
# If there might be more results than those appearing in this response, then
|
|
338
|
+
# nextPageToken is included. To get the next set of results, call this method
|
|
339
|
+
# again using the value of nextPageToken as pageToken.
|
|
340
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
390
341
|
# @return [String]
|
|
391
|
-
attr_accessor :
|
|
342
|
+
attr_accessor :next_page_token
|
|
392
343
|
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
attr_accessor :was_loading_request
|
|
397
|
-
alias_method :was_loading_request?, :was_loading_request
|
|
344
|
+
def initialize(**args)
|
|
345
|
+
update!(**args)
|
|
346
|
+
end
|
|
398
347
|
|
|
399
|
-
#
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
348
|
+
# Update properties of this object
|
|
349
|
+
def update!(**args)
|
|
350
|
+
@log_names = args[:log_names] if args.key?(:log_names)
|
|
351
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
352
|
+
end
|
|
353
|
+
end
|
|
405
354
|
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
attr_accessor :response_size
|
|
355
|
+
# Result returned from ListMonitoredResourceDescriptors.
|
|
356
|
+
class ListMonitoredResourceDescriptorsResponse
|
|
357
|
+
include Google::Apis::Core::Hashable
|
|
410
358
|
|
|
411
|
-
#
|
|
412
|
-
#
|
|
359
|
+
# If there might be more results than those appearing in this response, then
|
|
360
|
+
# nextPageToken is included. To get the next set of results, call this method
|
|
361
|
+
# again using the value of nextPageToken as pageToken.
|
|
362
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
413
363
|
# @return [String]
|
|
414
|
-
attr_accessor :
|
|
415
|
-
|
|
416
|
-
# A list of log lines emitted by the application while serving this request.
|
|
417
|
-
# Corresponds to the JSON property `line`
|
|
418
|
-
# @return [Array<Google::Apis::LoggingV2::LogLine>]
|
|
419
|
-
attr_accessor :line
|
|
364
|
+
attr_accessor :next_page_token
|
|
420
365
|
|
|
421
|
-
#
|
|
422
|
-
# Corresponds to the JSON property `
|
|
423
|
-
# @return [
|
|
424
|
-
attr_accessor :
|
|
366
|
+
# A list of resource descriptors.
|
|
367
|
+
# Corresponds to the JSON property `resourceDescriptors`
|
|
368
|
+
# @return [Array<Google::Apis::LoggingV2::MonitoredResourceDescriptor>]
|
|
369
|
+
attr_accessor :resource_descriptors
|
|
425
370
|
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
attr_accessor :referrer
|
|
371
|
+
def initialize(**args)
|
|
372
|
+
update!(**args)
|
|
373
|
+
end
|
|
430
374
|
|
|
431
|
-
#
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
375
|
+
# Update properties of this object
|
|
376
|
+
def update!(**args)
|
|
377
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
378
|
+
@resource_descriptors = args[:resource_descriptors] if args.key?(:resource_descriptors)
|
|
379
|
+
end
|
|
380
|
+
end
|
|
437
381
|
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
# information is also available to the application via the App Engine Users API.
|
|
442
|
-
# This field will be populated starting with App Engine 1.9.21.
|
|
443
|
-
# Corresponds to the JSON property `nickname`
|
|
444
|
-
# @return [String]
|
|
445
|
-
attr_accessor :nickname
|
|
382
|
+
# Result returned from ListSinks.
|
|
383
|
+
class ListSinksResponse
|
|
384
|
+
include Google::Apis::Core::Hashable
|
|
446
385
|
|
|
447
|
-
#
|
|
448
|
-
#
|
|
386
|
+
# If there might be more results than appear in this response, then
|
|
387
|
+
# nextPageToken is included. To get the next set of results, call the same
|
|
388
|
+
# method again using the value of nextPageToken as pageToken.
|
|
389
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
449
390
|
# @return [String]
|
|
450
|
-
attr_accessor :
|
|
391
|
+
attr_accessor :next_page_token
|
|
451
392
|
|
|
452
|
-
#
|
|
453
|
-
#
|
|
454
|
-
#
|
|
455
|
-
|
|
456
|
-
|
|
393
|
+
# A list of sinks.
|
|
394
|
+
# Corresponds to the JSON property `sinks`
|
|
395
|
+
# @return [Array<Google::Apis::LoggingV2::LogSink>]
|
|
396
|
+
attr_accessor :sinks
|
|
397
|
+
|
|
398
|
+
def initialize(**args)
|
|
399
|
+
update!(**args)
|
|
400
|
+
end
|
|
401
|
+
|
|
402
|
+
# Update properties of this object
|
|
403
|
+
def update!(**args)
|
|
404
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
405
|
+
@sinks = args[:sinks] if args.key?(:sinks)
|
|
406
|
+
end
|
|
407
|
+
end
|
|
408
|
+
|
|
409
|
+
# An individual entry in a log.
|
|
410
|
+
class LogEntry
|
|
411
|
+
include Google::Apis::Core::Hashable
|
|
412
|
+
|
|
413
|
+
# A common proto for logging HTTP requests. Only contains semantics defined by
|
|
414
|
+
# the HTTP specification. Product-specific logging information MUST be defined
|
|
415
|
+
# in a separate message.
|
|
416
|
+
# Corresponds to the JSON property `httpRequest`
|
|
417
|
+
# @return [Google::Apis::LoggingV2::HttpRequest]
|
|
418
|
+
attr_accessor :http_request
|
|
419
|
+
|
|
420
|
+
# Optional. A unique identifier for the log entry. If you provide a value, then
|
|
421
|
+
# Stackdriver Logging considers other log entries in the same project, with the
|
|
422
|
+
# same timestamp, and with the same insert_id to be duplicates which can be
|
|
423
|
+
# removed. If omitted in new log entries, then Stackdriver Logging will insert
|
|
424
|
+
# its own unique identifier. The insert_id is used to order log entries that
|
|
425
|
+
# have the same timestamp value.
|
|
426
|
+
# Corresponds to the JSON property `insertId`
|
|
457
427
|
# @return [String]
|
|
458
|
-
attr_accessor :
|
|
428
|
+
attr_accessor :insert_id
|
|
459
429
|
|
|
460
|
-
#
|
|
461
|
-
#
|
|
462
|
-
#
|
|
463
|
-
|
|
430
|
+
# The log entry payload, represented as a structure that is expressed as a JSON
|
|
431
|
+
# object.
|
|
432
|
+
# Corresponds to the JSON property `jsonPayload`
|
|
433
|
+
# @return [Hash<String,Object>]
|
|
434
|
+
attr_accessor :json_payload
|
|
464
435
|
|
|
465
|
-
#
|
|
466
|
-
#
|
|
436
|
+
# Optional. A set of user-defined (key, value) data that provides additional
|
|
437
|
+
# information about the log entry.
|
|
438
|
+
# Corresponds to the JSON property `labels`
|
|
439
|
+
# @return [Hash<String,String>]
|
|
440
|
+
attr_accessor :labels
|
|
441
|
+
|
|
442
|
+
# Required. The resource name of the log to which this log entry belongs:
|
|
443
|
+
# "projects/[PROJECT_ID]/logs/[LOG_ID]"
|
|
444
|
+
# "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
|
|
445
|
+
# "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
|
|
446
|
+
# "folders/[FOLDER_ID]/logs/[LOG_ID]"
|
|
447
|
+
# [LOG_ID] must be URL-encoded within log_name. Example: "organizations/
|
|
448
|
+
# 1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity". [LOG_ID] must
|
|
449
|
+
# be less than 512 characters long and can only include the following characters:
|
|
450
|
+
# upper and lower case alphanumeric characters, forward-slash, underscore,
|
|
451
|
+
# hyphen, and period.For backward compatibility, if log_name begins with a
|
|
452
|
+
# forward-slash, such as /projects/..., then the log entry is ingested as usual
|
|
453
|
+
# but the forward-slash is removed. Listing the log entry will not show the
|
|
454
|
+
# leading slash and filtering for a log name with a leading slash will never
|
|
455
|
+
# return any results.
|
|
456
|
+
# Corresponds to the JSON property `logName`
|
|
467
457
|
# @return [String]
|
|
468
|
-
attr_accessor :
|
|
458
|
+
attr_accessor :log_name
|
|
469
459
|
|
|
470
|
-
#
|
|
471
|
-
#
|
|
460
|
+
# Additional information about a potentially long-running operation with which a
|
|
461
|
+
# log entry is associated.
|
|
462
|
+
# Corresponds to the JSON property `operation`
|
|
463
|
+
# @return [Google::Apis::LoggingV2::LogEntryOperation]
|
|
464
|
+
attr_accessor :operation
|
|
465
|
+
|
|
466
|
+
# The log entry payload, represented as a protocol buffer. Some Google Cloud
|
|
467
|
+
# Platform services use this field for their log entry payloads.
|
|
468
|
+
# Corresponds to the JSON property `protoPayload`
|
|
469
|
+
# @return [Hash<String,Object>]
|
|
470
|
+
attr_accessor :proto_payload
|
|
471
|
+
|
|
472
|
+
# Output only. The time the log entry was received by Stackdriver Logging.
|
|
473
|
+
# Corresponds to the JSON property `receiveTimestamp`
|
|
472
474
|
# @return [String]
|
|
473
|
-
attr_accessor :
|
|
475
|
+
attr_accessor :receive_timestamp
|
|
474
476
|
|
|
475
|
-
#
|
|
476
|
-
#
|
|
477
|
-
#
|
|
478
|
-
#
|
|
479
|
-
|
|
477
|
+
# An object representing a resource that can be used for monitoring, logging,
|
|
478
|
+
# billing, or other purposes. Examples include virtual machine instances,
|
|
479
|
+
# databases, and storage devices such as disks. The type field identifies a
|
|
480
|
+
# MonitoredResourceDescriptor object that describes the resource's schema.
|
|
481
|
+
# Information in the labels field identifies the actual resource and its
|
|
482
|
+
# attributes according to the schema. For example, a particular Compute Engine
|
|
483
|
+
# VM instance could be represented by the following object, because the
|
|
484
|
+
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
|
|
485
|
+
# zone":
|
|
486
|
+
# ` "type": "gce_instance",
|
|
487
|
+
# "labels": ` "instance_id": "12345678901234",
|
|
488
|
+
# "zone": "us-central1-a" ``
|
|
489
|
+
# Corresponds to the JSON property `resource`
|
|
490
|
+
# @return [Google::Apis::LoggingV2::MonitoredResource]
|
|
491
|
+
attr_accessor :resource
|
|
480
492
|
|
|
481
|
-
#
|
|
482
|
-
#
|
|
483
|
-
#
|
|
484
|
-
|
|
485
|
-
|
|
493
|
+
# Optional. The severity of the log entry. The default value is LogSeverity.
|
|
494
|
+
# DEFAULT.
|
|
495
|
+
# Corresponds to the JSON property `severity`
|
|
496
|
+
# @return [String]
|
|
497
|
+
attr_accessor :severity
|
|
486
498
|
|
|
487
|
-
#
|
|
488
|
-
#
|
|
499
|
+
# Additional information about the source code location that produced the log
|
|
500
|
+
# entry.
|
|
501
|
+
# Corresponds to the JSON property `sourceLocation`
|
|
502
|
+
# @return [Google::Apis::LoggingV2::LogEntrySourceLocation]
|
|
503
|
+
attr_accessor :source_location
|
|
504
|
+
|
|
505
|
+
# The log entry payload, represented as a Unicode string (UTF-8).
|
|
506
|
+
# Corresponds to the JSON property `textPayload`
|
|
489
507
|
# @return [String]
|
|
490
|
-
attr_accessor :
|
|
508
|
+
attr_accessor :text_payload
|
|
491
509
|
|
|
492
|
-
#
|
|
493
|
-
#
|
|
510
|
+
# Optional. The time the event described by the log entry occurred. If omitted
|
|
511
|
+
# in a new log entry, Stackdriver Logging will insert the time the log entry is
|
|
512
|
+
# received. Stackdriver Logging might reject log entries whose time stamps are
|
|
513
|
+
# more than a couple of hours in the future. Log entries with time stamps in the
|
|
514
|
+
# past are accepted.
|
|
515
|
+
# Corresponds to the JSON property `timestamp`
|
|
494
516
|
# @return [String]
|
|
495
|
-
attr_accessor :
|
|
517
|
+
attr_accessor :timestamp
|
|
496
518
|
|
|
497
|
-
#
|
|
498
|
-
#
|
|
519
|
+
# Optional. Resource name of the trace associated with the log entry, if any. If
|
|
520
|
+
# it contains a relative resource name, the name is assumed to be relative to //
|
|
521
|
+
# tracing.googleapis.com. Example: projects/my-projectid/traces/
|
|
522
|
+
# 06796866738c859f2f19b7cfb3214824
|
|
523
|
+
# Corresponds to the JSON property `trace`
|
|
499
524
|
# @return [String]
|
|
500
|
-
attr_accessor :
|
|
525
|
+
attr_accessor :trace
|
|
501
526
|
|
|
502
527
|
def initialize(**args)
|
|
503
528
|
update!(**args)
|
|
@@ -505,56 +530,52 @@ module Google
|
|
|
505
530
|
|
|
506
531
|
# Update properties of this object
|
|
507
532
|
def update!(**args)
|
|
508
|
-
@
|
|
509
|
-
@
|
|
510
|
-
@
|
|
511
|
-
@
|
|
512
|
-
@
|
|
513
|
-
@
|
|
514
|
-
@
|
|
515
|
-
@
|
|
516
|
-
@first = args[:first] if args.key?(:first)
|
|
517
|
-
@version_id = args[:version_id] if args.key?(:version_id)
|
|
518
|
-
@module_id = args[:module_id] if args.key?(:module_id)
|
|
519
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
|
520
|
-
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
|
521
|
-
@was_loading_request = args[:was_loading_request] if args.key?(:was_loading_request)
|
|
522
|
-
@source_reference = args[:source_reference] if args.key?(:source_reference)
|
|
523
|
-
@response_size = args[:response_size] if args.key?(:response_size)
|
|
524
|
-
@trace_id = args[:trace_id] if args.key?(:trace_id)
|
|
525
|
-
@line = args[:line] if args.key?(:line)
|
|
526
|
-
@task_queue_name = args[:task_queue_name] if args.key?(:task_queue_name)
|
|
527
|
-
@referrer = args[:referrer] if args.key?(:referrer)
|
|
528
|
-
@request_id = args[:request_id] if args.key?(:request_id)
|
|
529
|
-
@nickname = args[:nickname] if args.key?(:nickname)
|
|
530
|
-
@pending_time = args[:pending_time] if args.key?(:pending_time)
|
|
533
|
+
@http_request = args[:http_request] if args.key?(:http_request)
|
|
534
|
+
@insert_id = args[:insert_id] if args.key?(:insert_id)
|
|
535
|
+
@json_payload = args[:json_payload] if args.key?(:json_payload)
|
|
536
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
537
|
+
@log_name = args[:log_name] if args.key?(:log_name)
|
|
538
|
+
@operation = args[:operation] if args.key?(:operation)
|
|
539
|
+
@proto_payload = args[:proto_payload] if args.key?(:proto_payload)
|
|
540
|
+
@receive_timestamp = args[:receive_timestamp] if args.key?(:receive_timestamp)
|
|
531
541
|
@resource = args[:resource] if args.key?(:resource)
|
|
532
|
-
@
|
|
533
|
-
@
|
|
534
|
-
@
|
|
535
|
-
@
|
|
536
|
-
@
|
|
537
|
-
@host = args[:host] if args.key?(:host)
|
|
538
|
-
@http_version = args[:http_version] if args.key?(:http_version)
|
|
539
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
|
542
|
+
@severity = args[:severity] if args.key?(:severity)
|
|
543
|
+
@source_location = args[:source_location] if args.key?(:source_location)
|
|
544
|
+
@text_payload = args[:text_payload] if args.key?(:text_payload)
|
|
545
|
+
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
|
546
|
+
@trace = args[:trace] if args.key?(:trace)
|
|
540
547
|
end
|
|
541
548
|
end
|
|
542
549
|
|
|
543
|
-
#
|
|
544
|
-
|
|
550
|
+
# Additional information about a potentially long-running operation with which a
|
|
551
|
+
# log entry is associated.
|
|
552
|
+
class LogEntryOperation
|
|
545
553
|
include Google::Apis::Core::Hashable
|
|
546
554
|
|
|
547
|
-
#
|
|
548
|
-
# Corresponds to the JSON property `
|
|
549
|
-
# @return [
|
|
550
|
-
attr_accessor :
|
|
555
|
+
# Optional. Set this to True if this is the first log entry in the operation.
|
|
556
|
+
# Corresponds to the JSON property `first`
|
|
557
|
+
# @return [Boolean]
|
|
558
|
+
attr_accessor :first
|
|
559
|
+
alias_method :first?, :first
|
|
551
560
|
|
|
552
|
-
#
|
|
553
|
-
#
|
|
554
|
-
#
|
|
555
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
561
|
+
# Optional. An arbitrary operation identifier. Log entries with the same
|
|
562
|
+
# identifier are assumed to be part of the same operation.
|
|
563
|
+
# Corresponds to the JSON property `id`
|
|
556
564
|
# @return [String]
|
|
557
|
-
attr_accessor :
|
|
565
|
+
attr_accessor :id
|
|
566
|
+
|
|
567
|
+
# Optional. Set this to True if this is the last log entry in the operation.
|
|
568
|
+
# Corresponds to the JSON property `last`
|
|
569
|
+
# @return [Boolean]
|
|
570
|
+
attr_accessor :last
|
|
571
|
+
alias_method :last?, :last
|
|
572
|
+
|
|
573
|
+
# Optional. An arbitrary producer identifier. The combination of id and producer
|
|
574
|
+
# must be globally unique. Examples for producer: "MyDivision.MyBigCompany.com",
|
|
575
|
+
# "github.com/MyProject/MyApplication".
|
|
576
|
+
# Corresponds to the JSON property `producer`
|
|
577
|
+
# @return [String]
|
|
578
|
+
attr_accessor :producer
|
|
558
579
|
|
|
559
580
|
def initialize(**args)
|
|
560
581
|
update!(**args)
|
|
@@ -562,42 +583,38 @@ module Google
|
|
|
562
583
|
|
|
563
584
|
# Update properties of this object
|
|
564
585
|
def update!(**args)
|
|
565
|
-
@
|
|
566
|
-
@
|
|
586
|
+
@first = args[:first] if args.key?(:first)
|
|
587
|
+
@id = args[:id] if args.key?(:id)
|
|
588
|
+
@last = args[:last] if args.key?(:last)
|
|
589
|
+
@producer = args[:producer] if args.key?(:producer)
|
|
567
590
|
end
|
|
568
591
|
end
|
|
569
592
|
|
|
570
|
-
#
|
|
571
|
-
#
|
|
572
|
-
class
|
|
593
|
+
# Additional information about the source code location that produced the log
|
|
594
|
+
# entry.
|
|
595
|
+
class LogEntrySourceLocation
|
|
573
596
|
include Google::Apis::Core::Hashable
|
|
574
597
|
|
|
575
|
-
# Optional.
|
|
576
|
-
#
|
|
577
|
-
# Corresponds to the JSON property `
|
|
598
|
+
# Optional. Source file name. Depending on the runtime environment, this might
|
|
599
|
+
# be a simple name or a fully-qualified name.
|
|
600
|
+
# Corresponds to the JSON property `file`
|
|
578
601
|
# @return [String]
|
|
579
|
-
attr_accessor :
|
|
602
|
+
attr_accessor :file
|
|
580
603
|
|
|
581
|
-
#
|
|
582
|
-
#
|
|
583
|
-
#
|
|
604
|
+
# Optional. Human-readable name of the function or method being invoked, with
|
|
605
|
+
# optional context such as the class or package name. This information may be
|
|
606
|
+
# used in contexts such as the logs viewer, where a file and line number are
|
|
607
|
+
# less meaningful. The format can vary by language. For example: qual.if.ied.
|
|
608
|
+
# Class.method (Java), dir/package.func (Go), function (Python).
|
|
609
|
+
# Corresponds to the JSON property `function`
|
|
584
610
|
# @return [String]
|
|
585
|
-
attr_accessor :
|
|
586
|
-
|
|
587
|
-
def initialize(**args)
|
|
588
|
-
update!(**args)
|
|
589
|
-
end
|
|
590
|
-
|
|
591
|
-
# Update properties of this object
|
|
592
|
-
def update!(**args)
|
|
593
|
-
@repository = args[:repository] if args.key?(:repository)
|
|
594
|
-
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
|
595
|
-
end
|
|
596
|
-
end
|
|
611
|
+
attr_accessor :function
|
|
597
612
|
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
613
|
+
# Optional. Line within the source file. 1-based; 0 indicates no line number
|
|
614
|
+
# available.
|
|
615
|
+
# Corresponds to the JSON property `line`
|
|
616
|
+
# @return [Fixnum]
|
|
617
|
+
attr_accessor :line
|
|
601
618
|
|
|
602
619
|
def initialize(**args)
|
|
603
620
|
update!(**args)
|
|
@@ -605,49 +622,46 @@ module Google
|
|
|
605
622
|
|
|
606
623
|
# Update properties of this object
|
|
607
624
|
def update!(**args)
|
|
625
|
+
@file = args[:file] if args.key?(:file)
|
|
626
|
+
@function = args[:function] if args.key?(:function)
|
|
627
|
+
@line = args[:line] if args.key?(:line)
|
|
608
628
|
end
|
|
609
629
|
end
|
|
610
630
|
|
|
611
|
-
#
|
|
612
|
-
|
|
613
|
-
class LogEntryOperation
|
|
631
|
+
# Application log line emitted while processing a request.
|
|
632
|
+
class LogLine
|
|
614
633
|
include Google::Apis::Core::Hashable
|
|
615
634
|
|
|
616
|
-
#
|
|
617
|
-
#
|
|
618
|
-
# Corresponds to the JSON property `id`
|
|
635
|
+
# App-provided log message.
|
|
636
|
+
# Corresponds to the JSON property `logMessage`
|
|
619
637
|
# @return [String]
|
|
620
|
-
attr_accessor :
|
|
621
|
-
|
|
622
|
-
# Optional. Set this to True if this is the first log entry in the operation.
|
|
623
|
-
# Corresponds to the JSON property `first`
|
|
624
|
-
# @return [Boolean]
|
|
625
|
-
attr_accessor :first
|
|
626
|
-
alias_method :first?, :first
|
|
638
|
+
attr_accessor :log_message
|
|
627
639
|
|
|
628
|
-
#
|
|
629
|
-
#
|
|
630
|
-
# "github.com/MyProject/MyApplication".
|
|
631
|
-
# Corresponds to the JSON property `producer`
|
|
640
|
+
# Severity of this log entry.
|
|
641
|
+
# Corresponds to the JSON property `severity`
|
|
632
642
|
# @return [String]
|
|
633
|
-
attr_accessor :
|
|
643
|
+
attr_accessor :severity
|
|
634
644
|
|
|
635
|
-
#
|
|
636
|
-
# Corresponds to the JSON property `
|
|
637
|
-
# @return [
|
|
638
|
-
attr_accessor :
|
|
639
|
-
|
|
645
|
+
# Specifies a location in a source code file.
|
|
646
|
+
# Corresponds to the JSON property `sourceLocation`
|
|
647
|
+
# @return [Google::Apis::LoggingV2::SourceLocation]
|
|
648
|
+
attr_accessor :source_location
|
|
649
|
+
|
|
650
|
+
# Approximate time when this log entry was made.
|
|
651
|
+
# Corresponds to the JSON property `time`
|
|
652
|
+
# @return [String]
|
|
653
|
+
attr_accessor :time
|
|
640
654
|
|
|
641
655
|
def initialize(**args)
|
|
642
656
|
update!(**args)
|
|
643
657
|
end
|
|
644
658
|
|
|
645
659
|
# Update properties of this object
|
|
646
|
-
def update!(**args)
|
|
647
|
-
@
|
|
648
|
-
@
|
|
649
|
-
@
|
|
650
|
-
@
|
|
660
|
+
def update!(**args)
|
|
661
|
+
@log_message = args[:log_message] if args.key?(:log_message)
|
|
662
|
+
@severity = args[:severity] if args.key?(:severity)
|
|
663
|
+
@source_location = args[:source_location] if args.key?(:source_location)
|
|
664
|
+
@time = args[:time] if args.key?(:time)
|
|
651
665
|
end
|
|
652
666
|
end
|
|
653
667
|
|
|
@@ -656,12 +670,10 @@ module Google
|
|
|
656
670
|
class LogMetric
|
|
657
671
|
include Google::Apis::Core::Hashable
|
|
658
672
|
|
|
659
|
-
#
|
|
660
|
-
#
|
|
661
|
-
# is missing, the default value of V2 should be assumed.
|
|
662
|
-
# Corresponds to the JSON property `version`
|
|
673
|
+
# Optional. A description of this metric, which is used in documentation.
|
|
674
|
+
# Corresponds to the JSON property `description`
|
|
663
675
|
# @return [String]
|
|
664
|
-
attr_accessor :
|
|
676
|
+
attr_accessor :description
|
|
665
677
|
|
|
666
678
|
# Required. An advanced logs filter which is used to match log entries. Example:
|
|
667
679
|
# "resource.type=gae_app AND severity>=ERROR"
|
|
@@ -683,10 +695,11 @@ module Google
|
|
|
683
695
|
# @return [String]
|
|
684
696
|
attr_accessor :name
|
|
685
697
|
|
|
686
|
-
#
|
|
687
|
-
#
|
|
698
|
+
# Deprecated. The API version that created or updated this metric. The v2 format
|
|
699
|
+
# is used by default and cannot be changed.
|
|
700
|
+
# Corresponds to the JSON property `version`
|
|
688
701
|
# @return [String]
|
|
689
|
-
attr_accessor :
|
|
702
|
+
attr_accessor :version
|
|
690
703
|
|
|
691
704
|
def initialize(**args)
|
|
692
705
|
update!(**args)
|
|
@@ -694,50 +707,10 @@ module Google
|
|
|
694
707
|
|
|
695
708
|
# Update properties of this object
|
|
696
709
|
def update!(**args)
|
|
697
|
-
@
|
|
710
|
+
@description = args[:description] if args.key?(:description)
|
|
698
711
|
@filter = args[:filter] if args.key?(:filter)
|
|
699
712
|
@name = args[:name] if args.key?(:name)
|
|
700
|
-
@
|
|
701
|
-
end
|
|
702
|
-
end
|
|
703
|
-
|
|
704
|
-
# An object representing a resource that can be used for monitoring, logging,
|
|
705
|
-
# billing, or other purposes. Examples include virtual machine instances,
|
|
706
|
-
# databases, and storage devices such as disks. The type field identifies a
|
|
707
|
-
# MonitoredResourceDescriptor object that describes the resource's schema.
|
|
708
|
-
# Information in the labels field identifies the actual resource and its
|
|
709
|
-
# attributes according to the schema. For example, a particular Compute Engine
|
|
710
|
-
# VM instance could be represented by the following object, because the
|
|
711
|
-
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
|
|
712
|
-
# zone":
|
|
713
|
-
# ` "type": "gce_instance",
|
|
714
|
-
# "labels": ` "instance_id": "12345678901234",
|
|
715
|
-
# "zone": "us-central1-a" ``
|
|
716
|
-
class MonitoredResource
|
|
717
|
-
include Google::Apis::Core::Hashable
|
|
718
|
-
|
|
719
|
-
# Required. The monitored resource type. This field must match the type field of
|
|
720
|
-
# a MonitoredResourceDescriptor object. For example, the type of a Compute
|
|
721
|
-
# Engine VM instance is gce_instance.
|
|
722
|
-
# Corresponds to the JSON property `type`
|
|
723
|
-
# @return [String]
|
|
724
|
-
attr_accessor :type
|
|
725
|
-
|
|
726
|
-
# Required. Values for all of the labels listed in the associated monitored
|
|
727
|
-
# resource descriptor. For example, Compute Engine VM instances use the labels "
|
|
728
|
-
# project_id", "instance_id", and "zone".
|
|
729
|
-
# Corresponds to the JSON property `labels`
|
|
730
|
-
# @return [Hash<String,String>]
|
|
731
|
-
attr_accessor :labels
|
|
732
|
-
|
|
733
|
-
def initialize(**args)
|
|
734
|
-
update!(**args)
|
|
735
|
-
end
|
|
736
|
-
|
|
737
|
-
# Update properties of this object
|
|
738
|
-
def update!(**args)
|
|
739
|
-
@type = args[:type] if args.key?(:type)
|
|
740
|
-
@labels = args[:labels] if args.key?(:labels)
|
|
713
|
+
@version = args[:version] if args.key?(:version)
|
|
741
714
|
end
|
|
742
715
|
end
|
|
743
716
|
|
|
@@ -749,20 +722,33 @@ module Google
|
|
|
749
722
|
class LogSink
|
|
750
723
|
include Google::Apis::Core::Hashable
|
|
751
724
|
|
|
752
|
-
#
|
|
753
|
-
#
|
|
754
|
-
#
|
|
755
|
-
#
|
|
725
|
+
# Required. The export destination:
|
|
726
|
+
# "storage.googleapis.com/[GCS_BUCKET]"
|
|
727
|
+
# "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
|
|
728
|
+
# "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
|
|
729
|
+
# The sink's writer_identity, set when the sink is created, must have permission
|
|
730
|
+
# to write to the destination or else the log entries are not exported. For more
|
|
731
|
+
# information, see Exporting Logs With Sinks.
|
|
732
|
+
# Corresponds to the JSON property `destination`
|
|
756
733
|
# @return [String]
|
|
757
|
-
attr_accessor :
|
|
734
|
+
attr_accessor :destination
|
|
758
735
|
|
|
759
|
-
#
|
|
760
|
-
#
|
|
761
|
-
#
|
|
762
|
-
#
|
|
763
|
-
# Corresponds to the JSON property `
|
|
736
|
+
# Optional. The time at which this sink will stop exporting log entries. Log
|
|
737
|
+
# entries are exported only if their timestamp is earlier than the end time. If
|
|
738
|
+
# this field is not supplied, there is no end time. If both a start time and an
|
|
739
|
+
# end time are provided, then the end time must be later than the start time.
|
|
740
|
+
# Corresponds to the JSON property `endTime`
|
|
764
741
|
# @return [String]
|
|
765
|
-
attr_accessor :
|
|
742
|
+
attr_accessor :end_time
|
|
743
|
+
|
|
744
|
+
# Optional. An advanced logs filter. The only exported log entries are those
|
|
745
|
+
# that are in the resource owning the sink and that match the filter. The filter
|
|
746
|
+
# must use the log entry format specified by the output_version_format parameter.
|
|
747
|
+
# For example, in the v2 format:
|
|
748
|
+
# logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
|
|
749
|
+
# Corresponds to the JSON property `filter`
|
|
750
|
+
# @return [String]
|
|
751
|
+
attr_accessor :filter
|
|
766
752
|
|
|
767
753
|
# Optional. This field applies only to sinks owned by organizations and folders.
|
|
768
754
|
# If the field is false, the default, only the logs owned by the sink's parent
|
|
@@ -781,33 +767,19 @@ module Google
|
|
|
781
767
|
attr_accessor :include_children
|
|
782
768
|
alias_method :include_children?, :include_children
|
|
783
769
|
|
|
784
|
-
# Required. The
|
|
785
|
-
# "
|
|
786
|
-
#
|
|
787
|
-
#
|
|
788
|
-
#
|
|
789
|
-
# to write to the destination or else the log entries are not exported. For more
|
|
790
|
-
# information, see Exporting Logs With Sinks.
|
|
791
|
-
# Corresponds to the JSON property `destination`
|
|
792
|
-
# @return [String]
|
|
793
|
-
attr_accessor :destination
|
|
794
|
-
|
|
795
|
-
# Optional. An advanced logs filter. The only exported log entries are those
|
|
796
|
-
# that are in the resource owning the sink and that match the filter. The filter
|
|
797
|
-
# must use the log entry format specified by the output_version_format parameter.
|
|
798
|
-
# For example, in the v2 format:
|
|
799
|
-
# logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
|
|
800
|
-
# Corresponds to the JSON property `filter`
|
|
770
|
+
# Required. The client-assigned sink identifier, unique within the project.
|
|
771
|
+
# Example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100
|
|
772
|
+
# characters and can include only the following characters: upper and lower-case
|
|
773
|
+
# alphanumeric characters, underscores, hyphens, and periods.
|
|
774
|
+
# Corresponds to the JSON property `name`
|
|
801
775
|
# @return [String]
|
|
802
|
-
attr_accessor :
|
|
776
|
+
attr_accessor :name
|
|
803
777
|
|
|
804
|
-
#
|
|
805
|
-
#
|
|
806
|
-
#
|
|
807
|
-
# end time are provided, then the end time must be later than the start time.
|
|
808
|
-
# Corresponds to the JSON property `endTime`
|
|
778
|
+
# Deprecated. The log entry format to use for this sink's exported log entries.
|
|
779
|
+
# The v2 format is used by default and cannot be changed.
|
|
780
|
+
# Corresponds to the JSON property `outputVersionFormat`
|
|
809
781
|
# @return [String]
|
|
810
|
-
attr_accessor :
|
|
782
|
+
attr_accessor :output_version_format
|
|
811
783
|
|
|
812
784
|
# Optional. The time at which this sink will begin exporting log entries. Log
|
|
813
785
|
# entries are exported only if their timestamp is not earlier than the start
|
|
@@ -835,80 +807,45 @@ module Google
|
|
|
835
807
|
|
|
836
808
|
# Update properties of this object
|
|
837
809
|
def update!(**args)
|
|
838
|
-
@output_version_format = args[:output_version_format] if args.key?(:output_version_format)
|
|
839
|
-
@name = args[:name] if args.key?(:name)
|
|
840
|
-
@include_children = args[:include_children] if args.key?(:include_children)
|
|
841
810
|
@destination = args[:destination] if args.key?(:destination)
|
|
842
|
-
@filter = args[:filter] if args.key?(:filter)
|
|
843
811
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
812
|
+
@filter = args[:filter] if args.key?(:filter)
|
|
813
|
+
@include_children = args[:include_children] if args.key?(:include_children)
|
|
814
|
+
@name = args[:name] if args.key?(:name)
|
|
815
|
+
@output_version_format = args[:output_version_format] if args.key?(:output_version_format)
|
|
844
816
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
845
817
|
@writer_identity = args[:writer_identity] if args.key?(:writer_identity)
|
|
846
818
|
end
|
|
847
819
|
end
|
|
848
820
|
|
|
849
|
-
#
|
|
850
|
-
|
|
821
|
+
# An object representing a resource that can be used for monitoring, logging,
|
|
822
|
+
# billing, or other purposes. Examples include virtual machine instances,
|
|
823
|
+
# databases, and storage devices such as disks. The type field identifies a
|
|
824
|
+
# MonitoredResourceDescriptor object that describes the resource's schema.
|
|
825
|
+
# Information in the labels field identifies the actual resource and its
|
|
826
|
+
# attributes according to the schema. For example, a particular Compute Engine
|
|
827
|
+
# VM instance could be represented by the following object, because the
|
|
828
|
+
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
|
|
829
|
+
# zone":
|
|
830
|
+
# ` "type": "gce_instance",
|
|
831
|
+
# "labels": ` "instance_id": "12345678901234",
|
|
832
|
+
# "zone": "us-central1-a" ``
|
|
833
|
+
class MonitoredResource
|
|
851
834
|
include Google::Apis::Core::Hashable
|
|
852
835
|
|
|
853
|
-
# Required.
|
|
854
|
-
# resource
|
|
855
|
-
#
|
|
856
|
-
# also creates and inserts values for timestamp and insert_id if the entries do
|
|
857
|
-
# not provide them. The created insert_id for the N'th entry in this list will
|
|
858
|
-
# be greater than earlier entries and less than later entries. Otherwise, the
|
|
859
|
-
# order of log entries in this list does not matter.To improve throughput and to
|
|
860
|
-
# avoid exceeding the quota limit for calls to entries.write, you should write
|
|
861
|
-
# multiple log entries at once rather than calling this method for each
|
|
862
|
-
# individual log entry.
|
|
863
|
-
# Corresponds to the JSON property `entries`
|
|
864
|
-
# @return [Array<Google::Apis::LoggingV2::LogEntry>]
|
|
865
|
-
attr_accessor :entries
|
|
866
|
-
|
|
867
|
-
# Optional. A default log resource name that is assigned to all log entries in
|
|
868
|
-
# entries that do not specify a value for log_name:
|
|
869
|
-
# "projects/[PROJECT_ID]/logs/[LOG_ID]"
|
|
870
|
-
# "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
|
|
871
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
|
|
872
|
-
# "folders/[FOLDER_ID]/logs/[LOG_ID]"
|
|
873
|
-
# [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog"
|
|
874
|
-
# or "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%
|
|
875
|
-
# 2Factivity". For more information about log names, see LogEntry.
|
|
876
|
-
# Corresponds to the JSON property `logName`
|
|
877
|
-
# @return [String]
|
|
878
|
-
attr_accessor :log_name
|
|
879
|
-
|
|
880
|
-
# Optional. Whether valid entries should be written even if some other entries
|
|
881
|
-
# fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any entry is not
|
|
882
|
-
# written, then the response status is the error associated with one of the
|
|
883
|
-
# failed entries and the response includes error details keyed by the entries'
|
|
884
|
-
# zero-based index in the entries.write method.
|
|
885
|
-
# Corresponds to the JSON property `partialSuccess`
|
|
886
|
-
# @return [Boolean]
|
|
887
|
-
attr_accessor :partial_success
|
|
888
|
-
alias_method :partial_success?, :partial_success
|
|
889
|
-
|
|
890
|
-
# Optional. Default labels that are added to the labels field of all log entries
|
|
891
|
-
# in entries. If a log entry already has a label with the same key as a label in
|
|
892
|
-
# this parameter, then the log entry's label is not changed. See LogEntry.
|
|
836
|
+
# Required. Values for all of the labels listed in the associated monitored
|
|
837
|
+
# resource descriptor. For example, Compute Engine VM instances use the labels "
|
|
838
|
+
# project_id", "instance_id", and "zone".
|
|
893
839
|
# Corresponds to the JSON property `labels`
|
|
894
840
|
# @return [Hash<String,String>]
|
|
895
841
|
attr_accessor :labels
|
|
896
842
|
|
|
897
|
-
#
|
|
898
|
-
#
|
|
899
|
-
#
|
|
900
|
-
#
|
|
901
|
-
#
|
|
902
|
-
|
|
903
|
-
# VM instance could be represented by the following object, because the
|
|
904
|
-
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
|
|
905
|
-
# zone":
|
|
906
|
-
# ` "type": "gce_instance",
|
|
907
|
-
# "labels": ` "instance_id": "12345678901234",
|
|
908
|
-
# "zone": "us-central1-a" ``
|
|
909
|
-
# Corresponds to the JSON property `resource`
|
|
910
|
-
# @return [Google::Apis::LoggingV2::MonitoredResource]
|
|
911
|
-
attr_accessor :resource
|
|
843
|
+
# Required. The monitored resource type. This field must match the type field of
|
|
844
|
+
# a MonitoredResourceDescriptor object. For example, the type of a Compute
|
|
845
|
+
# Engine VM instance is gce_instance.
|
|
846
|
+
# Corresponds to the JSON property `type`
|
|
847
|
+
# @return [String]
|
|
848
|
+
attr_accessor :type
|
|
912
849
|
|
|
913
850
|
def initialize(**args)
|
|
914
851
|
update!(**args)
|
|
@@ -916,57 +853,57 @@ module Google
|
|
|
916
853
|
|
|
917
854
|
# Update properties of this object
|
|
918
855
|
def update!(**args)
|
|
919
|
-
@entries = args[:entries] if args.key?(:entries)
|
|
920
|
-
@log_name = args[:log_name] if args.key?(:log_name)
|
|
921
|
-
@partial_success = args[:partial_success] if args.key?(:partial_success)
|
|
922
856
|
@labels = args[:labels] if args.key?(:labels)
|
|
923
|
-
@
|
|
857
|
+
@type = args[:type] if args.key?(:type)
|
|
924
858
|
end
|
|
925
859
|
end
|
|
926
860
|
|
|
927
|
-
#
|
|
928
|
-
|
|
861
|
+
# An object that describes the schema of a MonitoredResource object using a type
|
|
862
|
+
# name and a set of labels. For example, the monitored resource descriptor for
|
|
863
|
+
# Google Compute Engine VM instances has a type of "gce_instance" and specifies
|
|
864
|
+
# the use of the labels "instance_id" and "zone" to identify particular VM
|
|
865
|
+
# instances.Different APIs can support different monitored resource types. APIs
|
|
866
|
+
# generally provide a list method that returns the monitored resource
|
|
867
|
+
# descriptors used by the API.
|
|
868
|
+
class MonitoredResourceDescriptor
|
|
929
869
|
include Google::Apis::Core::Hashable
|
|
930
870
|
|
|
931
|
-
# A
|
|
932
|
-
#
|
|
933
|
-
# Corresponds to the JSON property `
|
|
934
|
-
# @return [Array<String>]
|
|
935
|
-
attr_accessor :log_names
|
|
936
|
-
|
|
937
|
-
# If there might be more results than those appearing in this response, then
|
|
938
|
-
# nextPageToken is included. To get the next set of results, call this method
|
|
939
|
-
# again using the value of nextPageToken as pageToken.
|
|
940
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
871
|
+
# Optional. A detailed description of the monitored resource type that might be
|
|
872
|
+
# used in documentation.
|
|
873
|
+
# Corresponds to the JSON property `description`
|
|
941
874
|
# @return [String]
|
|
942
|
-
attr_accessor :
|
|
943
|
-
|
|
944
|
-
def initialize(**args)
|
|
945
|
-
update!(**args)
|
|
946
|
-
end
|
|
875
|
+
attr_accessor :description
|
|
947
876
|
|
|
948
|
-
#
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
877
|
+
# Optional. A concise name for the monitored resource type that might be
|
|
878
|
+
# displayed in user interfaces. It should be a Title Cased Noun Phrase, without
|
|
879
|
+
# any article or other determiners. For example, "Google Cloud SQL Database".
|
|
880
|
+
# Corresponds to the JSON property `displayName`
|
|
881
|
+
# @return [String]
|
|
882
|
+
attr_accessor :display_name
|
|
954
883
|
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
884
|
+
# Required. A set of labels used to describe instances of this monitored
|
|
885
|
+
# resource type. For example, an individual Google Cloud SQL database is
|
|
886
|
+
# identified by values for the labels "database_id" and "zone".
|
|
887
|
+
# Corresponds to the JSON property `labels`
|
|
888
|
+
# @return [Array<Google::Apis::LoggingV2::LabelDescriptor>]
|
|
889
|
+
attr_accessor :labels
|
|
958
890
|
|
|
959
|
-
#
|
|
960
|
-
#
|
|
961
|
-
#
|
|
962
|
-
#
|
|
891
|
+
# Optional. The resource name of the monitored resource descriptor: "projects/`
|
|
892
|
+
# project_id`/monitoredResourceDescriptors/`type`" where `type` is the value of
|
|
893
|
+
# the type field in this object and `project_id` is a project ID that provides
|
|
894
|
+
# API-specific context for accessing the type. APIs that do not use project
|
|
895
|
+
# information can use the resource name format "monitoredResourceDescriptors/`
|
|
896
|
+
# type`".
|
|
897
|
+
# Corresponds to the JSON property `name`
|
|
963
898
|
# @return [String]
|
|
964
|
-
attr_accessor :
|
|
899
|
+
attr_accessor :name
|
|
965
900
|
|
|
966
|
-
#
|
|
967
|
-
#
|
|
968
|
-
#
|
|
969
|
-
|
|
901
|
+
# Required. The monitored resource type. For example, the type "
|
|
902
|
+
# cloudsql_database" represents databases in Google Cloud SQL. The maximum
|
|
903
|
+
# length of this value is 256 characters.
|
|
904
|
+
# Corresponds to the JSON property `type`
|
|
905
|
+
# @return [String]
|
|
906
|
+
attr_accessor :type
|
|
970
907
|
|
|
971
908
|
def initialize(**args)
|
|
972
909
|
update!(**args)
|
|
@@ -974,200 +911,195 @@ module Google
|
|
|
974
911
|
|
|
975
912
|
# Update properties of this object
|
|
976
913
|
def update!(**args)
|
|
977
|
-
@
|
|
978
|
-
@
|
|
914
|
+
@description = args[:description] if args.key?(:description)
|
|
915
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
916
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
917
|
+
@name = args[:name] if args.key?(:name)
|
|
918
|
+
@type = args[:type] if args.key?(:type)
|
|
979
919
|
end
|
|
980
920
|
end
|
|
981
921
|
|
|
982
|
-
#
|
|
983
|
-
#
|
|
984
|
-
|
|
985
|
-
class HttpRequest
|
|
922
|
+
# Complete log information about a single HTTP request to an App Engine
|
|
923
|
+
# application.
|
|
924
|
+
class RequestLog
|
|
986
925
|
include Google::Apis::Core::Hashable
|
|
987
926
|
|
|
988
|
-
#
|
|
989
|
-
# Corresponds to the JSON property `
|
|
927
|
+
# App Engine release version.
|
|
928
|
+
# Corresponds to the JSON property `appEngineRelease`
|
|
990
929
|
# @return [String]
|
|
991
|
-
attr_accessor :
|
|
992
|
-
|
|
993
|
-
# The size of the HTTP request message in bytes, including the request headers
|
|
994
|
-
# and the request body.
|
|
995
|
-
# Corresponds to the JSON property `requestSize`
|
|
996
|
-
# @return [Fixnum]
|
|
997
|
-
attr_accessor :request_size
|
|
998
|
-
|
|
999
|
-
# The size of the HTTP response message sent back to the client, in bytes,
|
|
1000
|
-
# including the response headers and the response body.
|
|
1001
|
-
# Corresponds to the JSON property `responseSize`
|
|
1002
|
-
# @return [Fixnum]
|
|
1003
|
-
attr_accessor :response_size
|
|
930
|
+
attr_accessor :app_engine_release
|
|
1004
931
|
|
|
1005
|
-
#
|
|
1006
|
-
#
|
|
1007
|
-
# Corresponds to the JSON property `requestUrl`
|
|
932
|
+
# Application that handled this request.
|
|
933
|
+
# Corresponds to the JSON property `appId`
|
|
1008
934
|
# @return [String]
|
|
1009
|
-
attr_accessor :
|
|
935
|
+
attr_accessor :app_id
|
|
1010
936
|
|
|
1011
|
-
#
|
|
1012
|
-
# to
|
|
1013
|
-
#
|
|
1014
|
-
|
|
1015
|
-
attr_accessor :server_ip
|
|
937
|
+
# An indication of the relative cost of serving this request.
|
|
938
|
+
# Corresponds to the JSON property `cost`
|
|
939
|
+
# @return [Float]
|
|
940
|
+
attr_accessor :cost
|
|
1016
941
|
|
|
1017
|
-
#
|
|
1018
|
-
#
|
|
1019
|
-
# Corresponds to the JSON property `remoteIp`
|
|
942
|
+
# Time when the request finished.
|
|
943
|
+
# Corresponds to the JSON property `endTime`
|
|
1020
944
|
# @return [String]
|
|
1021
|
-
attr_accessor :
|
|
945
|
+
attr_accessor :end_time
|
|
1022
946
|
|
|
1023
|
-
# Whether
|
|
1024
|
-
# Corresponds to the JSON property `
|
|
947
|
+
# Whether this request is finished or active.
|
|
948
|
+
# Corresponds to the JSON property `finished`
|
|
1025
949
|
# @return [Boolean]
|
|
1026
|
-
attr_accessor :
|
|
1027
|
-
alias_method :
|
|
950
|
+
attr_accessor :finished
|
|
951
|
+
alias_method :finished?, :finished
|
|
1028
952
|
|
|
1029
|
-
# Whether
|
|
1030
|
-
#
|
|
953
|
+
# Whether this is the first RequestLog entry for this request. If an active
|
|
954
|
+
# request has several RequestLog entries written to Stackdriver Logging, then
|
|
955
|
+
# this field will be set for one of them.
|
|
956
|
+
# Corresponds to the JSON property `first`
|
|
1031
957
|
# @return [Boolean]
|
|
1032
|
-
attr_accessor :
|
|
1033
|
-
alias_method :
|
|
958
|
+
attr_accessor :first
|
|
959
|
+
alias_method :first?, :first
|
|
1034
960
|
|
|
1035
|
-
#
|
|
1036
|
-
#
|
|
1037
|
-
#
|
|
1038
|
-
|
|
1039
|
-
attr_accessor :cache_validated_with_origin_server
|
|
1040
|
-
alias_method :cache_validated_with_origin_server?, :cache_validated_with_origin_server
|
|
961
|
+
# Internet host and port number of the resource being requested.
|
|
962
|
+
# Corresponds to the JSON property `host`
|
|
963
|
+
# @return [String]
|
|
964
|
+
attr_accessor :host
|
|
1041
965
|
|
|
1042
|
-
#
|
|
1043
|
-
# Corresponds to the JSON property `
|
|
966
|
+
# HTTP version of request. Example: "HTTP/1.1".
|
|
967
|
+
# Corresponds to the JSON property `httpVersion`
|
|
968
|
+
# @return [String]
|
|
969
|
+
attr_accessor :http_version
|
|
970
|
+
|
|
971
|
+
# An identifier for the instance that handled the request.
|
|
972
|
+
# Corresponds to the JSON property `instanceId`
|
|
973
|
+
# @return [String]
|
|
974
|
+
attr_accessor :instance_id
|
|
975
|
+
|
|
976
|
+
# If the instance processing this request belongs to a manually scaled module,
|
|
977
|
+
# then this is the 0-based index of the instance. Otherwise, this value is -1.
|
|
978
|
+
# Corresponds to the JSON property `instanceIndex`
|
|
1044
979
|
# @return [Fixnum]
|
|
1045
|
-
attr_accessor :
|
|
980
|
+
attr_accessor :instance_index
|
|
1046
981
|
|
|
1047
|
-
#
|
|
1048
|
-
#
|
|
1049
|
-
# Corresponds to the JSON property `referer`
|
|
982
|
+
# Origin IP address.
|
|
983
|
+
# Corresponds to the JSON property `ip`
|
|
1050
984
|
# @return [String]
|
|
1051
|
-
attr_accessor :
|
|
985
|
+
attr_accessor :ip
|
|
1052
986
|
|
|
1053
|
-
#
|
|
1054
|
-
# received until the response was sent.
|
|
987
|
+
# Latency of the request.
|
|
1055
988
|
# Corresponds to the JSON property `latency`
|
|
1056
989
|
# @return [String]
|
|
1057
990
|
attr_accessor :latency
|
|
1058
991
|
|
|
1059
|
-
#
|
|
1060
|
-
#
|
|
1061
|
-
#
|
|
1062
|
-
|
|
1063
|
-
attr_accessor :user_agent
|
|
992
|
+
# A list of log lines emitted by the application while serving this request.
|
|
993
|
+
# Corresponds to the JSON property `line`
|
|
994
|
+
# @return [Array<Google::Apis::LoggingV2::LogLine>]
|
|
995
|
+
attr_accessor :line
|
|
1064
996
|
|
|
1065
|
-
#
|
|
1066
|
-
#
|
|
1067
|
-
# Corresponds to the JSON property `cacheFillBytes`
|
|
997
|
+
# Number of CPU megacycles used to process request.
|
|
998
|
+
# Corresponds to the JSON property `megaCycles`
|
|
1068
999
|
# @return [Fixnum]
|
|
1069
|
-
attr_accessor :
|
|
1000
|
+
attr_accessor :mega_cycles
|
|
1070
1001
|
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1002
|
+
# Request method. Example: "GET", "HEAD", "PUT", "POST", "DELETE".
|
|
1003
|
+
# Corresponds to the JSON property `method`
|
|
1004
|
+
# @return [String]
|
|
1005
|
+
attr_accessor :method_prop
|
|
1074
1006
|
|
|
1075
|
-
#
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
@response_size = args[:response_size] if args.key?(:response_size)
|
|
1080
|
-
@request_url = args[:request_url] if args.key?(:request_url)
|
|
1081
|
-
@server_ip = args[:server_ip] if args.key?(:server_ip)
|
|
1082
|
-
@remote_ip = args[:remote_ip] if args.key?(:remote_ip)
|
|
1083
|
-
@cache_lookup = args[:cache_lookup] if args.key?(:cache_lookup)
|
|
1084
|
-
@cache_hit = args[:cache_hit] if args.key?(:cache_hit)
|
|
1085
|
-
@cache_validated_with_origin_server = args[:cache_validated_with_origin_server] if args.key?(:cache_validated_with_origin_server)
|
|
1086
|
-
@status = args[:status] if args.key?(:status)
|
|
1087
|
-
@referer = args[:referer] if args.key?(:referer)
|
|
1088
|
-
@latency = args[:latency] if args.key?(:latency)
|
|
1089
|
-
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
|
1090
|
-
@cache_fill_bytes = args[:cache_fill_bytes] if args.key?(:cache_fill_bytes)
|
|
1091
|
-
end
|
|
1092
|
-
end
|
|
1007
|
+
# Module of the application that handled this request.
|
|
1008
|
+
# Corresponds to the JSON property `moduleId`
|
|
1009
|
+
# @return [String]
|
|
1010
|
+
attr_accessor :module_id
|
|
1093
1011
|
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1012
|
+
# The logged-in user who made the request.Most likely, this is the part of the
|
|
1013
|
+
# user's email before the @ sign. The field value is the same for different
|
|
1014
|
+
# requests from the same user, but different users can have similar names. This
|
|
1015
|
+
# information is also available to the application via the App Engine Users API.
|
|
1016
|
+
# This field will be populated starting with App Engine 1.9.21.
|
|
1017
|
+
# Corresponds to the JSON property `nickname`
|
|
1018
|
+
# @return [String]
|
|
1019
|
+
attr_accessor :nickname
|
|
1097
1020
|
|
|
1098
|
-
#
|
|
1099
|
-
# Corresponds to the JSON property `
|
|
1021
|
+
# Time this request spent in the pending request queue.
|
|
1022
|
+
# Corresponds to the JSON property `pendingTime`
|
|
1100
1023
|
# @return [String]
|
|
1101
|
-
attr_accessor :
|
|
1024
|
+
attr_accessor :pending_time
|
|
1102
1025
|
|
|
1103
|
-
#
|
|
1104
|
-
# Corresponds to the JSON property `
|
|
1026
|
+
# Referrer URL of request.
|
|
1027
|
+
# Corresponds to the JSON property `referrer`
|
|
1105
1028
|
# @return [String]
|
|
1106
|
-
attr_accessor :
|
|
1029
|
+
attr_accessor :referrer
|
|
1107
1030
|
|
|
1108
|
-
#
|
|
1109
|
-
#
|
|
1031
|
+
# Globally unique identifier for a request, which is based on the request start
|
|
1032
|
+
# time. Request IDs for requests which started later will compare greater as
|
|
1033
|
+
# strings than those for requests which started earlier.
|
|
1034
|
+
# Corresponds to the JSON property `requestId`
|
|
1110
1035
|
# @return [String]
|
|
1111
|
-
attr_accessor :
|
|
1036
|
+
attr_accessor :request_id
|
|
1112
1037
|
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1038
|
+
# Contains the path and query portion of the URL that was requested. For example,
|
|
1039
|
+
# if the URL was "http://example.com/app?name=val", the resource would be "/app?
|
|
1040
|
+
# name=val". The fragment identifier, which is identified by the # character, is
|
|
1041
|
+
# not included.
|
|
1042
|
+
# Corresponds to the JSON property `resource`
|
|
1043
|
+
# @return [String]
|
|
1044
|
+
attr_accessor :resource
|
|
1116
1045
|
|
|
1117
|
-
#
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1046
|
+
# Size in bytes sent back to client by request.
|
|
1047
|
+
# Corresponds to the JSON property `responseSize`
|
|
1048
|
+
# @return [Fixnum]
|
|
1049
|
+
attr_accessor :response_size
|
|
1050
|
+
|
|
1051
|
+
# Source code for the application that handled this request. There can be more
|
|
1052
|
+
# than one source reference per deployed application if source code is
|
|
1053
|
+
# distributed among multiple repositories.
|
|
1054
|
+
# Corresponds to the JSON property `sourceReference`
|
|
1055
|
+
# @return [Array<Google::Apis::LoggingV2::SourceReference>]
|
|
1056
|
+
attr_accessor :source_reference
|
|
1057
|
+
|
|
1058
|
+
# Time when the request started.
|
|
1059
|
+
# Corresponds to the JSON property `startTime`
|
|
1060
|
+
# @return [String]
|
|
1061
|
+
attr_accessor :start_time
|
|
1062
|
+
|
|
1063
|
+
# HTTP response status code. Example: 200, 404.
|
|
1064
|
+
# Corresponds to the JSON property `status`
|
|
1065
|
+
# @return [Fixnum]
|
|
1066
|
+
attr_accessor :status
|
|
1124
1067
|
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
# instances.Different APIs can support different monitored resource types. APIs
|
|
1130
|
-
# generally provide a list method that returns the monitored resource
|
|
1131
|
-
# descriptors used by the API.
|
|
1132
|
-
class MonitoredResourceDescriptor
|
|
1133
|
-
include Google::Apis::Core::Hashable
|
|
1068
|
+
# Task name of the request, in the case of an offline request.
|
|
1069
|
+
# Corresponds to the JSON property `taskName`
|
|
1070
|
+
# @return [String]
|
|
1071
|
+
attr_accessor :task_name
|
|
1134
1072
|
|
|
1135
|
-
#
|
|
1136
|
-
#
|
|
1137
|
-
#
|
|
1138
|
-
|
|
1139
|
-
# @return [Array<Google::Apis::LoggingV2::LabelDescriptor>]
|
|
1140
|
-
attr_accessor :labels
|
|
1073
|
+
# Queue name of the request, in the case of an offline request.
|
|
1074
|
+
# Corresponds to the JSON property `taskQueueName`
|
|
1075
|
+
# @return [String]
|
|
1076
|
+
attr_accessor :task_queue_name
|
|
1141
1077
|
|
|
1142
|
-
#
|
|
1143
|
-
#
|
|
1144
|
-
# the type field in this object and `project_id` is a project ID that provides
|
|
1145
|
-
# API-specific context for accessing the type. APIs that do not use project
|
|
1146
|
-
# information can use the resource name format "monitoredResourceDescriptors/`
|
|
1147
|
-
# type`".
|
|
1148
|
-
# Corresponds to the JSON property `name`
|
|
1078
|
+
# Stackdriver Trace identifier for this request.
|
|
1079
|
+
# Corresponds to the JSON property `traceId`
|
|
1149
1080
|
# @return [String]
|
|
1150
|
-
attr_accessor :
|
|
1081
|
+
attr_accessor :trace_id
|
|
1151
1082
|
|
|
1152
|
-
#
|
|
1153
|
-
#
|
|
1154
|
-
# Corresponds to the JSON property `description`
|
|
1083
|
+
# File or class that handled the request.
|
|
1084
|
+
# Corresponds to the JSON property `urlMapEntry`
|
|
1155
1085
|
# @return [String]
|
|
1156
|
-
attr_accessor :
|
|
1086
|
+
attr_accessor :url_map_entry
|
|
1157
1087
|
|
|
1158
|
-
#
|
|
1159
|
-
#
|
|
1160
|
-
# any article or other determiners. For example, "Google Cloud SQL Database".
|
|
1161
|
-
# Corresponds to the JSON property `displayName`
|
|
1088
|
+
# User agent that made the request.
|
|
1089
|
+
# Corresponds to the JSON property `userAgent`
|
|
1162
1090
|
# @return [String]
|
|
1163
|
-
attr_accessor :
|
|
1091
|
+
attr_accessor :user_agent
|
|
1164
1092
|
|
|
1165
|
-
#
|
|
1166
|
-
#
|
|
1167
|
-
# length of this value is 256 characters.
|
|
1168
|
-
# Corresponds to the JSON property `type`
|
|
1093
|
+
# Version of the application that handled this request.
|
|
1094
|
+
# Corresponds to the JSON property `versionId`
|
|
1169
1095
|
# @return [String]
|
|
1170
|
-
attr_accessor :
|
|
1096
|
+
attr_accessor :version_id
|
|
1097
|
+
|
|
1098
|
+
# Whether this was a loading request for the instance.
|
|
1099
|
+
# Corresponds to the JSON property `wasLoadingRequest`
|
|
1100
|
+
# @return [Boolean]
|
|
1101
|
+
attr_accessor :was_loading_request
|
|
1102
|
+
alias_method :was_loading_request?, :was_loading_request
|
|
1171
1103
|
|
|
1172
1104
|
def initialize(**args)
|
|
1173
1105
|
update!(**args)
|
|
@@ -1175,36 +1107,61 @@ module Google
|
|
|
1175
1107
|
|
|
1176
1108
|
# Update properties of this object
|
|
1177
1109
|
def update!(**args)
|
|
1178
|
-
@
|
|
1179
|
-
@
|
|
1180
|
-
@
|
|
1181
|
-
@
|
|
1182
|
-
@
|
|
1110
|
+
@app_engine_release = args[:app_engine_release] if args.key?(:app_engine_release)
|
|
1111
|
+
@app_id = args[:app_id] if args.key?(:app_id)
|
|
1112
|
+
@cost = args[:cost] if args.key?(:cost)
|
|
1113
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
1114
|
+
@finished = args[:finished] if args.key?(:finished)
|
|
1115
|
+
@first = args[:first] if args.key?(:first)
|
|
1116
|
+
@host = args[:host] if args.key?(:host)
|
|
1117
|
+
@http_version = args[:http_version] if args.key?(:http_version)
|
|
1118
|
+
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
|
1119
|
+
@instance_index = args[:instance_index] if args.key?(:instance_index)
|
|
1120
|
+
@ip = args[:ip] if args.key?(:ip)
|
|
1121
|
+
@latency = args[:latency] if args.key?(:latency)
|
|
1122
|
+
@line = args[:line] if args.key?(:line)
|
|
1123
|
+
@mega_cycles = args[:mega_cycles] if args.key?(:mega_cycles)
|
|
1124
|
+
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
|
1125
|
+
@module_id = args[:module_id] if args.key?(:module_id)
|
|
1126
|
+
@nickname = args[:nickname] if args.key?(:nickname)
|
|
1127
|
+
@pending_time = args[:pending_time] if args.key?(:pending_time)
|
|
1128
|
+
@referrer = args[:referrer] if args.key?(:referrer)
|
|
1129
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
|
1130
|
+
@resource = args[:resource] if args.key?(:resource)
|
|
1131
|
+
@response_size = args[:response_size] if args.key?(:response_size)
|
|
1132
|
+
@source_reference = args[:source_reference] if args.key?(:source_reference)
|
|
1133
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
1134
|
+
@status = args[:status] if args.key?(:status)
|
|
1135
|
+
@task_name = args[:task_name] if args.key?(:task_name)
|
|
1136
|
+
@task_queue_name = args[:task_queue_name] if args.key?(:task_queue_name)
|
|
1137
|
+
@trace_id = args[:trace_id] if args.key?(:trace_id)
|
|
1138
|
+
@url_map_entry = args[:url_map_entry] if args.key?(:url_map_entry)
|
|
1139
|
+
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
|
1140
|
+
@version_id = args[:version_id] if args.key?(:version_id)
|
|
1141
|
+
@was_loading_request = args[:was_loading_request] if args.key?(:was_loading_request)
|
|
1183
1142
|
end
|
|
1184
1143
|
end
|
|
1185
1144
|
|
|
1186
|
-
#
|
|
1187
|
-
|
|
1188
|
-
class LogEntrySourceLocation
|
|
1145
|
+
# Specifies a location in a source code file.
|
|
1146
|
+
class SourceLocation
|
|
1189
1147
|
include Google::Apis::Core::Hashable
|
|
1190
1148
|
|
|
1191
|
-
#
|
|
1192
|
-
#
|
|
1149
|
+
# Source file name. Depending on the runtime environment, this might be a simple
|
|
1150
|
+
# name or a fully-qualified name.
|
|
1193
1151
|
# Corresponds to the JSON property `file`
|
|
1194
1152
|
# @return [String]
|
|
1195
1153
|
attr_accessor :file
|
|
1196
1154
|
|
|
1197
|
-
#
|
|
1198
|
-
#
|
|
1199
|
-
#
|
|
1200
|
-
#
|
|
1201
|
-
#
|
|
1202
|
-
# Corresponds to the JSON property `
|
|
1155
|
+
# Human-readable name of the function or method being invoked, with optional
|
|
1156
|
+
# context such as the class or package name. This information is used in
|
|
1157
|
+
# contexts such as the logs viewer, where a file and line number are less
|
|
1158
|
+
# meaningful. The format can vary by language. For example: qual.if.ied.Class.
|
|
1159
|
+
# method (Java), dir/package.func (Go), function (Python).
|
|
1160
|
+
# Corresponds to the JSON property `functionName`
|
|
1203
1161
|
# @return [String]
|
|
1204
|
-
attr_accessor :
|
|
1162
|
+
attr_accessor :function_name
|
|
1205
1163
|
|
|
1206
|
-
#
|
|
1207
|
-
# available.
|
|
1164
|
+
# Line within the source file.
|
|
1208
1165
|
# Corresponds to the JSON property `line`
|
|
1209
1166
|
# @return [Fixnum]
|
|
1210
1167
|
attr_accessor :line
|
|
@@ -1216,32 +1173,27 @@ module Google
|
|
|
1216
1173
|
# Update properties of this object
|
|
1217
1174
|
def update!(**args)
|
|
1218
1175
|
@file = args[:file] if args.key?(:file)
|
|
1219
|
-
@
|
|
1176
|
+
@function_name = args[:function_name] if args.key?(:function_name)
|
|
1220
1177
|
@line = args[:line] if args.key?(:line)
|
|
1221
1178
|
end
|
|
1222
1179
|
end
|
|
1223
1180
|
|
|
1224
|
-
#
|
|
1225
|
-
|
|
1181
|
+
# A reference to a particular snapshot of the source tree used to build and
|
|
1182
|
+
# deploy an application.
|
|
1183
|
+
class SourceReference
|
|
1226
1184
|
include Google::Apis::Core::Hashable
|
|
1227
1185
|
|
|
1228
|
-
#
|
|
1229
|
-
#
|
|
1230
|
-
#
|
|
1231
|
-
# next_page_token appears and the entries field is empty, it means that the
|
|
1232
|
-
# search found no log entries so far but it did not have time to search all the
|
|
1233
|
-
# possible log entries. Retry the method with this value for page_token to
|
|
1234
|
-
# continue the search. Alternatively, consider speeding up the search by
|
|
1235
|
-
# changing your filter to specify a single log name or resource type, or to
|
|
1236
|
-
# narrow the time range of the search.
|
|
1237
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
1186
|
+
# Optional. A URI string identifying the repository. Example: "https://github.
|
|
1187
|
+
# com/GoogleCloudPlatform/kubernetes.git"
|
|
1188
|
+
# Corresponds to the JSON property `repository`
|
|
1238
1189
|
# @return [String]
|
|
1239
|
-
attr_accessor :
|
|
1190
|
+
attr_accessor :repository
|
|
1240
1191
|
|
|
1241
|
-
#
|
|
1242
|
-
#
|
|
1243
|
-
#
|
|
1244
|
-
|
|
1192
|
+
# The canonical and persistent identifier of the deployed revision. Example (git)
|
|
1193
|
+
# : "0035781c50ec7aa23385dc841529ce8a4b70db1b"
|
|
1194
|
+
# Corresponds to the JSON property `revisionId`
|
|
1195
|
+
# @return [String]
|
|
1196
|
+
attr_accessor :revision_id
|
|
1245
1197
|
|
|
1246
1198
|
def initialize(**args)
|
|
1247
1199
|
update!(**args)
|
|
@@ -1249,34 +1201,92 @@ module Google
|
|
|
1249
1201
|
|
|
1250
1202
|
# Update properties of this object
|
|
1251
1203
|
def update!(**args)
|
|
1252
|
-
@
|
|
1253
|
-
@
|
|
1204
|
+
@repository = args[:repository] if args.key?(:repository)
|
|
1205
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
|
1254
1206
|
end
|
|
1255
1207
|
end
|
|
1256
1208
|
|
|
1257
|
-
#
|
|
1258
|
-
class
|
|
1209
|
+
# The parameters to WriteLogEntries.
|
|
1210
|
+
class WriteLogEntriesRequest
|
|
1259
1211
|
include Google::Apis::Core::Hashable
|
|
1260
1212
|
|
|
1261
|
-
#
|
|
1262
|
-
#
|
|
1263
|
-
#
|
|
1264
|
-
|
|
1213
|
+
# Required. The log entries to write. Values supplied for the fields log_name,
|
|
1214
|
+
# resource, and labels in this entries.write request are inserted into those log
|
|
1215
|
+
# entries in this list that do not provide their own values.Stackdriver Logging
|
|
1216
|
+
# also creates and inserts values for timestamp and insert_id if the entries do
|
|
1217
|
+
# not provide them. The created insert_id for the N'th entry in this list will
|
|
1218
|
+
# be greater than earlier entries and less than later entries. Otherwise, the
|
|
1219
|
+
# order of log entries in this list does not matter.To improve throughput and to
|
|
1220
|
+
# avoid exceeding the quota limit for calls to entries.write, you should write
|
|
1221
|
+
# multiple log entries at once rather than calling this method for each
|
|
1222
|
+
# individual log entry.
|
|
1223
|
+
# Corresponds to the JSON property `entries`
|
|
1224
|
+
# @return [Array<Google::Apis::LoggingV2::LogEntry>]
|
|
1225
|
+
attr_accessor :entries
|
|
1265
1226
|
|
|
1266
|
-
#
|
|
1267
|
-
#
|
|
1227
|
+
# Optional. Default labels that are added to the labels field of all log entries
|
|
1228
|
+
# in entries. If a log entry already has a label with the same key as a label in
|
|
1229
|
+
# this parameter, then the log entry's label is not changed. See LogEntry.
|
|
1230
|
+
# Corresponds to the JSON property `labels`
|
|
1231
|
+
# @return [Hash<String,String>]
|
|
1232
|
+
attr_accessor :labels
|
|
1233
|
+
|
|
1234
|
+
# Optional. A default log resource name that is assigned to all log entries in
|
|
1235
|
+
# entries that do not specify a value for log_name:
|
|
1236
|
+
# "projects/[PROJECT_ID]/logs/[LOG_ID]"
|
|
1237
|
+
# "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
|
|
1238
|
+
# "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
|
|
1239
|
+
# "folders/[FOLDER_ID]/logs/[LOG_ID]"
|
|
1240
|
+
# [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog"
|
|
1241
|
+
# or "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%
|
|
1242
|
+
# 2Factivity". For more information about log names, see LogEntry.
|
|
1243
|
+
# Corresponds to the JSON property `logName`
|
|
1268
1244
|
# @return [String]
|
|
1269
|
-
attr_accessor :
|
|
1245
|
+
attr_accessor :log_name
|
|
1270
1246
|
|
|
1271
|
-
#
|
|
1272
|
-
#
|
|
1273
|
-
#
|
|
1274
|
-
|
|
1247
|
+
# Optional. Whether valid entries should be written even if some other entries
|
|
1248
|
+
# fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any entry is not
|
|
1249
|
+
# written, then the response status is the error associated with one of the
|
|
1250
|
+
# failed entries and the response includes error details keyed by the entries'
|
|
1251
|
+
# zero-based index in the entries.write method.
|
|
1252
|
+
# Corresponds to the JSON property `partialSuccess`
|
|
1253
|
+
# @return [Boolean]
|
|
1254
|
+
attr_accessor :partial_success
|
|
1255
|
+
alias_method :partial_success?, :partial_success
|
|
1275
1256
|
|
|
1276
|
-
#
|
|
1277
|
-
#
|
|
1278
|
-
#
|
|
1279
|
-
|
|
1257
|
+
# An object representing a resource that can be used for monitoring, logging,
|
|
1258
|
+
# billing, or other purposes. Examples include virtual machine instances,
|
|
1259
|
+
# databases, and storage devices such as disks. The type field identifies a
|
|
1260
|
+
# MonitoredResourceDescriptor object that describes the resource's schema.
|
|
1261
|
+
# Information in the labels field identifies the actual resource and its
|
|
1262
|
+
# attributes according to the schema. For example, a particular Compute Engine
|
|
1263
|
+
# VM instance could be represented by the following object, because the
|
|
1264
|
+
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
|
|
1265
|
+
# zone":
|
|
1266
|
+
# ` "type": "gce_instance",
|
|
1267
|
+
# "labels": ` "instance_id": "12345678901234",
|
|
1268
|
+
# "zone": "us-central1-a" ``
|
|
1269
|
+
# Corresponds to the JSON property `resource`
|
|
1270
|
+
# @return [Google::Apis::LoggingV2::MonitoredResource]
|
|
1271
|
+
attr_accessor :resource
|
|
1272
|
+
|
|
1273
|
+
def initialize(**args)
|
|
1274
|
+
update!(**args)
|
|
1275
|
+
end
|
|
1276
|
+
|
|
1277
|
+
# Update properties of this object
|
|
1278
|
+
def update!(**args)
|
|
1279
|
+
@entries = args[:entries] if args.key?(:entries)
|
|
1280
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
1281
|
+
@log_name = args[:log_name] if args.key?(:log_name)
|
|
1282
|
+
@partial_success = args[:partial_success] if args.key?(:partial_success)
|
|
1283
|
+
@resource = args[:resource] if args.key?(:resource)
|
|
1284
|
+
end
|
|
1285
|
+
end
|
|
1286
|
+
|
|
1287
|
+
# Result returned from WriteLogEntries. empty
|
|
1288
|
+
class WriteLogEntriesResponse
|
|
1289
|
+
include Google::Apis::Core::Hashable
|
|
1280
1290
|
|
|
1281
1291
|
def initialize(**args)
|
|
1282
1292
|
update!(**args)
|
|
@@ -1284,10 +1294,6 @@ module Google
|
|
|
1284
1294
|
|
|
1285
1295
|
# Update properties of this object
|
|
1286
1296
|
def update!(**args)
|
|
1287
|
-
@log_message = args[:log_message] if args.key?(:log_message)
|
|
1288
|
-
@severity = args[:severity] if args.key?(:severity)
|
|
1289
|
-
@source_location = args[:source_location] if args.key?(:source_location)
|
|
1290
|
-
@time = args[:time] if args.key?(:time)
|
|
1291
1297
|
end
|
|
1292
1298
|
end
|
|
1293
1299
|
end
|