google-api-client 0.11.3 → 0.12.0
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 +51 -0
- data/api_names.yaml +32317 -34465
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +44 -44
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +14 -14
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +305 -305
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +82 -82
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +106 -106
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
- data/generated/google/apis/admin_directory_v1/service.rb +26 -26
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
- data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
- data/generated/google/apis/adsense_v1_4/service.rb +44 -44
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
- data/generated/google/apis/analytics_v3/classes.rb +3 -3
- data/generated/google/apis/analytics_v3/representations.rb +3 -3
- data/generated/google/apis/analytics_v3/service.rb +82 -82
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +916 -916
- data/generated/google/apis/analyticsreporting_v4/representations.rb +167 -167
- data/generated/google/apis/analyticsreporting_v4/service.rb +7 -7
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
- data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
- data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
- data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
- data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
- data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +825 -817
- data/generated/google/apis/appengine_v1/representations.rb +185 -184
- data/generated/google/apis/appengine_v1/service.rb +220 -216
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +9 -7
- data/generated/google/apis/bigquery_v2/representations.rb +8 -8
- data/generated/google/apis/bigquery_v2/service.rb +13 -13
- data/generated/google/apis/blogger_v3/service.rb +3 -3
- data/generated/google/apis/books_v1/classes.rb +55 -55
- data/generated/google/apis/books_v1/representations.rb +67 -67
- data/generated/google/apis/books_v1/service.rb +82 -82
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +6 -6
- data/generated/google/apis/calendar_v3/representations.rb +3 -3
- data/generated/google/apis/calendar_v3/service.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +1 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
- data/generated/google/apis/civicinfo_v2/service.rb +8 -8
- data/generated/google/apis/classroom_v1.rb +24 -24
- data/generated/google/apis/classroom_v1/classes.rb +381 -381
- data/generated/google/apis/classroom_v1/representations.rb +108 -108
- data/generated/google/apis/classroom_v1/service.rb +503 -503
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +219 -219
- data/generated/google/apis/cloudbuild_v1/representations.rb +62 -62
- data/generated/google/apis/cloudbuild_v1/service.rb +165 -165
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +133 -133
- data/generated/google/apis/clouddebugger_v2/representations.rb +29 -29
- data/generated/google/apis/clouddebugger_v2/service.rb +54 -54
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +177 -177
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +47 -47
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +123 -123
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
- data/generated/google/apis/cloudkms_v1.rb +3 -3
- data/generated/google/apis/cloudkms_v1/classes.rb +229 -229
- data/generated/google/apis/cloudkms_v1/representations.rb +54 -54
- data/generated/google/apis/cloudkms_v1/service.rb +224 -224
- data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1199 -1199
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +192 -192
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +122 -122
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +495 -495
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +92 -92
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +320 -320
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +44 -44
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +28 -28
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +57 -15
- data/generated/google/apis/compute_beta/representations.rb +30 -14
- data/generated/google/apis/compute_beta/service.rb +52 -52
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +223 -10
- data/generated/google/apis/compute_v1/representations.rb +85 -16
- data/generated/google/apis/compute_v1/service.rb +327 -51
- data/generated/google/apis/container_v1/classes.rb +267 -267
- data/generated/google/apis/container_v1/representations.rb +61 -61
- data/generated/google/apis/container_v1/service.rb +123 -123
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +71 -71
- data/generated/google/apis/content_v2/representations.rb +105 -105
- data/generated/google/apis/content_v2/service.rb +120 -120
- data/generated/google/apis/dataflow_v1b3.rb +4 -4
- data/generated/google/apis/dataflow_v1b3/classes.rb +3442 -3452
- data/generated/google/apis/dataflow_v1b3/representations.rb +388 -389
- data/generated/google/apis/dataflow_v1b3/service.rb +265 -265
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1059 -1059
- data/generated/google/apis/dataproc_v1/representations.rb +147 -147
- data/generated/google/apis/dataproc_v1/service.rb +309 -305
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +818 -818
- data/generated/google/apis/datastore_v1/representations.rb +151 -151
- data/generated/google/apis/datastore_v1/service.rb +62 -62
- data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
- data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
- data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
- data/generated/google/apis/discovery_v1/classes.rb +4 -4
- data/generated/google/apis/discovery_v1/representations.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +3 -3
- data/generated/google/apis/dns_v1/representations.rb +6 -6
- data/generated/google/apis/dns_v1/service.rb +12 -12
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +188 -188
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +62 -62
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +4 -4
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +403 -206
- data/generated/google/apis/firebaserules_v1/representations.rb +134 -54
- data/generated/google/apis/firebaserules_v1/service.rb +89 -89
- data/generated/google/apis/fusiontables_v2/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
- data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +23 -23
- data/generated/google/apis/games_v1/representations.rb +43 -43
- data/generated/google/apis/games_v1/service.rb +72 -72
- data/generated/google/apis/genomics_v1.rb +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +2296 -2297
- data/generated/google/apis/genomics_v1/representations.rb +298 -298
- data/generated/google/apis/genomics_v1/service.rb +1160 -1160
- data/generated/google/apis/groupssettings_v1/service.rb +0 -3
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +235 -235
- data/generated/google/apis/iam_v1/representations.rb +72 -72
- data/generated/google/apis/iam_v1/service.rb +189 -189
- data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
- data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
- data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +10 -10
- data/generated/google/apis/language_v1/classes.rb +220 -220
- data/generated/google/apis/language_v1/representations.rb +81 -81
- data/generated/google/apis/language_v1/service.rb +43 -43
- data/generated/google/apis/language_v1beta1/classes.rb +448 -448
- data/generated/google/apis/language_v1beta1/representations.rb +106 -106
- data/generated/google/apis/language_v1beta1/service.rb +31 -31
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/logging_v2/classes.rb +737 -737
- data/generated/google/apis/logging_v2/representations.rb +120 -120
- data/generated/google/apis/logging_v2/service.rb +479 -479
- data/generated/google/apis/logging_v2beta1/classes.rb +293 -293
- data/generated/google/apis/logging_v2beta1/representations.rb +54 -54
- data/generated/google/apis/logging_v2beta1/service.rb +349 -349
- data/generated/google/apis/manufacturers_v1/classes.rb +423 -423
- data/generated/google/apis/manufacturers_v1/representations.rb +61 -61
- data/generated/google/apis/manufacturers_v1/service.rb +8 -8
- data/generated/google/apis/mirror_v1/classes.rb +5 -5
- data/generated/google/apis/mirror_v1/representations.rb +10 -10
- data/generated/google/apis/mirror_v1/service.rb +20 -20
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1285 -1205
- data/generated/google/apis/ml_v1/representations.rb +204 -174
- data/generated/google/apis/ml_v1/service.rb +150 -145
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +880 -880
- data/generated/google/apis/monitoring_v3/representations.rb +154 -154
- data/generated/google/apis/monitoring_v3/service.rb +299 -299
- data/generated/google/apis/mybusiness_v3/service.rb +5 -5
- data/generated/google/apis/oauth2_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
- data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +524 -509
- data/generated/google/apis/partners_v2/representations.rb +115 -111
- data/generated/google/apis/partners_v2/service.rb +287 -287
- data/generated/google/apis/people_v1.rb +13 -13
- data/generated/google/apis/people_v1/classes.rb +1150 -1150
- data/generated/google/apis/people_v1/representations.rb +258 -258
- data/generated/google/apis/people_v1/service.rb +7 -7
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +4 -4
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/service.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -8
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +554 -554
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +108 -108
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +224 -224
- data/generated/google/apis/pubsub_v1/classes.rb +228 -228
- data/generated/google/apis/pubsub_v1/representations.rb +69 -69
- data/generated/google/apis/pubsub_v1/service.rb +182 -182
- data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
- data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
- data/generated/google/apis/qpx_express_v1/service.rb +8 -8
- data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
- data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
- data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
- data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
- data/generated/google/apis/runtimeconfig_v1.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1/classes.rb +19 -19
- data/generated/google/apis/runtimeconfig_v1/representations.rb +10 -10
- data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
- data/generated/google/apis/script_v1.rb +9 -9
- data/generated/google/apis/script_v1/classes.rb +94 -94
- data/generated/google/apis/script_v1/representations.rb +26 -26
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +65 -65
- data/generated/google/apis/searchconsole_v1/representations.rb +27 -27
- data/generated/google/apis/searchconsole_v1/service.rb +6 -6
- data/generated/google/apis/servicecontrol_v1/classes.rb +1131 -1131
- data/generated/google/apis/servicecontrol_v1/representations.rb +195 -195
- data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
- data/generated/google/apis/servicemanagement_v1.rb +7 -7
- data/generated/google/apis/servicemanagement_v1/classes.rb +3543 -3585
- data/generated/google/apis/servicemanagement_v1/representations.rb +556 -556
- data/generated/google/apis/servicemanagement_v1/service.rb +309 -309
- data/generated/google/apis/serviceuser_v1.rb +4 -4
- data/generated/google/apis/serviceuser_v1/classes.rb +2734 -2776
- data/generated/google/apis/serviceuser_v1/representations.rb +398 -398
- data/generated/google/apis/serviceuser_v1/service.rb +16 -16
- data/generated/google/apis/sheets_v4/classes.rb +1489 -1489
- data/generated/google/apis/sheets_v4/representations.rb +324 -324
- data/generated/google/apis/sheets_v4/service.rb +49 -49
- data/generated/google/apis/site_verification_v1/classes.rb +6 -6
- data/generated/google/apis/site_verification_v1/representations.rb +8 -8
- data/generated/google/apis/site_verification_v1/service.rb +12 -12
- data/generated/google/apis/slides_v1.rb +4 -4
- data/generated/google/apis/slides_v1/classes.rb +2907 -2907
- data/generated/google/apis/slides_v1/representations.rb +695 -695
- data/generated/google/apis/slides_v1/service.rb +40 -40
- data/generated/google/apis/sourcerepo_v1.rb +7 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +459 -452
- data/generated/google/apis/sourcerepo_v1/representations.rb +90 -89
- data/generated/google/apis/sourcerepo_v1/service.rb +101 -100
- data/generated/google/apis/spanner_v1/classes.rb +2557 -2557
- data/generated/google/apis/spanner_v1/representations.rb +205 -205
- data/generated/google/apis/spanner_v1/service.rb +525 -525
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +73 -73
- data/generated/google/apis/speech_v1beta1/representations.rb +25 -25
- data/generated/google/apis/speech_v1beta1/service.rb +33 -33
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +16 -15
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +28 -28
- data/generated/google/apis/sqladmin_v1beta4/service.rb +58 -57
- data/generated/google/apis/storage_v1/classes.rb +6 -6
- data/generated/google/apis/storage_v1/representations.rb +4 -4
- data/generated/google/apis/storage_v1/service.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +357 -357
- data/generated/google/apis/storagetransfer_v1/representations.rb +87 -87
- data/generated/google/apis/storagetransfer_v1/service.rb +53 -48
- data/generated/google/apis/tagmanager_v1/service.rb +33 -33
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/translate_v2.rb +1 -1
- data/generated/google/apis/translate_v2/classes.rb +46 -46
- data/generated/google/apis/translate_v2/representations.rb +22 -22
- data/generated/google/apis/translate_v2/service.rb +81 -74
- data/generated/google/apis/vision_v1/classes.rb +1290 -1290
- data/generated/google/apis/vision_v1/representations.rb +166 -166
- data/generated/google/apis/vision_v1/service.rb +6 -6
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/representations.rb +8 -8
- data/generated/google/apis/webmasters_v3/service.rb +21 -21
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_v3/classes.rb +20 -20
- data/generated/google/apis/youtube_v3/representations.rb +40 -40
- data/generated/google/apis/youtube_v3/service.rb +80 -80
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +127 -127
- data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
- data/generated/google/apis/youtubereporting_v1/service.rb +90 -90
- data/google-api-client.gemspec +3 -3
- data/lib/google/apis/core/base_service.rb +6 -0
- data/lib/google/apis/generator/annotator.rb +2 -2
- data/lib/google/apis/generator/model.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -94
- data/dl.rb +0 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +0 -35
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +0 -1335
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +0 -446
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +0 -872
- data/generated/google/apis/appengine_v1beta4.rb +0 -35
- data/generated/google/apis/appengine_v1beta4/classes.rb +0 -1585
- data/generated/google/apis/appengine_v1beta4/representations.rb +0 -542
- data/generated/google/apis/appengine_v1beta4/service.rb +0 -477
- data/generated/google/apis/appengine_v1beta5.rb +0 -40
- data/generated/google/apis/appengine_v1beta5/classes.rb +0 -2094
- data/generated/google/apis/appengine_v1beta5/representations.rb +0 -802
- data/generated/google/apis/appengine_v1beta5/service.rb +0 -867
- data/generated/google/apis/autoscaler_v1beta2.rb +0 -38
- data/generated/google/apis/autoscaler_v1beta2/classes.rb +0 -710
- data/generated/google/apis/autoscaler_v1beta2/representations.rb +0 -296
- data/generated/google/apis/autoscaler_v1beta2/service.rb +0 -478
- data/generated/google/apis/classroom_v1beta1.rb +0 -49
- data/generated/google/apis/classroom_v1beta1/classes.rb +0 -447
- data/generated/google/apis/classroom_v1beta1/representations.rb +0 -190
- data/generated/google/apis/classroom_v1beta1/service.rb +0 -791
- data/generated/google/apis/cloudkms_v1beta1.rb +0 -35
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +0 -1039
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +0 -448
- data/generated/google/apis/cloudkms_v1beta1/service.rb +0 -933
- data/generated/google/apis/cloudlatencytest_v2.rb +0 -34
- data/generated/google/apis/cloudlatencytest_v2/classes.rb +0 -195
- data/generated/google/apis/cloudlatencytest_v2/representations.rb +0 -127
- data/generated/google/apis/cloudlatencytest_v2/service.rb +0 -135
- data/generated/google/apis/container_v1beta1.rb +0 -35
- data/generated/google/apis/container_v1beta1/classes.rb +0 -466
- data/generated/google/apis/container_v1beta1/representations.rb +0 -177
- data/generated/google/apis/container_v1beta1/service.rb +0 -394
- data/generated/google/apis/coordinate_v1.rb +0 -37
- data/generated/google/apis/coordinate_v1/classes.rb +0 -669
- data/generated/google/apis/coordinate_v1/representations.rb +0 -321
- data/generated/google/apis/coordinate_v1/service.rb +0 -678
- data/generated/google/apis/datastore_v1beta2.rb +0 -40
- data/generated/google/apis/datastore_v1beta2/classes.rb +0 -1186
- data/generated/google/apis/datastore_v1beta2/representations.rb +0 -594
- data/generated/google/apis/datastore_v1beta2/service.rb +0 -294
- data/generated/google/apis/datastore_v1beta3.rb +0 -38
- data/generated/google/apis/datastore_v1beta3/classes.rb +0 -1284
- data/generated/google/apis/datastore_v1beta3/representations.rb +0 -572
- data/generated/google/apis/datastore_v1beta3/service.rb +0 -259
- data/generated/google/apis/deploymentmanager_v2beta2.rb +0 -44
- data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +0 -843
- data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +0 -306
- data/generated/google/apis/deploymentmanager_v2beta2/service.rb +0 -689
- data/generated/google/apis/dfareporting_v2_1.rb +0 -37
- data/generated/google/apis/dfareporting_v2_1/classes.rb +0 -10770
- data/generated/google/apis/dfareporting_v2_1/representations.rb +0 -3438
- data/generated/google/apis/dfareporting_v2_1/service.rb +0 -8585
- data/generated/google/apis/dfareporting_v2_3.rb +0 -37
- data/generated/google/apis/dfareporting_v2_3/classes.rb +0 -10839
- data/generated/google/apis/dfareporting_v2_3/representations.rb +0 -3829
- data/generated/google/apis/dfareporting_v2_3/service.rb +0 -8581
- data/generated/google/apis/dfareporting_v2_5.rb +0 -40
- data/generated/google/apis/dfareporting_v2_5/classes.rb +0 -11225
- data/generated/google/apis/dfareporting_v2_5/representations.rb +0 -3982
- data/generated/google/apis/dfareporting_v2_5/service.rb +0 -8755
- data/generated/google/apis/dfareporting_v2_6.rb +0 -40
- data/generated/google/apis/dfareporting_v2_6/classes.rb +0 -11599
- data/generated/google/apis/dfareporting_v2_6/representations.rb +0 -4119
- data/generated/google/apis/dfareporting_v2_6/service.rb +0 -9026
- data/generated/google/apis/gan_v1beta1.rb +0 -31
- data/generated/google/apis/gan_v1beta1/classes.rb +0 -1428
- data/generated/google/apis/gan_v1beta1/representations.rb +0 -462
- data/generated/google/apis/gan_v1beta1/service.rb +0 -682
- data/generated/google/apis/genomics_v1beta2.rb +0 -46
- data/generated/google/apis/genomics_v1beta2/classes.rb +0 -3288
- data/generated/google/apis/genomics_v1beta2/representations.rb +0 -1194
- data/generated/google/apis/genomics_v1beta2/service.rb +0 -2392
- data/generated/google/apis/logging_v1beta3.rb +0 -47
- data/generated/google/apis/logging_v1beta3/classes.rb +0 -1079
- data/generated/google/apis/logging_v1beta3/representations.rb +0 -366
- data/generated/google/apis/logging_v1beta3/service.rb +0 -1001
- data/generated/google/apis/manager_v1beta2.rb +0 -53
- data/generated/google/apis/manager_v1beta2/classes.rb +0 -1287
- data/generated/google/apis/manager_v1beta2/representations.rb +0 -606
- data/generated/google/apis/manager_v1beta2/service.rb +0 -372
- data/generated/google/apis/pubsub_v1beta2.rb +0 -37
- data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -620
- data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -282
- data/generated/google/apis/pubsub_v1beta2/service.rb +0 -774
- data/generated/google/apis/tracing_v1.rb +0 -40
- data/generated/google/apis/tracing_v1/classes.rb +0 -664
- data/generated/google/apis/tracing_v1/representations.rb +0 -279
- data/generated/google/apis/tracing_v1/service.rb +0 -226
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/monitoring/api/
|
28
28
|
module MonitoringV3
|
29
29
|
VERSION = 'V3'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20170530'
|
31
31
|
|
32
32
|
# View and write monitoring data for all of your Google and third-party Cloud and API projects
|
33
33
|
AUTH_MONITORING = 'https://www.googleapis.com/auth/monitoring'
|
@@ -22,47 +22,21 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module MonitoringV3
|
24
24
|
|
25
|
-
#
|
26
|
-
class
|
25
|
+
# The ListGroups response.
|
26
|
+
class ListGroupsResponse
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
#
|
30
|
-
# Corresponds to the JSON property `
|
31
|
-
# @return [
|
32
|
-
attr_accessor :
|
33
|
-
|
34
|
-
# Distribution contains summary statistics for a population of values. It
|
35
|
-
# optionally contains a histogram representing the distribution of those values
|
36
|
-
# across a set of buckets.The summary statistics are the count, mean, sum of the
|
37
|
-
# squared deviation from the mean, the minimum, and the maximum of the set of
|
38
|
-
# population of values. The histogram is based on a sequence of buckets and
|
39
|
-
# gives a count of values that fall into each bucket. The boundaries of the
|
40
|
-
# buckets are given either explicitly or by formulas for buckets of fixed or
|
41
|
-
# exponentially increasing widths.Although it is not forbidden, it is generally
|
42
|
-
# a bad idea to include non-finite values (infinities or NaNs) in the population
|
43
|
-
# of values, as this will render the mean and sum_of_squared_deviation fields
|
44
|
-
# meaningless.
|
45
|
-
# Corresponds to the JSON property `distributionValue`
|
46
|
-
# @return [Google::Apis::MonitoringV3::Distribution]
|
47
|
-
attr_accessor :distribution_value
|
48
|
-
|
49
|
-
# A Boolean value: true or false.
|
50
|
-
# Corresponds to the JSON property `boolValue`
|
51
|
-
# @return [Boolean]
|
52
|
-
attr_accessor :bool_value
|
53
|
-
alias_method :bool_value?, :bool_value
|
29
|
+
# The groups that match the specified filters.
|
30
|
+
# Corresponds to the JSON property `group`
|
31
|
+
# @return [Array<Google::Apis::MonitoringV3::Group>]
|
32
|
+
attr_accessor :group
|
54
33
|
|
55
|
-
#
|
56
|
-
#
|
34
|
+
# If there are more results than have been returned, then this field is set to a
|
35
|
+
# non-empty value. To see the additional results, use that value as pageToken in
|
36
|
+
# the next call to this method.
|
37
|
+
# Corresponds to the JSON property `nextPageToken`
|
57
38
|
# @return [String]
|
58
|
-
attr_accessor :
|
59
|
-
|
60
|
-
# A 64-bit double-precision floating-point number. Its magnitude is
|
61
|
-
# approximately ±10<sup>±300</sup> and it has 16 significant
|
62
|
-
# digits of precision.
|
63
|
-
# Corresponds to the JSON property `doubleValue`
|
64
|
-
# @return [Float]
|
65
|
-
attr_accessor :double_value
|
39
|
+
attr_accessor :next_page_token
|
66
40
|
|
67
41
|
def initialize(**args)
|
68
42
|
update!(**args)
|
@@ -70,59 +44,31 @@ module Google
|
|
70
44
|
|
71
45
|
# Update properties of this object
|
72
46
|
def update!(**args)
|
73
|
-
@
|
74
|
-
@
|
75
|
-
@bool_value = args[:bool_value] if args.key?(:bool_value)
|
76
|
-
@string_value = args[:string_value] if args.key?(:string_value)
|
77
|
-
@double_value = args[:double_value] if args.key?(:double_value)
|
47
|
+
@group = args[:group] if args.key?(:group)
|
48
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
78
49
|
end
|
79
50
|
end
|
80
51
|
|
81
|
-
#
|
82
|
-
|
83
|
-
class CollectdPayload
|
52
|
+
# The ListGroupMembers response.
|
53
|
+
class ListGroupMembersResponse
|
84
54
|
include Google::Apis::Core::Hashable
|
85
55
|
|
86
|
-
#
|
87
|
-
# Corresponds to the JSON property `
|
88
|
-
# @return [
|
89
|
-
attr_accessor :
|
90
|
-
|
91
|
-
# The measurement metadata. Example: "process_id" -> 12345
|
92
|
-
# Corresponds to the JSON property `metadata`
|
93
|
-
# @return [Hash<String,Google::Apis::MonitoringV3::TypedValue>]
|
94
|
-
attr_accessor :metadata
|
95
|
-
|
96
|
-
# The measurement type. Example: "memory".
|
97
|
-
# Corresponds to the JSON property `type`
|
98
|
-
# @return [String]
|
99
|
-
attr_accessor :type
|
100
|
-
|
101
|
-
# The name of the plugin. Example: "disk".
|
102
|
-
# Corresponds to the JSON property `plugin`
|
103
|
-
# @return [String]
|
104
|
-
attr_accessor :plugin
|
105
|
-
|
106
|
-
# The instance name of the plugin Example: "hdcl".
|
107
|
-
# Corresponds to the JSON property `pluginInstance`
|
108
|
-
# @return [String]
|
109
|
-
attr_accessor :plugin_instance
|
110
|
-
|
111
|
-
# The end time of the interval.
|
112
|
-
# Corresponds to the JSON property `endTime`
|
113
|
-
# @return [String]
|
114
|
-
attr_accessor :end_time
|
56
|
+
# A set of monitored resources in the group.
|
57
|
+
# Corresponds to the JSON property `members`
|
58
|
+
# @return [Array<Google::Apis::MonitoringV3::MonitoredResource>]
|
59
|
+
attr_accessor :members
|
115
60
|
|
116
|
-
#
|
117
|
-
#
|
61
|
+
# If there are more results than have been returned, then this field is set to a
|
62
|
+
# non-empty value. To see the additional results, use that value as pageToken in
|
63
|
+
# the next call to this method.
|
64
|
+
# Corresponds to the JSON property `nextPageToken`
|
118
65
|
# @return [String]
|
119
|
-
attr_accessor :
|
66
|
+
attr_accessor :next_page_token
|
120
67
|
|
121
|
-
# The
|
122
|
-
#
|
123
|
-
#
|
124
|
-
|
125
|
-
attr_accessor :values
|
68
|
+
# The total number of elements matching this request.
|
69
|
+
# Corresponds to the JSON property `totalSize`
|
70
|
+
# @return [Fixnum]
|
71
|
+
attr_accessor :total_size
|
126
72
|
|
127
73
|
def initialize(**args)
|
128
74
|
update!(**args)
|
@@ -130,40 +76,44 @@ module Google
|
|
130
76
|
|
131
77
|
# Update properties of this object
|
132
78
|
def update!(**args)
|
133
|
-
@
|
134
|
-
@
|
135
|
-
@
|
136
|
-
@plugin = args[:plugin] if args.key?(:plugin)
|
137
|
-
@plugin_instance = args[:plugin_instance] if args.key?(:plugin_instance)
|
138
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
139
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
140
|
-
@values = args[:values] if args.key?(:values)
|
79
|
+
@members = args[:members] if args.key?(:members)
|
80
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
81
|
+
@total_size = args[:total_size] if args.key?(:total_size)
|
141
82
|
end
|
142
83
|
end
|
143
84
|
|
144
|
-
#
|
145
|
-
|
146
|
-
# uncertainty on the specific value in the bucket.There are num_finite_buckets +
|
147
|
-
# 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-
|
148
|
-
# 1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1))
|
149
|
-
# .
|
150
|
-
class Linear
|
85
|
+
# The CreateCollectdTimeSeries request.
|
86
|
+
class CreateCollectdTimeSeriesRequest
|
151
87
|
include Google::Apis::Core::Hashable
|
152
88
|
|
153
|
-
#
|
154
|
-
#
|
155
|
-
#
|
156
|
-
|
89
|
+
# An object representing a resource that can be used for monitoring, logging,
|
90
|
+
# billing, or other purposes. Examples include virtual machine instances,
|
91
|
+
# databases, and storage devices such as disks. The type field identifies a
|
92
|
+
# MonitoredResourceDescriptor object that describes the resource's schema.
|
93
|
+
# Information in the labels field identifies the actual resource and its
|
94
|
+
# attributes according to the schema. For example, a particular Compute Engine
|
95
|
+
# VM instance could be represented by the following object, because the
|
96
|
+
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
|
97
|
+
# zone":
|
98
|
+
# ` "type": "gce_instance",
|
99
|
+
# "labels": ` "instance_id": "12345678901234",
|
100
|
+
# "zone": "us-central1-a" ``
|
101
|
+
# Corresponds to the JSON property `resource`
|
102
|
+
# @return [Google::Apis::MonitoringV3::MonitoredResource]
|
103
|
+
attr_accessor :resource
|
157
104
|
|
158
|
-
#
|
159
|
-
#
|
160
|
-
#
|
161
|
-
|
105
|
+
# The collectd payloads representing the time series data. You must not include
|
106
|
+
# more than a single point for each time series, so no two payloads can have the
|
107
|
+
# same values for all of the fields plugin, plugin_instance, type, and
|
108
|
+
# type_instance.
|
109
|
+
# Corresponds to the JSON property `collectdPayloads`
|
110
|
+
# @return [Array<Google::Apis::MonitoringV3::CollectdPayload>]
|
111
|
+
attr_accessor :collectd_payloads
|
162
112
|
|
163
|
-
#
|
164
|
-
# Corresponds to the JSON property `
|
165
|
-
# @return [
|
166
|
-
attr_accessor :
|
113
|
+
# The version of collectd that collected the data. Example: "5.3.0-192.el6".
|
114
|
+
# Corresponds to the JSON property `collectdVersion`
|
115
|
+
# @return [String]
|
116
|
+
attr_accessor :collectd_version
|
167
117
|
|
168
118
|
def initialize(**args)
|
169
119
|
update!(**args)
|
@@ -171,32 +121,28 @@ module Google
|
|
171
121
|
|
172
122
|
# Update properties of this object
|
173
123
|
def update!(**args)
|
174
|
-
@
|
175
|
-
@
|
176
|
-
@
|
124
|
+
@resource = args[:resource] if args.key?(:resource)
|
125
|
+
@collectd_payloads = args[:collectd_payloads] if args.key?(:collectd_payloads)
|
126
|
+
@collectd_version = args[:collectd_version] if args.key?(:collectd_version)
|
177
127
|
end
|
178
128
|
end
|
179
129
|
|
180
|
-
#
|
181
|
-
|
182
|
-
class Option
|
130
|
+
# The ListMonitoredResourceDescriptors response.
|
131
|
+
class ListMonitoredResourceDescriptorsResponse
|
183
132
|
include Google::Apis::Core::Hashable
|
184
133
|
|
185
|
-
#
|
186
|
-
#
|
187
|
-
#
|
188
|
-
#
|
189
|
-
# Corresponds to the JSON property `name`
|
134
|
+
# If there are more results than have been returned, then this field is set to a
|
135
|
+
# non-empty value. To see the additional results, use that value as pageToken in
|
136
|
+
# the next call to this method.
|
137
|
+
# Corresponds to the JSON property `nextPageToken`
|
190
138
|
# @return [String]
|
191
|
-
attr_accessor :
|
139
|
+
attr_accessor :next_page_token
|
192
140
|
|
193
|
-
# The
|
194
|
-
#
|
195
|
-
#
|
196
|
-
#
|
197
|
-
|
198
|
-
# @return [Hash<String,Object>]
|
199
|
-
attr_accessor :value
|
141
|
+
# The monitored resource descriptors that are available to this project and that
|
142
|
+
# match filter, if present.
|
143
|
+
# Corresponds to the JSON property `resourceDescriptors`
|
144
|
+
# @return [Array<Google::Apis::MonitoringV3::MonitoredResourceDescriptor>]
|
145
|
+
attr_accessor :resource_descriptors
|
200
146
|
|
201
147
|
def initialize(**args)
|
202
148
|
update!(**args)
|
@@ -204,43 +150,69 @@ module Google
|
|
204
150
|
|
205
151
|
# Update properties of this object
|
206
152
|
def update!(**args)
|
207
|
-
@
|
208
|
-
@
|
153
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
154
|
+
@resource_descriptors = args[:resource_descriptors] if args.key?(:resource_descriptors)
|
209
155
|
end
|
210
156
|
end
|
211
157
|
|
212
|
-
# A
|
213
|
-
#
|
214
|
-
#
|
215
|
-
#
|
216
|
-
|
217
|
-
# `
|
218
|
-
# The JSON representation for Empty is empty JSON object ``.
|
219
|
-
class Empty
|
158
|
+
# A collection of data points that describes the time-varying values of a metric.
|
159
|
+
# A time series is identified by a combination of a fully-specified monitored
|
160
|
+
# resource and a fully-specified metric. This type is used for both listing and
|
161
|
+
# creating time series.
|
162
|
+
class TimeSeries
|
220
163
|
include Google::Apis::Core::Hashable
|
221
164
|
|
222
|
-
|
223
|
-
|
224
|
-
|
165
|
+
# An object representing a resource that can be used for monitoring, logging,
|
166
|
+
# billing, or other purposes. Examples include virtual machine instances,
|
167
|
+
# databases, and storage devices such as disks. The type field identifies a
|
168
|
+
# MonitoredResourceDescriptor object that describes the resource's schema.
|
169
|
+
# Information in the labels field identifies the actual resource and its
|
170
|
+
# attributes according to the schema. For example, a particular Compute Engine
|
171
|
+
# VM instance could be represented by the following object, because the
|
172
|
+
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
|
173
|
+
# zone":
|
174
|
+
# ` "type": "gce_instance",
|
175
|
+
# "labels": ` "instance_id": "12345678901234",
|
176
|
+
# "zone": "us-central1-a" ``
|
177
|
+
# Corresponds to the JSON property `resource`
|
178
|
+
# @return [Google::Apis::MonitoringV3::MonitoredResource]
|
179
|
+
attr_accessor :resource
|
225
180
|
|
226
|
-
#
|
227
|
-
|
228
|
-
|
229
|
-
|
181
|
+
# The metric kind of the time series. When listing time series, this metric kind
|
182
|
+
# might be different from the metric kind of the associated metric if this time
|
183
|
+
# series is an alignment or reduction of other time series.When creating a time
|
184
|
+
# series, this field is optional. If present, it must be the same as the metric
|
185
|
+
# kind of the associated metric. If the associated metric's descriptor must be
|
186
|
+
# auto-created, then this field specifies the metric kind of the new descriptor
|
187
|
+
# and must be either GAUGE (the default) or CUMULATIVE.
|
188
|
+
# Corresponds to the JSON property `metricKind`
|
189
|
+
# @return [String]
|
190
|
+
attr_accessor :metric_kind
|
230
191
|
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
# underflow buckets.
|
237
|
-
class Explicit
|
238
|
-
include Google::Apis::Core::Hashable
|
192
|
+
# A specific metric, identified by specifying values for all of the labels of a
|
193
|
+
# MetricDescriptor.
|
194
|
+
# Corresponds to the JSON property `metric`
|
195
|
+
# @return [Google::Apis::MonitoringV3::Metric]
|
196
|
+
attr_accessor :metric
|
239
197
|
|
240
|
-
# The
|
241
|
-
#
|
242
|
-
#
|
243
|
-
|
198
|
+
# The data points of this time series. When listing time series, the order of
|
199
|
+
# the points is specified by the list method.When creating a time series, this
|
200
|
+
# field must contain exactly one point and the point's type must be the same as
|
201
|
+
# the value type of the associated metric. If the associated metric's descriptor
|
202
|
+
# must be auto-created, then the value type of the descriptor is determined by
|
203
|
+
# the point's type, which must be BOOL, INT64, DOUBLE, or DISTRIBUTION.
|
204
|
+
# Corresponds to the JSON property `points`
|
205
|
+
# @return [Array<Google::Apis::MonitoringV3::Point>]
|
206
|
+
attr_accessor :points
|
207
|
+
|
208
|
+
# The value type of the time series. When listing time series, this value type
|
209
|
+
# might be different from the value type of the associated metric if this time
|
210
|
+
# series is an alignment or reduction of other time series.When creating a time
|
211
|
+
# series, this field is optional. If present, it must be the same as the type of
|
212
|
+
# the data in the points field.
|
213
|
+
# Corresponds to the JSON property `valueType`
|
214
|
+
# @return [String]
|
215
|
+
attr_accessor :value_type
|
244
216
|
|
245
217
|
def initialize(**args)
|
246
218
|
update!(**args)
|
@@ -248,26 +220,26 @@ module Google
|
|
248
220
|
|
249
221
|
# Update properties of this object
|
250
222
|
def update!(**args)
|
251
|
-
@
|
223
|
+
@resource = args[:resource] if args.key?(:resource)
|
224
|
+
@metric_kind = args[:metric_kind] if args.key?(:metric_kind)
|
225
|
+
@metric = args[:metric] if args.key?(:metric)
|
226
|
+
@points = args[:points] if args.key?(:points)
|
227
|
+
@value_type = args[:value_type] if args.key?(:value_type)
|
252
228
|
end
|
253
229
|
end
|
254
230
|
|
255
|
-
#
|
256
|
-
|
257
|
-
# point in time.
|
258
|
-
class TimeInterval
|
231
|
+
# The CreateTimeSeries request.
|
232
|
+
class CreateTimeSeriesRequest
|
259
233
|
include Google::Apis::Core::Hashable
|
260
234
|
|
261
|
-
#
|
262
|
-
#
|
263
|
-
#
|
264
|
-
|
265
|
-
|
266
|
-
#
|
267
|
-
#
|
268
|
-
|
269
|
-
# @return [String]
|
270
|
-
attr_accessor :start_time
|
235
|
+
# The new data to be added to a list of time series. Adds at most one data point
|
236
|
+
# to each of several time series. The new data point must be more recent than
|
237
|
+
# any other point in its time series. Each TimeSeries value must fully specify a
|
238
|
+
# unique time series by supplying all label values for the metric and the
|
239
|
+
# monitored resource.
|
240
|
+
# Corresponds to the JSON property `timeSeries`
|
241
|
+
# @return [Array<Google::Apis::MonitoringV3::TimeSeries>]
|
242
|
+
attr_accessor :time_series
|
271
243
|
|
272
244
|
def initialize(**args)
|
273
245
|
update!(**args)
|
@@ -275,34 +247,79 @@ module Google
|
|
275
247
|
|
276
248
|
# Update properties of this object
|
277
249
|
def update!(**args)
|
278
|
-
@
|
279
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
250
|
+
@time_series = args[:time_series] if args.key?(:time_series)
|
280
251
|
end
|
281
252
|
end
|
282
253
|
|
283
|
-
#
|
284
|
-
#
|
285
|
-
#
|
286
|
-
#
|
287
|
-
#
|
288
|
-
#
|
289
|
-
|
254
|
+
# Distribution contains summary statistics for a population of values. It
|
255
|
+
# optionally contains a histogram representing the distribution of those values
|
256
|
+
# across a set of buckets.The summary statistics are the count, mean, sum of the
|
257
|
+
# squared deviation from the mean, the minimum, and the maximum of the set of
|
258
|
+
# population of values. The histogram is based on a sequence of buckets and
|
259
|
+
# gives a count of values that fall into each bucket. The boundaries of the
|
260
|
+
# buckets are given either explicitly or by formulas for buckets of fixed or
|
261
|
+
# exponentially increasing widths.Although it is not forbidden, it is generally
|
262
|
+
# a bad idea to include non-finite values (infinities or NaNs) in the population
|
263
|
+
# of values, as this will render the mean and sum_of_squared_deviation fields
|
264
|
+
# meaningless.
|
265
|
+
class Distribution
|
290
266
|
include Google::Apis::Core::Hashable
|
291
267
|
|
292
|
-
#
|
293
|
-
# Corresponds to the JSON property `
|
294
|
-
# @return [
|
295
|
-
attr_accessor :
|
268
|
+
# The range of the population values.
|
269
|
+
# Corresponds to the JSON property `range`
|
270
|
+
# @return [Google::Apis::MonitoringV3::Range]
|
271
|
+
attr_accessor :range
|
296
272
|
|
297
|
-
# Must be
|
298
|
-
#
|
273
|
+
# The number of values in the population. Must be non-negative. This value must
|
274
|
+
# equal the sum of the values in bucket_counts if a histogram is provided.
|
275
|
+
# Corresponds to the JSON property `count`
|
276
|
+
# @return [Fixnum]
|
277
|
+
attr_accessor :count
|
278
|
+
|
279
|
+
# The arithmetic mean of the values in the population. If count is zero then
|
280
|
+
# this field must be zero.
|
281
|
+
# Corresponds to the JSON property `mean`
|
299
282
|
# @return [Float]
|
300
|
-
attr_accessor :
|
283
|
+
attr_accessor :mean
|
301
284
|
|
302
|
-
#
|
303
|
-
#
|
304
|
-
#
|
305
|
-
|
285
|
+
# Required in the Stackdriver Monitoring API v3. The values for each bucket
|
286
|
+
# specified in bucket_options. The sum of the values in bucketCounts must equal
|
287
|
+
# the value in the count field of the Distribution object. The order of the
|
288
|
+
# bucket counts follows the numbering schemes described for the three bucket
|
289
|
+
# types. The underflow bucket has number 0; the finite buckets, if any, have
|
290
|
+
# numbers 1 through N-2; and the overflow bucket has number N-1. The size of
|
291
|
+
# bucket_counts must not be greater than N. If the size is less than N, then the
|
292
|
+
# remaining buckets are assigned values of zero.
|
293
|
+
# Corresponds to the JSON property `bucketCounts`
|
294
|
+
# @return [Array<Fixnum>]
|
295
|
+
attr_accessor :bucket_counts
|
296
|
+
|
297
|
+
# BucketOptions describes the bucket boundaries used to create a histogram for
|
298
|
+
# the distribution. The buckets can be in a linear sequence, an exponential
|
299
|
+
# sequence, or each bucket can be specified explicitly. BucketOptions does not
|
300
|
+
# include the number of values in each bucket.A bucket has an inclusive lower
|
301
|
+
# bound and exclusive upper bound for the values that are counted for that
|
302
|
+
# bucket. The upper bound of a bucket must be strictly greater than the lower
|
303
|
+
# bound. The sequence of N buckets for a distribution consists of an underflow
|
304
|
+
# bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an
|
305
|
+
# overflow bucket (number N - 1). The buckets are contiguous: the lower bound of
|
306
|
+
# bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets
|
307
|
+
# span the whole range of finite values: lower bound of the underflow bucket is -
|
308
|
+
# infinity and the upper bound of the overflow bucket is +infinity. The finite
|
309
|
+
# buckets are so-called because both bounds are finite.
|
310
|
+
# Corresponds to the JSON property `bucketOptions`
|
311
|
+
# @return [Google::Apis::MonitoringV3::BucketOptions]
|
312
|
+
attr_accessor :bucket_options
|
313
|
+
|
314
|
+
# The sum of squared deviations from the mean of the values in the population.
|
315
|
+
# For values x_i this is:
|
316
|
+
# Sum[i=1..n]((x_i - mean)^2)
|
317
|
+
# Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition
|
318
|
+
# describes Welford's method for accumulating this sum in one pass.If count is
|
319
|
+
# zero then this field must be zero.
|
320
|
+
# Corresponds to the JSON property `sumOfSquaredDeviation`
|
321
|
+
# @return [Float]
|
322
|
+
attr_accessor :sum_of_squared_deviation
|
306
323
|
|
307
324
|
def initialize(**args)
|
308
325
|
update!(**args)
|
@@ -310,27 +327,43 @@ module Google
|
|
310
327
|
|
311
328
|
# Update properties of this object
|
312
329
|
def update!(**args)
|
313
|
-
@
|
314
|
-
@
|
315
|
-
@
|
330
|
+
@range = args[:range] if args.key?(:range)
|
331
|
+
@count = args[:count] if args.key?(:count)
|
332
|
+
@mean = args[:mean] if args.key?(:mean)
|
333
|
+
@bucket_counts = args[:bucket_counts] if args.key?(:bucket_counts)
|
334
|
+
@bucket_options = args[:bucket_options] if args.key?(:bucket_options)
|
335
|
+
@sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation)
|
316
336
|
end
|
317
337
|
end
|
318
338
|
|
319
|
-
#
|
320
|
-
|
339
|
+
# An object representing a resource that can be used for monitoring, logging,
|
340
|
+
# billing, or other purposes. Examples include virtual machine instances,
|
341
|
+
# databases, and storage devices such as disks. The type field identifies a
|
342
|
+
# MonitoredResourceDescriptor object that describes the resource's schema.
|
343
|
+
# Information in the labels field identifies the actual resource and its
|
344
|
+
# attributes according to the schema. For example, a particular Compute Engine
|
345
|
+
# VM instance could be represented by the following object, because the
|
346
|
+
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
|
347
|
+
# zone":
|
348
|
+
# ` "type": "gce_instance",
|
349
|
+
# "labels": ` "instance_id": "12345678901234",
|
350
|
+
# "zone": "us-central1-a" ``
|
351
|
+
class MonitoredResource
|
321
352
|
include Google::Apis::Core::Hashable
|
322
353
|
|
323
|
-
#
|
324
|
-
#
|
325
|
-
#
|
326
|
-
|
354
|
+
# Required. Values for all of the labels listed in the associated monitored
|
355
|
+
# resource descriptor. For example, Compute Engine VM instances use the labels "
|
356
|
+
# project_id", "instance_id", and "zone".
|
357
|
+
# Corresponds to the JSON property `labels`
|
358
|
+
# @return [Hash<String,String>]
|
359
|
+
attr_accessor :labels
|
327
360
|
|
328
|
-
#
|
329
|
-
#
|
330
|
-
#
|
331
|
-
# Corresponds to the JSON property `
|
332
|
-
# @return [
|
333
|
-
attr_accessor :
|
361
|
+
# Required. The monitored resource type. This field must match the type field of
|
362
|
+
# a MonitoredResourceDescriptor object. For example, the type of a Compute
|
363
|
+
# Engine VM instance is gce_instance.
|
364
|
+
# Corresponds to the JSON property `type`
|
365
|
+
# @return [String]
|
366
|
+
attr_accessor :type
|
334
367
|
|
335
368
|
def initialize(**args)
|
336
369
|
update!(**args)
|
@@ -338,27 +371,27 @@ module Google
|
|
338
371
|
|
339
372
|
# Update properties of this object
|
340
373
|
def update!(**args)
|
341
|
-
@
|
342
|
-
@
|
374
|
+
@labels = args[:labels] if args.key?(:labels)
|
375
|
+
@type = args[:type] if args.key?(:type)
|
343
376
|
end
|
344
377
|
end
|
345
378
|
|
346
|
-
#
|
347
|
-
|
348
|
-
class Metric
|
379
|
+
# The ListMetricDescriptors response.
|
380
|
+
class ListMetricDescriptorsResponse
|
349
381
|
include Google::Apis::Core::Hashable
|
350
382
|
|
351
|
-
#
|
352
|
-
#
|
353
|
-
# Corresponds to the JSON property `
|
354
|
-
# @return [
|
355
|
-
attr_accessor :
|
383
|
+
# The metric descriptors that are available to the project and that match the
|
384
|
+
# value of filter, if present.
|
385
|
+
# Corresponds to the JSON property `metricDescriptors`
|
386
|
+
# @return [Array<Google::Apis::MonitoringV3::MetricDescriptor>]
|
387
|
+
attr_accessor :metric_descriptors
|
356
388
|
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
|
389
|
+
# If there are more results than have been returned, then this field is set to a
|
390
|
+
# non-empty value. To see the additional results, use that value as pageToken in
|
391
|
+
# the next call to this method.
|
392
|
+
# Corresponds to the JSON property `nextPageToken`
|
393
|
+
# @return [String]
|
394
|
+
attr_accessor :next_page_token
|
362
395
|
|
363
396
|
def initialize(**args)
|
364
397
|
update!(**args)
|
@@ -366,67 +399,57 @@ module Google
|
|
366
399
|
|
367
400
|
# Update properties of this object
|
368
401
|
def update!(**args)
|
369
|
-
@
|
370
|
-
@
|
402
|
+
@metric_descriptors = args[:metric_descriptors] if args.key?(:metric_descriptors)
|
403
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
371
404
|
end
|
372
405
|
end
|
373
406
|
|
374
|
-
#
|
375
|
-
|
407
|
+
# An object that describes the schema of a MonitoredResource object using a type
|
408
|
+
# name and a set of labels. For example, the monitored resource descriptor for
|
409
|
+
# Google Compute Engine VM instances has a type of "gce_instance" and specifies
|
410
|
+
# the use of the labels "instance_id" and "zone" to identify particular VM
|
411
|
+
# instances.Different APIs can support different monitored resource types. APIs
|
412
|
+
# generally provide a list method that returns the monitored resource
|
413
|
+
# descriptors used by the API.
|
414
|
+
class MonitoredResourceDescriptor
|
376
415
|
include Google::Apis::Core::Hashable
|
377
416
|
|
378
|
-
# The
|
379
|
-
#
|
417
|
+
# Optional. The resource name of the monitored resource descriptor: "projects/`
|
418
|
+
# project_id`/monitoredResourceDescriptors/`type`" where `type` is the value of
|
419
|
+
# the type field in this object and `project_id` is a project ID that provides
|
420
|
+
# API-specific context for accessing the type. APIs that do not use project
|
421
|
+
# information can use the resource name format "monitoredResourceDescriptors/`
|
422
|
+
# type`".
|
423
|
+
# Corresponds to the JSON property `name`
|
380
424
|
# @return [String]
|
381
|
-
attr_accessor :
|
425
|
+
attr_accessor :name
|
382
426
|
|
383
|
-
#
|
384
|
-
#
|
427
|
+
# Optional. A concise name for the monitored resource type that might be
|
428
|
+
# displayed in user interfaces. It should be a Title Cased Noun Phrase, without
|
429
|
+
# any article or other determiners. For example, "Google Cloud SQL Database".
|
430
|
+
# Corresponds to the JSON property `displayName`
|
385
431
|
# @return [String]
|
386
|
-
attr_accessor :
|
432
|
+
attr_accessor :display_name
|
387
433
|
|
388
|
-
#
|
389
|
-
#
|
390
|
-
#
|
391
|
-
attr_accessor :options
|
392
|
-
|
393
|
-
# The index of the field type in Type.oneofs, for message or enumeration types.
|
394
|
-
# The first type has index 1; zero means the type is not in the list.
|
395
|
-
# Corresponds to the JSON property `oneofIndex`
|
396
|
-
# @return [Fixnum]
|
397
|
-
attr_accessor :oneof_index
|
398
|
-
|
399
|
-
# The field cardinality.
|
400
|
-
# Corresponds to the JSON property `cardinality`
|
401
|
-
# @return [String]
|
402
|
-
attr_accessor :cardinality
|
403
|
-
|
404
|
-
# Whether to use alternative packed wire representation.
|
405
|
-
# Corresponds to the JSON property `packed`
|
406
|
-
# @return [Boolean]
|
407
|
-
attr_accessor :packed
|
408
|
-
alias_method :packed?, :packed
|
409
|
-
|
410
|
-
# The string value of the default value of this field. Proto2 syntax only.
|
411
|
-
# Corresponds to the JSON property `defaultValue`
|
412
|
-
# @return [String]
|
413
|
-
attr_accessor :default_value
|
414
|
-
|
415
|
-
# The field name.
|
416
|
-
# Corresponds to the JSON property `name`
|
434
|
+
# Optional. A detailed description of the monitored resource type that might be
|
435
|
+
# used in documentation.
|
436
|
+
# Corresponds to the JSON property `description`
|
417
437
|
# @return [String]
|
418
|
-
attr_accessor :
|
438
|
+
attr_accessor :description
|
419
439
|
|
420
|
-
# The
|
421
|
-
#
|
422
|
-
#
|
440
|
+
# Required. The monitored resource type. For example, the type "
|
441
|
+
# cloudsql_database" represents databases in Google Cloud SQL. The maximum
|
442
|
+
# length of this value is 256 characters.
|
443
|
+
# Corresponds to the JSON property `type`
|
423
444
|
# @return [String]
|
424
|
-
attr_accessor :
|
445
|
+
attr_accessor :type
|
425
446
|
|
426
|
-
#
|
427
|
-
#
|
428
|
-
#
|
429
|
-
|
447
|
+
# Required. A set of labels used to describe instances of this monitored
|
448
|
+
# resource type. For example, an individual Google Cloud SQL database is
|
449
|
+
# identified by values for the labels "database_id" and "zone".
|
450
|
+
# Corresponds to the JSON property `labels`
|
451
|
+
# @return [Array<Google::Apis::MonitoringV3::LabelDescriptor>]
|
452
|
+
attr_accessor :labels
|
430
453
|
|
431
454
|
def initialize(**args)
|
432
455
|
update!(**args)
|
@@ -434,34 +457,55 @@ module Google
|
|
434
457
|
|
435
458
|
# Update properties of this object
|
436
459
|
def update!(**args)
|
437
|
-
@json_name = args[:json_name] if args.key?(:json_name)
|
438
|
-
@kind = args[:kind] if args.key?(:kind)
|
439
|
-
@options = args[:options] if args.key?(:options)
|
440
|
-
@oneof_index = args[:oneof_index] if args.key?(:oneof_index)
|
441
|
-
@cardinality = args[:cardinality] if args.key?(:cardinality)
|
442
|
-
@packed = args[:packed] if args.key?(:packed)
|
443
|
-
@default_value = args[:default_value] if args.key?(:default_value)
|
444
460
|
@name = args[:name] if args.key?(:name)
|
445
|
-
@
|
446
|
-
@
|
461
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
462
|
+
@description = args[:description] if args.key?(:description)
|
463
|
+
@type = args[:type] if args.key?(:type)
|
464
|
+
@labels = args[:labels] if args.key?(:labels)
|
447
465
|
end
|
448
466
|
end
|
449
467
|
|
450
|
-
#
|
451
|
-
class
|
468
|
+
# A single strongly-typed value.
|
469
|
+
class TypedValue
|
452
470
|
include Google::Apis::Core::Hashable
|
453
471
|
|
454
|
-
#
|
455
|
-
# Corresponds to the JSON property `
|
456
|
-
# @return [
|
457
|
-
attr_accessor :
|
472
|
+
# A Boolean value: true or false.
|
473
|
+
# Corresponds to the JSON property `boolValue`
|
474
|
+
# @return [Boolean]
|
475
|
+
attr_accessor :bool_value
|
476
|
+
alias_method :bool_value?, :bool_value
|
458
477
|
|
459
|
-
#
|
460
|
-
#
|
461
|
-
# the next call to this method.
|
462
|
-
# Corresponds to the JSON property `nextPageToken`
|
478
|
+
# A variable-length string value.
|
479
|
+
# Corresponds to the JSON property `stringValue`
|
463
480
|
# @return [String]
|
464
|
-
attr_accessor :
|
481
|
+
attr_accessor :string_value
|
482
|
+
|
483
|
+
# A 64-bit double-precision floating-point number. Its magnitude is
|
484
|
+
# approximately ±10<sup>±300</sup> and it has 16 significant
|
485
|
+
# digits of precision.
|
486
|
+
# Corresponds to the JSON property `doubleValue`
|
487
|
+
# @return [Float]
|
488
|
+
attr_accessor :double_value
|
489
|
+
|
490
|
+
# A 64-bit integer. Its range is approximately ±9.2x10<sup>18</sup>.
|
491
|
+
# Corresponds to the JSON property `int64Value`
|
492
|
+
# @return [Fixnum]
|
493
|
+
attr_accessor :int64_value
|
494
|
+
|
495
|
+
# Distribution contains summary statistics for a population of values. It
|
496
|
+
# optionally contains a histogram representing the distribution of those values
|
497
|
+
# across a set of buckets.The summary statistics are the count, mean, sum of the
|
498
|
+
# squared deviation from the mean, the minimum, and the maximum of the set of
|
499
|
+
# population of values. The histogram is based on a sequence of buckets and
|
500
|
+
# gives a count of values that fall into each bucket. The boundaries of the
|
501
|
+
# buckets are given either explicitly or by formulas for buckets of fixed or
|
502
|
+
# exponentially increasing widths.Although it is not forbidden, it is generally
|
503
|
+
# a bad idea to include non-finite values (infinities or NaNs) in the population
|
504
|
+
# of values, as this will render the mean and sum_of_squared_deviation fields
|
505
|
+
# meaningless.
|
506
|
+
# Corresponds to the JSON property `distributionValue`
|
507
|
+
# @return [Google::Apis::MonitoringV3::Distribution]
|
508
|
+
attr_accessor :distribution_value
|
465
509
|
|
466
510
|
def initialize(**args)
|
467
511
|
update!(**args)
|
@@ -469,29 +513,59 @@ module Google
|
|
469
513
|
|
470
514
|
# Update properties of this object
|
471
515
|
def update!(**args)
|
472
|
-
@
|
473
|
-
@
|
516
|
+
@bool_value = args[:bool_value] if args.key?(:bool_value)
|
517
|
+
@string_value = args[:string_value] if args.key?(:string_value)
|
518
|
+
@double_value = args[:double_value] if args.key?(:double_value)
|
519
|
+
@int64_value = args[:int64_value] if args.key?(:int64_value)
|
520
|
+
@distribution_value = args[:distribution_value] if args.key?(:distribution_value)
|
474
521
|
end
|
475
522
|
end
|
476
523
|
|
477
|
-
# A
|
478
|
-
|
524
|
+
# A collection of data points sent from a collectd-based plugin. See the
|
525
|
+
# collectd documentation for more information.
|
526
|
+
class CollectdPayload
|
479
527
|
include Google::Apis::Core::Hashable
|
480
528
|
|
481
|
-
# The
|
482
|
-
# Corresponds to the JSON property `
|
529
|
+
# The measurement type instance. Example: "used".
|
530
|
+
# Corresponds to the JSON property `typeInstance`
|
483
531
|
# @return [String]
|
484
|
-
attr_accessor :
|
532
|
+
attr_accessor :type_instance
|
485
533
|
|
486
|
-
#
|
487
|
-
# Corresponds to the JSON property `
|
534
|
+
# The measurement type. Example: "memory".
|
535
|
+
# Corresponds to the JSON property `type`
|
488
536
|
# @return [String]
|
489
|
-
attr_accessor :
|
537
|
+
attr_accessor :type
|
490
538
|
|
491
|
-
# The
|
492
|
-
# Corresponds to the JSON property `
|
539
|
+
# The measurement metadata. Example: "process_id" -> 12345
|
540
|
+
# Corresponds to the JSON property `metadata`
|
541
|
+
# @return [Hash<String,Google::Apis::MonitoringV3::TypedValue>]
|
542
|
+
attr_accessor :metadata
|
543
|
+
|
544
|
+
# The name of the plugin. Example: "disk".
|
545
|
+
# Corresponds to the JSON property `plugin`
|
493
546
|
# @return [String]
|
494
|
-
attr_accessor :
|
547
|
+
attr_accessor :plugin
|
548
|
+
|
549
|
+
# The instance name of the plugin Example: "hdcl".
|
550
|
+
# Corresponds to the JSON property `pluginInstance`
|
551
|
+
# @return [String]
|
552
|
+
attr_accessor :plugin_instance
|
553
|
+
|
554
|
+
# The end time of the interval.
|
555
|
+
# Corresponds to the JSON property `endTime`
|
556
|
+
# @return [String]
|
557
|
+
attr_accessor :end_time
|
558
|
+
|
559
|
+
# The start time of the interval.
|
560
|
+
# Corresponds to the JSON property `startTime`
|
561
|
+
# @return [String]
|
562
|
+
attr_accessor :start_time
|
563
|
+
|
564
|
+
# The measured values during this time interval. Each value must have a
|
565
|
+
# different dataSourceName.
|
566
|
+
# Corresponds to the JSON property `values`
|
567
|
+
# @return [Array<Google::Apis::MonitoringV3::CollectdValue>]
|
568
|
+
attr_accessor :values
|
495
569
|
|
496
570
|
def initialize(**args)
|
497
571
|
update!(**args)
|
@@ -499,66 +573,40 @@ module Google
|
|
499
573
|
|
500
574
|
# Update properties of this object
|
501
575
|
def update!(**args)
|
502
|
-
@
|
503
|
-
@
|
504
|
-
@
|
576
|
+
@type_instance = args[:type_instance] if args.key?(:type_instance)
|
577
|
+
@type = args[:type] if args.key?(:type)
|
578
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
579
|
+
@plugin = args[:plugin] if args.key?(:plugin)
|
580
|
+
@plugin_instance = args[:plugin_instance] if args.key?(:plugin_instance)
|
581
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
582
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
583
|
+
@values = args[:values] if args.key?(:values)
|
505
584
|
end
|
506
585
|
end
|
507
586
|
|
508
|
-
#
|
509
|
-
#
|
510
|
-
#
|
511
|
-
#
|
512
|
-
#
|
513
|
-
#
|
514
|
-
|
515
|
-
# then the only monitored resources available to be matched by the group's
|
516
|
-
# filter are the resources contained in the parent group. In other words, a
|
517
|
-
# group contains the monitored resources that match its filter and the filters
|
518
|
-
# of all the group's ancestors. A group without a parent can contain any
|
519
|
-
# monitored resource.For example, consider an infrastructure running a set of
|
520
|
-
# instances with two user-defined tags: "environment" and "role". A parent group
|
521
|
-
# has a filter, environment="production". A child of that parent group has a
|
522
|
-
# filter, role="transcoder". The parent group contains all instances in the
|
523
|
-
# production environment, regardless of their roles. The child group contains
|
524
|
-
# instances that have the transcoder role and are in the production environment.
|
525
|
-
# The monitored resources contained in a group can change at any moment,
|
526
|
-
# depending on what resources exist and what filters are associated with the
|
527
|
-
# group and its ancestors.
|
528
|
-
class Group
|
587
|
+
# Specifies a linear sequence of buckets that all have the same width (except
|
588
|
+
# overflow and underflow). Each bucket represents a constant absolute
|
589
|
+
# uncertainty on the specific value in the bucket.There are num_finite_buckets +
|
590
|
+
# 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-
|
591
|
+
# 1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1))
|
592
|
+
# .
|
593
|
+
class Linear
|
529
594
|
include Google::Apis::Core::Hashable
|
530
595
|
|
531
|
-
#
|
532
|
-
# Corresponds to the JSON property `
|
533
|
-
# @return [
|
534
|
-
attr_accessor :
|
535
|
-
|
536
|
-
# If true, the members of this group are considered to be a cluster. The system
|
537
|
-
# can perform additional analysis on groups that are clusters.
|
538
|
-
# Corresponds to the JSON property `isCluster`
|
539
|
-
# @return [Boolean]
|
540
|
-
attr_accessor :is_cluster
|
541
|
-
alias_method :is_cluster?, :is_cluster
|
542
|
-
|
543
|
-
# The filter used to determine which monitored resources belong to this group.
|
544
|
-
# Corresponds to the JSON property `filter`
|
545
|
-
# @return [String]
|
546
|
-
attr_accessor :filter
|
596
|
+
# Lower bound of the first bucket.
|
597
|
+
# Corresponds to the JSON property `offset`
|
598
|
+
# @return [Float]
|
599
|
+
attr_accessor :offset
|
547
600
|
|
548
|
-
#
|
549
|
-
#
|
550
|
-
#
|
551
|
-
|
552
|
-
# Corresponds to the JSON property `name`
|
553
|
-
# @return [String]
|
554
|
-
attr_accessor :name
|
601
|
+
# Must be greater than 0.
|
602
|
+
# Corresponds to the JSON property `numFiniteBuckets`
|
603
|
+
# @return [Fixnum]
|
604
|
+
attr_accessor :num_finite_buckets
|
555
605
|
|
556
|
-
#
|
557
|
-
#
|
558
|
-
#
|
559
|
-
|
560
|
-
# @return [String]
|
561
|
-
attr_accessor :parent_name
|
606
|
+
# Must be greater than 0.
|
607
|
+
# Corresponds to the JSON property `width`
|
608
|
+
# @return [Float]
|
609
|
+
attr_accessor :width
|
562
610
|
|
563
611
|
def initialize(**args)
|
564
612
|
update!(**args)
|
@@ -566,48 +614,79 @@ module Google
|
|
566
614
|
|
567
615
|
# Update properties of this object
|
568
616
|
def update!(**args)
|
569
|
-
@
|
570
|
-
@
|
571
|
-
@
|
572
|
-
@name = args[:name] if args.key?(:name)
|
573
|
-
@parent_name = args[:parent_name] if args.key?(:parent_name)
|
617
|
+
@offset = args[:offset] if args.key?(:offset)
|
618
|
+
@num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets)
|
619
|
+
@width = args[:width] if args.key?(:width)
|
574
620
|
end
|
575
621
|
end
|
576
622
|
|
577
|
-
# A protocol buffer message
|
578
|
-
|
623
|
+
# A protocol buffer option, which can be attached to a message, field,
|
624
|
+
# enumeration, etc.
|
625
|
+
class Option
|
579
626
|
include Google::Apis::Core::Hashable
|
580
627
|
|
581
|
-
# The
|
582
|
-
#
|
583
|
-
#
|
584
|
-
|
628
|
+
# The option's value packed in an Any message. If the value is a primitive, the
|
629
|
+
# corresponding wrapper type defined in google/protobuf/wrappers.proto should be
|
630
|
+
# used. If the value is an enum, it should be stored as an int32 value using the
|
631
|
+
# google.protobuf.Int32Value type.
|
632
|
+
# Corresponds to the JSON property `value`
|
633
|
+
# @return [Hash<String,Object>]
|
634
|
+
attr_accessor :value
|
585
635
|
|
586
|
-
# The
|
636
|
+
# The option's name. For protobuf built-in options (options defined in
|
637
|
+
# descriptor.proto), this is the short name. For example, "map_entry". For
|
638
|
+
# custom options, it should be the fully-qualified name. For example, "google.
|
639
|
+
# api.http".
|
587
640
|
# Corresponds to the JSON property `name`
|
588
641
|
# @return [String]
|
589
642
|
attr_accessor :name
|
590
643
|
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
attr_accessor :oneofs
|
644
|
+
def initialize(**args)
|
645
|
+
update!(**args)
|
646
|
+
end
|
595
647
|
|
596
|
-
#
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
648
|
+
# Update properties of this object
|
649
|
+
def update!(**args)
|
650
|
+
@value = args[:value] if args.key?(:value)
|
651
|
+
@name = args[:name] if args.key?(:name)
|
652
|
+
end
|
653
|
+
end
|
601
654
|
|
602
|
-
|
603
|
-
|
655
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
656
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
657
|
+
# response type of an API method. For instance:
|
658
|
+
# service Foo `
|
659
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
660
|
+
# `
|
661
|
+
# The JSON representation for Empty is empty JSON object ``.
|
662
|
+
class Empty
|
663
|
+
include Google::Apis::Core::Hashable
|
664
|
+
|
665
|
+
def initialize(**args)
|
666
|
+
update!(**args)
|
667
|
+
end
|
668
|
+
|
669
|
+
# Update properties of this object
|
670
|
+
def update!(**args)
|
671
|
+
end
|
672
|
+
end
|
673
|
+
|
674
|
+
# A time interval extending just after a start time through an end time. If the
|
675
|
+
# start time is the same as the end time, then the interval represents a single
|
676
|
+
# point in time.
|
677
|
+
class TimeInterval
|
678
|
+
include Google::Apis::Core::Hashable
|
679
|
+
|
680
|
+
# Optional. The beginning of the time interval. The default value for the start
|
681
|
+
# time is the end time. The start time must not be later than the end time.
|
682
|
+
# Corresponds to the JSON property `startTime`
|
604
683
|
# @return [String]
|
605
|
-
attr_accessor :
|
684
|
+
attr_accessor :start_time
|
606
685
|
|
607
|
-
# The
|
608
|
-
# Corresponds to the JSON property `
|
609
|
-
# @return [
|
610
|
-
attr_accessor :
|
686
|
+
# Required. The end of the time interval.
|
687
|
+
# Corresponds to the JSON property `endTime`
|
688
|
+
# @return [String]
|
689
|
+
attr_accessor :end_time
|
611
690
|
|
612
691
|
def initialize(**args)
|
613
692
|
update!(**args)
|
@@ -615,60 +694,58 @@ module Google
|
|
615
694
|
|
616
695
|
# Update properties of this object
|
617
696
|
def update!(**args)
|
618
|
-
@
|
619
|
-
@
|
620
|
-
@oneofs = args[:oneofs] if args.key?(:oneofs)
|
621
|
-
@source_context = args[:source_context] if args.key?(:source_context)
|
622
|
-
@syntax = args[:syntax] if args.key?(:syntax)
|
623
|
-
@options = args[:options] if args.key?(:options)
|
697
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
698
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
624
699
|
end
|
625
700
|
end
|
626
701
|
|
627
|
-
#
|
628
|
-
#
|
629
|
-
#
|
630
|
-
#
|
631
|
-
#
|
632
|
-
#
|
633
|
-
|
634
|
-
# bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an
|
635
|
-
# overflow bucket (number N - 1). The buckets are contiguous: the lower bound of
|
636
|
-
# bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets
|
637
|
-
# span the whole range of finite values: lower bound of the underflow bucket is -
|
638
|
-
# infinity and the upper bound of the overflow bucket is +infinity. The finite
|
639
|
-
# buckets are so-called because both bounds are finite.
|
640
|
-
class BucketOptions
|
702
|
+
# Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (=
|
703
|
+
# N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1):
|
704
|
+
# boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at
|
705
|
+
# least one element. If bounds has only one element, then there are no finite
|
706
|
+
# buckets, and that single element is the common boundary of the overflow and
|
707
|
+
# underflow buckets.
|
708
|
+
class Explicit
|
641
709
|
include Google::Apis::Core::Hashable
|
642
710
|
|
643
|
-
#
|
644
|
-
#
|
645
|
-
#
|
646
|
-
|
647
|
-
# Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i <
|
648
|
-
# N): scale * (growth_factor ^ (i - 1)).
|
649
|
-
# Corresponds to the JSON property `exponentialBuckets`
|
650
|
-
# @return [Google::Apis::MonitoringV3::Exponential]
|
651
|
-
attr_accessor :exponential_buckets
|
711
|
+
# The values must be monotonically increasing.
|
712
|
+
# Corresponds to the JSON property `bounds`
|
713
|
+
# @return [Array<Float>]
|
714
|
+
attr_accessor :bounds
|
652
715
|
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
# 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-
|
657
|
-
# 1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1))
|
658
|
-
# .
|
659
|
-
# Corresponds to the JSON property `linearBuckets`
|
660
|
-
# @return [Google::Apis::MonitoringV3::Linear]
|
661
|
-
attr_accessor :linear_buckets
|
716
|
+
def initialize(**args)
|
717
|
+
update!(**args)
|
718
|
+
end
|
662
719
|
|
663
|
-
#
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
720
|
+
# Update properties of this object
|
721
|
+
def update!(**args)
|
722
|
+
@bounds = args[:bounds] if args.key?(:bounds)
|
723
|
+
end
|
724
|
+
end
|
725
|
+
|
726
|
+
# Specifies an exponential sequence of buckets that have a width that is
|
727
|
+
# proportional to the value of the lower bound. Each bucket represents a
|
728
|
+
# constant relative uncertainty on a specific value in the bucket.There are
|
729
|
+
# num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:
|
730
|
+
# Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i <
|
731
|
+
# N): scale * (growth_factor ^ (i - 1)).
|
732
|
+
class Exponential
|
733
|
+
include Google::Apis::Core::Hashable
|
734
|
+
|
735
|
+
# Must be greater than 0.
|
736
|
+
# Corresponds to the JSON property `numFiniteBuckets`
|
737
|
+
# @return [Fixnum]
|
738
|
+
attr_accessor :num_finite_buckets
|
739
|
+
|
740
|
+
# Must be greater than 1.
|
741
|
+
# Corresponds to the JSON property `growthFactor`
|
742
|
+
# @return [Float]
|
743
|
+
attr_accessor :growth_factor
|
744
|
+
|
745
|
+
# Must be greater than 0.
|
746
|
+
# Corresponds to the JSON property `scale`
|
747
|
+
# @return [Float]
|
748
|
+
attr_accessor :scale
|
672
749
|
|
673
750
|
def initialize(**args)
|
674
751
|
update!(**args)
|
@@ -676,14 +753,14 @@ module Google
|
|
676
753
|
|
677
754
|
# Update properties of this object
|
678
755
|
def update!(**args)
|
679
|
-
@
|
680
|
-
@
|
681
|
-
@
|
756
|
+
@num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets)
|
757
|
+
@growth_factor = args[:growth_factor] if args.key?(:growth_factor)
|
758
|
+
@scale = args[:scale] if args.key?(:scale)
|
682
759
|
end
|
683
760
|
end
|
684
761
|
|
685
|
-
# A single data point
|
686
|
-
class
|
762
|
+
# A single data point in a time series.
|
763
|
+
class Point
|
687
764
|
include Google::Apis::Core::Hashable
|
688
765
|
|
689
766
|
# A single strongly-typed value.
|
@@ -691,16 +768,12 @@ module Google
|
|
691
768
|
# @return [Google::Apis::MonitoringV3::TypedValue]
|
692
769
|
attr_accessor :value
|
693
770
|
|
694
|
-
#
|
695
|
-
#
|
696
|
-
#
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
# for network measurements: "rx" and "tx".
|
701
|
-
# Corresponds to the JSON property `dataSourceName`
|
702
|
-
# @return [String]
|
703
|
-
attr_accessor :data_source_name
|
771
|
+
# A time interval extending just after a start time through an end time. If the
|
772
|
+
# start time is the same as the end time, then the interval represents a single
|
773
|
+
# point in time.
|
774
|
+
# Corresponds to the JSON property `interval`
|
775
|
+
# @return [Google::Apis::MonitoringV3::TimeInterval]
|
776
|
+
attr_accessor :interval
|
704
777
|
|
705
778
|
def initialize(**args)
|
706
779
|
update!(**args)
|
@@ -709,21 +782,26 @@ module Google
|
|
709
782
|
# Update properties of this object
|
710
783
|
def update!(**args)
|
711
784
|
@value = args[:value] if args.key?(:value)
|
712
|
-
@
|
713
|
-
@data_source_name = args[:data_source_name] if args.key?(:data_source_name)
|
785
|
+
@interval = args[:interval] if args.key?(:interval)
|
714
786
|
end
|
715
787
|
end
|
716
788
|
|
717
|
-
#
|
718
|
-
#
|
719
|
-
class
|
789
|
+
# A specific metric, identified by specifying values for all of the labels of a
|
790
|
+
# MetricDescriptor.
|
791
|
+
class Metric
|
720
792
|
include Google::Apis::Core::Hashable
|
721
793
|
|
722
|
-
# The
|
723
|
-
#
|
724
|
-
# Corresponds to the JSON property `
|
794
|
+
# The set of label values that uniquely identify this metric. All labels listed
|
795
|
+
# in the MetricDescriptor must be assigned values.
|
796
|
+
# Corresponds to the JSON property `labels`
|
797
|
+
# @return [Hash<String,String>]
|
798
|
+
attr_accessor :labels
|
799
|
+
|
800
|
+
# An existing metric type, see google.api.MetricDescriptor. For example, custom.
|
801
|
+
# googleapis.com/invoice/paid/amount.
|
802
|
+
# Corresponds to the JSON property `type`
|
725
803
|
# @return [String]
|
726
|
-
attr_accessor :
|
804
|
+
attr_accessor :type
|
727
805
|
|
728
806
|
def initialize(**args)
|
729
807
|
update!(**args)
|
@@ -731,149 +809,67 @@ module Google
|
|
731
809
|
|
732
810
|
# Update properties of this object
|
733
811
|
def update!(**args)
|
734
|
-
@
|
812
|
+
@labels = args[:labels] if args.key?(:labels)
|
813
|
+
@type = args[:type] if args.key?(:type)
|
735
814
|
end
|
736
815
|
end
|
737
816
|
|
738
|
-
#
|
739
|
-
|
740
|
-
# existing data unusable.
|
741
|
-
class MetricDescriptor
|
817
|
+
# A single field of a message type.
|
818
|
+
class Field
|
742
819
|
include Google::Apis::Core::Hashable
|
743
820
|
|
744
|
-
# The
|
745
|
-
#
|
746
|
-
# of The Unified Code for Units of Measure (http://unitsofmeasure.org/ucum.html)
|
747
|
-
# standard:Basic units (UNIT)
|
748
|
-
# bit bit
|
749
|
-
# By byte
|
750
|
-
# s second
|
751
|
-
# min minute
|
752
|
-
# h hour
|
753
|
-
# d dayPrefixes (PREFIX)
|
754
|
-
# k kilo (10**3)
|
755
|
-
# M mega (10**6)
|
756
|
-
# G giga (10**9)
|
757
|
-
# T tera (10**12)
|
758
|
-
# P peta (10**15)
|
759
|
-
# E exa (10**18)
|
760
|
-
# Z zetta (10**21)
|
761
|
-
# Y yotta (10**24)
|
762
|
-
# m milli (10**-3)
|
763
|
-
# u micro (10**-6)
|
764
|
-
# n nano (10**-9)
|
765
|
-
# p pico (10**-12)
|
766
|
-
# f femto (10**-15)
|
767
|
-
# a atto (10**-18)
|
768
|
-
# z zepto (10**-21)
|
769
|
-
# y yocto (10**-24)
|
770
|
-
# Ki kibi (2**10)
|
771
|
-
# Mi mebi (2**20)
|
772
|
-
# Gi gibi (2**30)
|
773
|
-
# Ti tebi (2**40)GrammarThe grammar includes the dimensionless unit 1, such as 1/
|
774
|
-
# s.The grammar also includes these connectors:
|
775
|
-
# / division (as an infix operator, e.g. 1/s).
|
776
|
-
# . multiplication (as an infix operator, e.g. GBy.d)The grammar for a unit is
|
777
|
-
# as follows:
|
778
|
-
# Expression = Component ` "." Component ` ` "/" Component ` ;
|
779
|
-
# Component = [ PREFIX ] UNIT [ Annotation ]
|
780
|
-
# | Annotation
|
781
|
-
# | "1"
|
782
|
-
# ;
|
783
|
-
# Annotation = "`" NAME "`" ;
|
784
|
-
# Notes:
|
785
|
-
# Annotation is just a comment if it follows a UNIT and is equivalent to 1 if
|
786
|
-
# it is used alone. For examples, `requests`/s == 1/s, By`transmitted`/s == By/
|
787
|
-
# s.
|
788
|
-
# NAME is a sequence of non-blank printable ASCII characters not containing '`'
|
789
|
-
# or '`'.
|
790
|
-
# Corresponds to the JSON property `unit`
|
821
|
+
# The field JSON name.
|
822
|
+
# Corresponds to the JSON property `jsonName`
|
791
823
|
# @return [String]
|
792
|
-
attr_accessor :
|
793
|
-
|
794
|
-
# The set of labels that can be used to describe a specific instance of this
|
795
|
-
# metric type. For example, the appengine.googleapis.com/http/server/
|
796
|
-
# response_latencies metric type has a label for the HTTP response code,
|
797
|
-
# response_code, so you can look at latencies for successful responses or just
|
798
|
-
# for responses that failed.
|
799
|
-
# Corresponds to the JSON property `labels`
|
800
|
-
# @return [Array<Google::Apis::MonitoringV3::LabelDescriptor>]
|
801
|
-
attr_accessor :labels
|
824
|
+
attr_accessor :json_name
|
802
825
|
|
803
|
-
# The
|
804
|
-
#
|
805
|
-
# scope of the metric type or of its data; and (2) the metric's URL-encoded type,
|
806
|
-
# which also appears in the type field of this descriptor. For example,
|
807
|
-
# following is the resource name of a custom metric within the GCP project my-
|
808
|
-
# project-id:
|
809
|
-
# "projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%
|
810
|
-
# 2Fpaid%2Famount"
|
811
|
-
# Corresponds to the JSON property `name`
|
826
|
+
# The field type.
|
827
|
+
# Corresponds to the JSON property `kind`
|
812
828
|
# @return [String]
|
813
|
-
attr_accessor :
|
829
|
+
attr_accessor :kind
|
814
830
|
|
815
|
-
# The
|
816
|
-
#
|
817
|
-
#
|
818
|
-
|
819
|
-
# "appengine.googleapis.com/http/server/response_latencies"
|
820
|
-
# Corresponds to the JSON property `type`
|
821
|
-
# @return [String]
|
822
|
-
attr_accessor :type
|
831
|
+
# The protocol buffer options.
|
832
|
+
# Corresponds to the JSON property `options`
|
833
|
+
# @return [Array<Google::Apis::MonitoringV3::Option>]
|
834
|
+
attr_accessor :options
|
823
835
|
|
824
|
-
#
|
825
|
-
#
|
826
|
-
# Corresponds to the JSON property `
|
827
|
-
# @return [
|
828
|
-
attr_accessor :
|
836
|
+
# The index of the field type in Type.oneofs, for message or enumeration types.
|
837
|
+
# The first type has index 1; zero means the type is not in the list.
|
838
|
+
# Corresponds to the JSON property `oneofIndex`
|
839
|
+
# @return [Fixnum]
|
840
|
+
attr_accessor :oneof_index
|
829
841
|
|
830
|
-
#
|
831
|
-
#
|
832
|
-
# Corresponds to the JSON property `metricKind`
|
842
|
+
# The field cardinality.
|
843
|
+
# Corresponds to the JSON property `cardinality`
|
833
844
|
# @return [String]
|
834
|
-
attr_accessor :
|
845
|
+
attr_accessor :cardinality
|
835
846
|
|
836
|
-
#
|
837
|
-
#
|
838
|
-
#
|
839
|
-
|
840
|
-
|
847
|
+
# Whether to use alternative packed wire representation.
|
848
|
+
# Corresponds to the JSON property `packed`
|
849
|
+
# @return [Boolean]
|
850
|
+
attr_accessor :packed
|
851
|
+
alias_method :packed?, :packed
|
841
852
|
|
842
|
-
#
|
843
|
-
# Corresponds to the JSON property `
|
853
|
+
# The string value of the default value of this field. Proto2 syntax only.
|
854
|
+
# Corresponds to the JSON property `defaultValue`
|
844
855
|
# @return [String]
|
845
|
-
attr_accessor :
|
846
|
-
|
847
|
-
def initialize(**args)
|
848
|
-
update!(**args)
|
849
|
-
end
|
850
|
-
|
851
|
-
# Update properties of this object
|
852
|
-
def update!(**args)
|
853
|
-
@unit = args[:unit] if args.key?(:unit)
|
854
|
-
@labels = args[:labels] if args.key?(:labels)
|
855
|
-
@name = args[:name] if args.key?(:name)
|
856
|
-
@type = args[:type] if args.key?(:type)
|
857
|
-
@value_type = args[:value_type] if args.key?(:value_type)
|
858
|
-
@metric_kind = args[:metric_kind] if args.key?(:metric_kind)
|
859
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
860
|
-
@description = args[:description] if args.key?(:description)
|
861
|
-
end
|
862
|
-
end
|
856
|
+
attr_accessor :default_value
|
863
857
|
|
864
|
-
|
865
|
-
|
866
|
-
|
858
|
+
# The field name.
|
859
|
+
# Corresponds to the JSON property `name`
|
860
|
+
# @return [String]
|
861
|
+
attr_accessor :name
|
867
862
|
|
868
|
-
# The
|
869
|
-
#
|
870
|
-
#
|
871
|
-
|
863
|
+
# The field type URL, without the scheme, for message or enumeration types.
|
864
|
+
# Example: "type.googleapis.com/google.protobuf.Timestamp".
|
865
|
+
# Corresponds to the JSON property `typeUrl`
|
866
|
+
# @return [String]
|
867
|
+
attr_accessor :type_url
|
872
868
|
|
873
|
-
# The
|
874
|
-
# Corresponds to the JSON property `
|
875
|
-
# @return [
|
876
|
-
attr_accessor :
|
869
|
+
# The field number.
|
870
|
+
# Corresponds to the JSON property `number`
|
871
|
+
# @return [Fixnum]
|
872
|
+
attr_accessor :number
|
877
873
|
|
878
874
|
def initialize(**args)
|
879
875
|
update!(**args)
|
@@ -881,13 +877,21 @@ module Google
|
|
881
877
|
|
882
878
|
# Update properties of this object
|
883
879
|
def update!(**args)
|
884
|
-
@
|
885
|
-
@
|
880
|
+
@json_name = args[:json_name] if args.key?(:json_name)
|
881
|
+
@kind = args[:kind] if args.key?(:kind)
|
882
|
+
@options = args[:options] if args.key?(:options)
|
883
|
+
@oneof_index = args[:oneof_index] if args.key?(:oneof_index)
|
884
|
+
@cardinality = args[:cardinality] if args.key?(:cardinality)
|
885
|
+
@packed = args[:packed] if args.key?(:packed)
|
886
|
+
@default_value = args[:default_value] if args.key?(:default_value)
|
887
|
+
@name = args[:name] if args.key?(:name)
|
888
|
+
@type_url = args[:type_url] if args.key?(:type_url)
|
889
|
+
@number = args[:number] if args.key?(:number)
|
886
890
|
end
|
887
891
|
end
|
888
892
|
|
889
|
-
# The
|
890
|
-
class
|
893
|
+
# The ListTimeSeries response.
|
894
|
+
class ListTimeSeriesResponse
|
891
895
|
include Google::Apis::Core::Hashable
|
892
896
|
|
893
897
|
# If there are more results than have been returned, then this field is set to a
|
@@ -897,10 +901,10 @@ module Google
|
|
897
901
|
# @return [String]
|
898
902
|
attr_accessor :next_page_token
|
899
903
|
|
900
|
-
#
|
901
|
-
# Corresponds to the JSON property `
|
902
|
-
# @return [Array<Google::Apis::MonitoringV3::
|
903
|
-
attr_accessor :
|
904
|
+
# One or more time series that match the filter included in the request.
|
905
|
+
# Corresponds to the JSON property `timeSeries`
|
906
|
+
# @return [Array<Google::Apis::MonitoringV3::TimeSeries>]
|
907
|
+
attr_accessor :time_series
|
904
908
|
|
905
909
|
def initialize(**args)
|
906
910
|
update!(**args)
|
@@ -909,30 +913,28 @@ module Google
|
|
909
913
|
# Update properties of this object
|
910
914
|
def update!(**args)
|
911
915
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
912
|
-
@
|
916
|
+
@time_series = args[:time_series] if args.key?(:time_series)
|
913
917
|
end
|
914
918
|
end
|
915
919
|
|
916
|
-
#
|
917
|
-
class
|
920
|
+
# A description of a label.
|
921
|
+
class LabelDescriptor
|
918
922
|
include Google::Apis::Core::Hashable
|
919
923
|
|
920
|
-
#
|
921
|
-
# Corresponds to the JSON property `
|
922
|
-
# @return [
|
923
|
-
attr_accessor :
|
924
|
+
# The type of data that can be assigned to the label.
|
925
|
+
# Corresponds to the JSON property `valueType`
|
926
|
+
# @return [String]
|
927
|
+
attr_accessor :value_type
|
924
928
|
|
925
|
-
#
|
926
|
-
#
|
927
|
-
# the next call to this method.
|
928
|
-
# Corresponds to the JSON property `nextPageToken`
|
929
|
+
# The label key.
|
930
|
+
# Corresponds to the JSON property `key`
|
929
931
|
# @return [String]
|
930
|
-
attr_accessor :
|
932
|
+
attr_accessor :key
|
931
933
|
|
932
|
-
#
|
933
|
-
# Corresponds to the JSON property `
|
934
|
-
# @return [
|
935
|
-
attr_accessor :
|
934
|
+
# A human-readable description for the label.
|
935
|
+
# Corresponds to the JSON property `description`
|
936
|
+
# @return [String]
|
937
|
+
attr_accessor :description
|
936
938
|
|
937
939
|
def initialize(**args)
|
938
940
|
update!(**args)
|
@@ -940,73 +942,66 @@ module Google
|
|
940
942
|
|
941
943
|
# Update properties of this object
|
942
944
|
def update!(**args)
|
943
|
-
@
|
944
|
-
@
|
945
|
-
@
|
945
|
+
@value_type = args[:value_type] if args.key?(:value_type)
|
946
|
+
@key = args[:key] if args.key?(:key)
|
947
|
+
@description = args[:description] if args.key?(:description)
|
946
948
|
end
|
947
949
|
end
|
948
950
|
|
949
|
-
# The
|
950
|
-
|
951
|
+
# The description of a dynamic collection of monitored resources. Each group has
|
952
|
+
# a filter that is matched against monitored resources and their associated
|
953
|
+
# metadata. If a group's filter matches an available monitored resource, then
|
954
|
+
# that resource is a member of that group. Groups can contain any number of
|
955
|
+
# monitored resources, and each monitored resource can be a member of any number
|
956
|
+
# of groups.Groups can be nested in parent-child hierarchies. The parentName
|
957
|
+
# field identifies an optional parent for each group. If a group has a parent,
|
958
|
+
# then the only monitored resources available to be matched by the group's
|
959
|
+
# filter are the resources contained in the parent group. In other words, a
|
960
|
+
# group contains the monitored resources that match its filter and the filters
|
961
|
+
# of all the group's ancestors. A group without a parent can contain any
|
962
|
+
# monitored resource.For example, consider an infrastructure running a set of
|
963
|
+
# instances with two user-defined tags: "environment" and "role". A parent group
|
964
|
+
# has a filter, environment="production". A child of that parent group has a
|
965
|
+
# filter, role="transcoder". The parent group contains all instances in the
|
966
|
+
# production environment, regardless of their roles. The child group contains
|
967
|
+
# instances that have the transcoder role and are in the production environment.
|
968
|
+
# The monitored resources contained in a group can change at any moment,
|
969
|
+
# depending on what resources exist and what filters are associated with the
|
970
|
+
# group and its ancestors.
|
971
|
+
class Group
|
951
972
|
include Google::Apis::Core::Hashable
|
952
973
|
|
953
|
-
# The
|
954
|
-
#
|
974
|
+
# Output only. The name of this group. The format is "projects/`
|
975
|
+
# project_id_or_number`/groups/`group_id`". When creating a group, this field is
|
976
|
+
# ignored and a new name is created consisting of the project specified in the
|
977
|
+
# call to CreateGroup and a unique `group_id` that is generated automatically.
|
978
|
+
# Corresponds to the JSON property `name`
|
955
979
|
# @return [String]
|
956
|
-
attr_accessor :
|
957
|
-
|
958
|
-
# An object representing a resource that can be used for monitoring, logging,
|
959
|
-
# billing, or other purposes. Examples include virtual machine instances,
|
960
|
-
# databases, and storage devices such as disks. The type field identifies a
|
961
|
-
# MonitoredResourceDescriptor object that describes the resource's schema.
|
962
|
-
# Information in the labels field identifies the actual resource and its
|
963
|
-
# attributes according to the schema. For example, a particular Compute Engine
|
964
|
-
# VM instance could be represented by the following object, because the
|
965
|
-
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
|
966
|
-
# zone":
|
967
|
-
# ` "type": "gce_instance",
|
968
|
-
# "labels": ` "instance_id": "12345678901234",
|
969
|
-
# "zone": "us-central1-a" ``
|
970
|
-
# Corresponds to the JSON property `resource`
|
971
|
-
# @return [Google::Apis::MonitoringV3::MonitoredResource]
|
972
|
-
attr_accessor :resource
|
973
|
-
|
974
|
-
# The collectd payloads representing the time series data. You must not include
|
975
|
-
# more than a single point for each time series, so no two payloads can have the
|
976
|
-
# same values for all of the fields plugin, plugin_instance, type, and
|
977
|
-
# type_instance.
|
978
|
-
# Corresponds to the JSON property `collectdPayloads`
|
979
|
-
# @return [Array<Google::Apis::MonitoringV3::CollectdPayload>]
|
980
|
-
attr_accessor :collectd_payloads
|
980
|
+
attr_accessor :name
|
981
981
|
|
982
|
-
|
983
|
-
|
984
|
-
|
982
|
+
# The name of the group's parent, if it has one. The format is "projects/`
|
983
|
+
# project_id_or_number`/groups/`group_id`". For groups with no parent,
|
984
|
+
# parentName is the empty string, "".
|
985
|
+
# Corresponds to the JSON property `parentName`
|
986
|
+
# @return [String]
|
987
|
+
attr_accessor :parent_name
|
985
988
|
|
986
|
-
#
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
@collectd_payloads = args[:collectd_payloads] if args.key?(:collectd_payloads)
|
991
|
-
end
|
992
|
-
end
|
989
|
+
# A user-assigned name for this group, used only for display purposes.
|
990
|
+
# Corresponds to the JSON property `displayName`
|
991
|
+
# @return [String]
|
992
|
+
attr_accessor :display_name
|
993
993
|
|
994
|
-
|
995
|
-
|
996
|
-
|
994
|
+
# If true, the members of this group are considered to be a cluster. The system
|
995
|
+
# can perform additional analysis on groups that are clusters.
|
996
|
+
# Corresponds to the JSON property `isCluster`
|
997
|
+
# @return [Boolean]
|
998
|
+
attr_accessor :is_cluster
|
999
|
+
alias_method :is_cluster?, :is_cluster
|
997
1000
|
|
998
|
-
#
|
999
|
-
#
|
1000
|
-
# the next call to this method.
|
1001
|
-
# Corresponds to the JSON property `nextPageToken`
|
1001
|
+
# The filter used to determine which monitored resources belong to this group.
|
1002
|
+
# Corresponds to the JSON property `filter`
|
1002
1003
|
# @return [String]
|
1003
|
-
attr_accessor :
|
1004
|
-
|
1005
|
-
# The monitored resource descriptors that are available to this project and that
|
1006
|
-
# match filter, if present.
|
1007
|
-
# Corresponds to the JSON property `resourceDescriptors`
|
1008
|
-
# @return [Array<Google::Apis::MonitoringV3::MonitoredResourceDescriptor>]
|
1009
|
-
attr_accessor :resource_descriptors
|
1004
|
+
attr_accessor :filter
|
1010
1005
|
|
1011
1006
|
def initialize(**args)
|
1012
1007
|
update!(**args)
|
@@ -1014,96 +1009,48 @@ module Google
|
|
1014
1009
|
|
1015
1010
|
# Update properties of this object
|
1016
1011
|
def update!(**args)
|
1017
|
-
@
|
1018
|
-
@
|
1012
|
+
@name = args[:name] if args.key?(:name)
|
1013
|
+
@parent_name = args[:parent_name] if args.key?(:parent_name)
|
1014
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1015
|
+
@is_cluster = args[:is_cluster] if args.key?(:is_cluster)
|
1016
|
+
@filter = args[:filter] if args.key?(:filter)
|
1019
1017
|
end
|
1020
1018
|
end
|
1021
1019
|
|
1022
|
-
# A
|
1023
|
-
|
1024
|
-
# resource and a fully-specified metric. This type is used for both listing and
|
1025
|
-
# creating time series.
|
1026
|
-
class TimeSeries
|
1020
|
+
# A protocol buffer message type.
|
1021
|
+
class Type
|
1027
1022
|
include Google::Apis::Core::Hashable
|
1028
1023
|
|
1029
|
-
#
|
1030
|
-
#
|
1031
|
-
# Corresponds to the JSON property `
|
1032
|
-
# @return [Google::Apis::MonitoringV3::
|
1033
|
-
attr_accessor :
|
1034
|
-
|
1035
|
-
# The data points of this time series. When listing time series, the order of
|
1036
|
-
# the points is specified by the list method.When creating a time series, this
|
1037
|
-
# field must contain exactly one point and the point's type must be the same as
|
1038
|
-
# the value type of the associated metric. If the associated metric's descriptor
|
1039
|
-
# must be auto-created, then the value type of the descriptor is determined by
|
1040
|
-
# the point's type, which must be BOOL, INT64, DOUBLE, or DISTRIBUTION.
|
1041
|
-
# Corresponds to the JSON property `points`
|
1042
|
-
# @return [Array<Google::Apis::MonitoringV3::Point>]
|
1043
|
-
attr_accessor :points
|
1044
|
-
|
1045
|
-
# The value type of the time series. When listing time series, this value type
|
1046
|
-
# might be different from the value type of the associated metric if this time
|
1047
|
-
# series is an alignment or reduction of other time series.When creating a time
|
1048
|
-
# series, this field is optional. If present, it must be the same as the type of
|
1049
|
-
# the data in the points field.
|
1050
|
-
# Corresponds to the JSON property `valueType`
|
1051
|
-
# @return [String]
|
1052
|
-
attr_accessor :value_type
|
1053
|
-
|
1054
|
-
# An object representing a resource that can be used for monitoring, logging,
|
1055
|
-
# billing, or other purposes. Examples include virtual machine instances,
|
1056
|
-
# databases, and storage devices such as disks. The type field identifies a
|
1057
|
-
# MonitoredResourceDescriptor object that describes the resource's schema.
|
1058
|
-
# Information in the labels field identifies the actual resource and its
|
1059
|
-
# attributes according to the schema. For example, a particular Compute Engine
|
1060
|
-
# VM instance could be represented by the following object, because the
|
1061
|
-
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
|
1062
|
-
# zone":
|
1063
|
-
# ` "type": "gce_instance",
|
1064
|
-
# "labels": ` "instance_id": "12345678901234",
|
1065
|
-
# "zone": "us-central1-a" ``
|
1066
|
-
# Corresponds to the JSON property `resource`
|
1067
|
-
# @return [Google::Apis::MonitoringV3::MonitoredResource]
|
1068
|
-
attr_accessor :resource
|
1024
|
+
# SourceContext represents information about the source of a protobuf element,
|
1025
|
+
# like the file in which it is defined.
|
1026
|
+
# Corresponds to the JSON property `sourceContext`
|
1027
|
+
# @return [Google::Apis::MonitoringV3::SourceContext]
|
1028
|
+
attr_accessor :source_context
|
1069
1029
|
|
1070
|
-
# The
|
1071
|
-
#
|
1072
|
-
# series is an alignment or reduction of other time series.When creating a time
|
1073
|
-
# series, this field is optional. If present, it must be the same as the metric
|
1074
|
-
# kind of the associated metric. If the associated metric's descriptor must be
|
1075
|
-
# auto-created, then this field specifies the metric kind of the new descriptor
|
1076
|
-
# and must be either GAUGE (the default) or CUMULATIVE.
|
1077
|
-
# Corresponds to the JSON property `metricKind`
|
1030
|
+
# The source syntax.
|
1031
|
+
# Corresponds to the JSON property `syntax`
|
1078
1032
|
# @return [String]
|
1079
|
-
attr_accessor :
|
1033
|
+
attr_accessor :syntax
|
1080
1034
|
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1035
|
+
# The protocol buffer options.
|
1036
|
+
# Corresponds to the JSON property `options`
|
1037
|
+
# @return [Array<Google::Apis::MonitoringV3::Option>]
|
1038
|
+
attr_accessor :options
|
1084
1039
|
|
1085
|
-
#
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1089
|
-
@value_type = args[:value_type] if args.key?(:value_type)
|
1090
|
-
@resource = args[:resource] if args.key?(:resource)
|
1091
|
-
@metric_kind = args[:metric_kind] if args.key?(:metric_kind)
|
1092
|
-
end
|
1093
|
-
end
|
1040
|
+
# The list of fields.
|
1041
|
+
# Corresponds to the JSON property `fields`
|
1042
|
+
# @return [Array<Google::Apis::MonitoringV3::Field>]
|
1043
|
+
attr_accessor :fields
|
1094
1044
|
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1045
|
+
# The fully qualified message name.
|
1046
|
+
# Corresponds to the JSON property `name`
|
1047
|
+
# @return [String]
|
1048
|
+
attr_accessor :name
|
1098
1049
|
|
1099
|
-
# The
|
1100
|
-
# to
|
1101
|
-
#
|
1102
|
-
|
1103
|
-
# monitored resource.
|
1104
|
-
# Corresponds to the JSON property `timeSeries`
|
1105
|
-
# @return [Array<Google::Apis::MonitoringV3::TimeSeries>]
|
1106
|
-
attr_accessor :time_series
|
1050
|
+
# The list of types appearing in oneof definitions in this type.
|
1051
|
+
# Corresponds to the JSON property `oneofs`
|
1052
|
+
# @return [Array<String>]
|
1053
|
+
attr_accessor :oneofs
|
1107
1054
|
|
1108
1055
|
def initialize(**args)
|
1109
1056
|
update!(**args)
|
@@ -1111,79 +1058,60 @@ module Google
|
|
1111
1058
|
|
1112
1059
|
# Update properties of this object
|
1113
1060
|
def update!(**args)
|
1114
|
-
@
|
1061
|
+
@source_context = args[:source_context] if args.key?(:source_context)
|
1062
|
+
@syntax = args[:syntax] if args.key?(:syntax)
|
1063
|
+
@options = args[:options] if args.key?(:options)
|
1064
|
+
@fields = args[:fields] if args.key?(:fields)
|
1065
|
+
@name = args[:name] if args.key?(:name)
|
1066
|
+
@oneofs = args[:oneofs] if args.key?(:oneofs)
|
1115
1067
|
end
|
1116
1068
|
end
|
1117
1069
|
|
1118
|
-
#
|
1119
|
-
#
|
1120
|
-
#
|
1121
|
-
#
|
1122
|
-
#
|
1123
|
-
#
|
1124
|
-
#
|
1125
|
-
#
|
1126
|
-
#
|
1127
|
-
#
|
1128
|
-
#
|
1129
|
-
|
1070
|
+
# BucketOptions describes the bucket boundaries used to create a histogram for
|
1071
|
+
# the distribution. The buckets can be in a linear sequence, an exponential
|
1072
|
+
# sequence, or each bucket can be specified explicitly. BucketOptions does not
|
1073
|
+
# include the number of values in each bucket.A bucket has an inclusive lower
|
1074
|
+
# bound and exclusive upper bound for the values that are counted for that
|
1075
|
+
# bucket. The upper bound of a bucket must be strictly greater than the lower
|
1076
|
+
# bound. The sequence of N buckets for a distribution consists of an underflow
|
1077
|
+
# bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an
|
1078
|
+
# overflow bucket (number N - 1). The buckets are contiguous: the lower bound of
|
1079
|
+
# bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets
|
1080
|
+
# span the whole range of finite values: lower bound of the underflow bucket is -
|
1081
|
+
# infinity and the upper bound of the overflow bucket is +infinity. The finite
|
1082
|
+
# buckets are so-called because both bounds are finite.
|
1083
|
+
class BucketOptions
|
1130
1084
|
include Google::Apis::Core::Hashable
|
1131
1085
|
|
1132
|
-
#
|
1133
|
-
#
|
1134
|
-
#
|
1135
|
-
#
|
1136
|
-
#
|
1137
|
-
#
|
1138
|
-
# Corresponds to the JSON property `
|
1139
|
-
# @return [
|
1140
|
-
attr_accessor :
|
1141
|
-
|
1142
|
-
# The range of the population values.
|
1143
|
-
# Corresponds to the JSON property `range`
|
1144
|
-
# @return [Google::Apis::MonitoringV3::Range]
|
1145
|
-
attr_accessor :range
|
1146
|
-
|
1147
|
-
# The number of values in the population. Must be non-negative. This value must
|
1148
|
-
# equal the sum of the values in bucket_counts if a histogram is provided.
|
1149
|
-
# Corresponds to the JSON property `count`
|
1150
|
-
# @return [Fixnum]
|
1151
|
-
attr_accessor :count
|
1152
|
-
|
1153
|
-
# The arithmetic mean of the values in the population. If count is zero then
|
1154
|
-
# this field must be zero.
|
1155
|
-
# Corresponds to the JSON property `mean`
|
1156
|
-
# @return [Float]
|
1157
|
-
attr_accessor :mean
|
1086
|
+
# Specifies an exponential sequence of buckets that have a width that is
|
1087
|
+
# proportional to the value of the lower bound. Each bucket represents a
|
1088
|
+
# constant relative uncertainty on a specific value in the bucket.There are
|
1089
|
+
# num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:
|
1090
|
+
# Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i <
|
1091
|
+
# N): scale * (growth_factor ^ (i - 1)).
|
1092
|
+
# Corresponds to the JSON property `exponentialBuckets`
|
1093
|
+
# @return [Google::Apis::MonitoringV3::Exponential]
|
1094
|
+
attr_accessor :exponential_buckets
|
1158
1095
|
|
1159
|
-
#
|
1160
|
-
#
|
1161
|
-
#
|
1162
|
-
#
|
1163
|
-
#
|
1164
|
-
#
|
1165
|
-
#
|
1166
|
-
#
|
1167
|
-
|
1168
|
-
# @return [Array<Fixnum>]
|
1169
|
-
attr_accessor :bucket_counts
|
1096
|
+
# Specifies a linear sequence of buckets that all have the same width (except
|
1097
|
+
# overflow and underflow). Each bucket represents a constant absolute
|
1098
|
+
# uncertainty on the specific value in the bucket.There are num_finite_buckets +
|
1099
|
+
# 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-
|
1100
|
+
# 1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1))
|
1101
|
+
# .
|
1102
|
+
# Corresponds to the JSON property `linearBuckets`
|
1103
|
+
# @return [Google::Apis::MonitoringV3::Linear]
|
1104
|
+
attr_accessor :linear_buckets
|
1170
1105
|
|
1171
|
-
#
|
1172
|
-
#
|
1173
|
-
#
|
1174
|
-
#
|
1175
|
-
#
|
1176
|
-
#
|
1177
|
-
#
|
1178
|
-
#
|
1179
|
-
|
1180
|
-
# bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets
|
1181
|
-
# span the whole range of finite values: lower bound of the underflow bucket is -
|
1182
|
-
# infinity and the upper bound of the overflow bucket is +infinity. The finite
|
1183
|
-
# buckets are so-called because both bounds are finite.
|
1184
|
-
# Corresponds to the JSON property `bucketOptions`
|
1185
|
-
# @return [Google::Apis::MonitoringV3::BucketOptions]
|
1186
|
-
attr_accessor :bucket_options
|
1106
|
+
# Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (=
|
1107
|
+
# N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1):
|
1108
|
+
# boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at
|
1109
|
+
# least one element. If bounds has only one element, then there are no finite
|
1110
|
+
# buckets, and that single element is the common boundary of the overflow and
|
1111
|
+
# underflow buckets.
|
1112
|
+
# Corresponds to the JSON property `explicitBuckets`
|
1113
|
+
# @return [Google::Apis::MonitoringV3::Explicit]
|
1114
|
+
attr_accessor :explicit_buckets
|
1187
1115
|
|
1188
1116
|
def initialize(**args)
|
1189
1117
|
update!(**args)
|
@@ -1191,43 +1119,31 @@ module Google
|
|
1191
1119
|
|
1192
1120
|
# Update properties of this object
|
1193
1121
|
def update!(**args)
|
1194
|
-
@
|
1195
|
-
@
|
1196
|
-
@
|
1197
|
-
@mean = args[:mean] if args.key?(:mean)
|
1198
|
-
@bucket_counts = args[:bucket_counts] if args.key?(:bucket_counts)
|
1199
|
-
@bucket_options = args[:bucket_options] if args.key?(:bucket_options)
|
1122
|
+
@exponential_buckets = args[:exponential_buckets] if args.key?(:exponential_buckets)
|
1123
|
+
@linear_buckets = args[:linear_buckets] if args.key?(:linear_buckets)
|
1124
|
+
@explicit_buckets = args[:explicit_buckets] if args.key?(:explicit_buckets)
|
1200
1125
|
end
|
1201
1126
|
end
|
1202
1127
|
|
1203
|
-
#
|
1204
|
-
|
1205
|
-
# databases, and storage devices such as disks. The type field identifies a
|
1206
|
-
# MonitoredResourceDescriptor object that describes the resource's schema.
|
1207
|
-
# Information in the labels field identifies the actual resource and its
|
1208
|
-
# attributes according to the schema. For example, a particular Compute Engine
|
1209
|
-
# VM instance could be represented by the following object, because the
|
1210
|
-
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
|
1211
|
-
# zone":
|
1212
|
-
# ` "type": "gce_instance",
|
1213
|
-
# "labels": ` "instance_id": "12345678901234",
|
1214
|
-
# "zone": "us-central1-a" ``
|
1215
|
-
class MonitoredResource
|
1128
|
+
# A single data point from a collectd-based plugin.
|
1129
|
+
class CollectdValue
|
1216
1130
|
include Google::Apis::Core::Hashable
|
1217
1131
|
|
1218
|
-
#
|
1219
|
-
#
|
1220
|
-
#
|
1221
|
-
|
1222
|
-
# @return [Hash<String,String>]
|
1223
|
-
attr_accessor :labels
|
1132
|
+
# The type of measurement.
|
1133
|
+
# Corresponds to the JSON property `dataSourceType`
|
1134
|
+
# @return [String]
|
1135
|
+
attr_accessor :data_source_type
|
1224
1136
|
|
1225
|
-
#
|
1226
|
-
#
|
1227
|
-
#
|
1228
|
-
# Corresponds to the JSON property `type`
|
1137
|
+
# The data source for the collectd value. For example there are two data sources
|
1138
|
+
# for network measurements: "rx" and "tx".
|
1139
|
+
# Corresponds to the JSON property `dataSourceName`
|
1229
1140
|
# @return [String]
|
1230
|
-
attr_accessor :
|
1141
|
+
attr_accessor :data_source_name
|
1142
|
+
|
1143
|
+
# A single strongly-typed value.
|
1144
|
+
# Corresponds to the JSON property `value`
|
1145
|
+
# @return [Google::Apis::MonitoringV3::TypedValue]
|
1146
|
+
attr_accessor :value
|
1231
1147
|
|
1232
1148
|
def initialize(**args)
|
1233
1149
|
update!(**args)
|
@@ -1235,27 +1151,22 @@ module Google
|
|
1235
1151
|
|
1236
1152
|
# Update properties of this object
|
1237
1153
|
def update!(**args)
|
1238
|
-
@
|
1239
|
-
@
|
1154
|
+
@data_source_type = args[:data_source_type] if args.key?(:data_source_type)
|
1155
|
+
@data_source_name = args[:data_source_name] if args.key?(:data_source_name)
|
1156
|
+
@value = args[:value] if args.key?(:value)
|
1240
1157
|
end
|
1241
1158
|
end
|
1242
1159
|
|
1243
|
-
#
|
1244
|
-
|
1160
|
+
# SourceContext represents information about the source of a protobuf element,
|
1161
|
+
# like the file in which it is defined.
|
1162
|
+
class SourceContext
|
1245
1163
|
include Google::Apis::Core::Hashable
|
1246
1164
|
|
1247
|
-
# The
|
1248
|
-
#
|
1249
|
-
# Corresponds to the JSON property `
|
1250
|
-
# @return [Array<Google::Apis::MonitoringV3::MetricDescriptor>]
|
1251
|
-
attr_accessor :metric_descriptors
|
1252
|
-
|
1253
|
-
# If there are more results than have been returned, then this field is set to a
|
1254
|
-
# non-empty value. To see the additional results, use that value as pageToken in
|
1255
|
-
# the next call to this method.
|
1256
|
-
# Corresponds to the JSON property `nextPageToken`
|
1165
|
+
# The path-qualified name of the .proto file that contained the associated
|
1166
|
+
# protobuf element. For example: "google/protobuf/source_context.proto".
|
1167
|
+
# Corresponds to the JSON property `fileName`
|
1257
1168
|
# @return [String]
|
1258
|
-
attr_accessor :
|
1169
|
+
attr_accessor :file_name
|
1259
1170
|
|
1260
1171
|
def initialize(**args)
|
1261
1172
|
update!(**args)
|
@@ -1263,69 +1174,158 @@ module Google
|
|
1263
1174
|
|
1264
1175
|
# Update properties of this object
|
1265
1176
|
def update!(**args)
|
1266
|
-
@
|
1267
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1177
|
+
@file_name = args[:file_name] if args.key?(:file_name)
|
1268
1178
|
end
|
1269
1179
|
end
|
1270
1180
|
|
1271
|
-
#
|
1272
|
-
#
|
1273
|
-
#
|
1274
|
-
|
1275
|
-
# instances.Different APIs can support different monitored resource types. APIs
|
1276
|
-
# generally provide a list method that returns the monitored resource
|
1277
|
-
# descriptors used by the API.
|
1278
|
-
class MonitoredResourceDescriptor
|
1181
|
+
# Defines a metric type and its schema. Once a metric descriptor is created,
|
1182
|
+
# deleting or altering it stops data collection and makes the metric type's
|
1183
|
+
# existing data unusable.
|
1184
|
+
class MetricDescriptor
|
1279
1185
|
include Google::Apis::Core::Hashable
|
1280
1186
|
|
1281
|
-
#
|
1282
|
-
#
|
1283
|
-
#
|
1187
|
+
# Whether the metric records instantaneous values, changes to a value, etc. Some
|
1188
|
+
# combinations of metric_kind and value_type might not be supported.
|
1189
|
+
# Corresponds to the JSON property `metricKind`
|
1190
|
+
# @return [String]
|
1191
|
+
attr_accessor :metric_kind
|
1192
|
+
|
1193
|
+
# A concise name for the metric, which can be displayed in user interfaces. Use
|
1194
|
+
# sentence case without an ending period, for example "Request count".
|
1284
1195
|
# Corresponds to the JSON property `displayName`
|
1285
1196
|
# @return [String]
|
1286
1197
|
attr_accessor :display_name
|
1287
1198
|
|
1288
|
-
#
|
1289
|
-
# used in documentation.
|
1199
|
+
# A detailed description of the metric, which can be used in documentation.
|
1290
1200
|
# Corresponds to the JSON property `description`
|
1291
1201
|
# @return [String]
|
1292
1202
|
attr_accessor :description
|
1293
1203
|
|
1294
|
-
#
|
1295
|
-
#
|
1296
|
-
#
|
1297
|
-
#
|
1204
|
+
# The unit in which the metric value is reported. It is only applicable if the
|
1205
|
+
# value_type is INT64, DOUBLE, or DISTRIBUTION. The supported units are a subset
|
1206
|
+
# of The Unified Code for Units of Measure (http://unitsofmeasure.org/ucum.html)
|
1207
|
+
# standard:Basic units (UNIT)
|
1208
|
+
# bit bit
|
1209
|
+
# By byte
|
1210
|
+
# s second
|
1211
|
+
# min minute
|
1212
|
+
# h hour
|
1213
|
+
# d dayPrefixes (PREFIX)
|
1214
|
+
# k kilo (10**3)
|
1215
|
+
# M mega (10**6)
|
1216
|
+
# G giga (10**9)
|
1217
|
+
# T tera (10**12)
|
1218
|
+
# P peta (10**15)
|
1219
|
+
# E exa (10**18)
|
1220
|
+
# Z zetta (10**21)
|
1221
|
+
# Y yotta (10**24)
|
1222
|
+
# m milli (10**-3)
|
1223
|
+
# u micro (10**-6)
|
1224
|
+
# n nano (10**-9)
|
1225
|
+
# p pico (10**-12)
|
1226
|
+
# f femto (10**-15)
|
1227
|
+
# a atto (10**-18)
|
1228
|
+
# z zepto (10**-21)
|
1229
|
+
# y yocto (10**-24)
|
1230
|
+
# Ki kibi (2**10)
|
1231
|
+
# Mi mebi (2**20)
|
1232
|
+
# Gi gibi (2**30)
|
1233
|
+
# Ti tebi (2**40)GrammarThe grammar includes the dimensionless unit 1, such as 1/
|
1234
|
+
# s.The grammar also includes these connectors:
|
1235
|
+
# / division (as an infix operator, e.g. 1/s).
|
1236
|
+
# . multiplication (as an infix operator, e.g. GBy.d)The grammar for a unit is
|
1237
|
+
# as follows:
|
1238
|
+
# Expression = Component ` "." Component ` ` "/" Component ` ;
|
1239
|
+
# Component = [ PREFIX ] UNIT [ Annotation ]
|
1240
|
+
# | Annotation
|
1241
|
+
# | "1"
|
1242
|
+
# ;
|
1243
|
+
# Annotation = "`" NAME "`" ;
|
1244
|
+
# Notes:
|
1245
|
+
# Annotation is just a comment if it follows a UNIT and is equivalent to 1 if
|
1246
|
+
# it is used alone. For examples, `requests`/s == 1/s, By`transmitted`/s == By/
|
1247
|
+
# s.
|
1248
|
+
# NAME is a sequence of non-blank printable ASCII characters not containing '`'
|
1249
|
+
# or '`'.
|
1250
|
+
# Corresponds to the JSON property `unit`
|
1298
1251
|
# @return [String]
|
1299
|
-
attr_accessor :
|
1252
|
+
attr_accessor :unit
|
1300
1253
|
|
1301
|
-
#
|
1302
|
-
#
|
1303
|
-
#
|
1254
|
+
# The set of labels that can be used to describe a specific instance of this
|
1255
|
+
# metric type. For example, the appengine.googleapis.com/http/server/
|
1256
|
+
# response_latencies metric type has a label for the HTTP response code,
|
1257
|
+
# response_code, so you can look at latencies for successful responses or just
|
1258
|
+
# for responses that failed.
|
1304
1259
|
# Corresponds to the JSON property `labels`
|
1305
1260
|
# @return [Array<Google::Apis::MonitoringV3::LabelDescriptor>]
|
1306
1261
|
attr_accessor :labels
|
1307
1262
|
|
1308
|
-
#
|
1309
|
-
#
|
1310
|
-
# the type
|
1311
|
-
#
|
1312
|
-
#
|
1313
|
-
#
|
1263
|
+
# The resource name of the metric descriptor. Depending on the implementation,
|
1264
|
+
# the name typically includes: (1) the parent resource name that defines the
|
1265
|
+
# scope of the metric type or of its data; and (2) the metric's URL-encoded type,
|
1266
|
+
# which also appears in the type field of this descriptor. For example,
|
1267
|
+
# following is the resource name of a custom metric within the GCP project my-
|
1268
|
+
# project-id:
|
1269
|
+
# "projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%
|
1270
|
+
# 2Fpaid%2Famount"
|
1314
1271
|
# Corresponds to the JSON property `name`
|
1315
1272
|
# @return [String]
|
1316
1273
|
attr_accessor :name
|
1317
1274
|
|
1275
|
+
# The metric type, including its DNS name prefix. The type is not URL-encoded.
|
1276
|
+
# All user-defined custom metric types have the DNS name custom.googleapis.com.
|
1277
|
+
# Metric types should use a natural hierarchical grouping. For example:
|
1278
|
+
# "custom.googleapis.com/invoice/paid/amount"
|
1279
|
+
# "appengine.googleapis.com/http/server/response_latencies"
|
1280
|
+
# Corresponds to the JSON property `type`
|
1281
|
+
# @return [String]
|
1282
|
+
attr_accessor :type
|
1283
|
+
|
1284
|
+
# Whether the measurement is an integer, a floating-point number, etc. Some
|
1285
|
+
# combinations of metric_kind and value_type might not be supported.
|
1286
|
+
# Corresponds to the JSON property `valueType`
|
1287
|
+
# @return [String]
|
1288
|
+
attr_accessor :value_type
|
1289
|
+
|
1318
1290
|
def initialize(**args)
|
1319
1291
|
update!(**args)
|
1320
1292
|
end
|
1321
1293
|
|
1322
1294
|
# Update properties of this object
|
1323
1295
|
def update!(**args)
|
1296
|
+
@metric_kind = args[:metric_kind] if args.key?(:metric_kind)
|
1324
1297
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1325
1298
|
@description = args[:description] if args.key?(:description)
|
1326
|
-
@
|
1299
|
+
@unit = args[:unit] if args.key?(:unit)
|
1327
1300
|
@labels = args[:labels] if args.key?(:labels)
|
1328
1301
|
@name = args[:name] if args.key?(:name)
|
1302
|
+
@type = args[:type] if args.key?(:type)
|
1303
|
+
@value_type = args[:value_type] if args.key?(:value_type)
|
1304
|
+
end
|
1305
|
+
end
|
1306
|
+
|
1307
|
+
# The range of the population values.
|
1308
|
+
class Range
|
1309
|
+
include Google::Apis::Core::Hashable
|
1310
|
+
|
1311
|
+
# The minimum of the population values.
|
1312
|
+
# Corresponds to the JSON property `min`
|
1313
|
+
# @return [Float]
|
1314
|
+
attr_accessor :min
|
1315
|
+
|
1316
|
+
# The maximum of the population values.
|
1317
|
+
# Corresponds to the JSON property `max`
|
1318
|
+
# @return [Float]
|
1319
|
+
attr_accessor :max
|
1320
|
+
|
1321
|
+
def initialize(**args)
|
1322
|
+
update!(**args)
|
1323
|
+
end
|
1324
|
+
|
1325
|
+
# Update properties of this object
|
1326
|
+
def update!(**args)
|
1327
|
+
@min = args[:min] if args.key?(:min)
|
1328
|
+
@max = args[:max] if args.key?(:max)
|
1329
1329
|
end
|
1330
1330
|
end
|
1331
1331
|
end
|