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