google-api-client 0.10.3 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +12 -18
- data/CHANGELOG.md +22 -2
- data/Gemfile +5 -7
- data/MIGRATING.md +33 -0
- data/README.md +10 -2
- data/Rakefile +1 -0
- data/bin/generate-api +7 -1
- data/dl.rb +0 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +6 -6
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +1 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +759 -759
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +152 -152
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +376 -375
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +58 -58
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +45 -45
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +22 -21
- data/generated/google/apis/adexchangeseller_v2_0/classes.rb +5 -5
- data/generated/google/apis/adexchangeseller_v2_0/representations.rb +5 -5
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -0
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/representations.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +11 -11
- data/generated/google/apis/admin_directory_v1/representations.rb +11 -11
- data/generated/google/apis/admin_directory_v1/service.rb +1 -0
- data/generated/google/apis/admin_reports_v1/classes.rb +5 -5
- data/generated/google/apis/admin_reports_v1/representations.rb +4 -4
- data/generated/google/apis/admin_reports_v1/service.rb +1 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
- data/generated/google/apis/adsense_v1_4/representations.rb +2 -2
- data/generated/google/apis/adsense_v1_4/service.rb +1 -0
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/representations.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +1 -0
- data/generated/google/apis/analytics_v3/classes.rb +10 -10
- data/generated/google/apis/analytics_v3/representations.rb +10 -10
- data/generated/google/apis/analytics_v3/service.rb +1 -0
- data/generated/google/apis/analyticsreporting_v4/classes.rb +933 -933
- data/generated/google/apis/analyticsreporting_v4/representations.rb +197 -197
- data/generated/google/apis/analyticsreporting_v4/service.rb +5 -4
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +1 -0
- data/generated/google/apis/androidpublisher_v2/classes.rb +13 -13
- data/generated/google/apis/androidpublisher_v2/representations.rb +13 -13
- data/generated/google/apis/androidpublisher_v2/service.rb +3 -2
- data/generated/google/apis/appengine_v1/classes.rb +2 -2
- data/generated/google/apis/appengine_v1/representations.rb +2 -2
- data/generated/google/apis/appengine_v1/service.rb +1 -0
- data/generated/google/apis/appsactivity_v1/classes.rb +1 -1
- data/generated/google/apis/appsactivity_v1/representations.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +1 -0
- data/generated/google/apis/appsmarket_v2.rb +35 -0
- data/generated/google/apis/appsmarket_v2/classes.rb +396 -0
- data/generated/google/apis/appsmarket_v2/representations.rb +180 -0
- data/generated/google/apis/appsmarket_v2/service.rb +187 -0
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/service.rb +1 -0
- data/generated/google/apis/bigquery_v2/classes.rb +39 -39
- data/generated/google/apis/bigquery_v2/representations.rb +38 -38
- data/generated/google/apis/bigquery_v2/service.rb +3 -2
- data/generated/google/apis/blogger_v3/classes.rb +2 -2
- data/generated/google/apis/blogger_v3/representations.rb +2 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -0
- data/generated/google/apis/books_v1/classes.rb +5 -5
- data/generated/google/apis/books_v1/representations.rb +4 -4
- data/generated/google/apis/books_v1/service.rb +1 -0
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/representations.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +1 -0
- data/generated/google/apis/civicinfo_v2/classes.rb +6 -6
- data/generated/google/apis/civicinfo_v2/representations.rb +6 -6
- data/generated/google/apis/civicinfo_v2/service.rb +2 -1
- data/generated/google/apis/classroom_v1/service.rb +1 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +1 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +626 -626
- data/generated/google/apis/cloudbuild_v1/representations.rb +109 -109
- data/generated/google/apis/cloudbuild_v1/service.rb +159 -158
- data/generated/google/apis/clouddebugger_v2/classes.rb +358 -358
- data/generated/google/apis/clouddebugger_v2/representations.rb +99 -99
- data/generated/google/apis/clouddebugger_v2/service.rb +42 -41
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +220 -220
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +52 -52
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +59 -58
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -7
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +5 -4
- data/generated/google/apis/cloudkms_v1/classes.rb +311 -311
- data/generated/google/apis/cloudkms_v1/representations.rb +87 -87
- data/generated/google/apis/cloudkms_v1/service.rb +168 -167
- data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +4 -4
- data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +4 -4
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +341 -341
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +62 -62
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +458 -457
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +327 -327
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +71 -71
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +237 -236
- data/generated/google/apis/cloudtrace_v1.rb +3 -3
- data/generated/google/apis/cloudtrace_v1/classes.rb +38 -38
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +14 -13
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +4 -4
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +4 -4
- data/generated/google/apis/clouduseraccounts_beta/service.rb +1 -0
- data/generated/google/apis/compute_beta/classes.rb +52 -52
- data/generated/google/apis/compute_beta/representations.rb +52 -52
- data/generated/google/apis/compute_beta/service.rb +2 -1
- data/generated/google/apis/compute_v1/classes.rb +48 -48
- data/generated/google/apis/compute_v1/representations.rb +48 -48
- data/generated/google/apis/compute_v1/service.rb +2 -1
- data/generated/google/apis/container_v1/service.rb +1 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +38 -660
- data/generated/google/apis/content_v2/representations.rb +37 -303
- data/generated/google/apis/content_v2/service.rb +63 -279
- data/generated/google/apis/customsearch_v1/classes.rb +2 -2
- data/generated/google/apis/customsearch_v1/representations.rb +2 -2
- data/generated/google/apis/customsearch_v1/service.rb +1 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +3281 -3281
- data/generated/google/apis/dataflow_v1b3/representations.rb +777 -777
- data/generated/google/apis/dataflow_v1b3/service.rb +106 -105
- data/generated/google/apis/dataproc_v1/classes.rb +395 -395
- data/generated/google/apis/dataproc_v1/representations.rb +91 -91
- data/generated/google/apis/dataproc_v1/service.rb +356 -355
- data/generated/google/apis/datastore_v1/classes.rb +506 -506
- data/generated/google/apis/datastore_v1/representations.rb +147 -147
- data/generated/google/apis/datastore_v1/service.rb +46 -45
- data/generated/google/apis/deploymentmanager_v2/classes.rb +6 -6
- data/generated/google/apis/deploymentmanager_v2/representations.rb +6 -6
- data/generated/google/apis/deploymentmanager_v2/service.rb +1 -0
- data/generated/google/apis/dfareporting_v2_6/classes.rb +280 -280
- data/generated/google/apis/dfareporting_v2_6/representations.rb +266 -266
- data/generated/google/apis/dfareporting_v2_6/service.rb +421 -420
- data/generated/google/apis/dfareporting_v2_7/classes.rb +280 -280
- data/generated/google/apis/dfareporting_v2_7/representations.rb +266 -266
- data/generated/google/apis/dfareporting_v2_7/service.rb +423 -422
- data/generated/google/apis/discovery_v1/service.rb +1 -0
- data/generated/google/apis/dns_v1/classes.rb +2 -2
- data/generated/google/apis/dns_v1/representations.rb +2 -2
- data/generated/google/apis/dns_v1/service.rb +1 -0
- data/generated/google/apis/dns_v2beta1/classes.rb +2 -2
- data/generated/google/apis/dns_v2beta1/representations.rb +2 -2
- data/generated/google/apis/dns_v2beta1/service.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +15 -15
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +13 -13
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +5 -4
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +28 -28
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +28 -28
- data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -12
- data/generated/google/apis/drive_v2/classes.rb +17 -17
- data/generated/google/apis/drive_v2/representations.rb +17 -17
- data/generated/google/apis/drive_v2/service.rb +5 -4
- data/generated/google/apis/drive_v3/classes.rb +13 -13
- data/generated/google/apis/drive_v3/representations.rb +12 -12
- data/generated/google/apis/drive_v3/service.rb +1 -0
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +81 -81
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +24 -24
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -0
- data/generated/google/apis/firebaserules_v1/classes.rb +201 -201
- data/generated/google/apis/firebaserules_v1/representations.rb +61 -61
- data/generated/google/apis/firebaserules_v1/service.rb +1 -0
- data/generated/google/apis/fitness_v1/classes.rb +18 -18
- data/generated/google/apis/fitness_v1/representations.rb +18 -18
- data/generated/google/apis/fitness_v1/service.rb +6 -5
- data/generated/google/apis/fusiontables_v2/classes.rb +2 -2
- data/generated/google/apis/fusiontables_v2/representations.rb +2 -2
- data/generated/google/apis/fusiontables_v2/service.rb +1 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -0
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +6 -6
- data/generated/google/apis/games_management_v1management/representations.rb +6 -6
- data/generated/google/apis/games_management_v1management/service.rb +1 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +47 -47
- data/generated/google/apis/games_v1/representations.rb +47 -47
- data/generated/google/apis/games_v1/service.rb +58 -57
- data/generated/google/apis/genomics_v1.rb +6 -6
- data/generated/google/apis/genomics_v1/classes.rb +2354 -2354
- data/generated/google/apis/genomics_v1/representations.rb +487 -487
- data/generated/google/apis/genomics_v1/service.rb +1188 -1187
- data/generated/google/apis/gmail_v1/classes.rb +11 -11
- data/generated/google/apis/gmail_v1/representations.rb +11 -11
- data/generated/google/apis/gmail_v1/service.rb +2 -1
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -0
- data/generated/google/apis/groupssettings_v1/service.rb +1 -0
- data/generated/google/apis/iam_v1/classes.rb +437 -437
- data/generated/google/apis/iam_v1/representations.rb +95 -95
- data/generated/google/apis/iam_v1/service.rb +87 -86
- data/generated/google/apis/identitytoolkit_v3/classes.rb +20 -20
- data/generated/google/apis/identitytoolkit_v3/representations.rb +20 -20
- data/generated/google/apis/identitytoolkit_v3/service.rb +1 -0
- data/generated/google/apis/kgsearch_v1/service.rb +9 -8
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +245 -245
- data/generated/google/apis/language_v1/representations.rb +65 -65
- data/generated/google/apis/language_v1/service.rb +1 -0
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +277 -277
- data/generated/google/apis/language_v1beta1/representations.rb +83 -83
- data/generated/google/apis/language_v1beta1/service.rb +31 -30
- data/generated/google/apis/licensing_v1/service.rb +1 -0
- data/generated/google/apis/logging_v2/classes.rb +408 -408
- data/generated/google/apis/logging_v2/representations.rb +93 -93
- data/generated/google/apis/logging_v2/service.rb +408 -407
- data/generated/google/apis/logging_v2beta1.rb +3 -3
- data/generated/google/apis/logging_v2beta1/classes.rb +892 -892
- data/generated/google/apis/logging_v2beta1/representations.rb +128 -128
- data/generated/google/apis/logging_v2beta1/service.rb +89 -88
- data/generated/google/apis/manufacturers_v1/classes.rb +309 -309
- data/generated/google/apis/manufacturers_v1/representations.rb +64 -64
- data/generated/google/apis/manufacturers_v1/service.rb +1 -0
- data/generated/google/apis/mirror_v1/service.rb +1 -0
- data/generated/google/apis/ml_v1/classes.rb +1185 -1185
- data/generated/google/apis/ml_v1/representations.rb +171 -171
- data/generated/google/apis/ml_v1/service.rb +282 -281
- data/generated/google/apis/monitoring_v3.rb +3 -3
- data/generated/google/apis/monitoring_v3/classes.rb +334 -334
- data/generated/google/apis/monitoring_v3/representations.rb +86 -86
- data/generated/google/apis/monitoring_v3/service.rb +344 -343
- data/generated/google/apis/mybusiness_v3/service.rb +1 -0
- data/generated/google/apis/oauth2_v2/service.rb +1 -0
- data/generated/google/apis/pagespeedonline_v2/classes.rb +8 -8
- data/generated/google/apis/pagespeedonline_v2/representations.rb +8 -8
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -0
- data/generated/google/apis/partners_v2/classes.rb +1466 -1466
- data/generated/google/apis/partners_v2/representations.rb +371 -371
- data/generated/google/apis/partners_v2/service.rb +530 -529
- data/generated/google/apis/people_v1.rb +4 -4
- data/generated/google/apis/people_v1/classes.rb +1009 -1009
- data/generated/google/apis/people_v1/representations.rb +249 -249
- data/generated/google/apis/people_v1/service.rb +13 -12
- data/generated/google/apis/plus_domains_v1/classes.rb +2 -2
- data/generated/google/apis/plus_domains_v1/representations.rb +2 -2
- data/generated/google/apis/plus_domains_v1/service.rb +1 -0
- data/generated/google/apis/plus_v1/service.rb +1 -0
- data/generated/google/apis/prediction_v1_6/classes.rb +9 -9
- data/generated/google/apis/prediction_v1_6/representations.rb +9 -9
- data/generated/google/apis/prediction_v1_6/service.rb +1 -0
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +221 -221
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +55 -55
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +378 -377
- data/generated/google/apis/pubsub_v1/classes.rb +99 -99
- data/generated/google/apis/pubsub_v1/representations.rb +25 -25
- data/generated/google/apis/pubsub_v1/service.rb +236 -235
- data/generated/google/apis/qpx_express_v1/service.rb +1 -0
- data/generated/google/apis/replicapool_v1beta2/classes.rb +3 -3
- data/generated/google/apis/replicapool_v1beta2/representations.rb +3 -3
- data/generated/google/apis/replicapool_v1beta2/service.rb +1 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +2 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +2 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -0
- data/generated/google/apis/reseller_v1/classes.rb +5 -5
- data/generated/google/apis/reseller_v1/representations.rb +5 -5
- data/generated/google/apis/reseller_v1/service.rb +1 -0
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +2 -2
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +2 -2
- data/generated/google/apis/resourceviews_v1beta2/service.rb +1 -0
- data/generated/google/apis/runtimeconfig_v1.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1/classes.rb +28 -28
- data/generated/google/apis/runtimeconfig_v1/representations.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1/service.rb +53 -52
- data/generated/google/apis/script_v1.rb +18 -18
- data/generated/google/apis/script_v1/classes.rb +84 -84
- data/generated/google/apis/script_v1/representations.rb +18 -18
- data/generated/google/apis/script_v1/service.rb +11 -10
- data/generated/google/apis/searchconsole_v1/classes.rb +75 -75
- data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
- data/generated/google/apis/searchconsole_v1/service.rb +11 -10
- data/generated/google/apis/servicecontrol_v1/classes.rb +582 -582
- data/generated/google/apis/servicecontrol_v1/representations.rb +113 -113
- data/generated/google/apis/servicecontrol_v1/service.rb +71 -70
- data/generated/google/apis/servicemanagement_v1.rb +3 -3
- data/generated/google/apis/servicemanagement_v1/classes.rb +3725 -3725
- data/generated/google/apis/servicemanagement_v1/representations.rb +255 -255
- data/generated/google/apis/servicemanagement_v1/service.rb +179 -178
- data/generated/google/apis/serviceuser_v1.rb +3 -3
- data/generated/google/apis/serviceuser_v1/classes.rb +2845 -2845
- data/generated/google/apis/serviceuser_v1/representations.rb +228 -228
- data/generated/google/apis/serviceuser_v1/service.rb +47 -46
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4456 -4456
- data/generated/google/apis/sheets_v4/representations.rb +859 -859
- data/generated/google/apis/sheets_v4/service.rb +180 -179
- data/generated/google/apis/site_verification_v1/service.rb +1 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2856 -2856
- data/generated/google/apis/slides_v1/representations.rb +683 -683
- data/generated/google/apis/slides_v1/service.rb +27 -26
- data/generated/google/apis/sourcerepo_v1/classes.rb +281 -281
- data/generated/google/apis/sourcerepo_v1/representations.rb +79 -79
- data/generated/google/apis/sourcerepo_v1/service.rb +112 -111
- data/generated/google/apis/spanner_v1/classes.rb +2177 -2177
- data/generated/google/apis/spanner_v1/representations.rb +325 -325
- data/generated/google/apis/spanner_v1/service.rb +374 -373
- data/generated/google/apis/speech_v1beta1/classes.rb +197 -197
- data/generated/google/apis/speech_v1beta1/representations.rb +36 -36
- data/generated/google/apis/speech_v1beta1/service.rb +27 -26
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +14 -14
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +14 -14
- data/generated/google/apis/sqladmin_v1beta4/service.rb +3 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +11 -11
- data/generated/google/apis/storage_v1/representations.rb +11 -11
- data/generated/google/apis/storage_v1/service.rb +65 -64
- data/generated/google/apis/storagetransfer_v1/classes.rb +239 -239
- data/generated/google/apis/storagetransfer_v1/representations.rb +79 -79
- data/generated/google/apis/storagetransfer_v1/service.rb +133 -132
- data/generated/google/apis/surveys_v2/classes.rb +4 -4
- data/generated/google/apis/surveys_v2/representations.rb +4 -4
- data/generated/google/apis/surveys_v2/service.rb +1 -0
- data/generated/google/apis/tagmanager_v1/classes.rb +7 -7
- data/generated/google/apis/tagmanager_v1/representations.rb +7 -7
- data/generated/google/apis/tagmanager_v1/service.rb +1 -0
- data/generated/google/apis/tagmanager_v2/classes.rb +6 -6
- data/generated/google/apis/tagmanager_v2/representations.rb +6 -6
- data/generated/google/apis/tagmanager_v2/service.rb +1 -0
- data/generated/google/apis/taskqueue_v1beta2/classes.rb +5 -5
- data/generated/google/apis/taskqueue_v1beta2/representations.rb +5 -5
- data/generated/google/apis/taskqueue_v1beta2/service.rb +1 -0
- data/generated/google/apis/tasks_v1/service.rb +3 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3/representations.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3/service.rb +1 -0
- data/generated/google/apis/tracing_v1/classes.rb +421 -421
- data/generated/google/apis/tracing_v1/representations.rb +86 -86
- data/generated/google/apis/tracing_v1/service.rb +60 -59
- data/generated/google/apis/translate_v2/service.rb +1 -0
- data/generated/google/apis/urlshortener_v1/classes.rb +3 -3
- data/generated/google/apis/urlshortener_v1/representations.rb +3 -3
- data/generated/google/apis/urlshortener_v1/service.rb +1 -0
- data/generated/google/apis/vision_v1/classes.rb +1290 -1290
- data/generated/google/apis/vision_v1/representations.rb +184 -184
- data/generated/google/apis/vision_v1/service.rb +11 -10
- data/generated/google/apis/webfonts_v1/service.rb +1 -0
- data/generated/google/apis/webmasters_v3/classes.rb +5 -5
- data/generated/google/apis/webmasters_v3/representations.rb +5 -5
- data/generated/google/apis/webmasters_v3/service.rb +1 -0
- data/generated/google/apis/youtube_analytics_v1/classes.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/service.rb +1 -0
- data/generated/google/apis/youtube_partner_v1/classes.rb +13 -13
- data/generated/google/apis/youtube_partner_v1/representations.rb +13 -13
- data/generated/google/apis/youtube_partner_v1/service.rb +1 -0
- data/generated/google/apis/youtube_v3/classes.rb +31 -31
- data/generated/google/apis/youtube_v3/representations.rb +31 -31
- data/generated/google/apis/youtube_v3/service.rb +2 -1
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +73 -73
- data/generated/google/apis/youtubereporting_v1/representations.rb +18 -18
- data/generated/google/apis/youtubereporting_v1/service.rb +77 -76
- data/google-api-client.gemspec +4 -6
- data/lib/google/apis/core/api_command.rb +8 -3
- data/lib/google/apis/core/base_service.rb +47 -18
- data/lib/google/apis/core/batch.rb +13 -18
- data/lib/google/apis/core/composite_io.rb +97 -0
- data/lib/google/apis/core/download.rb +24 -20
- data/lib/google/apis/core/http_command.rb +49 -38
- data/lib/google/apis/core/json_representation.rb +5 -1
- data/lib/google/apis/core/multipart.rb +43 -95
- data/lib/google/apis/core/upload.rb +59 -84
- data/lib/google/apis/generator/model.rb +2 -0
- data/lib/google/apis/generator/templates/_representation.tmpl +1 -1
- data/lib/google/apis/generator/templates/service.rb.tmpl +1 -0
- data/lib/google/apis/options.rb +24 -12
- data/lib/google/apis/version.rb +1 -1
- data/samples/web/Gemfile +0 -1
- metadata +39 -37
- data/lib/google/apis/core/http_client_adapter.rb +0 -82
- data/third_party/hurley_patches.rb +0 -103
@@ -29,6 +29,9 @@ module Google
|
|
29
29
|
VERSION = 'V3'
|
30
30
|
REVISION = '20170328'
|
31
31
|
|
32
|
+
# View and write monitoring data for all of your Google and third-party Cloud and API projects
|
33
|
+
AUTH_MONITORING = 'https://www.googleapis.com/auth/monitoring'
|
34
|
+
|
32
35
|
# Publish metric data to your Google Cloud projects
|
33
36
|
AUTH_MONITORING_WRITE = 'https://www.googleapis.com/auth/monitoring.write'
|
34
37
|
|
@@ -37,9 +40,6 @@ module Google
|
|
37
40
|
|
38
41
|
# View monitoring data for all of your Google Cloud and third-party projects
|
39
42
|
AUTH_MONITORING_READ = 'https://www.googleapis.com/auth/monitoring.read'
|
40
|
-
|
41
|
-
# View and write monitoring data for all of your Google and third-party Cloud and API projects
|
42
|
-
AUTH_MONITORING = 'https://www.googleapis.com/auth/monitoring'
|
43
43
|
end
|
44
44
|
end
|
45
45
|
end
|
@@ -22,208 +22,6 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module MonitoringV3
|
24
24
|
|
25
|
-
# The CreateCollectdTimeSeries request.
|
26
|
-
class CreateCollectdTimeSeriesRequest
|
27
|
-
include Google::Apis::Core::Hashable
|
28
|
-
|
29
|
-
# An object representing a resource that can be used for monitoring, logging,
|
30
|
-
# billing, or other purposes. Examples include virtual machine instances,
|
31
|
-
# databases, and storage devices such as disks. The type field identifies a
|
32
|
-
# MonitoredResourceDescriptor object that describes the resource's schema.
|
33
|
-
# Information in the labels field identifies the actual resource and its
|
34
|
-
# attributes according to the schema. For example, a particular Compute Engine
|
35
|
-
# VM instance could be represented by the following object, because the
|
36
|
-
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
|
37
|
-
# zone":
|
38
|
-
# ` "type": "gce_instance",
|
39
|
-
# "labels": ` "instance_id": "12345678901234",
|
40
|
-
# "zone": "us-central1-a" ``
|
41
|
-
# Corresponds to the JSON property `resource`
|
42
|
-
# @return [Google::Apis::MonitoringV3::MonitoredResource]
|
43
|
-
attr_accessor :resource
|
44
|
-
|
45
|
-
# The collectd payloads representing the time series data. You must not include
|
46
|
-
# more than a single point for each time series, so no two payloads can have the
|
47
|
-
# same values for all of the fields plugin, plugin_instance, type, and
|
48
|
-
# type_instance.
|
49
|
-
# Corresponds to the JSON property `collectdPayloads`
|
50
|
-
# @return [Array<Google::Apis::MonitoringV3::CollectdPayload>]
|
51
|
-
attr_accessor :collectd_payloads
|
52
|
-
|
53
|
-
# The version of collectd that collected the data. Example: "5.3.0-192.el6".
|
54
|
-
# Corresponds to the JSON property `collectdVersion`
|
55
|
-
# @return [String]
|
56
|
-
attr_accessor :collectd_version
|
57
|
-
|
58
|
-
def initialize(**args)
|
59
|
-
update!(**args)
|
60
|
-
end
|
61
|
-
|
62
|
-
# Update properties of this object
|
63
|
-
def update!(**args)
|
64
|
-
@resource = args[:resource] if args.key?(:resource)
|
65
|
-
@collectd_payloads = args[:collectd_payloads] if args.key?(:collectd_payloads)
|
66
|
-
@collectd_version = args[:collectd_version] if args.key?(:collectd_version)
|
67
|
-
end
|
68
|
-
end
|
69
|
-
|
70
|
-
# The ListGroupMembers response.
|
71
|
-
class ListGroupMembersResponse
|
72
|
-
include Google::Apis::Core::Hashable
|
73
|
-
|
74
|
-
# A set of monitored resources in the group.
|
75
|
-
# Corresponds to the JSON property `members`
|
76
|
-
# @return [Array<Google::Apis::MonitoringV3::MonitoredResource>]
|
77
|
-
attr_accessor :members
|
78
|
-
|
79
|
-
# If there are more results than have been returned, then this field is set to a
|
80
|
-
# non-empty value. To see the additional results, use that value as pageToken in
|
81
|
-
# the next call to this method.
|
82
|
-
# Corresponds to the JSON property `nextPageToken`
|
83
|
-
# @return [String]
|
84
|
-
attr_accessor :next_page_token
|
85
|
-
|
86
|
-
# The total number of elements matching this request.
|
87
|
-
# Corresponds to the JSON property `totalSize`
|
88
|
-
# @return [Fixnum]
|
89
|
-
attr_accessor :total_size
|
90
|
-
|
91
|
-
def initialize(**args)
|
92
|
-
update!(**args)
|
93
|
-
end
|
94
|
-
|
95
|
-
# Update properties of this object
|
96
|
-
def update!(**args)
|
97
|
-
@members = args[:members] if args.key?(:members)
|
98
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
99
|
-
@total_size = args[:total_size] if args.key?(:total_size)
|
100
|
-
end
|
101
|
-
end
|
102
|
-
|
103
|
-
# The ListMonitoredResourcDescriptors response.
|
104
|
-
class ListMonitoredResourceDescriptorsResponse
|
105
|
-
include Google::Apis::Core::Hashable
|
106
|
-
|
107
|
-
# If there are more results than have been returned, then this field is set to a
|
108
|
-
# non-empty value. To see the additional results, use that value as pageToken in
|
109
|
-
# the next call to this method.
|
110
|
-
# Corresponds to the JSON property `nextPageToken`
|
111
|
-
# @return [String]
|
112
|
-
attr_accessor :next_page_token
|
113
|
-
|
114
|
-
# The monitored resource descriptors that are available to this project and that
|
115
|
-
# match filter, if present.
|
116
|
-
# Corresponds to the JSON property `resourceDescriptors`
|
117
|
-
# @return [Array<Google::Apis::MonitoringV3::MonitoredResourceDescriptor>]
|
118
|
-
attr_accessor :resource_descriptors
|
119
|
-
|
120
|
-
def initialize(**args)
|
121
|
-
update!(**args)
|
122
|
-
end
|
123
|
-
|
124
|
-
# Update properties of this object
|
125
|
-
def update!(**args)
|
126
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
127
|
-
@resource_descriptors = args[:resource_descriptors] if args.key?(:resource_descriptors)
|
128
|
-
end
|
129
|
-
end
|
130
|
-
|
131
|
-
# A collection of data points that describes the time-varying values of a metric.
|
132
|
-
# A time series is identified by a combination of a fully-specified monitored
|
133
|
-
# resource and a fully-specified metric. This type is used for both listing and
|
134
|
-
# creating time series.
|
135
|
-
class TimeSeries
|
136
|
-
include Google::Apis::Core::Hashable
|
137
|
-
|
138
|
-
# An object representing a resource that can be used for monitoring, logging,
|
139
|
-
# billing, or other purposes. Examples include virtual machine instances,
|
140
|
-
# databases, and storage devices such as disks. The type field identifies a
|
141
|
-
# MonitoredResourceDescriptor object that describes the resource's schema.
|
142
|
-
# Information in the labels field identifies the actual resource and its
|
143
|
-
# attributes according to the schema. For example, a particular Compute Engine
|
144
|
-
# VM instance could be represented by the following object, because the
|
145
|
-
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
|
146
|
-
# zone":
|
147
|
-
# ` "type": "gce_instance",
|
148
|
-
# "labels": ` "instance_id": "12345678901234",
|
149
|
-
# "zone": "us-central1-a" ``
|
150
|
-
# Corresponds to the JSON property `resource`
|
151
|
-
# @return [Google::Apis::MonitoringV3::MonitoredResource]
|
152
|
-
attr_accessor :resource
|
153
|
-
|
154
|
-
# The metric kind of the time series. When listing time series, this metric kind
|
155
|
-
# might be different from the metric kind of the associated metric if this time
|
156
|
-
# series is an alignment or reduction of other time series.When creating a time
|
157
|
-
# series, this field is optional. If present, it must be the same as the metric
|
158
|
-
# kind of the associated metric. If the associated metric's descriptor must be
|
159
|
-
# auto-created, then this field specifies the metric kind of the new descriptor
|
160
|
-
# and must be either GAUGE (the default) or CUMULATIVE.
|
161
|
-
# Corresponds to the JSON property `metricKind`
|
162
|
-
# @return [String]
|
163
|
-
attr_accessor :metric_kind
|
164
|
-
|
165
|
-
# A specific metric, identified by specifying values for all of the labels of a
|
166
|
-
# MetricDescriptor.
|
167
|
-
# Corresponds to the JSON property `metric`
|
168
|
-
# @return [Google::Apis::MonitoringV3::Metric]
|
169
|
-
attr_accessor :metric
|
170
|
-
|
171
|
-
# The data points of this time series. When listing time series, the order of
|
172
|
-
# the points is specified by the list method.When creating a time series, this
|
173
|
-
# field must contain exactly one point and the point's type must be the same as
|
174
|
-
# the value type of the associated metric. If the associated metric's descriptor
|
175
|
-
# must be auto-created, then the value type of the descriptor is determined by
|
176
|
-
# the point's type, which must be BOOL, INT64, DOUBLE, or DISTRIBUTION.
|
177
|
-
# Corresponds to the JSON property `points`
|
178
|
-
# @return [Array<Google::Apis::MonitoringV3::Point>]
|
179
|
-
attr_accessor :points
|
180
|
-
|
181
|
-
# The value type of the time series. When listing time series, this value type
|
182
|
-
# might be different from the value type 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 type of
|
185
|
-
# the data in the points field.
|
186
|
-
# Corresponds to the JSON property `valueType`
|
187
|
-
# @return [String]
|
188
|
-
attr_accessor :value_type
|
189
|
-
|
190
|
-
def initialize(**args)
|
191
|
-
update!(**args)
|
192
|
-
end
|
193
|
-
|
194
|
-
# Update properties of this object
|
195
|
-
def update!(**args)
|
196
|
-
@resource = args[:resource] if args.key?(:resource)
|
197
|
-
@metric_kind = args[:metric_kind] if args.key?(:metric_kind)
|
198
|
-
@metric = args[:metric] if args.key?(:metric)
|
199
|
-
@points = args[:points] if args.key?(:points)
|
200
|
-
@value_type = args[:value_type] if args.key?(:value_type)
|
201
|
-
end
|
202
|
-
end
|
203
|
-
|
204
|
-
# The CreateTimeSeries request.
|
205
|
-
class CreateTimeSeriesRequest
|
206
|
-
include Google::Apis::Core::Hashable
|
207
|
-
|
208
|
-
# The new data to be added to a list of time series. Adds at most one data point
|
209
|
-
# to each of several time series. The new data point must be more recent than
|
210
|
-
# any other point in its time series. Each TimeSeries value must fully specify a
|
211
|
-
# unique time series by supplying all label values for the metric and the
|
212
|
-
# monitored resource.
|
213
|
-
# Corresponds to the JSON property `timeSeries`
|
214
|
-
# @return [Array<Google::Apis::MonitoringV3::TimeSeries>]
|
215
|
-
attr_accessor :time_series
|
216
|
-
|
217
|
-
def initialize(**args)
|
218
|
-
update!(**args)
|
219
|
-
end
|
220
|
-
|
221
|
-
# Update properties of this object
|
222
|
-
def update!(**args)
|
223
|
-
@time_series = args[:time_series] if args.key?(:time_series)
|
224
|
-
end
|
225
|
-
end
|
226
|
-
|
227
25
|
# Distribution contains summary statistics for a population of values. It
|
228
26
|
# optionally contains a histogram representing the distribution of those values
|
229
27
|
# across a set of buckets.The summary statistics are the count, mean, sum of the
|
@@ -238,16 +36,6 @@ module Google
|
|
238
36
|
class Distribution
|
239
37
|
include Google::Apis::Core::Hashable
|
240
38
|
|
241
|
-
# The sum of squared deviations from the mean of the values in the population.
|
242
|
-
# For values x_i this is:
|
243
|
-
# Sum[i=1..n]((x_i - mean)^2)
|
244
|
-
# Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition
|
245
|
-
# describes Welford's method for accumulating this sum in one pass.If count is
|
246
|
-
# zero then this field must be zero.
|
247
|
-
# Corresponds to the JSON property `sumOfSquaredDeviation`
|
248
|
-
# @return [Float]
|
249
|
-
attr_accessor :sum_of_squared_deviation
|
250
|
-
|
251
39
|
# The range of the population values.
|
252
40
|
# Corresponds to the JSON property `range`
|
253
41
|
# @return [Google::Apis::MonitoringV3::Range]
|
@@ -256,7 +44,7 @@ module Google
|
|
256
44
|
# The number of values in the population. Must be non-negative. This value must
|
257
45
|
# equal the sum of the values in bucket_counts if a histogram is provided.
|
258
46
|
# Corresponds to the JSON property `count`
|
259
|
-
# @return [
|
47
|
+
# @return [Fixnum]
|
260
48
|
attr_accessor :count
|
261
49
|
|
262
50
|
# The arithmetic mean of the values in the population. If count is zero then
|
@@ -274,7 +62,7 @@ module Google
|
|
274
62
|
# bucket_counts must not be greater than N. If the size is less than N, then the
|
275
63
|
# remaining buckets are assigned values of zero.
|
276
64
|
# Corresponds to the JSON property `bucketCounts`
|
277
|
-
# @return [Array<
|
65
|
+
# @return [Array<Fixnum>]
|
278
66
|
attr_accessor :bucket_counts
|
279
67
|
|
280
68
|
# BucketOptions describes the bucket boundaries used to create a histogram for
|
@@ -294,18 +82,28 @@ module Google
|
|
294
82
|
# @return [Google::Apis::MonitoringV3::BucketOptions]
|
295
83
|
attr_accessor :bucket_options
|
296
84
|
|
85
|
+
# The sum of squared deviations from the mean of the values in the population.
|
86
|
+
# For values x_i this is:
|
87
|
+
# Sum[i=1..n]((x_i - mean)^2)
|
88
|
+
# Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition
|
89
|
+
# describes Welford's method for accumulating this sum in one pass.If count is
|
90
|
+
# zero then this field must be zero.
|
91
|
+
# Corresponds to the JSON property `sumOfSquaredDeviation`
|
92
|
+
# @return [Float]
|
93
|
+
attr_accessor :sum_of_squared_deviation
|
94
|
+
|
297
95
|
def initialize(**args)
|
298
96
|
update!(**args)
|
299
97
|
end
|
300
98
|
|
301
99
|
# Update properties of this object
|
302
100
|
def update!(**args)
|
303
|
-
@sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation)
|
304
101
|
@range = args[:range] if args.key?(:range)
|
305
102
|
@count = args[:count] if args.key?(:count)
|
306
103
|
@mean = args[:mean] if args.key?(:mean)
|
307
104
|
@bucket_counts = args[:bucket_counts] if args.key?(:bucket_counts)
|
308
105
|
@bucket_options = args[:bucket_options] if args.key?(:bucket_options)
|
106
|
+
@sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation)
|
309
107
|
end
|
310
108
|
end
|
311
109
|
|
@@ -387,13 +185,6 @@ module Google
|
|
387
185
|
class MonitoredResourceDescriptor
|
388
186
|
include Google::Apis::Core::Hashable
|
389
187
|
|
390
|
-
# Required. A set of labels used to describe instances of this monitored
|
391
|
-
# resource type. For example, an individual Google Cloud SQL database is
|
392
|
-
# identified by values for the labels "database_id" and "zone".
|
393
|
-
# Corresponds to the JSON property `labels`
|
394
|
-
# @return [Array<Google::Apis::MonitoringV3::LabelDescriptor>]
|
395
|
-
attr_accessor :labels
|
396
|
-
|
397
188
|
# Optional. The resource name of the monitored resource descriptor: "projects/`
|
398
189
|
# project_id`/monitoredResourceDescriptors/`type`" where `type` is the value of
|
399
190
|
# the type field in this object and `project_id` is a project ID that provides
|
@@ -424,17 +215,24 @@ module Google
|
|
424
215
|
# @return [String]
|
425
216
|
attr_accessor :type
|
426
217
|
|
218
|
+
# Required. A set of labels used to describe instances of this monitored
|
219
|
+
# resource type. For example, an individual Google Cloud SQL database is
|
220
|
+
# identified by values for the labels "database_id" and "zone".
|
221
|
+
# Corresponds to the JSON property `labels`
|
222
|
+
# @return [Array<Google::Apis::MonitoringV3::LabelDescriptor>]
|
223
|
+
attr_accessor :labels
|
224
|
+
|
427
225
|
def initialize(**args)
|
428
226
|
update!(**args)
|
429
227
|
end
|
430
228
|
|
431
229
|
# Update properties of this object
|
432
230
|
def update!(**args)
|
433
|
-
@labels = args[:labels] if args.key?(:labels)
|
434
231
|
@name = args[:name] if args.key?(:name)
|
435
232
|
@display_name = args[:display_name] if args.key?(:display_name)
|
436
233
|
@description = args[:description] if args.key?(:description)
|
437
234
|
@type = args[:type] if args.key?(:type)
|
235
|
+
@labels = args[:labels] if args.key?(:labels)
|
438
236
|
end
|
439
237
|
end
|
440
238
|
|
@@ -442,17 +240,6 @@ module Google
|
|
442
240
|
class TypedValue
|
443
241
|
include Google::Apis::Core::Hashable
|
444
242
|
|
445
|
-
# A Boolean value: true or false.
|
446
|
-
# Corresponds to the JSON property `boolValue`
|
447
|
-
# @return [Boolean]
|
448
|
-
attr_accessor :bool_value
|
449
|
-
alias_method :bool_value?, :bool_value
|
450
|
-
|
451
|
-
# A variable-length string value.
|
452
|
-
# Corresponds to the JSON property `stringValue`
|
453
|
-
# @return [String]
|
454
|
-
attr_accessor :string_value
|
455
|
-
|
456
243
|
# A 64-bit double-precision floating-point number. Its magnitude is
|
457
244
|
# approximately ±10<sup>±300</sup> and it has 16 significant
|
458
245
|
# digits of precision.
|
@@ -462,7 +249,7 @@ module Google
|
|
462
249
|
|
463
250
|
# A 64-bit integer. Its range is approximately ±9.2x10<sup>18</sup>.
|
464
251
|
# Corresponds to the JSON property `int64Value`
|
465
|
-
# @return [
|
252
|
+
# @return [Fixnum]
|
466
253
|
attr_accessor :int64_value
|
467
254
|
|
468
255
|
# Distribution contains summary statistics for a population of values. It
|
@@ -480,17 +267,28 @@ module Google
|
|
480
267
|
# @return [Google::Apis::MonitoringV3::Distribution]
|
481
268
|
attr_accessor :distribution_value
|
482
269
|
|
270
|
+
# A Boolean value: true or false.
|
271
|
+
# Corresponds to the JSON property `boolValue`
|
272
|
+
# @return [Boolean]
|
273
|
+
attr_accessor :bool_value
|
274
|
+
alias_method :bool_value?, :bool_value
|
275
|
+
|
276
|
+
# A variable-length string value.
|
277
|
+
# Corresponds to the JSON property `stringValue`
|
278
|
+
# @return [String]
|
279
|
+
attr_accessor :string_value
|
280
|
+
|
483
281
|
def initialize(**args)
|
484
282
|
update!(**args)
|
485
283
|
end
|
486
284
|
|
487
285
|
# Update properties of this object
|
488
286
|
def update!(**args)
|
489
|
-
@bool_value = args[:bool_value] if args.key?(:bool_value)
|
490
|
-
@string_value = args[:string_value] if args.key?(:string_value)
|
491
287
|
@double_value = args[:double_value] if args.key?(:double_value)
|
492
288
|
@int64_value = args[:int64_value] if args.key?(:int64_value)
|
493
289
|
@distribution_value = args[:distribution_value] if args.key?(:distribution_value)
|
290
|
+
@bool_value = args[:bool_value] if args.key?(:bool_value)
|
291
|
+
@string_value = args[:string_value] if args.key?(:string_value)
|
494
292
|
end
|
495
293
|
end
|
496
294
|
|
@@ -705,11 +503,6 @@ module Google
|
|
705
503
|
class Exponential
|
706
504
|
include Google::Apis::Core::Hashable
|
707
505
|
|
708
|
-
# Must be greater than 0.
|
709
|
-
# Corresponds to the JSON property `numFiniteBuckets`
|
710
|
-
# @return [Fixnum]
|
711
|
-
attr_accessor :num_finite_buckets
|
712
|
-
|
713
506
|
# Must be greater than 1.
|
714
507
|
# Corresponds to the JSON property `growthFactor`
|
715
508
|
# @return [Float]
|
@@ -720,15 +513,20 @@ module Google
|
|
720
513
|
# @return [Float]
|
721
514
|
attr_accessor :scale
|
722
515
|
|
516
|
+
# Must be greater than 0.
|
517
|
+
# Corresponds to the JSON property `numFiniteBuckets`
|
518
|
+
# @return [Fixnum]
|
519
|
+
attr_accessor :num_finite_buckets
|
520
|
+
|
723
521
|
def initialize(**args)
|
724
522
|
update!(**args)
|
725
523
|
end
|
726
524
|
|
727
525
|
# Update properties of this object
|
728
526
|
def update!(**args)
|
729
|
-
@num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets)
|
730
527
|
@growth_factor = args[:growth_factor] if args.key?(:growth_factor)
|
731
528
|
@scale = args[:scale] if args.key?(:scale)
|
529
|
+
@num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets)
|
732
530
|
end
|
733
531
|
end
|
734
532
|
|
@@ -736,11 +534,6 @@ module Google
|
|
736
534
|
class Point
|
737
535
|
include Google::Apis::Core::Hashable
|
738
536
|
|
739
|
-
# A single strongly-typed value.
|
740
|
-
# Corresponds to the JSON property `value`
|
741
|
-
# @return [Google::Apis::MonitoringV3::TypedValue]
|
742
|
-
attr_accessor :value
|
743
|
-
|
744
537
|
# A time interval extending just after a start time through an end time. If the
|
745
538
|
# start time is the same as the end time, then the interval represents a single
|
746
539
|
# point in time.
|
@@ -748,14 +541,19 @@ module Google
|
|
748
541
|
# @return [Google::Apis::MonitoringV3::TimeInterval]
|
749
542
|
attr_accessor :interval
|
750
543
|
|
544
|
+
# A single strongly-typed value.
|
545
|
+
# Corresponds to the JSON property `value`
|
546
|
+
# @return [Google::Apis::MonitoringV3::TypedValue]
|
547
|
+
attr_accessor :value
|
548
|
+
|
751
549
|
def initialize(**args)
|
752
550
|
update!(**args)
|
753
551
|
end
|
754
552
|
|
755
553
|
# Update properties of this object
|
756
554
|
def update!(**args)
|
757
|
-
@value = args[:value] if args.key?(:value)
|
758
555
|
@interval = args[:interval] if args.key?(:interval)
|
556
|
+
@value = args[:value] if args.key?(:value)
|
759
557
|
end
|
760
558
|
end
|
761
559
|
|
@@ -763,37 +561,21 @@ module Google
|
|
763
561
|
class Field
|
764
562
|
include Google::Apis::Core::Hashable
|
765
563
|
|
766
|
-
# The string value of the default value of this field. Proto2 syntax only.
|
767
|
-
# Corresponds to the JSON property `defaultValue`
|
768
|
-
# @return [String]
|
769
|
-
attr_accessor :default_value
|
770
|
-
|
771
|
-
# The field name.
|
772
|
-
# Corresponds to the JSON property `name`
|
773
|
-
# @return [String]
|
774
|
-
attr_accessor :name
|
775
|
-
|
776
|
-
# The field type URL, without the scheme, for message or enumeration types.
|
777
|
-
# Example: "type.googleapis.com/google.protobuf.Timestamp".
|
778
|
-
# Corresponds to the JSON property `typeUrl`
|
779
|
-
# @return [String]
|
780
|
-
attr_accessor :type_url
|
781
|
-
|
782
564
|
# The field number.
|
783
565
|
# Corresponds to the JSON property `number`
|
784
566
|
# @return [Fixnum]
|
785
567
|
attr_accessor :number
|
786
568
|
|
787
|
-
# The field JSON name.
|
788
|
-
# Corresponds to the JSON property `jsonName`
|
789
|
-
# @return [String]
|
790
|
-
attr_accessor :json_name
|
791
|
-
|
792
569
|
# The field type.
|
793
570
|
# Corresponds to the JSON property `kind`
|
794
571
|
# @return [String]
|
795
572
|
attr_accessor :kind
|
796
573
|
|
574
|
+
# The field JSON name.
|
575
|
+
# Corresponds to the JSON property `jsonName`
|
576
|
+
# @return [String]
|
577
|
+
attr_accessor :json_name
|
578
|
+
|
797
579
|
# The protocol buffer options.
|
798
580
|
# Corresponds to the JSON property `options`
|
799
581
|
# @return [Array<Google::Apis::MonitoringV3::Option>]
|
@@ -816,22 +598,38 @@ module Google
|
|
816
598
|
attr_accessor :packed
|
817
599
|
alias_method :packed?, :packed
|
818
600
|
|
601
|
+
# The string value of the default value of this field. Proto2 syntax only.
|
602
|
+
# Corresponds to the JSON property `defaultValue`
|
603
|
+
# @return [String]
|
604
|
+
attr_accessor :default_value
|
605
|
+
|
606
|
+
# The field name.
|
607
|
+
# Corresponds to the JSON property `name`
|
608
|
+
# @return [String]
|
609
|
+
attr_accessor :name
|
610
|
+
|
611
|
+
# The field type URL, without the scheme, for message or enumeration types.
|
612
|
+
# Example: "type.googleapis.com/google.protobuf.Timestamp".
|
613
|
+
# Corresponds to the JSON property `typeUrl`
|
614
|
+
# @return [String]
|
615
|
+
attr_accessor :type_url
|
616
|
+
|
819
617
|
def initialize(**args)
|
820
618
|
update!(**args)
|
821
619
|
end
|
822
620
|
|
823
621
|
# Update properties of this object
|
824
622
|
def update!(**args)
|
825
|
-
@default_value = args[:default_value] if args.key?(:default_value)
|
826
|
-
@name = args[:name] if args.key?(:name)
|
827
|
-
@type_url = args[:type_url] if args.key?(:type_url)
|
828
623
|
@number = args[:number] if args.key?(:number)
|
829
|
-
@json_name = args[:json_name] if args.key?(:json_name)
|
830
624
|
@kind = args[:kind] if args.key?(:kind)
|
625
|
+
@json_name = args[:json_name] if args.key?(:json_name)
|
831
626
|
@options = args[:options] if args.key?(:options)
|
832
627
|
@oneof_index = args[:oneof_index] if args.key?(:oneof_index)
|
833
628
|
@cardinality = args[:cardinality] if args.key?(:cardinality)
|
834
629
|
@packed = args[:packed] if args.key?(:packed)
|
630
|
+
@default_value = args[:default_value] if args.key?(:default_value)
|
631
|
+
@name = args[:name] if args.key?(:name)
|
632
|
+
@type_url = args[:type_url] if args.key?(:type_url)
|
835
633
|
end
|
836
634
|
end
|
837
635
|
|
@@ -840,26 +638,26 @@ module Google
|
|
840
638
|
class Metric
|
841
639
|
include Google::Apis::Core::Hashable
|
842
640
|
|
843
|
-
# An existing metric type, see google.api.MetricDescriptor. For example, custom.
|
844
|
-
# googleapis.com/invoice/paid/amount.
|
845
|
-
# Corresponds to the JSON property `type`
|
846
|
-
# @return [String]
|
847
|
-
attr_accessor :type
|
848
|
-
|
849
641
|
# The set of label values that uniquely identify this metric. All labels listed
|
850
642
|
# in the MetricDescriptor must be assigned values.
|
851
643
|
# Corresponds to the JSON property `labels`
|
852
644
|
# @return [Hash<String,String>]
|
853
645
|
attr_accessor :labels
|
854
646
|
|
647
|
+
# An existing metric type, see google.api.MetricDescriptor. For example, custom.
|
648
|
+
# googleapis.com/invoice/paid/amount.
|
649
|
+
# Corresponds to the JSON property `type`
|
650
|
+
# @return [String]
|
651
|
+
attr_accessor :type
|
652
|
+
|
855
653
|
def initialize(**args)
|
856
654
|
update!(**args)
|
857
655
|
end
|
858
656
|
|
859
657
|
# Update properties of this object
|
860
658
|
def update!(**args)
|
861
|
-
@type = args[:type] if args.key?(:type)
|
862
659
|
@labels = args[:labels] if args.key?(:labels)
|
660
|
+
@type = args[:type] if args.key?(:type)
|
863
661
|
end
|
864
662
|
end
|
865
663
|
|
@@ -898,11 +696,6 @@ module Google
|
|
898
696
|
class ListTimeSeriesResponse
|
899
697
|
include Google::Apis::Core::Hashable
|
900
698
|
|
901
|
-
# One or more time series that match the filter included in the request.
|
902
|
-
# Corresponds to the JSON property `timeSeries`
|
903
|
-
# @return [Array<Google::Apis::MonitoringV3::TimeSeries>]
|
904
|
-
attr_accessor :time_series
|
905
|
-
|
906
699
|
# If there are more results than have been returned, then this field is set to a
|
907
700
|
# non-empty value. To see the additional results, use that value as pageToken in
|
908
701
|
# the next call to this method.
|
@@ -910,14 +703,19 @@ module Google
|
|
910
703
|
# @return [String]
|
911
704
|
attr_accessor :next_page_token
|
912
705
|
|
706
|
+
# One or more time series that match the filter included in the request.
|
707
|
+
# Corresponds to the JSON property `timeSeries`
|
708
|
+
# @return [Array<Google::Apis::MonitoringV3::TimeSeries>]
|
709
|
+
attr_accessor :time_series
|
710
|
+
|
913
711
|
def initialize(**args)
|
914
712
|
update!(**args)
|
915
713
|
end
|
916
714
|
|
917
715
|
# Update properties of this object
|
918
716
|
def update!(**args)
|
919
|
-
@time_series = args[:time_series] if args.key?(:time_series)
|
920
717
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
718
|
+
@time_series = args[:time_series] if args.key?(:time_series)
|
921
719
|
end
|
922
720
|
end
|
923
721
|
|
@@ -994,49 +792,49 @@ module Google
|
|
994
792
|
class Type
|
995
793
|
include Google::Apis::Core::Hashable
|
996
794
|
|
795
|
+
# The list of fields.
|
796
|
+
# Corresponds to the JSON property `fields`
|
797
|
+
# @return [Array<Google::Apis::MonitoringV3::Field>]
|
798
|
+
attr_accessor :fields
|
799
|
+
|
800
|
+
# The fully qualified message name.
|
801
|
+
# Corresponds to the JSON property `name`
|
802
|
+
# @return [String]
|
803
|
+
attr_accessor :name
|
804
|
+
|
997
805
|
# The list of types appearing in oneof definitions in this type.
|
998
806
|
# Corresponds to the JSON property `oneofs`
|
999
807
|
# @return [Array<String>]
|
1000
808
|
attr_accessor :oneofs
|
1001
809
|
|
1002
|
-
# The source syntax.
|
1003
|
-
# Corresponds to the JSON property `syntax`
|
1004
|
-
# @return [String]
|
1005
|
-
attr_accessor :syntax
|
1006
|
-
|
1007
810
|
# SourceContext represents information about the source of a protobuf element,
|
1008
811
|
# like the file in which it is defined.
|
1009
812
|
# Corresponds to the JSON property `sourceContext`
|
1010
813
|
# @return [Google::Apis::MonitoringV3::SourceContext]
|
1011
814
|
attr_accessor :source_context
|
1012
815
|
|
816
|
+
# The source syntax.
|
817
|
+
# Corresponds to the JSON property `syntax`
|
818
|
+
# @return [String]
|
819
|
+
attr_accessor :syntax
|
820
|
+
|
1013
821
|
# The protocol buffer options.
|
1014
822
|
# Corresponds to the JSON property `options`
|
1015
823
|
# @return [Array<Google::Apis::MonitoringV3::Option>]
|
1016
824
|
attr_accessor :options
|
1017
825
|
|
1018
|
-
# The list of fields.
|
1019
|
-
# Corresponds to the JSON property `fields`
|
1020
|
-
# @return [Array<Google::Apis::MonitoringV3::Field>]
|
1021
|
-
attr_accessor :fields
|
1022
|
-
|
1023
|
-
# The fully qualified message name.
|
1024
|
-
# Corresponds to the JSON property `name`
|
1025
|
-
# @return [String]
|
1026
|
-
attr_accessor :name
|
1027
|
-
|
1028
826
|
def initialize(**args)
|
1029
827
|
update!(**args)
|
1030
828
|
end
|
1031
829
|
|
1032
830
|
# Update properties of this object
|
1033
831
|
def update!(**args)
|
832
|
+
@fields = args[:fields] if args.key?(:fields)
|
833
|
+
@name = args[:name] if args.key?(:name)
|
1034
834
|
@oneofs = args[:oneofs] if args.key?(:oneofs)
|
1035
|
-
@syntax = args[:syntax] if args.key?(:syntax)
|
1036
835
|
@source_context = args[:source_context] if args.key?(:source_context)
|
836
|
+
@syntax = args[:syntax] if args.key?(:syntax)
|
1037
837
|
@options = args[:options] if args.key?(:options)
|
1038
|
-
@fields = args[:fields] if args.key?(:fields)
|
1039
|
-
@name = args[:name] if args.key?(:name)
|
1040
838
|
end
|
1041
839
|
end
|
1042
840
|
|
@@ -1056,6 +854,16 @@ module Google
|
|
1056
854
|
class BucketOptions
|
1057
855
|
include Google::Apis::Core::Hashable
|
1058
856
|
|
857
|
+
# Specifies an exponential sequence of buckets that have a width that is
|
858
|
+
# proportional to the value of the lower bound. Each bucket represents a
|
859
|
+
# constant relative uncertainty on a specific value in the bucket.There are
|
860
|
+
# num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:
|
861
|
+
# Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i <
|
862
|
+
# N): scale * (growth_factor ^ (i - 1)).
|
863
|
+
# Corresponds to the JSON property `exponentialBuckets`
|
864
|
+
# @return [Google::Apis::MonitoringV3::Exponential]
|
865
|
+
attr_accessor :exponential_buckets
|
866
|
+
|
1059
867
|
# Specifies a linear sequence of buckets that all have the same width (except
|
1060
868
|
# overflow and underflow). Each bucket represents a constant absolute
|
1061
869
|
# uncertainty on the specific value in the bucket.There are num_finite_buckets +
|
@@ -1076,25 +884,15 @@ module Google
|
|
1076
884
|
# @return [Google::Apis::MonitoringV3::Explicit]
|
1077
885
|
attr_accessor :explicit_buckets
|
1078
886
|
|
1079
|
-
# Specifies an exponential sequence of buckets that have a width that is
|
1080
|
-
# proportional to the value of the lower bound. Each bucket represents a
|
1081
|
-
# constant relative uncertainty on a specific value in the bucket.There are
|
1082
|
-
# num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:
|
1083
|
-
# Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i <
|
1084
|
-
# N): scale * (growth_factor ^ (i - 1)).
|
1085
|
-
# Corresponds to the JSON property `exponentialBuckets`
|
1086
|
-
# @return [Google::Apis::MonitoringV3::Exponential]
|
1087
|
-
attr_accessor :exponential_buckets
|
1088
|
-
|
1089
887
|
def initialize(**args)
|
1090
888
|
update!(**args)
|
1091
889
|
end
|
1092
890
|
|
1093
891
|
# Update properties of this object
|
1094
892
|
def update!(**args)
|
893
|
+
@exponential_buckets = args[:exponential_buckets] if args.key?(:exponential_buckets)
|
1095
894
|
@linear_buckets = args[:linear_buckets] if args.key?(:linear_buckets)
|
1096
895
|
@explicit_buckets = args[:explicit_buckets] if args.key?(:explicit_buckets)
|
1097
|
-
@exponential_buckets = args[:exponential_buckets] if args.key?(:exponential_buckets)
|
1098
896
|
end
|
1099
897
|
end
|
1100
898
|
|
@@ -1157,6 +955,18 @@ module Google
|
|
1157
955
|
class MetricDescriptor
|
1158
956
|
include Google::Apis::Core::Hashable
|
1159
957
|
|
958
|
+
# The resource name of the metric descriptor. Depending on the implementation,
|
959
|
+
# the name typically includes: (1) the parent resource name that defines the
|
960
|
+
# scope of the metric type or of its data; and (2) the metric's URL-encoded type,
|
961
|
+
# which also appears in the type field of this descriptor. For example,
|
962
|
+
# following is the resource name of a custom metric within the GCP project my-
|
963
|
+
# project-id:
|
964
|
+
# "projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%
|
965
|
+
# 2Fpaid%2Famount"
|
966
|
+
# Corresponds to the JSON property `name`
|
967
|
+
# @return [String]
|
968
|
+
attr_accessor :name
|
969
|
+
|
1160
970
|
# The metric type, including its DNS name prefix. The type is not URL-encoded.
|
1161
971
|
# All user-defined custom metric types have the DNS name custom.googleapis.com.
|
1162
972
|
# Metric types should use a natural hierarchical grouping. For example:
|
@@ -1248,24 +1058,13 @@ module Google
|
|
1248
1058
|
# @return [Array<Google::Apis::MonitoringV3::LabelDescriptor>]
|
1249
1059
|
attr_accessor :labels
|
1250
1060
|
|
1251
|
-
# The resource name of the metric descriptor. Depending on the implementation,
|
1252
|
-
# the name typically includes: (1) the parent resource name that defines the
|
1253
|
-
# scope of the metric type or of its data; and (2) the metric's URL-encoded type,
|
1254
|
-
# which also appears in the type field of this descriptor. For example,
|
1255
|
-
# following is the resource name of a custom metric within the GCP project my-
|
1256
|
-
# project-id:
|
1257
|
-
# "projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%
|
1258
|
-
# 2Fpaid%2Famount"
|
1259
|
-
# Corresponds to the JSON property `name`
|
1260
|
-
# @return [String]
|
1261
|
-
attr_accessor :name
|
1262
|
-
|
1263
1061
|
def initialize(**args)
|
1264
1062
|
update!(**args)
|
1265
1063
|
end
|
1266
1064
|
|
1267
1065
|
# Update properties of this object
|
1268
1066
|
def update!(**args)
|
1067
|
+
@name = args[:name] if args.key?(:name)
|
1269
1068
|
@type = args[:type] if args.key?(:type)
|
1270
1069
|
@value_type = args[:value_type] if args.key?(:value_type)
|
1271
1070
|
@metric_kind = args[:metric_kind] if args.key?(:metric_kind)
|
@@ -1273,7 +1072,6 @@ module Google
|
|
1273
1072
|
@description = args[:description] if args.key?(:description)
|
1274
1073
|
@unit = args[:unit] if args.key?(:unit)
|
1275
1074
|
@labels = args[:labels] if args.key?(:labels)
|
1276
|
-
@name = args[:name] if args.key?(:name)
|
1277
1075
|
end
|
1278
1076
|
end
|
1279
1077
|
|
@@ -1306,6 +1104,11 @@ module Google
|
|
1306
1104
|
class ListGroupsResponse
|
1307
1105
|
include Google::Apis::Core::Hashable
|
1308
1106
|
|
1107
|
+
# The groups that match the specified filters.
|
1108
|
+
# Corresponds to the JSON property `group`
|
1109
|
+
# @return [Array<Google::Apis::MonitoringV3::Group>]
|
1110
|
+
attr_accessor :group
|
1111
|
+
|
1309
1112
|
# If there are more results than have been returned, then this field is set to a
|
1310
1113
|
# non-empty value. To see the additional results, use that value as pageToken in
|
1311
1114
|
# the next call to this method.
|
@@ -1313,10 +1116,82 @@ module Google
|
|
1313
1116
|
# @return [String]
|
1314
1117
|
attr_accessor :next_page_token
|
1315
1118
|
|
1316
|
-
|
1317
|
-
|
1318
|
-
|
1319
|
-
|
1119
|
+
def initialize(**args)
|
1120
|
+
update!(**args)
|
1121
|
+
end
|
1122
|
+
|
1123
|
+
# Update properties of this object
|
1124
|
+
def update!(**args)
|
1125
|
+
@group = args[:group] if args.key?(:group)
|
1126
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1127
|
+
end
|
1128
|
+
end
|
1129
|
+
|
1130
|
+
# The CreateCollectdTimeSeries request.
|
1131
|
+
class CreateCollectdTimeSeriesRequest
|
1132
|
+
include Google::Apis::Core::Hashable
|
1133
|
+
|
1134
|
+
# An object representing a resource that can be used for monitoring, logging,
|
1135
|
+
# billing, or other purposes. Examples include virtual machine instances,
|
1136
|
+
# databases, and storage devices such as disks. The type field identifies a
|
1137
|
+
# MonitoredResourceDescriptor object that describes the resource's schema.
|
1138
|
+
# Information in the labels field identifies the actual resource and its
|
1139
|
+
# attributes according to the schema. For example, a particular Compute Engine
|
1140
|
+
# VM instance could be represented by the following object, because the
|
1141
|
+
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
|
1142
|
+
# zone":
|
1143
|
+
# ` "type": "gce_instance",
|
1144
|
+
# "labels": ` "instance_id": "12345678901234",
|
1145
|
+
# "zone": "us-central1-a" ``
|
1146
|
+
# Corresponds to the JSON property `resource`
|
1147
|
+
# @return [Google::Apis::MonitoringV3::MonitoredResource]
|
1148
|
+
attr_accessor :resource
|
1149
|
+
|
1150
|
+
# The collectd payloads representing the time series data. You must not include
|
1151
|
+
# more than a single point for each time series, so no two payloads can have the
|
1152
|
+
# same values for all of the fields plugin, plugin_instance, type, and
|
1153
|
+
# type_instance.
|
1154
|
+
# Corresponds to the JSON property `collectdPayloads`
|
1155
|
+
# @return [Array<Google::Apis::MonitoringV3::CollectdPayload>]
|
1156
|
+
attr_accessor :collectd_payloads
|
1157
|
+
|
1158
|
+
# The version of collectd that collected the data. Example: "5.3.0-192.el6".
|
1159
|
+
# Corresponds to the JSON property `collectdVersion`
|
1160
|
+
# @return [String]
|
1161
|
+
attr_accessor :collectd_version
|
1162
|
+
|
1163
|
+
def initialize(**args)
|
1164
|
+
update!(**args)
|
1165
|
+
end
|
1166
|
+
|
1167
|
+
# Update properties of this object
|
1168
|
+
def update!(**args)
|
1169
|
+
@resource = args[:resource] if args.key?(:resource)
|
1170
|
+
@collectd_payloads = args[:collectd_payloads] if args.key?(:collectd_payloads)
|
1171
|
+
@collectd_version = args[:collectd_version] if args.key?(:collectd_version)
|
1172
|
+
end
|
1173
|
+
end
|
1174
|
+
|
1175
|
+
# The ListGroupMembers response.
|
1176
|
+
class ListGroupMembersResponse
|
1177
|
+
include Google::Apis::Core::Hashable
|
1178
|
+
|
1179
|
+
# If there are more results than have been returned, then this field is set to a
|
1180
|
+
# non-empty value. To see the additional results, use that value as pageToken in
|
1181
|
+
# the next call to this method.
|
1182
|
+
# Corresponds to the JSON property `nextPageToken`
|
1183
|
+
# @return [String]
|
1184
|
+
attr_accessor :next_page_token
|
1185
|
+
|
1186
|
+
# The total number of elements matching this request.
|
1187
|
+
# Corresponds to the JSON property `totalSize`
|
1188
|
+
# @return [Fixnum]
|
1189
|
+
attr_accessor :total_size
|
1190
|
+
|
1191
|
+
# A set of monitored resources in the group.
|
1192
|
+
# Corresponds to the JSON property `members`
|
1193
|
+
# @return [Array<Google::Apis::MonitoringV3::MonitoredResource>]
|
1194
|
+
attr_accessor :members
|
1320
1195
|
|
1321
1196
|
def initialize(**args)
|
1322
1197
|
update!(**args)
|
@@ -1325,7 +1200,132 @@ module Google
|
|
1325
1200
|
# Update properties of this object
|
1326
1201
|
def update!(**args)
|
1327
1202
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1328
|
-
@
|
1203
|
+
@total_size = args[:total_size] if args.key?(:total_size)
|
1204
|
+
@members = args[:members] if args.key?(:members)
|
1205
|
+
end
|
1206
|
+
end
|
1207
|
+
|
1208
|
+
# The ListMonitoredResourcDescriptors response.
|
1209
|
+
class ListMonitoredResourceDescriptorsResponse
|
1210
|
+
include Google::Apis::Core::Hashable
|
1211
|
+
|
1212
|
+
# If there are more results than have been returned, then this field is set to a
|
1213
|
+
# non-empty value. To see the additional results, use that value as pageToken in
|
1214
|
+
# the next call to this method.
|
1215
|
+
# Corresponds to the JSON property `nextPageToken`
|
1216
|
+
# @return [String]
|
1217
|
+
attr_accessor :next_page_token
|
1218
|
+
|
1219
|
+
# The monitored resource descriptors that are available to this project and that
|
1220
|
+
# match filter, if present.
|
1221
|
+
# Corresponds to the JSON property `resourceDescriptors`
|
1222
|
+
# @return [Array<Google::Apis::MonitoringV3::MonitoredResourceDescriptor>]
|
1223
|
+
attr_accessor :resource_descriptors
|
1224
|
+
|
1225
|
+
def initialize(**args)
|
1226
|
+
update!(**args)
|
1227
|
+
end
|
1228
|
+
|
1229
|
+
# Update properties of this object
|
1230
|
+
def update!(**args)
|
1231
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1232
|
+
@resource_descriptors = args[:resource_descriptors] if args.key?(:resource_descriptors)
|
1233
|
+
end
|
1234
|
+
end
|
1235
|
+
|
1236
|
+
# A collection of data points that describes the time-varying values of a metric.
|
1237
|
+
# A time series is identified by a combination of a fully-specified monitored
|
1238
|
+
# resource and a fully-specified metric. This type is used for both listing and
|
1239
|
+
# creating time series.
|
1240
|
+
class TimeSeries
|
1241
|
+
include Google::Apis::Core::Hashable
|
1242
|
+
|
1243
|
+
# The value type of the time series. When listing time series, this value type
|
1244
|
+
# might be different from the value type of the associated metric if this time
|
1245
|
+
# series is an alignment or reduction of other time series.When creating a time
|
1246
|
+
# series, this field is optional. If present, it must be the same as the type of
|
1247
|
+
# the data in the points field.
|
1248
|
+
# Corresponds to the JSON property `valueType`
|
1249
|
+
# @return [String]
|
1250
|
+
attr_accessor :value_type
|
1251
|
+
|
1252
|
+
# An object representing a resource that can be used for monitoring, logging,
|
1253
|
+
# billing, or other purposes. Examples include virtual machine instances,
|
1254
|
+
# databases, and storage devices such as disks. The type field identifies a
|
1255
|
+
# MonitoredResourceDescriptor object that describes the resource's schema.
|
1256
|
+
# Information in the labels field identifies the actual resource and its
|
1257
|
+
# attributes according to the schema. For example, a particular Compute Engine
|
1258
|
+
# VM instance could be represented by the following object, because the
|
1259
|
+
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
|
1260
|
+
# zone":
|
1261
|
+
# ` "type": "gce_instance",
|
1262
|
+
# "labels": ` "instance_id": "12345678901234",
|
1263
|
+
# "zone": "us-central1-a" ``
|
1264
|
+
# Corresponds to the JSON property `resource`
|
1265
|
+
# @return [Google::Apis::MonitoringV3::MonitoredResource]
|
1266
|
+
attr_accessor :resource
|
1267
|
+
|
1268
|
+
# The metric kind of the time series. When listing time series, this metric kind
|
1269
|
+
# might be different from the metric kind of the associated metric if this time
|
1270
|
+
# series is an alignment or reduction of other time series.When creating a time
|
1271
|
+
# series, this field is optional. If present, it must be the same as the metric
|
1272
|
+
# kind of the associated metric. If the associated metric's descriptor must be
|
1273
|
+
# auto-created, then this field specifies the metric kind of the new descriptor
|
1274
|
+
# and must be either GAUGE (the default) or CUMULATIVE.
|
1275
|
+
# Corresponds to the JSON property `metricKind`
|
1276
|
+
# @return [String]
|
1277
|
+
attr_accessor :metric_kind
|
1278
|
+
|
1279
|
+
# A specific metric, identified by specifying values for all of the labels of a
|
1280
|
+
# MetricDescriptor.
|
1281
|
+
# Corresponds to the JSON property `metric`
|
1282
|
+
# @return [Google::Apis::MonitoringV3::Metric]
|
1283
|
+
attr_accessor :metric
|
1284
|
+
|
1285
|
+
# The data points of this time series. When listing time series, the order of
|
1286
|
+
# the points is specified by the list method.When creating a time series, this
|
1287
|
+
# field must contain exactly one point and the point's type must be the same as
|
1288
|
+
# the value type of the associated metric. If the associated metric's descriptor
|
1289
|
+
# must be auto-created, then the value type of the descriptor is determined by
|
1290
|
+
# the point's type, which must be BOOL, INT64, DOUBLE, or DISTRIBUTION.
|
1291
|
+
# Corresponds to the JSON property `points`
|
1292
|
+
# @return [Array<Google::Apis::MonitoringV3::Point>]
|
1293
|
+
attr_accessor :points
|
1294
|
+
|
1295
|
+
def initialize(**args)
|
1296
|
+
update!(**args)
|
1297
|
+
end
|
1298
|
+
|
1299
|
+
# Update properties of this object
|
1300
|
+
def update!(**args)
|
1301
|
+
@value_type = args[:value_type] if args.key?(:value_type)
|
1302
|
+
@resource = args[:resource] if args.key?(:resource)
|
1303
|
+
@metric_kind = args[:metric_kind] if args.key?(:metric_kind)
|
1304
|
+
@metric = args[:metric] if args.key?(:metric)
|
1305
|
+
@points = args[:points] if args.key?(:points)
|
1306
|
+
end
|
1307
|
+
end
|
1308
|
+
|
1309
|
+
# The CreateTimeSeries request.
|
1310
|
+
class CreateTimeSeriesRequest
|
1311
|
+
include Google::Apis::Core::Hashable
|
1312
|
+
|
1313
|
+
# The new data to be added to a list of time series. Adds at most one data point
|
1314
|
+
# to each of several time series. The new data point must be more recent than
|
1315
|
+
# any other point in its time series. Each TimeSeries value must fully specify a
|
1316
|
+
# unique time series by supplying all label values for the metric and the
|
1317
|
+
# monitored resource.
|
1318
|
+
# Corresponds to the JSON property `timeSeries`
|
1319
|
+
# @return [Array<Google::Apis::MonitoringV3::TimeSeries>]
|
1320
|
+
attr_accessor :time_series
|
1321
|
+
|
1322
|
+
def initialize(**args)
|
1323
|
+
update!(**args)
|
1324
|
+
end
|
1325
|
+
|
1326
|
+
# Update properties of this object
|
1327
|
+
def update!(**args)
|
1328
|
+
@time_series = args[:time_series] if args.key?(:time_series)
|
1329
1329
|
end
|
1330
1330
|
end
|
1331
1331
|
end
|