google-api-client 0.37.3 → 0.38.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +146 -0
- data/api_list_config.yaml +2 -0
- data/api_names.yaml +2 -0
- data/bin/generate-api +9 -1
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +0 -36
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +0 -6
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -36
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +10 -3
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +0 -147
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
- data/generated/google/apis/admin_directory_v1/service.rb +0 -60
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -2
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +2 -2
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +224 -5
- data/generated/google/apis/bigquery_v2/representations.rb +65 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +413 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +194 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +745 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +69 -20
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +29 -13
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +4 -39
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +20 -17
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +26 -21
- data/generated/google/apis/bigtableadmin_v2/service.rb +93 -53
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +3 -3
- data/generated/google/apis/blogger_v2.rb +5 -4
- data/generated/google/apis/blogger_v2/classes.rb +297 -45
- data/generated/google/apis/blogger_v2/representations.rb +105 -26
- data/generated/google/apis/blogger_v2/service.rb +79 -134
- data/generated/google/apis/blogger_v3.rb +4 -3
- data/generated/google/apis/blogger_v3/classes.rb +60 -53
- data/generated/google/apis/blogger_v3/representations.rb +10 -18
- data/generated/google/apis/blogger_v3/service.rb +183 -463
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -14
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +81 -90
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -6
- data/generated/google/apis/cloudasset_v1/service.rb +2 -2
- data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +669 -0
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +199 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +187 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +12 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +9 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +9 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +0 -561
- data/generated/google/apis/cloudidentity_v1/representations.rb +0 -226
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +652 -2
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +272 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +52 -50
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
- data/generated/google/apis/cloudtrace_v1.rb +3 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2beta1.rb +3 -3
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +1 -2
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +2 -2
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +178 -0
- data/generated/google/apis/composer_v1/representations.rb +54 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +36 -5
- data/generated/google/apis/composer_v1beta1/representations.rb +4 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1320 -307
- data/generated/google/apis/compute_alpha/representations.rb +284 -18
- data/generated/google/apis/compute_alpha/service.rb +4914 -3211
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +819 -236
- data/generated/google/apis/compute_beta/representations.rb +245 -16
- data/generated/google/apis/compute_beta/service.rb +3369 -2227
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +837 -133
- data/generated/google/apis/compute_v1/representations.rb +307 -0
- data/generated/google/apis/compute_v1/service.rb +3155 -2026
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +42 -22
- data/generated/google/apis/container_v1/service.rb +2 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +116 -136
- data/generated/google/apis/container_v1beta1/representations.rb +23 -51
- data/generated/google/apis/container_v1beta1/service.rb +2 -2
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1030 -113
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +987 -138
- data/generated/google/apis/content_v2_1/representations.rb +87 -0
- data/generated/google/apis/content_v2_1/service.rb +73 -0
- data/generated/google/apis/customsearch_v1.rb +3 -3
- data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
- data/generated/google/apis/customsearch_v1/representations.rb +166 -95
- data/generated/google/apis/customsearch_v1/service.rb +373 -104
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +2 -2
- data/generated/google/apis/datacatalog_v1beta1/service.rb +16 -24
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +220 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +99 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +327 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +27 -1
- data/generated/google/apis/datafusion_v1beta1/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +76 -7
- data/generated/google/apis/dataproc_v1/representations.rb +21 -0
- data/generated/google/apis/dataproc_v1/service.rb +72 -15
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +191 -7
- data/generated/google/apis/dataproc_v1beta2/representations.rb +79 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +148 -15
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +19 -13
- data/generated/google/apis/dfareporting_v3_3/service.rb +5 -4
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +152 -15
- data/generated/google/apis/dfareporting_v3_4/representations.rb +46 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +5 -4
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +130 -127
- data/generated/google/apis/dialogflow_v2/service.rb +49 -49
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +129 -126
- data/generated/google/apis/dialogflow_v2beta1/service.rb +96 -96
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +80 -14
- data/generated/google/apis/dlp_v2/representations.rb +32 -0
- data/generated/google/apis/dlp_v2/service.rb +3 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +9 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +54 -2
- data/generated/google/apis/drive_v2/representations.rb +18 -0
- data/generated/google/apis/drive_v2/service.rb +81 -9
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +54 -2
- data/generated/google/apis/drive_v3/representations.rb +18 -0
- data/generated/google/apis/drive_v3/service.rb +37 -4
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +2 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +8 -5
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +6 -6
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +762 -3
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +11 -2
- data/generated/google/apis/firestore_v1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1/service.rb +2 -2
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +11 -2
- data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +39 -53
- data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +7 -0
- data/generated/google/apis/games_management_v1management/representations.rb +1 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +13 -0
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/{proximitybeacon_v1beta1.rb → gameservices_v1beta.rb} +11 -11
- data/generated/google/apis/gameservices_v1beta/classes.rb +2342 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +1469 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +258 -199
- data/generated/google/apis/gmail_v1/service.rb +552 -744
- data/generated/google/apis/{mirror_v1.rb → healthcare_v1.rb} +10 -13
- data/generated/google/apis/healthcare_v1/classes.rb +2639 -0
- data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
- data/generated/google/apis/healthcare_v1/service.rb +3470 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +569 -23
- data/generated/google/apis/healthcare_v1beta1/representations.rb +236 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +147 -18
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +67 -63
- data/generated/google/apis/homegraph_v1/service.rb +43 -47
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +190 -0
- data/generated/google/apis/iap_v1/representations.rb +66 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +6 -6
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +8 -7
- data/generated/google/apis/logging_v2.rb +3 -3
- data/generated/google/apis/logging_v2/classes.rb +3 -4
- data/generated/google/apis/logging_v2/service.rb +2 -2
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1/representations.rb +17 -33
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +17 -33
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +17 -33
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +3 -3
- data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
- data/generated/google/apis/memcache_v1beta2.rb +35 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → memcache_v1beta2}/classes.rb +1083 -761
- data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
- data/generated/google/apis/memcache_v1beta2/service.rb +674 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +47 -7
- data/generated/google/apis/ml_v1/representations.rb +4 -0
- data/generated/google/apis/monitoring_v1.rb +7 -8
- data/generated/google/apis/monitoring_v1/classes.rb +54 -15
- data/generated/google/apis/monitoring_v1/representations.rb +3 -0
- data/generated/google/apis/monitoring_v1/service.rb +7 -8
- data/generated/google/apis/monitoring_v3.rb +7 -8
- data/generated/google/apis/monitoring_v3/classes.rb +300 -27
- data/generated/google/apis/monitoring_v3/representations.rb +128 -0
- data/generated/google/apis/monitoring_v3/service.rb +52 -17
- data/generated/google/apis/oauth2_v2.rb +4 -4
- data/generated/google/apis/oauth2_v2/classes.rb +1 -13
- data/generated/google/apis/oauth2_v2/representations.rb +2 -4
- data/generated/google/apis/oauth2_v2/service.rb +10 -12
- data/generated/google/apis/osconfig_v1.rb +35 -0
- data/generated/google/apis/osconfig_v1/classes.rb +1223 -0
- data/generated/google/apis/osconfig_v1/representations.rb +506 -0
- data/generated/google/apis/osconfig_v1/service.rb +386 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +10 -2
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +30 -12
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +12 -24
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +4 -3
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +282 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +9 -5
- data/generated/google/apis/pubsub_v1/service.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +5 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -4
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +30 -7
- data/generated/google/apis/redis_v1/representations.rb +13 -0
- data/generated/google/apis/redis_v1/service.rb +36 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +11 -7
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +171 -37
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +28 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +171 -37
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +28 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +181 -45
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +29 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +6 -13
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +4 -3
- data/generated/google/apis/sasportal_v1alpha1/service.rb +282 -0
- data/generated/google/apis/secretmanager_v1.rb +2 -2
- data/generated/google/apis/secretmanager_v1/service.rb +4 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +2 -2
- data/generated/google/apis/secretmanager_v1beta1/service.rb +4 -1
- data/generated/google/apis/securitycenter_v1.rb +4 -4
- data/generated/google/apis/securitycenter_v1/classes.rb +142 -114
- data/generated/google/apis/securitycenter_v1/service.rb +11 -3
- data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +137 -123
- data/generated/google/apis/securitycenter_v1beta1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +87 -75
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +117 -95
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +11 -3
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +41 -6
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → serviceconsumermanagement_v1beta1.rb} +8 -9
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4170 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1308 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +2 -2
- data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → servicedirectory_v1beta1.rb} +9 -9
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +800 -0
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +304 -0
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +41 -6
- data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +179 -6
- data/generated/google/apis/servicenetworking_v1/representations.rb +72 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +53 -21
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +149 -6
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +57 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +116 -6
- data/generated/google/apis/serviceusage_v1/representations.rb +45 -0
- data/generated/google/apis/serviceusage_v1/service.rb +42 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +97 -32
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -15
- data/generated/google/apis/serviceusage_v1beta1/service.rb +0 -43
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +2 -2
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +463 -1
- data/generated/google/apis/spanner_v1/representations.rb +178 -0
- data/generated/google/apis/spanner_v1/service.rb +498 -10
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +7 -3
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +7 -3
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +7 -0
- data/generated/google/apis/speech_v2beta1/representations.rb +1 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +3 -3
- data/generated/google/apis/sql_v1beta4/service.rb +54 -384
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +18 -0
- data/generated/google/apis/storage_v1/representations.rb +2 -0
- data/generated/google/apis/storage_v1/service.rb +28 -3
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +194 -11
- data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +217 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +84 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +76 -29
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +356 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +4 -1
- data/generated/google/apis/youtube_v3/classes.rb +7 -0
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/lib/google/apis/generator/annotator.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +32 -23
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
- data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +0 -123
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -399
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
- data/generated/google/apis/mirror_v1/classes.rb +0 -1072
- data/generated/google/apis/mirror_v1/representations.rb +0 -390
- data/generated/google/apis/mirror_v1/service.rb +0 -928
- data/generated/google/apis/oauth2_v1.rb +0 -40
- data/generated/google/apis/oauth2_v1/classes.rb +0 -197
- data/generated/google/apis/oauth2_v1/representations.rb +0 -73
- data/generated/google/apis/oauth2_v1/service.rb +0 -160
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
@@ -244,6 +244,12 @@ module Google
|
|
244
244
|
include Google::Apis::Core::JsonObjectSupport
|
245
245
|
end
|
246
246
|
|
247
|
+
class LabelValue
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
247
253
|
class LatencyCriteria
|
248
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
255
|
|
@@ -424,6 +430,24 @@ module Google
|
|
424
430
|
include Google::Apis::Core::JsonObjectSupport
|
425
431
|
end
|
426
432
|
|
433
|
+
class PointData
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
|
+
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
437
|
+
end
|
438
|
+
|
439
|
+
class QueryTimeSeriesRequest
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
+
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
443
|
+
end
|
444
|
+
|
445
|
+
class QueryTimeSeriesResponse
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
|
+
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
449
|
+
end
|
450
|
+
|
427
451
|
class Range
|
428
452
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
453
|
|
@@ -508,6 +532,24 @@ module Google
|
|
508
532
|
include Google::Apis::Core::JsonObjectSupport
|
509
533
|
end
|
510
534
|
|
535
|
+
class TimeSeriesData
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
|
+
|
538
|
+
include Google::Apis::Core::JsonObjectSupport
|
539
|
+
end
|
540
|
+
|
541
|
+
class TimeSeriesDescriptor
|
542
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
543
|
+
|
544
|
+
include Google::Apis::Core::JsonObjectSupport
|
545
|
+
end
|
546
|
+
|
547
|
+
class TimeSeriesQueryLanguageCondition
|
548
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
549
|
+
|
550
|
+
include Google::Apis::Core::JsonObjectSupport
|
551
|
+
end
|
552
|
+
|
511
553
|
class TimeSeriesRatio
|
512
554
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
513
555
|
|
@@ -544,6 +586,12 @@ module Google
|
|
544
586
|
include Google::Apis::Core::JsonObjectSupport
|
545
587
|
end
|
546
588
|
|
589
|
+
class ValueDescriptor
|
590
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
591
|
+
|
592
|
+
include Google::Apis::Core::JsonObjectSupport
|
593
|
+
end
|
594
|
+
|
547
595
|
class VerifyNotificationChannelRequest
|
548
596
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
549
597
|
|
@@ -704,6 +752,8 @@ module Google
|
|
704
752
|
|
705
753
|
property :condition_threshold, as: 'conditionThreshold', class: Google::Apis::MonitoringV3::MetricThreshold, decorator: Google::Apis::MonitoringV3::MetricThreshold::Representation
|
706
754
|
|
755
|
+
property :condition_time_series_query_language, as: 'conditionTimeSeriesQueryLanguage', class: Google::Apis::MonitoringV3::TimeSeriesQueryLanguageCondition, decorator: Google::Apis::MonitoringV3::TimeSeriesQueryLanguageCondition::Representation
|
756
|
+
|
707
757
|
property :display_name, as: 'displayName'
|
708
758
|
property :name, as: 'name'
|
709
759
|
end
|
@@ -928,6 +978,15 @@ module Google
|
|
928
978
|
end
|
929
979
|
end
|
930
980
|
|
981
|
+
class LabelValue
|
982
|
+
# @private
|
983
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
984
|
+
property :bool_value, as: 'boolValue'
|
985
|
+
property :int64_value, :numeric_string => true, as: 'int64Value'
|
986
|
+
property :string_value, as: 'stringValue'
|
987
|
+
end
|
988
|
+
end
|
989
|
+
|
931
990
|
class LatencyCriteria
|
932
991
|
# @private
|
933
992
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1232,6 +1291,38 @@ module Google
|
|
1232
1291
|
end
|
1233
1292
|
end
|
1234
1293
|
|
1294
|
+
class PointData
|
1295
|
+
# @private
|
1296
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1297
|
+
property :time_interval, as: 'timeInterval', class: Google::Apis::MonitoringV3::TimeInterval, decorator: Google::Apis::MonitoringV3::TimeInterval::Representation
|
1298
|
+
|
1299
|
+
collection :values, as: 'values', class: Google::Apis::MonitoringV3::TypedValue, decorator: Google::Apis::MonitoringV3::TypedValue::Representation
|
1300
|
+
|
1301
|
+
end
|
1302
|
+
end
|
1303
|
+
|
1304
|
+
class QueryTimeSeriesRequest
|
1305
|
+
# @private
|
1306
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1307
|
+
property :page_size, as: 'pageSize'
|
1308
|
+
property :page_token, as: 'pageToken'
|
1309
|
+
property :query, as: 'query'
|
1310
|
+
end
|
1311
|
+
end
|
1312
|
+
|
1313
|
+
class QueryTimeSeriesResponse
|
1314
|
+
# @private
|
1315
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1316
|
+
property :next_page_token, as: 'nextPageToken'
|
1317
|
+
collection :partial_errors, as: 'partialErrors', class: Google::Apis::MonitoringV3::Status, decorator: Google::Apis::MonitoringV3::Status::Representation
|
1318
|
+
|
1319
|
+
collection :time_series_data, as: 'timeSeriesData', class: Google::Apis::MonitoringV3::TimeSeriesData, decorator: Google::Apis::MonitoringV3::TimeSeriesData::Representation
|
1320
|
+
|
1321
|
+
property :time_series_descriptor, as: 'timeSeriesDescriptor', class: Google::Apis::MonitoringV3::TimeSeriesDescriptor, decorator: Google::Apis::MonitoringV3::TimeSeriesDescriptor::Representation
|
1322
|
+
|
1323
|
+
end
|
1324
|
+
end
|
1325
|
+
|
1235
1326
|
class Range
|
1236
1327
|
# @private
|
1237
1328
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1370,6 +1461,34 @@ module Google
|
|
1370
1461
|
end
|
1371
1462
|
end
|
1372
1463
|
|
1464
|
+
class TimeSeriesData
|
1465
|
+
# @private
|
1466
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1467
|
+
collection :label_values, as: 'labelValues', class: Google::Apis::MonitoringV3::LabelValue, decorator: Google::Apis::MonitoringV3::LabelValue::Representation
|
1468
|
+
|
1469
|
+
collection :point_data, as: 'pointData', class: Google::Apis::MonitoringV3::PointData, decorator: Google::Apis::MonitoringV3::PointData::Representation
|
1470
|
+
|
1471
|
+
end
|
1472
|
+
end
|
1473
|
+
|
1474
|
+
class TimeSeriesDescriptor
|
1475
|
+
# @private
|
1476
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1477
|
+
collection :label_descriptors, as: 'labelDescriptors', class: Google::Apis::MonitoringV3::LabelDescriptor, decorator: Google::Apis::MonitoringV3::LabelDescriptor::Representation
|
1478
|
+
|
1479
|
+
collection :point_descriptors, as: 'pointDescriptors', class: Google::Apis::MonitoringV3::ValueDescriptor, decorator: Google::Apis::MonitoringV3::ValueDescriptor::Representation
|
1480
|
+
|
1481
|
+
end
|
1482
|
+
end
|
1483
|
+
|
1484
|
+
class TimeSeriesQueryLanguageCondition
|
1485
|
+
# @private
|
1486
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1487
|
+
property :query, as: 'query'
|
1488
|
+
property :summary, as: 'summary'
|
1489
|
+
end
|
1490
|
+
end
|
1491
|
+
|
1373
1492
|
class TimeSeriesRatio
|
1374
1493
|
# @private
|
1375
1494
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1447,6 +1566,15 @@ module Google
|
|
1447
1566
|
end
|
1448
1567
|
end
|
1449
1568
|
|
1569
|
+
class ValueDescriptor
|
1570
|
+
# @private
|
1571
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1572
|
+
property :key, as: 'key'
|
1573
|
+
property :metric_kind, as: 'metricKind'
|
1574
|
+
property :value_type, as: 'valueType'
|
1575
|
+
end
|
1576
|
+
end
|
1577
|
+
|
1450
1578
|
class VerifyNotificationChannelRequest
|
1451
1579
|
# @private
|
1452
1580
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -20,14 +20,13 @@ require 'google/apis/errors'
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
22
|
module MonitoringV3
|
23
|
-
#
|
23
|
+
# Cloud Monitoring API
|
24
24
|
#
|
25
|
-
# Manages your
|
26
|
-
#
|
27
|
-
#
|
28
|
-
#
|
29
|
-
#
|
30
|
-
# documentation.
|
25
|
+
# Manages your Cloud Monitoring data and configurations. Most projects must be
|
26
|
+
# associated with a Workspace, with a few exceptions as noted on the individual
|
27
|
+
# method pages. The table entries below are presented in alphabetical order, not
|
28
|
+
# in order of common use. For explanations of the concepts found in the table
|
29
|
+
# entries, read the Cloud Monitoring documentation.
|
31
30
|
#
|
32
31
|
# @example
|
33
32
|
# require 'google/apis/monitoring_v3'
|
@@ -629,8 +628,7 @@ module Google
|
|
629
628
|
execute_or_queue_command(command, &block)
|
630
629
|
end
|
631
630
|
|
632
|
-
# Gets a single metric descriptor. This method does not require a
|
633
|
-
# account.
|
631
|
+
# Gets a single metric descriptor. This method does not require a Workspace.
|
634
632
|
# @param [String] name
|
635
633
|
# Required. The metric descriptor on which to execute the request. The format is:
|
636
634
|
# projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
|
@@ -664,7 +662,7 @@ module Google
|
|
664
662
|
end
|
665
663
|
|
666
664
|
# Lists metric descriptors that match a filter. This method does not require a
|
667
|
-
#
|
665
|
+
# Workspace.
|
668
666
|
# @param [String] name
|
669
667
|
# Required. The project on which to execute the request. The format is:
|
670
668
|
# projects/[PROJECT_ID_OR_NUMBER]
|
@@ -712,7 +710,7 @@ module Google
|
|
712
710
|
end
|
713
711
|
|
714
712
|
# Gets a single monitored resource descriptor. This method does not require a
|
715
|
-
#
|
713
|
+
# Workspace.
|
716
714
|
# @param [String] name
|
717
715
|
# Required. The monitored resource descriptor to get. The format is:
|
718
716
|
# projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
|
@@ -745,7 +743,7 @@ module Google
|
|
745
743
|
end
|
746
744
|
|
747
745
|
# Lists monitored resource descriptors that match a filter. This method does not
|
748
|
-
# require a
|
746
|
+
# require a Workspace.
|
749
747
|
# @param [String] name
|
750
748
|
# Required. The project on which to execute the request. The format is:
|
751
749
|
# projects/[PROJECT_ID_OR_NUMBER]
|
@@ -1229,7 +1227,7 @@ module Google
|
|
1229
1227
|
end
|
1230
1228
|
|
1231
1229
|
# Lists time series that match a filter. This method does not require a
|
1232
|
-
#
|
1230
|
+
# Workspace.
|
1233
1231
|
# @param [String] name
|
1234
1232
|
# Required. The project on which to execute the request. The format is:
|
1235
1233
|
# projects/[PROJECT_ID_OR_NUMBER]
|
@@ -1342,6 +1340,41 @@ module Google
|
|
1342
1340
|
execute_or_queue_command(command, &block)
|
1343
1341
|
end
|
1344
1342
|
|
1343
|
+
# Queries time series using the time series query language. This method does not
|
1344
|
+
# require a Workspace.
|
1345
|
+
# @param [String] name
|
1346
|
+
# Required. The project on which to execute the request. The format is:
|
1347
|
+
# projects/[PROJECT_ID_OR_NUMBER]
|
1348
|
+
# @param [Google::Apis::MonitoringV3::QueryTimeSeriesRequest] query_time_series_request_object
|
1349
|
+
# @param [String] fields
|
1350
|
+
# Selector specifying which fields to include in a partial response.
|
1351
|
+
# @param [String] quota_user
|
1352
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1353
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1354
|
+
# @param [Google::Apis::RequestOptions] options
|
1355
|
+
# Request-specific options
|
1356
|
+
#
|
1357
|
+
# @yield [result, err] Result & error if block supplied
|
1358
|
+
# @yieldparam result [Google::Apis::MonitoringV3::QueryTimeSeriesResponse] parsed result object
|
1359
|
+
# @yieldparam err [StandardError] error object if request failed
|
1360
|
+
#
|
1361
|
+
# @return [Google::Apis::MonitoringV3::QueryTimeSeriesResponse]
|
1362
|
+
#
|
1363
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1364
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1365
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1366
|
+
def query_time_series(name, query_time_series_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1367
|
+
command = make_simple_command(:post, 'v3/{+name}/timeSeries:query', options)
|
1368
|
+
command.request_representation = Google::Apis::MonitoringV3::QueryTimeSeriesRequest::Representation
|
1369
|
+
command.request_object = query_time_series_request_object
|
1370
|
+
command.response_representation = Google::Apis::MonitoringV3::QueryTimeSeriesResponse::Representation
|
1371
|
+
command.response_class = Google::Apis::MonitoringV3::QueryTimeSeriesResponse
|
1372
|
+
command.params['name'] = name unless name.nil?
|
1373
|
+
command.query['fields'] = fields unless fields.nil?
|
1374
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1375
|
+
execute_or_queue_command(command, &block)
|
1376
|
+
end
|
1377
|
+
|
1345
1378
|
# Creates a new Uptime check configuration.
|
1346
1379
|
# @param [String] parent
|
1347
1380
|
# Required. The project in which to create the Uptime check. The format is:
|
@@ -1633,9 +1666,9 @@ module Google
|
|
1633
1666
|
# List Services for this workspace.
|
1634
1667
|
# @param [String] parent
|
1635
1668
|
# Required. Resource name of the parent containing the listed services, either a
|
1636
|
-
# project or
|
1669
|
+
# project or a Monitoring Workspace. The formats are:
|
1637
1670
|
# projects/[PROJECT_ID_OR_NUMBER]
|
1638
|
-
# workspaces/[
|
1671
|
+
# workspaces/[HOST_PROJECT_ID_OR_NUMBER]
|
1639
1672
|
# @param [String] filter
|
1640
1673
|
# A filter specifying what Services to return. The filter currently supports the
|
1641
1674
|
# following fields:
|
@@ -1690,7 +1723,7 @@ module Google
|
|
1690
1723
|
# Update this Service.
|
1691
1724
|
# @param [String] name
|
1692
1725
|
# Resource name for this Service. The format is:
|
1693
|
-
# projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID
|
1726
|
+
# projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
|
1694
1727
|
# @param [Google::Apis::MonitoringV3::Service] service_object
|
1695
1728
|
# @param [String] update_mask
|
1696
1729
|
# A set of field paths defining which fields to use for the update.
|
@@ -1834,8 +1867,10 @@ module Google
|
|
1834
1867
|
|
1835
1868
|
# List the ServiceLevelObjectives for the given Service.
|
1836
1869
|
# @param [String] parent
|
1837
|
-
# Required. Resource name of the parent
|
1870
|
+
# Required. Resource name of the parent containing the listed SLOs, either a
|
1871
|
+
# project or a Monitoring Workspace. The formats are:
|
1838
1872
|
# projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
|
1873
|
+
# workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
|
1839
1874
|
# @param [String] filter
|
1840
1875
|
# A filter specifying what ServiceLevelObjectives to return.
|
1841
1876
|
# @param [Fixnum] page_size
|
@@ -22,19 +22,19 @@ module Google
|
|
22
22
|
#
|
23
23
|
# Obtains end-user authorization grants for use with other Google APIs.
|
24
24
|
#
|
25
|
-
# @see https://developers.google.com/
|
25
|
+
# @see https://developers.google.com/identity/protocols/oauth2/
|
26
26
|
module Oauth2V2
|
27
27
|
VERSION = 'V2'
|
28
28
|
REVISION = '20200213'
|
29
29
|
|
30
|
-
# Associate you with your personal info on Google
|
31
|
-
AUTH_PLUS_ME = 'https://www.googleapis.com/auth/plus.me'
|
32
|
-
|
33
30
|
# View your email address
|
34
31
|
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
|
35
32
|
|
36
33
|
# See your personal info, including any personal info you've made publicly available
|
37
34
|
AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile'
|
35
|
+
|
36
|
+
# Associate you with your personal info on Google
|
37
|
+
PENID = 'openid'
|
38
38
|
end
|
39
39
|
end
|
40
40
|
end
|
@@ -26,11 +26,6 @@ module Google
|
|
26
26
|
class Tokeninfo
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
# The access type granted with this token. It can be offline or online.
|
30
|
-
# Corresponds to the JSON property `access_type`
|
31
|
-
# @return [String]
|
32
|
-
attr_accessor :access_type
|
33
|
-
|
34
29
|
# Who is the intended audience for this token. In general the same as issued_to.
|
35
30
|
# Corresponds to the JSON property `audience`
|
36
31
|
# @return [String]
|
@@ -57,11 +52,6 @@ module Google
|
|
57
52
|
# @return [String]
|
58
53
|
attr_accessor :scope
|
59
54
|
|
60
|
-
# The token handle associated with this token.
|
61
|
-
# Corresponds to the JSON property `token_handle`
|
62
|
-
# @return [String]
|
63
|
-
attr_accessor :token_handle
|
64
|
-
|
65
55
|
# The obfuscated user id.
|
66
56
|
# Corresponds to the JSON property `user_id`
|
67
57
|
# @return [String]
|
@@ -80,20 +70,18 @@ module Google
|
|
80
70
|
|
81
71
|
# Update properties of this object
|
82
72
|
def update!(**args)
|
83
|
-
@access_type = args[:access_type] if args.key?(:access_type)
|
84
73
|
@audience = args[:audience] if args.key?(:audience)
|
85
74
|
@email = args[:email] if args.key?(:email)
|
86
75
|
@expires_in = args[:expires_in] if args.key?(:expires_in)
|
87
76
|
@issued_to = args[:issued_to] if args.key?(:issued_to)
|
88
77
|
@scope = args[:scope] if args.key?(:scope)
|
89
|
-
@token_handle = args[:token_handle] if args.key?(:token_handle)
|
90
78
|
@user_id = args[:user_id] if args.key?(:user_id)
|
91
79
|
@verified_email = args[:verified_email] if args.key?(:verified_email)
|
92
80
|
end
|
93
81
|
end
|
94
82
|
|
95
83
|
#
|
96
|
-
class
|
84
|
+
class Userinfo
|
97
85
|
include Google::Apis::Core::Hashable
|
98
86
|
|
99
87
|
# The user's email address.
|
@@ -28,7 +28,7 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
-
class
|
31
|
+
class Userinfo
|
32
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
33
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -37,19 +37,17 @@ module Google
|
|
37
37
|
class Tokeninfo
|
38
38
|
# @private
|
39
39
|
class Representation < Google::Apis::Core::JsonRepresentation
|
40
|
-
property :access_type, as: 'access_type'
|
41
40
|
property :audience, as: 'audience'
|
42
41
|
property :email, as: 'email'
|
43
42
|
property :expires_in, as: 'expires_in'
|
44
43
|
property :issued_to, as: 'issued_to'
|
45
44
|
property :scope, as: 'scope'
|
46
|
-
property :token_handle, as: 'token_handle'
|
47
45
|
property :user_id, as: 'user_id'
|
48
46
|
property :verified_email, as: 'verified_email'
|
49
47
|
end
|
50
48
|
end
|
51
49
|
|
52
|
-
class
|
50
|
+
class Userinfo
|
53
51
|
# @private
|
54
52
|
class Representation < Google::Apis::Core::JsonRepresentation
|
55
53
|
property :email, as: 'email'
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# Oauth2 = Google::Apis::Oauth2V2 # Alias the module
|
31
31
|
# service = Oauth2::Oauth2Service.new
|
32
32
|
#
|
33
|
-
# @see https://developers.google.com/
|
33
|
+
# @see https://developers.google.com/identity/protocols/oauth2/
|
34
34
|
class Oauth2Service < Google::Apis::Core::BaseService
|
35
35
|
# @return [String]
|
36
36
|
# API key. Your API key identifies your project and provides you with API access,
|
@@ -54,7 +54,6 @@ module Google
|
|
54
54
|
#
|
55
55
|
# @param [String] access_token
|
56
56
|
# @param [String] id_token
|
57
|
-
# @param [String] token_handle
|
58
57
|
# @param [String] fields
|
59
58
|
# Selector specifying which fields to include in a partial response.
|
60
59
|
# @param [String] quota_user
|
@@ -74,13 +73,12 @@ module Google
|
|
74
73
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
75
74
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
76
75
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
77
|
-
def tokeninfo(access_token: nil, id_token: nil,
|
76
|
+
def tokeninfo(access_token: nil, id_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
78
77
|
command = make_simple_command(:post, 'oauth2/v2/tokeninfo', options)
|
79
78
|
command.response_representation = Google::Apis::Oauth2V2::Tokeninfo::Representation
|
80
79
|
command.response_class = Google::Apis::Oauth2V2::Tokeninfo
|
81
80
|
command.query['access_token'] = access_token unless access_token.nil?
|
82
81
|
command.query['id_token'] = id_token unless id_token.nil?
|
83
|
-
command.query['token_handle'] = token_handle unless token_handle.nil?
|
84
82
|
command.query['fields'] = fields unless fields.nil?
|
85
83
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
86
84
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -99,18 +97,18 @@ module Google
|
|
99
97
|
# Request-specific options
|
100
98
|
#
|
101
99
|
# @yield [result, err] Result & error if block supplied
|
102
|
-
# @yieldparam result [Google::Apis::Oauth2V2::
|
100
|
+
# @yieldparam result [Google::Apis::Oauth2V2::Userinfo] parsed result object
|
103
101
|
# @yieldparam err [StandardError] error object if request failed
|
104
102
|
#
|
105
|
-
# @return [Google::Apis::Oauth2V2::
|
103
|
+
# @return [Google::Apis::Oauth2V2::Userinfo]
|
106
104
|
#
|
107
105
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
108
106
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
109
107
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
110
108
|
def get_userinfo(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
111
109
|
command = make_simple_command(:get, 'oauth2/v2/userinfo', options)
|
112
|
-
command.response_representation = Google::Apis::Oauth2V2::
|
113
|
-
command.response_class = Google::Apis::Oauth2V2::
|
110
|
+
command.response_representation = Google::Apis::Oauth2V2::Userinfo::Representation
|
111
|
+
command.response_class = Google::Apis::Oauth2V2::Userinfo
|
114
112
|
command.query['fields'] = fields unless fields.nil?
|
115
113
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
116
114
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -129,18 +127,18 @@ module Google
|
|
129
127
|
# Request-specific options
|
130
128
|
#
|
131
129
|
# @yield [result, err] Result & error if block supplied
|
132
|
-
# @yieldparam result [Google::Apis::Oauth2V2::
|
130
|
+
# @yieldparam result [Google::Apis::Oauth2V2::Userinfo] parsed result object
|
133
131
|
# @yieldparam err [StandardError] error object if request failed
|
134
132
|
#
|
135
|
-
# @return [Google::Apis::Oauth2V2::
|
133
|
+
# @return [Google::Apis::Oauth2V2::Userinfo]
|
136
134
|
#
|
137
135
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
138
136
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
139
137
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
140
138
|
def get_userinfo_v2(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
141
139
|
command = make_simple_command(:get, 'userinfo/v2/me', options)
|
142
|
-
command.response_representation = Google::Apis::Oauth2V2::
|
143
|
-
command.response_class = Google::Apis::Oauth2V2::
|
140
|
+
command.response_representation = Google::Apis::Oauth2V2::Userinfo::Representation
|
141
|
+
command.response_class = Google::Apis::Oauth2V2::Userinfo
|
144
142
|
command.query['fields'] = fields unless fields.nil?
|
145
143
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
146
144
|
command.query['userIp'] = user_ip unless user_ip.nil?
|