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
@@ -22,11 +22,11 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module HomegraphV1
|
24
24
|
|
25
|
-
# Third-party
|
25
|
+
# Third-party device ID for one device.
|
26
26
|
class AgentDeviceId
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
# Third-party
|
29
|
+
# Third-party device ID.
|
30
30
|
# Corresponds to the JSON property `id`
|
31
31
|
# @return [String]
|
32
32
|
attr_accessor :id
|
@@ -41,16 +41,16 @@ module Google
|
|
41
41
|
end
|
42
42
|
end
|
43
43
|
|
44
|
-
#
|
44
|
+
# Alternate third-party device ID.
|
45
45
|
class AgentOtherDeviceId
|
46
46
|
include Google::Apis::Core::Hashable
|
47
47
|
|
48
|
-
#
|
48
|
+
# Project ID for your smart home Action.
|
49
49
|
# Corresponds to the JSON property `agentId`
|
50
50
|
# @return [String]
|
51
51
|
attr_accessor :agent_id
|
52
52
|
|
53
|
-
#
|
53
|
+
# Unique third-party device ID.
|
54
54
|
# Corresponds to the JSON property `deviceId`
|
55
55
|
# @return [String]
|
56
56
|
attr_accessor :device_id
|
@@ -66,7 +66,7 @@ module Google
|
|
66
66
|
end
|
67
67
|
end
|
68
68
|
|
69
|
-
# Third-party
|
69
|
+
# Third-party device definition.
|
70
70
|
class Device
|
71
71
|
include Google::Apis::Core::Hashable
|
72
72
|
|
@@ -75,8 +75,14 @@ module Google
|
|
75
75
|
# @return [Hash<String,Object>]
|
76
76
|
attr_accessor :attributes
|
77
77
|
|
78
|
-
# Custom
|
79
|
-
#
|
78
|
+
# Custom device attributes stored in Home Graph and provided to your
|
79
|
+
# smart home Action in each
|
80
|
+
# [QUERY](https://developers.google.com/assistant/smarthome/reference/intent/
|
81
|
+
# query)
|
82
|
+
# and
|
83
|
+
# [EXECUTE](https://developers.google.com/assistant/smarthome/reference/intent/
|
84
|
+
# execute)
|
85
|
+
# intent.
|
80
86
|
# Corresponds to the JSON property `customData`
|
81
87
|
# @return [Hash<String,Object>]
|
82
88
|
attr_accessor :custom_data
|
@@ -86,62 +92,61 @@ module Google
|
|
86
92
|
# @return [Google::Apis::HomegraphV1::DeviceInfo]
|
87
93
|
attr_accessor :device_info
|
88
94
|
|
89
|
-
# Third-party
|
95
|
+
# Third-party device ID.
|
90
96
|
# Corresponds to the JSON property `id`
|
91
97
|
# @return [String]
|
92
98
|
attr_accessor :id
|
93
99
|
|
94
|
-
#
|
100
|
+
# Identifiers used to describe the device.
|
95
101
|
# Corresponds to the JSON property `name`
|
96
102
|
# @return [Google::Apis::HomegraphV1::DeviceNames]
|
97
103
|
attr_accessor :name
|
98
104
|
|
99
|
-
# Indicates whether
|
100
|
-
#
|
101
|
-
#
|
102
|
-
#
|
103
|
-
# ReportStateAndNotification to send notifications to Google, the partner
|
104
|
-
# should set this flag to false. If there is a user setting in the partner
|
105
|
-
# app to enable notifications and it is turned off, the partner should set
|
106
|
-
# this flag to false.
|
105
|
+
# Indicates whether your smart home Action will report notifications
|
106
|
+
# to Google for this device via ReportStateAndNotification.
|
107
|
+
# If your smart home Action enables users to control device notifications,
|
108
|
+
# you should update this field and call RequestSyncDevices.
|
107
109
|
# Corresponds to the JSON property `notificationSupportedByAgent`
|
108
110
|
# @return [Boolean]
|
109
111
|
attr_accessor :notification_supported_by_agent
|
110
112
|
alias_method :notification_supported_by_agent?, :notification_supported_by_agent
|
111
113
|
|
112
|
-
# IDs
|
113
|
-
#
|
114
|
-
#
|
115
|
-
#
|
116
|
-
# synced device for local execution (i.e. local verification). If used for
|
117
|
-
# local verification, this field is synced from the cloud.
|
114
|
+
# Alternate IDs associated with this device.
|
115
|
+
# This is used to identify cloud synced devices enabled for
|
116
|
+
# [local
|
117
|
+
# execution](https://developers.google.com/assistant/smarthome/concepts/local).
|
118
118
|
# Corresponds to the JSON property `otherDeviceIds`
|
119
119
|
# @return [Array<Google::Apis::HomegraphV1::AgentOtherDeviceId>]
|
120
120
|
attr_accessor :other_device_ids
|
121
121
|
|
122
|
-
#
|
123
|
-
#
|
122
|
+
# Suggested name for the room where this device is installed.
|
123
|
+
# Google attempts to use this value during user setup.
|
124
124
|
# Corresponds to the JSON property `roomHint`
|
125
125
|
# @return [String]
|
126
126
|
attr_accessor :room_hint
|
127
127
|
|
128
|
-
#
|
128
|
+
# Suggested name for the structure where this device is installed.
|
129
|
+
# Google attempts to use this value during user setup.
|
129
130
|
# Corresponds to the JSON property `structureHint`
|
130
131
|
# @return [String]
|
131
132
|
attr_accessor :structure_hint
|
132
133
|
|
133
134
|
# Traits supported by the device.
|
135
|
+
# See [device
|
136
|
+
# traits](https://developers.google.com/assistant/smarthome/traits).
|
134
137
|
# Corresponds to the JSON property `traits`
|
135
138
|
# @return [Array<String>]
|
136
139
|
attr_accessor :traits
|
137
140
|
|
138
|
-
# Hardware type of the device
|
141
|
+
# Hardware type of the device.
|
142
|
+
# See [device
|
143
|
+
# types](https://developers.google.com/assistant/smarthome/guides).
|
139
144
|
# Corresponds to the JSON property `type`
|
140
145
|
# @return [String]
|
141
146
|
attr_accessor :type
|
142
147
|
|
143
|
-
# Indicates whether
|
144
|
-
#
|
148
|
+
# Indicates whether your smart home Action will report state of this device
|
149
|
+
# to Google via ReportStateAndNotification.
|
145
150
|
# Corresponds to the JSON property `willReportState`
|
146
151
|
# @return [Boolean]
|
147
152
|
attr_accessor :will_report_state
|
@@ -205,12 +210,12 @@ module Google
|
|
205
210
|
end
|
206
211
|
end
|
207
212
|
|
208
|
-
#
|
213
|
+
# Identifiers used to describe the device.
|
209
214
|
class DeviceNames
|
210
215
|
include Google::Apis::Core::Hashable
|
211
216
|
|
212
|
-
# List of names provided by the
|
213
|
-
#
|
217
|
+
# List of names provided by the manufacturer rather than the user, such as
|
218
|
+
# serial numbers, SKUs, etc.
|
214
219
|
# Corresponds to the JSON property `defaultNames`
|
215
220
|
# @return [Array<String>]
|
216
221
|
attr_accessor :default_names
|
@@ -257,11 +262,7 @@ module Google
|
|
257
262
|
end
|
258
263
|
|
259
264
|
# Request type for the
|
260
|
-
# [`Query`](#google.home.graph.v1.HomeGraphApiService.Query) call.
|
261
|
-
# be the same format as the Actions on Google `action.devices.QUERY`
|
262
|
-
# [request](/actions/smarthome/create-app#actiondevicesquery) with the
|
263
|
-
# exception of the extra `agent_user_id` and no `intent` and `customData`
|
264
|
-
# fields.
|
265
|
+
# [`Query`](#google.home.graph.v1.HomeGraphApiService.Query) call.
|
265
266
|
class QueryRequest
|
266
267
|
include Google::Apis::Core::Hashable
|
267
268
|
|
@@ -270,7 +271,7 @@ module Google
|
|
270
271
|
# @return [String]
|
271
272
|
attr_accessor :agent_user_id
|
272
273
|
|
273
|
-
# Required. Inputs containing third-party
|
274
|
+
# Required. Inputs containing third-party device IDs for which to
|
274
275
|
# get the device states.
|
275
276
|
# Corresponds to the JSON property `inputs`
|
276
277
|
# @return [Array<Google::Apis::HomegraphV1::QueryRequestInput>]
|
@@ -316,7 +317,7 @@ module Google
|
|
316
317
|
class QueryRequestPayload
|
317
318
|
include Google::Apis::Core::Hashable
|
318
319
|
|
319
|
-
# Third-party
|
320
|
+
# Third-party device IDs for which to get the device states.
|
320
321
|
# Corresponds to the JSON property `devices`
|
321
322
|
# @return [Array<Google::Apis::HomegraphV1::AgentDeviceId>]
|
322
323
|
attr_accessor :devices
|
@@ -332,9 +333,11 @@ module Google
|
|
332
333
|
end
|
333
334
|
|
334
335
|
# Response type for the
|
335
|
-
# [`Query`](#google.home.graph.v1.HomeGraphApiService.Query) call.
|
336
|
-
# follow the same format as the
|
337
|
-
#
|
336
|
+
# [`Query`](#google.home.graph.v1.HomeGraphApiService.Query) call.
|
337
|
+
# This should follow the same format as the Google smart home
|
338
|
+
# `action.devices.QUERY`
|
339
|
+
# [response](https://developers.google.com/assistant/smarthome/reference/intent/
|
340
|
+
# query).
|
338
341
|
# # Example
|
339
342
|
# ```json
|
340
343
|
# `
|
@@ -406,12 +409,16 @@ module Google
|
|
406
409
|
class ReportStateAndNotificationDevice
|
407
410
|
include Google::Apis::Core::Hashable
|
408
411
|
|
409
|
-
# Notifications metadata for devices.
|
412
|
+
# Notifications metadata for devices. See the **Device NOTIFICATIONS**
|
413
|
+
# section of the individual trait [reference
|
414
|
+
# guides](https://developers.google.com/assistant/smarthome/traits).
|
410
415
|
# Corresponds to the JSON property `notifications`
|
411
416
|
# @return [Hash<String,Object>]
|
412
417
|
attr_accessor :notifications
|
413
418
|
|
414
|
-
# States of devices to update.
|
419
|
+
# States of devices to update. See the **Device STATES** section
|
420
|
+
# of the individual trait [reference
|
421
|
+
# guides](https://developers.google.com/assistant/smarthome/traits).
|
415
422
|
# Corresponds to the JSON property `states`
|
416
423
|
# @return [Hash<String,Object>]
|
417
424
|
attr_accessor :states
|
@@ -430,12 +437,10 @@ module Google
|
|
430
437
|
# Request type for the
|
431
438
|
# [`ReportStateAndNotification`](#google.home.graph.v1.HomeGraphApiService.
|
432
439
|
# ReportStateAndNotification)
|
433
|
-
# call. It may include
|
434
|
-
#
|
435
|
-
#
|
436
|
-
#
|
437
|
-
# example, "123"
|
438
|
-
# and "456" in the following example). # Example
|
440
|
+
# call. It may include states, notifications, or both. States and notifications
|
441
|
+
# are defined per `device_id` (for example, "123" and "456" in the following
|
442
|
+
# example).
|
443
|
+
# # Example
|
439
444
|
# ```json
|
440
445
|
# `
|
441
446
|
# "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf",
|
@@ -526,15 +531,14 @@ module Google
|
|
526
531
|
class RequestSyncDevicesRequest
|
527
532
|
include Google::Apis::Core::Hashable
|
528
533
|
|
529
|
-
# Required. Third-party user ID
|
530
|
-
# provider.
|
534
|
+
# Required. Third-party user ID.
|
531
535
|
# Corresponds to the JSON property `agentUserId`
|
532
536
|
# @return [String]
|
533
537
|
attr_accessor :agent_user_id
|
534
538
|
|
535
539
|
# Optional. If set, the request will be added to a queue and a response will
|
536
|
-
# be returned immediately.
|
537
|
-
#
|
540
|
+
# be returned immediately. This enables concurrent requests for the given
|
541
|
+
# `agent_user_id`, but the caller will not receive any error responses.
|
538
542
|
# Corresponds to the JSON property `async`
|
539
543
|
# @return [Boolean]
|
540
544
|
attr_accessor :async
|
@@ -554,7 +558,8 @@ module Google
|
|
554
558
|
# Response type for the
|
555
559
|
# [`RequestSyncDevices`](#google.home.graph.v1.HomeGraphApiService.
|
556
560
|
# RequestSyncDevices)
|
557
|
-
# call.
|
561
|
+
# call.
|
562
|
+
# Intentionally empty upon success. An HTTP response code is returned
|
558
563
|
# with more details upon failure.
|
559
564
|
class RequestSyncDevicesResponse
|
560
565
|
include Google::Apis::Core::Hashable
|
@@ -588,10 +593,7 @@ module Google
|
|
588
593
|
end
|
589
594
|
|
590
595
|
# Request type for the [`Sync`](#google.home.graph.v1.HomeGraphApiService.Sync)
|
591
|
-
# call.
|
592
|
-
# `action.devices.SYNC`
|
593
|
-
# [request](/actions/smarthome/create-app#actiondevicessync) with the exception
|
594
|
-
# of the extra `agent_user_id` and no `intent` field.
|
596
|
+
# call.
|
595
597
|
class SyncRequest
|
596
598
|
include Google::Apis::Core::Hashable
|
597
599
|
|
@@ -617,9 +619,11 @@ module Google
|
|
617
619
|
end
|
618
620
|
|
619
621
|
# Response type for the
|
620
|
-
# [`Sync`](#google.home.graph.v1.HomeGraphApiService.Sync) call.
|
621
|
-
# follow the same format as the
|
622
|
-
#
|
622
|
+
# [`Sync`](#google.home.graph.v1.HomeGraphApiService.Sync) call.
|
623
|
+
# This should follow the same format as the Google smart home
|
624
|
+
# `action.devices.SYNC`
|
625
|
+
# [response](https://developers.google.com/assistant/smarthome/reference/intent/
|
626
|
+
# sync).
|
623
627
|
# # Example
|
624
628
|
# ```json
|
625
629
|
# `
|
@@ -47,26 +47,16 @@ module Google
|
|
47
47
|
@batch_path = 'batch'
|
48
48
|
end
|
49
49
|
|
50
|
-
# Unlinks
|
51
|
-
# user will be deleted.
|
52
|
-
#
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
57
|
-
#
|
58
|
-
#
|
59
|
-
#
|
60
|
-
# `agent_user_id` -> Google ID mapping. Google also
|
61
|
-
# stores all of the user's devices under that Google ID.
|
62
|
-
# The mapping from `agent_user_id` to Google ID is many to many, since one
|
63
|
-
# Google user can have multiple 3p accounts, and multiple Google users can
|
64
|
-
# map to one `agent_user_id` (e.g., a husband and wife share one Nest account
|
65
|
-
# username/password).
|
66
|
-
# The third-party user's identity is passed in as `agent_user_id`.
|
67
|
-
# The agent is identified by the JWT signed by the partner's service account.
|
68
|
-
# Note: Special characters (except "/") in `agent_user_id` must be
|
69
|
-
# URL-encoded.
|
50
|
+
# Unlinks the given third-party user from your smart home Action.
|
51
|
+
# All data related to this user will be deleted.
|
52
|
+
# For more details on how users link their accounts, see
|
53
|
+
# [fulfillment and
|
54
|
+
# authentication](https://developers.google.com/assistant/smarthome/concepts/
|
55
|
+
# fulfillment-authentication).
|
56
|
+
# The third-party user's identity is passed in via the `agent_user_id`
|
57
|
+
# (see DeleteAgentUserRequest).
|
58
|
+
# This request must be authorized using service account credentials from your
|
59
|
+
# Actions console project.
|
70
60
|
# @param [String] agent_user_id
|
71
61
|
# Required. Third-party user ID.
|
72
62
|
# @param [String] request_id
|
@@ -99,10 +89,12 @@ module Google
|
|
99
89
|
execute_or_queue_command(command, &block)
|
100
90
|
end
|
101
91
|
|
102
|
-
# Gets the
|
103
|
-
#
|
104
|
-
#
|
105
|
-
#
|
92
|
+
# Gets the current states in Home Graph for the given set of the third-party
|
93
|
+
# user's devices.
|
94
|
+
# The third-party user's identity is passed in via the `agent_user_id`
|
95
|
+
# (see QueryRequest).
|
96
|
+
# This request must be authorized using service account credentials from your
|
97
|
+
# Actions console project.
|
106
98
|
# @param [Google::Apis::HomegraphV1::QueryRequest] query_request_object
|
107
99
|
# @param [String] fields
|
108
100
|
# Selector specifying which fields to include in a partial response.
|
@@ -132,20 +124,21 @@ module Google
|
|
132
124
|
execute_or_queue_command(command, &block)
|
133
125
|
end
|
134
126
|
|
135
|
-
# Reports device state and optionally sends device notifications.
|
136
|
-
#
|
137
|
-
# to send a notification about the device.
|
138
|
-
# [Implement Report
|
139
|
-
#
|
140
|
-
#
|
141
|
-
#
|
142
|
-
#
|
143
|
-
#
|
144
|
-
#
|
145
|
-
#
|
146
|
-
#
|
147
|
-
#
|
148
|
-
#
|
127
|
+
# Reports device state and optionally sends device notifications.
|
128
|
+
# Called by your smart home Action when the state of a third-party device
|
129
|
+
# changes or you need to send a notification about the device.
|
130
|
+
# See [Implement Report
|
131
|
+
# State](https://developers.google.com/assistant/smarthome/develop/report-state)
|
132
|
+
# for more information.
|
133
|
+
# This method updates the device state according to its declared
|
134
|
+
# [traits](https://developers.google.com/assistant/smarthome/concepts/devices-
|
135
|
+
# traits).
|
136
|
+
# Publishing a new state value outside of these traits will result in an
|
137
|
+
# `INVALID_ARGUMENT` error response.
|
138
|
+
# The third-party user's identity is passed in via the `agent_user_id`
|
139
|
+
# (see ReportStateAndNotificationRequest).
|
140
|
+
# This request must be authorized using service account credentials from your
|
141
|
+
# Actions console project.
|
149
142
|
# @param [Google::Apis::HomegraphV1::ReportStateAndNotificationRequest] report_state_and_notification_request_object
|
150
143
|
# @param [String] fields
|
151
144
|
# Selector specifying which fields to include in a partial response.
|
@@ -175,12 +168,14 @@ module Google
|
|
175
168
|
execute_or_queue_command(command, &block)
|
176
169
|
end
|
177
170
|
|
178
|
-
# Requests
|
179
|
-
#
|
180
|
-
#
|
181
|
-
#
|
182
|
-
# The
|
183
|
-
#
|
171
|
+
# Requests Google to send an `action.devices.SYNC`
|
172
|
+
# [intent](https://developers.google.com/assistant/smarthome/reference/intent/
|
173
|
+
# sync)
|
174
|
+
# to your smart home Action to update device metadata for the given user.
|
175
|
+
# The third-party user's identity is passed via the `agent_user_id`
|
176
|
+
# (see RequestSyncDevicesRequest).
|
177
|
+
# This request must be authorized using service account credentials from your
|
178
|
+
# Actions console project.
|
184
179
|
# @param [Google::Apis::HomegraphV1::RequestSyncDevicesRequest] request_sync_devices_request_object
|
185
180
|
# @param [String] fields
|
186
181
|
# Selector specifying which fields to include in a partial response.
|
@@ -211,9 +206,10 @@ module Google
|
|
211
206
|
end
|
212
207
|
|
213
208
|
# Gets all the devices associated with the given third-party user.
|
214
|
-
# The third-party user's identity is passed in
|
215
|
-
#
|
216
|
-
# account
|
209
|
+
# The third-party user's identity is passed in via the `agent_user_id`
|
210
|
+
# (see SyncRequest).
|
211
|
+
# This request must be authorized using service account credentials from your
|
212
|
+
# Actions console project.
|
217
213
|
# @param [Google::Apis::HomegraphV1::SyncRequest] sync_request_object
|
218
214
|
# @param [String] fields
|
219
215
|
# Selector specifying which fields to include in a partial response.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/iap
|
26
26
|
module IapV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200327'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -22,6 +22,28 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module IapV1
|
24
24
|
|
25
|
+
# Custom content configuration for access denied page.
|
26
|
+
# IAP allows customers to define a custom URI to use as the error page when
|
27
|
+
# access is denied to users. If IAP prevents access to this page, the default
|
28
|
+
# IAP error page will be displayed instead.
|
29
|
+
class AccessDeniedPageSettings
|
30
|
+
include Google::Apis::Core::Hashable
|
31
|
+
|
32
|
+
# The URI to be redirected to when access is denied.
|
33
|
+
# Corresponds to the JSON property `accessDeniedPageUri`
|
34
|
+
# @return [String]
|
35
|
+
attr_accessor :access_denied_page_uri
|
36
|
+
|
37
|
+
def initialize(**args)
|
38
|
+
update!(**args)
|
39
|
+
end
|
40
|
+
|
41
|
+
# Update properties of this object
|
42
|
+
def update!(**args)
|
43
|
+
@access_denied_page_uri = args[:access_denied_page_uri] if args.key?(:access_denied_page_uri)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
25
47
|
# Access related settings for IAP protected apps.
|
26
48
|
class AccessSettings
|
27
49
|
include Google::Apis::Core::Hashable
|
@@ -43,6 +65,15 @@ module Google
|
|
43
65
|
# @return [Google::Apis::IapV1::OAuthSettings]
|
44
66
|
attr_accessor :oauth_settings
|
45
67
|
|
68
|
+
# PolicyDelegationConfig allows google-internal teams to use IAP for apps
|
69
|
+
# hosted in a tenant project. Using these settings, the app can delegate
|
70
|
+
# permission check to happen against the linked customer project.
|
71
|
+
# This is only ever supposed to be used by google internal teams, hence the
|
72
|
+
# restriction on the proto.
|
73
|
+
# Corresponds to the JSON property `policyDelegationSettings`
|
74
|
+
# @return [Google::Apis::IapV1::PolicyDelegationSettings]
|
75
|
+
attr_accessor :policy_delegation_settings
|
76
|
+
|
46
77
|
def initialize(**args)
|
47
78
|
update!(**args)
|
48
79
|
end
|
@@ -52,6 +83,7 @@ module Google
|
|
52
83
|
@cors_settings = args[:cors_settings] if args.key?(:cors_settings)
|
53
84
|
@gcip_settings = args[:gcip_settings] if args.key?(:gcip_settings)
|
54
85
|
@oauth_settings = args[:oauth_settings] if args.key?(:oauth_settings)
|
86
|
+
@policy_delegation_settings = args[:policy_delegation_settings] if args.key?(:policy_delegation_settings)
|
55
87
|
end
|
56
88
|
end
|
57
89
|
|
@@ -59,6 +91,14 @@ module Google
|
|
59
91
|
class ApplicationSettings
|
60
92
|
include Google::Apis::Core::Hashable
|
61
93
|
|
94
|
+
# Custom content configuration for access denied page.
|
95
|
+
# IAP allows customers to define a custom URI to use as the error page when
|
96
|
+
# access is denied to users. If IAP prevents access to this page, the default
|
97
|
+
# IAP error page will be displayed instead.
|
98
|
+
# Corresponds to the JSON property `accessDeniedPageSettings`
|
99
|
+
# @return [Google::Apis::IapV1::AccessDeniedPageSettings]
|
100
|
+
attr_accessor :access_denied_page_settings
|
101
|
+
|
62
102
|
# Configuration for RCTokens generated for CSM workloads protected by IAP.
|
63
103
|
# RCTokens are IAP generated JWTs that can be verified at the application. The
|
64
104
|
# RCToken is primarily used for ISTIO deployments, and can be scoped to a
|
@@ -73,6 +113,7 @@ module Google
|
|
73
113
|
|
74
114
|
# Update properties of this object
|
75
115
|
def update!(**args)
|
116
|
+
@access_denied_page_settings = args[:access_denied_page_settings] if args.key?(:access_denied_page_settings)
|
76
117
|
@csm_settings = args[:csm_settings] if args.key?(:csm_settings)
|
77
118
|
end
|
78
119
|
end
|
@@ -662,6 +703,88 @@ module Google
|
|
662
703
|
end
|
663
704
|
end
|
664
705
|
|
706
|
+
# PolicyDelegationConfig allows google-internal teams to use IAP for apps
|
707
|
+
# hosted in a tenant project. Using these settings, the app can delegate
|
708
|
+
# permission check to happen against the linked customer project.
|
709
|
+
# This is only ever supposed to be used by google internal teams, hence the
|
710
|
+
# restriction on the proto.
|
711
|
+
class PolicyDelegationSettings
|
712
|
+
include Google::Apis::Core::Hashable
|
713
|
+
|
714
|
+
# Permission to check in IAM.
|
715
|
+
# Corresponds to the JSON property `iamPermission`
|
716
|
+
# @return [String]
|
717
|
+
attr_accessor :iam_permission
|
718
|
+
|
719
|
+
# The DNS name of the service (e.g. "resourcemanager.googleapis.com").
|
720
|
+
# This should be the domain name part of the full resource names (see
|
721
|
+
# https://aip.dev/122#full-resource-names), which is usually
|
722
|
+
# the same as IamServiceSpec.service of the service where the resource type
|
723
|
+
# is defined.
|
724
|
+
# Corresponds to the JSON property `iamServiceName`
|
725
|
+
# @return [String]
|
726
|
+
attr_accessor :iam_service_name
|
727
|
+
|
728
|
+
# Policy name to be checked
|
729
|
+
# Corresponds to the JSON property `policyName`
|
730
|
+
# @return [Google::Apis::IapV1::PolicyName]
|
731
|
+
attr_accessor :policy_name
|
732
|
+
|
733
|
+
# IAM resource to check permission on
|
734
|
+
# Corresponds to the JSON property `resource`
|
735
|
+
# @return [Google::Apis::IapV1::Resource]
|
736
|
+
attr_accessor :resource
|
737
|
+
|
738
|
+
def initialize(**args)
|
739
|
+
update!(**args)
|
740
|
+
end
|
741
|
+
|
742
|
+
# Update properties of this object
|
743
|
+
def update!(**args)
|
744
|
+
@iam_permission = args[:iam_permission] if args.key?(:iam_permission)
|
745
|
+
@iam_service_name = args[:iam_service_name] if args.key?(:iam_service_name)
|
746
|
+
@policy_name = args[:policy_name] if args.key?(:policy_name)
|
747
|
+
@resource = args[:resource] if args.key?(:resource)
|
748
|
+
end
|
749
|
+
end
|
750
|
+
|
751
|
+
#
|
752
|
+
class PolicyName
|
753
|
+
include Google::Apis::Core::Hashable
|
754
|
+
|
755
|
+
#
|
756
|
+
# Corresponds to the JSON property `id`
|
757
|
+
# @return [String]
|
758
|
+
attr_accessor :id
|
759
|
+
|
760
|
+
# For Cloud IAM:
|
761
|
+
# The location of the Policy.
|
762
|
+
# Must be empty or "global" for Policies owned by global IAM. Must name a
|
763
|
+
# region from prodspec/cloud-iam-cloudspec for Regional IAM Policies, see
|
764
|
+
# http://go/iam-faq#where-is-iam-currently-deployed.
|
765
|
+
# For Local IAM:
|
766
|
+
# This field should be set to "local".
|
767
|
+
# Corresponds to the JSON property `region`
|
768
|
+
# @return [String]
|
769
|
+
attr_accessor :region
|
770
|
+
|
771
|
+
# Valid values for type might be 'gce', 'gcs', 'project', 'account' etc.
|
772
|
+
# Corresponds to the JSON property `type`
|
773
|
+
# @return [String]
|
774
|
+
attr_accessor :type
|
775
|
+
|
776
|
+
def initialize(**args)
|
777
|
+
update!(**args)
|
778
|
+
end
|
779
|
+
|
780
|
+
# Update properties of this object
|
781
|
+
def update!(**args)
|
782
|
+
@id = args[:id] if args.key?(:id)
|
783
|
+
@region = args[:region] if args.key?(:region)
|
784
|
+
@type = args[:type] if args.key?(:type)
|
785
|
+
end
|
786
|
+
end
|
787
|
+
|
665
788
|
# The request sent to ResetIdentityAwareProxyClientSecret.
|
666
789
|
class ResetIdentityAwareProxyClientSecretRequest
|
667
790
|
include Google::Apis::Core::Hashable
|
@@ -675,6 +798,73 @@ module Google
|
|
675
798
|
end
|
676
799
|
end
|
677
800
|
|
801
|
+
#
|
802
|
+
class Resource
|
803
|
+
include Google::Apis::Core::Hashable
|
804
|
+
|
805
|
+
# The service defined labels of the resource on which the conditions will be
|
806
|
+
# evaluated. The semantics - including the key names - are vague to IAM.
|
807
|
+
# If the effective condition has a reference to a `resource.labels[foo]`
|
808
|
+
# construct, IAM consults with this map to retrieve the values associated
|
809
|
+
# with `foo` key for Conditions evaluation. If the provided key is not found
|
810
|
+
# in the labels map, the condition would evaluate to false.
|
811
|
+
# This field is in limited use. If your intended use case is not expected
|
812
|
+
# to express resource.labels attribute in IAM Conditions, leave this field
|
813
|
+
# empty. Before planning on using this attribute please:
|
814
|
+
# * Read go/iam-conditions-labels-comm and ensure your service can meet the
|
815
|
+
# data availability and management requirements.
|
816
|
+
# * Talk to iam-conditions-eng@ about your use case.
|
817
|
+
# Corresponds to the JSON property `labels`
|
818
|
+
# @return [Hash<String,String>]
|
819
|
+
attr_accessor :labels
|
820
|
+
|
821
|
+
# Name of the resource on which conditions will be evaluated.
|
822
|
+
# Must use the Relative Resource Name of the resource, which is the URI
|
823
|
+
# path of the resource without the leading "/". Examples are
|
824
|
+
# "projects/_/buckets/[BUCKET-ID]" for storage buckets or
|
825
|
+
# "projects/[PROJECT-ID]/global/firewalls/[FIREWALL-ID]" for a firewall.
|
826
|
+
# This field is required for evaluating conditions with rules on resource
|
827
|
+
# names. For a `list` permission check, the resource.name value must be set
|
828
|
+
# to the parent resource. If the parent resource is a project, this field
|
829
|
+
# should be left unset.
|
830
|
+
# Corresponds to the JSON property `name`
|
831
|
+
# @return [String]
|
832
|
+
attr_accessor :name
|
833
|
+
|
834
|
+
# The name of the service this resource belongs to. It is configured using
|
835
|
+
# the official_service_name of the Service as defined in service
|
836
|
+
# configurations under //configs/cloud/resourcetypes.
|
837
|
+
# For example, the official_service_name of cloud resource manager service
|
838
|
+
# is set as 'cloudresourcemanager.googleapis.com' according to
|
839
|
+
# //configs/cloud/resourcetypes/google/cloud/resourcemanager/prod.yaml
|
840
|
+
# Corresponds to the JSON property `service`
|
841
|
+
# @return [String]
|
842
|
+
attr_accessor :service
|
843
|
+
|
844
|
+
# The public resource type name of the resource on which conditions will be
|
845
|
+
# evaluated. It is configured using the official_name of the ResourceType as
|
846
|
+
# defined in service configurations under //configs/cloud/resourcetypes.
|
847
|
+
# For example, the official_name for GCP projects is set as
|
848
|
+
# 'cloudresourcemanager.googleapis.com/Project' according to
|
849
|
+
# //configs/cloud/resourcetypes/google/cloud/resourcemanager/prod.yaml
|
850
|
+
# For details see go/iam-conditions-integration-guide.
|
851
|
+
# Corresponds to the JSON property `type`
|
852
|
+
# @return [String]
|
853
|
+
attr_accessor :type
|
854
|
+
|
855
|
+
def initialize(**args)
|
856
|
+
update!(**args)
|
857
|
+
end
|
858
|
+
|
859
|
+
# Update properties of this object
|
860
|
+
def update!(**args)
|
861
|
+
@labels = args[:labels] if args.key?(:labels)
|
862
|
+
@name = args[:name] if args.key?(:name)
|
863
|
+
@service = args[:service] if args.key?(:service)
|
864
|
+
@type = args[:type] if args.key?(:type)
|
865
|
+
end
|
866
|
+
end
|
867
|
+
|
678
868
|
# Request message for `SetIamPolicy` method.
|
679
869
|
class SetIamPolicyRequest
|
680
870
|
include Google::Apis::Core::Hashable
|