google-api-client 0.28.4 → 0.29.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.kokoro/build.bat +9 -6
- data/.kokoro/build.sh +2 -34
- data/.kokoro/continuous/common.cfg +6 -1
- data/.kokoro/continuous/linux.cfg +1 -1
- data/.kokoro/continuous/windows.cfg +17 -1
- data/.kokoro/osx.sh +2 -33
- data/.kokoro/presubmit/common.cfg +6 -1
- data/.kokoro/presubmit/linux.cfg +1 -1
- data/.kokoro/presubmit/windows.cfg +17 -1
- data/.kokoro/trampoline.bat +10 -0
- data/.kokoro/trampoline.sh +3 -23
- data/CHANGELOG.md +460 -0
- data/README.md +1 -1
- data/Rakefile +31 -0
- data/bin/generate-api +4 -2
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +333 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +174 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +728 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +34 -0
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +755 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +282 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +788 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +34 -0
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +47 -31
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +4 -0
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +95 -200
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +64 -104
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
- data/generated/google/apis/admin_directory_v1/classes.rb +5 -50
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -2
- data/generated/google/apis/admin_directory_v1/service.rb +113 -113
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +39 -39
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +101 -2
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +25 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +17 -16
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analytics_v2_4/service.rb +6 -6
- data/generated/google/apis/analytics_v3/service.rb +88 -88
- data/generated/google/apis/analyticsreporting_v4/classes.rb +638 -0
- data/generated/google/apis/analyticsreporting_v4/representations.rb +248 -0
- data/generated/google/apis/analyticsreporting_v4/service.rb +31 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +51 -11
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +26 -30
- data/generated/google/apis/androidenterprise_v1/representations.rb +2 -14
- data/generated/google/apis/androidenterprise_v1/service.rb +85 -121
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +358 -4
- data/generated/google/apis/androidmanagement_v1/representations.rb +163 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +191 -21
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
- data/generated/google/apis/androidpublisher_v2/service.rb +64 -70
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +113 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +58 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +234 -64
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +45 -100
- data/generated/google/apis/appengine_v1/representations.rb +17 -35
- data/generated/google/apis/appengine_v1/service.rb +45 -39
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +2 -99
- data/generated/google/apis/appengine_v1alpha/representations.rb +0 -35
- data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -102
- data/generated/google/apis/appengine_v1beta/representations.rb +0 -35
- data/generated/google/apis/appengine_v1beta/service.rb +45 -39
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
- data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
- data/generated/google/apis/appsactivity_v1/service.rb +5 -4
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsmarket_v2/service.rb +3 -3
- data/generated/google/apis/appstate_v1/service.rb +5 -5
- data/generated/google/apis/bigquery_v2/classes.rb +1121 -114
- data/generated/google/apis/bigquery_v2/representations.rb +414 -26
- data/generated/google/apis/bigquery_v2/service.rb +184 -22
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +88 -10
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +43 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +142 -34
- data/generated/google/apis/bigquerydatatransfer_v1.rb +3 -3
- data/generated/google/apis/bigtableadmin_v1/service.rb +3 -3
- data/generated/google/apis/bigtableadmin_v1.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2/classes.rb +14 -14
- data/generated/google/apis/bigtableadmin_v2/service.rb +142 -33
- data/generated/google/apis/bigtableadmin_v2.rb +2 -2
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +66 -6
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +17 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/blogger_v2/service.rb +9 -9
- data/generated/google/apis/blogger_v3/service.rb +33 -33
- data/generated/google/apis/books_v1/service.rb +51 -51
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +47 -47
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +8 -8
- data/generated/google/apis/civicinfo_v2/service.rb +5 -5
- data/generated/google/apis/classroom_v1/classes.rb +77 -0
- data/generated/google/apis/classroom_v1/representations.rb +32 -0
- data/generated/google/apis/classroom_v1/service.rb +276 -51
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +818 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +264 -0
- data/generated/google/apis/cloudasset_v1/service.rb +191 -0
- data/generated/google/apis/cloudasset_v1.rb +34 -0
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +33 -18
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -13
- data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +14 -14
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +162 -11
- data/generated/google/apis/cloudbuild_v1/representations.rb +67 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +21 -15
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +7 -1
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +6 -6
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +19 -16
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +12 -11
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +21 -17
- data/generated/google/apis/cloudfunctions_v1/service.rb +22 -16
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +20 -16
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +17 -11
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +14 -14
- data/generated/google/apis/cloudidentity_v1/service.rb +18 -27
- data/generated/google/apis/cloudidentity_v1.rb +7 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +11 -11
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +15 -21
- data/generated/google/apis/cloudidentity_v1beta1.rb +7 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +11 -11
- data/generated/google/apis/cloudiot_v1/service.rb +23 -330
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -3
- data/generated/google/apis/cloudkms_v1/service.rb +30 -30
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +358 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +123 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +486 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1212 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +399 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1073 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +24 -22
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +68 -59
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +53 -42
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +15 -16
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +13 -13
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +15 -16
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +13 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +994 -0
- data/generated/google/apis/cloudscheduler_v1/representations.rb +297 -0
- data/generated/google/apis/cloudscheduler_v1/service.rb +448 -0
- data/generated/google/apis/cloudscheduler_v1.rb +34 -0
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +160 -44
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +33 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +15 -12
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +245 -59
- data/generated/google/apis/cloudsearch_v1/representations.rb +91 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +86 -80
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +11 -11
- data/generated/google/apis/cloudshell_v1/service.rb +4 -4
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +24 -11
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +11 -10
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +1436 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +408 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +856 -0
- data/generated/google/apis/{partners_v2.rb → cloudtasks_v2.rb} +11 -9
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +141 -102
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +44 -43
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +388 -108
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +40 -39
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/classes.rb +10 -10
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +484 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +210 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +124 -0
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +39 -0
- data/generated/google/apis/composer_v1/classes.rb +21 -15
- data/generated/google/apis/composer_v1/service.rb +9 -9
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +175 -36
- data/generated/google/apis/composer_v1beta1/representations.rb +50 -0
- data/generated/google/apis/composer_v1beta1/service.rb +9 -9
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +10112 -7289
- data/generated/google/apis/compute_alpha/representations.rb +1337 -219
- data/generated/google/apis/compute_alpha/service.rb +4259 -2728
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +4254 -2781
- data/generated/google/apis/compute_beta/representations.rb +853 -283
- data/generated/google/apis/compute_beta/service.rb +7077 -5955
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1259 -93
- data/generated/google/apis/compute_v1/representations.rb +450 -1
- data/generated/google/apis/compute_v1/service.rb +1085 -400
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +201 -22
- data/generated/google/apis/container_v1/representations.rb +69 -0
- data/generated/google/apis/container_v1/service.rb +151 -102
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +215 -25
- data/generated/google/apis/container_v1beta1/representations.rb +86 -0
- data/generated/google/apis/container_v1beta1/service.rb +106 -106
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +26 -18
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +226 -12
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +58 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +218 -101
- data/generated/google/apis/content_v2/representations.rb +49 -0
- data/generated/google/apis/content_v2/service.rb +189 -152
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +387 -216
- data/generated/google/apis/content_v2_1/representations.rb +131 -56
- data/generated/google/apis/content_v2_1/service.rb +190 -107
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3/classes.rb +148 -31
- data/generated/google/apis/dataflow_v1b3/representations.rb +45 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +415 -56
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +1304 -0
- data/generated/google/apis/datafusion_v1beta1/representations.rb +469 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +657 -0
- data/generated/google/apis/datafusion_v1beta1.rb +43 -0
- data/generated/google/apis/dataproc_v1/classes.rb +27 -22
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1/service.rb +261 -45
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +534 -50
- data/generated/google/apis/dataproc_v1beta2/representations.rb +185 -7
- data/generated/google/apis/dataproc_v1beta2/service.rb +617 -51
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +20 -16
- data/generated/google/apis/datastore_v1/service.rb +15 -15
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +10 -10
- data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +10 -6
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
- data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
- data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_3/classes.rb +3 -3
- data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +367 -82
- data/generated/google/apis/dialogflow_v2/representations.rb +99 -0
- data/generated/google/apis/dialogflow_v2/service.rb +76 -60
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +199 -88
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +154 -94
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/service.rb +7 -6
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/discovery_v1/service.rb +2 -2
- data/generated/google/apis/dlp_v2/classes.rb +116 -45
- data/generated/google/apis/dlp_v2/representations.rb +32 -0
- data/generated/google/apis/dlp_v2/service.rb +85 -45
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +83 -1
- data/generated/google/apis/dns_v1/representations.rb +34 -0
- data/generated/google/apis/dns_v1/service.rb +15 -15
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +81 -1
- data/generated/google/apis/dns_v1beta2/representations.rb +33 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -21
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +83 -1
- data/generated/google/apis/dns_v2beta1/representations.rb +34 -0
- data/generated/google/apis/dns_v2beta1/service.rb +16 -16
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +265 -47
- data/generated/google/apis/docs_v1/representations.rb +96 -0
- data/generated/google/apis/docs_v1/service.rb +3 -3
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -4
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
- data/generated/google/apis/drive_v2/classes.rb +601 -80
- data/generated/google/apis/drive_v2/representations.rb +152 -0
- data/generated/google/apis/drive_v2/service.rb +574 -164
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +591 -75
- data/generated/google/apis/drive_v3/representations.rb +151 -0
- data/generated/google/apis/drive_v3/service.rb +483 -116
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +149 -17
- data/generated/google/apis/driveactivity_v2/representations.rb +69 -0
- data/generated/google/apis/driveactivity_v2/service.rb +1 -1
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +459 -0
- data/generated/google/apis/factchecktools_v1alpha1/representations.rb +207 -0
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +300 -0
- data/generated/google/apis/factchecktools_v1alpha1.rb +34 -0
- data/generated/google/apis/fcm_v1/classes.rb +424 -0
- data/generated/google/apis/fcm_v1/representations.rb +167 -0
- data/generated/google/apis/fcm_v1/service.rb +97 -0
- data/generated/google/apis/fcm_v1.rb +35 -0
- data/generated/google/apis/file_v1/classes.rb +646 -11
- data/generated/google/apis/file_v1/representations.rb +207 -0
- data/generated/google/apis/file_v1/service.rb +196 -6
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +461 -19
- data/generated/google/apis/file_v1beta1/representations.rb +137 -0
- data/generated/google/apis/file_v1beta1/service.rb +11 -11
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +41 -14
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +4 -0
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +13 -13
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +10 -2
- data/generated/google/apis/firebaserules_v1/service.rb +12 -12
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1/service.rb +28 -28
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +10 -10
- data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +4 -1
- data/generated/google/apis/fitness_v1/service.rb +14 -58
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v1/service.rb +32 -32
- data/generated/google/apis/fusiontables_v2/service.rb +34 -34
- data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
- data/generated/google/apis/games_management_v1management/service.rb +27 -27
- data/generated/google/apis/games_management_v1management.rb +2 -2
- data/generated/google/apis/games_v1/service.rb +53 -53
- data/generated/google/apis/games_v1.rb +3 -3
- data/generated/google/apis/genomics_v1/classes.rb +190 -3321
- data/generated/google/apis/genomics_v1/representations.rb +128 -1265
- data/generated/google/apis/genomics_v1/service.rb +75 -1982
- data/generated/google/apis/genomics_v1.rb +1 -10
- data/generated/google/apis/genomics_v1alpha2/classes.rb +13 -53
- data/generated/google/apis/genomics_v1alpha2/representations.rb +0 -26
- data/generated/google/apis/genomics_v1alpha2/service.rb +11 -12
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +26 -58
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -26
- data/generated/google/apis/genomics_v2alpha1/service.rb +6 -7
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +29 -0
- data/generated/google/apis/gmail_v1/representations.rb +13 -0
- data/generated/google/apis/gmail_v1/service.rb +142 -66
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +126 -1
- data/generated/google/apis/groupssettings_v1/representations.rb +18 -0
- data/generated/google/apis/groupssettings_v1/service.rb +4 -4
- data/generated/google/apis/groupssettings_v1.rb +2 -2
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +2464 -0
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1042 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +3413 -0
- data/generated/google/apis/healthcare_v1beta1.rb +34 -0
- data/generated/google/apis/iam_v1/classes.rb +171 -1
- data/generated/google/apis/iam_v1/representations.rb +95 -0
- data/generated/google/apis/iam_v1/service.rb +249 -39
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +8 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +15 -10
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +1 -1
- data/generated/google/apis/iap_v1/service.rb +3 -3
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
- data/generated/google/apis/iap_v1beta1/service.rb +3 -3
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
- data/generated/google/apis/indexing_v3/service.rb +2 -2
- data/generated/google/apis/jobs_v2/classes.rb +16 -17
- data/generated/google/apis/jobs_v2/service.rb +17 -17
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +14 -8
- data/generated/google/apis/jobs_v3/service.rb +16 -17
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +26 -20
- data/generated/google/apis/jobs_v3p1beta1/service.rb +17 -18
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +8 -7
- data/generated/google/apis/language_v1/service.rb +6 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +8 -7
- data/generated/google/apis/language_v1beta2/service.rb +6 -6
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/libraryagent_v1/service.rb +6 -6
- data/generated/google/apis/licensing_v1/service.rb +7 -7
- data/generated/google/apis/logging_v2/classes.rb +8 -3
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2/service.rb +72 -72
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/manufacturers_v1/service.rb +4 -4
- data/generated/google/apis/mirror_v1/service.rb +24 -24
- data/generated/google/apis/ml_v1/classes.rb +240 -52
- data/generated/google/apis/ml_v1/representations.rb +25 -2
- data/generated/google/apis/ml_v1/service.rb +36 -36
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +22 -18
- data/generated/google/apis/monitoring_v3/representations.rb +2 -1
- data/generated/google/apis/monitoring_v3/service.rb +42 -37
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oauth2_v1/classes.rb +0 -124
- data/generated/google/apis/oauth2_v1/representations.rb +0 -62
- data/generated/google/apis/oauth2_v1/service.rb +3 -162
- data/generated/google/apis/oauth2_v1.rb +3 -6
- data/generated/google/apis/oauth2_v2/service.rb +4 -4
- data/generated/google/apis/oauth2_v2.rb +3 -6
- data/generated/google/apis/oslogin_v1/service.rb +8 -7
- data/generated/google/apis/oslogin_v1.rb +3 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +8 -7
- data/generated/google/apis/oslogin_v1alpha.rb +3 -2
- data/generated/google/apis/oslogin_v1beta/service.rb +8 -7
- data/generated/google/apis/oslogin_v1beta.rb +3 -2
- data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
- data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +38 -29
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +18 -13
- data/generated/google/apis/people_v1.rb +2 -5
- data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +18 -392
- data/generated/google/apis/plus_domains_v1.rb +4 -10
- data/generated/google/apis/plus_v1/service.rb +16 -16
- data/generated/google/apis/plus_v1.rb +4 -4
- data/generated/google/apis/poly_v1/classes.rb +8 -6
- data/generated/google/apis/poly_v1/service.rb +15 -12
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +8 -6
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +55 -39
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/pubsub_v1/service.rb +46 -69
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
- data/generated/google/apis/pubsub_v1beta2/classes.rb +45 -1
- data/generated/google/apis/pubsub_v1beta2/representations.rb +16 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +30 -10
- data/generated/google/apis/redis_v1/representations.rb +13 -0
- data/generated/google/apis/redis_v1/service.rb +51 -15
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +18 -21
- data/generated/google/apis/redis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/redis_v1beta1/service.rb +15 -15
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +50 -35
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +48 -33
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +58 -43
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
- data/generated/google/apis/reseller_v1/classes.rb +32 -39
- data/generated/google/apis/reseller_v1/service.rb +18 -18
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +73 -0
- data/generated/google/apis/run_v1/representations.rb +43 -0
- data/generated/google/apis/run_v1/service.rb +90 -0
- data/generated/google/apis/run_v1.rb +35 -0
- data/generated/google/apis/run_v1alpha1/classes.rb +3882 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +1425 -0
- data/generated/google/apis/run_v1alpha1/service.rb +2071 -0
- data/generated/google/apis/run_v1alpha1.rb +35 -0
- data/generated/google/apis/runtimeconfig_v1/classes.rb +11 -11
- data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +26 -25
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
- data/generated/google/apis/script_v1/classes.rb +167 -6
- data/generated/google/apis/script_v1/representations.rb +79 -1
- data/generated/google/apis/script_v1/service.rb +16 -16
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/service.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +1627 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +569 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1110 -0
- data/generated/google/apis/securitycenter_v1.rb +35 -0
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1514 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +548 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +1035 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +35 -0
- data/generated/google/apis/servicebroker_v1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1/service.rb +3 -3
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +453 -149
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +202 -29
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +148 -62
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +122 -25
- data/generated/google/apis/servicecontrol_v1/representations.rb +47 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +93 -110
- data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
- data/generated/google/apis/servicemanagement_v1/service.rb +30 -27
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +3626 -0
- data/generated/google/apis/servicenetworking_v1/representations.rb +1055 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +440 -0
- data/generated/google/apis/servicenetworking_v1.rb +38 -0
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +65 -108
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +2 -29
- data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +160 -109
- data/generated/google/apis/serviceusage_v1/representations.rb +42 -26
- data/generated/google/apis/serviceusage_v1/service.rb +17 -19
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +161 -110
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +42 -26
- data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +115 -26
- data/generated/google/apis/sheets_v4/service.rb +17 -17
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/site_verification_v1/service.rb +7 -7
- data/generated/google/apis/slides_v1/classes.rb +2 -2
- data/generated/google/apis/slides_v1/service.rb +5 -5
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +183 -1
- data/generated/google/apis/sourcerepo_v1/representations.rb +45 -0
- data/generated/google/apis/sourcerepo_v1/service.rb +45 -10
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +231 -17
- data/generated/google/apis/spanner_v1/representations.rb +66 -0
- data/generated/google/apis/spanner_v1/service.rb +92 -42
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +110 -13
- data/generated/google/apis/speech_v1/representations.rb +24 -0
- data/generated/google/apis/speech_v1/service.rb +9 -7
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +19 -13
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1/service.rb +9 -7
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +94 -17
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +36 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +201 -4
- data/generated/google/apis/storage_v1/representations.rb +76 -1
- data/generated/google/apis/storage_v1/service.rb +488 -93
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta1/service.rb +24 -24
- data/generated/google/apis/storage_v1beta2/service.rb +34 -34
- data/generated/google/apis/storagetransfer_v1/classes.rb +44 -44
- data/generated/google/apis/storagetransfer_v1/service.rb +35 -36
- data/generated/google/apis/storagetransfer_v1.rb +2 -2
- data/generated/google/apis/streetviewpublish_v1/classes.rb +27 -27
- data/generated/google/apis/streetviewpublish_v1/service.rb +36 -40
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/surveys_v2/service.rb +8 -8
- data/generated/google/apis/tagmanager_v1/service.rb +49 -95
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +197 -292
- data/generated/google/apis/tagmanager_v2/representations.rb +62 -103
- data/generated/google/apis/tagmanager_v2/service.rb +287 -249
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1/service.rb +19 -19
- data/generated/google/apis/tasks_v1.rb +2 -2
- data/generated/google/apis/testing_v1/classes.rb +44 -39
- data/generated/google/apis/testing_v1/representations.rb +3 -1
- data/generated/google/apis/testing_v1/service.rb +5 -5
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +340 -17
- data/generated/google/apis/toolresults_v1beta3/representations.rb +90 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +140 -24
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +21 -15
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1/service.rb +17 -17
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +21 -15
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v2/service.rb +5 -5
- data/generated/google/apis/urlshortener_v1/service.rb +3 -3
- data/generated/google/apis/vault_v1/classes.rb +44 -18
- data/generated/google/apis/vault_v1/representations.rb +4 -0
- data/generated/google/apis/vault_v1/service.rb +28 -28
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +2193 -350
- data/generated/google/apis/videointelligence_v1/representations.rb +805 -6
- data/generated/google/apis/videointelligence_v1/service.rb +7 -6
- data/generated/google/apis/videointelligence_v1.rb +3 -2
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +2448 -605
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1beta2/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1beta2.rb +3 -2
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +2422 -579
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1p1beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +2645 -830
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +796 -12
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1p2beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +4687 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +2005 -0
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +94 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +36 -0
- data/generated/google/apis/vision_v1/classes.rb +4397 -124
- data/generated/google/apis/vision_v1/representations.rb +2366 -541
- data/generated/google/apis/vision_v1/service.rb +160 -33
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +4451 -158
- data/generated/google/apis/vision_v1p1beta1/representations.rb +2415 -576
- data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +4451 -158
- data/generated/google/apis/vision_v1p2beta1/representations.rb +2443 -604
- data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +0 -166
- data/generated/google/apis/webmasters_v3/representations.rb +0 -93
- data/generated/google/apis/webmasters_v3/service.rb +9 -180
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +973 -0
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +452 -0
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +548 -0
- data/generated/google/apis/websecurityscanner_v1beta.rb +34 -0
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
- data/generated/google/apis/youtube_partner_v1/classes.rb +15 -34
- data/generated/google/apis/youtube_partner_v1/representations.rb +4 -17
- data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +71 -71
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +2 -2
- data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/google-api-client.gemspec +2 -2
- data/lib/google/apis/core/http_command.rb +1 -0
- data/lib/google/apis/core/json_representation.rb +4 -0
- data/lib/google/apis/core/upload.rb +3 -3
- data/lib/google/apis/generator/model.rb +1 -1
- data/lib/google/apis/generator/templates/_method.tmpl +3 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +86 -17
- data/.kokoro/common.cfg +0 -22
- data/.kokoro/windows.sh +0 -32
- data/generated/google/apis/logging_v2beta1/classes.rb +0 -1765
- data/generated/google/apis/logging_v2beta1/representations.rb +0 -537
- data/generated/google/apis/logging_v2beta1/service.rb +0 -570
- data/generated/google/apis/logging_v2beta1.rb +0 -46
- data/generated/google/apis/partners_v2/classes.rb +0 -2260
- data/generated/google/apis/partners_v2/representations.rb +0 -905
- data/generated/google/apis/partners_v2/service.rb +0 -1077
- data/samples/web/.env +0 -2
|
@@ -78,7 +78,7 @@ module Google
|
|
|
78
78
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
79
79
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
80
80
|
def delete_asp(user_key, code_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
81
|
-
command =
|
|
81
|
+
command = make_simple_command(:delete, 'users/{userKey}/asps/{codeId}', options)
|
|
82
82
|
command.params['userKey'] = user_key unless user_key.nil?
|
|
83
83
|
command.params['codeId'] = code_id unless code_id.nil?
|
|
84
84
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -113,7 +113,7 @@ module Google
|
|
|
113
113
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
114
114
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
115
115
|
def get_asp(user_key, code_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
116
|
-
command =
|
|
116
|
+
command = make_simple_command(:get, 'users/{userKey}/asps/{codeId}', options)
|
|
117
117
|
command.response_representation = Google::Apis::AdminDirectoryV1::Asp::Representation
|
|
118
118
|
command.response_class = Google::Apis::AdminDirectoryV1::Asp
|
|
119
119
|
command.params['userKey'] = user_key unless user_key.nil?
|
|
@@ -148,7 +148,7 @@ module Google
|
|
|
148
148
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
149
149
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
150
150
|
def list_asps(user_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
151
|
-
command =
|
|
151
|
+
command = make_simple_command(:get, 'users/{userKey}/asps', options)
|
|
152
152
|
command.response_representation = Google::Apis::AdminDirectoryV1::Asps::Representation
|
|
153
153
|
command.response_class = Google::Apis::AdminDirectoryV1::Asps
|
|
154
154
|
command.params['userKey'] = user_key unless user_key.nil?
|
|
@@ -180,7 +180,7 @@ module Google
|
|
|
180
180
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
181
181
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
182
182
|
def stop_channel(channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
183
|
-
command =
|
|
183
|
+
command = make_simple_command(:post, '/admin/directory_v1/channels/stop', options)
|
|
184
184
|
command.request_representation = Google::Apis::AdminDirectoryV1::Channel::Representation
|
|
185
185
|
command.request_object = channel_object
|
|
186
186
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -215,7 +215,7 @@ module Google
|
|
|
215
215
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
216
216
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
217
217
|
def action_chromeosdevice(customer_id, resource_id, chrome_os_device_action_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
218
|
-
command =
|
|
218
|
+
command = make_simple_command(:post, 'customer/{customerId}/devices/chromeos/{resourceId}/action', options)
|
|
219
219
|
command.request_representation = Google::Apis::AdminDirectoryV1::ChromeOsDeviceAction::Representation
|
|
220
220
|
command.request_object = chrome_os_device_action_object
|
|
221
221
|
command.params['customerId'] = customer_id unless customer_id.nil?
|
|
@@ -253,7 +253,7 @@ module Google
|
|
|
253
253
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
254
254
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
255
255
|
def get_chrome_os_device(customer_id, device_id, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
256
|
-
command =
|
|
256
|
+
command = make_simple_command(:get, 'customer/{customerId}/devices/chromeos/{deviceId}', options)
|
|
257
257
|
command.response_representation = Google::Apis::AdminDirectoryV1::ChromeOsDevice::Representation
|
|
258
258
|
command.response_class = Google::Apis::AdminDirectoryV1::ChromeOsDevice
|
|
259
259
|
command.params['customerId'] = customer_id unless customer_id.nil?
|
|
@@ -304,7 +304,7 @@ module Google
|
|
|
304
304
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
305
305
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
306
306
|
def list_chrome_os_devices(customer_id, max_results: nil, order_by: nil, org_unit_path: nil, page_token: nil, projection: nil, query: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
307
|
-
command =
|
|
307
|
+
command = make_simple_command(:get, 'customer/{customerId}/devices/chromeos', options)
|
|
308
308
|
command.response_representation = Google::Apis::AdminDirectoryV1::ChromeOsDevices::Representation
|
|
309
309
|
command.response_class = Google::Apis::AdminDirectoryV1::ChromeOsDevices
|
|
310
310
|
command.params['customerId'] = customer_id unless customer_id.nil?
|
|
@@ -347,7 +347,7 @@ module Google
|
|
|
347
347
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
348
348
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
349
349
|
def move_chromeosdevice_devices_to_ou(customer_id, org_unit_path, chrome_os_move_devices_to_ou_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
350
|
-
command =
|
|
350
|
+
command = make_simple_command(:post, 'customer/{customerId}/devices/chromeos/moveDevicesToOu', options)
|
|
351
351
|
command.request_representation = Google::Apis::AdminDirectoryV1::ChromeOsMoveDevicesToOu::Representation
|
|
352
352
|
command.request_object = chrome_os_move_devices_to_ou_object
|
|
353
353
|
command.params['customerId'] = customer_id unless customer_id.nil?
|
|
@@ -386,7 +386,7 @@ module Google
|
|
|
386
386
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
387
387
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
388
388
|
def patch_chrome_os_device(customer_id, device_id, chrome_os_device_object = nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
389
|
-
command =
|
|
389
|
+
command = make_simple_command(:patch, 'customer/{customerId}/devices/chromeos/{deviceId}', options)
|
|
390
390
|
command.request_representation = Google::Apis::AdminDirectoryV1::ChromeOsDevice::Representation
|
|
391
391
|
command.request_object = chrome_os_device_object
|
|
392
392
|
command.response_representation = Google::Apis::AdminDirectoryV1::ChromeOsDevice::Representation
|
|
@@ -428,7 +428,7 @@ module Google
|
|
|
428
428
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
429
429
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
430
430
|
def update_chrome_os_device(customer_id, device_id, chrome_os_device_object = nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
431
|
-
command =
|
|
431
|
+
command = make_simple_command(:put, 'customer/{customerId}/devices/chromeos/{deviceId}', options)
|
|
432
432
|
command.request_representation = Google::Apis::AdminDirectoryV1::ChromeOsDevice::Representation
|
|
433
433
|
command.request_object = chrome_os_device_object
|
|
434
434
|
command.response_representation = Google::Apis::AdminDirectoryV1::ChromeOsDevice::Representation
|
|
@@ -465,7 +465,7 @@ module Google
|
|
|
465
465
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
466
466
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
467
467
|
def get_customer(customer_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
468
|
-
command =
|
|
468
|
+
command = make_simple_command(:get, 'customers/{customerKey}', options)
|
|
469
469
|
command.response_representation = Google::Apis::AdminDirectoryV1::Customer::Representation
|
|
470
470
|
command.response_class = Google::Apis::AdminDirectoryV1::Customer
|
|
471
471
|
command.params['customerKey'] = customer_key unless customer_key.nil?
|
|
@@ -499,7 +499,7 @@ module Google
|
|
|
499
499
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
500
500
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
501
501
|
def patch_customer(customer_key, customer_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
502
|
-
command =
|
|
502
|
+
command = make_simple_command(:patch, 'customers/{customerKey}', options)
|
|
503
503
|
command.request_representation = Google::Apis::AdminDirectoryV1::Customer::Representation
|
|
504
504
|
command.request_object = customer_object
|
|
505
505
|
command.response_representation = Google::Apis::AdminDirectoryV1::Customer::Representation
|
|
@@ -535,7 +535,7 @@ module Google
|
|
|
535
535
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
536
536
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
537
537
|
def update_customer(customer_key, customer_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
538
|
-
command =
|
|
538
|
+
command = make_simple_command(:put, 'customers/{customerKey}', options)
|
|
539
539
|
command.request_representation = Google::Apis::AdminDirectoryV1::Customer::Representation
|
|
540
540
|
command.request_object = customer_object
|
|
541
541
|
command.response_representation = Google::Apis::AdminDirectoryV1::Customer::Representation
|
|
@@ -572,7 +572,7 @@ module Google
|
|
|
572
572
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
573
573
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
574
574
|
def delete_domain_alias(customer, domain_alias_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
575
|
-
command =
|
|
575
|
+
command = make_simple_command(:delete, 'customer/{customer}/domainaliases/{domainAliasName}', options)
|
|
576
576
|
command.params['customer'] = customer unless customer.nil?
|
|
577
577
|
command.params['domainAliasName'] = domain_alias_name unless domain_alias_name.nil?
|
|
578
578
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -606,7 +606,7 @@ module Google
|
|
|
606
606
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
607
607
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
608
608
|
def get_domain_alias(customer, domain_alias_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
609
|
-
command =
|
|
609
|
+
command = make_simple_command(:get, 'customer/{customer}/domainaliases/{domainAliasName}', options)
|
|
610
610
|
command.response_representation = Google::Apis::AdminDirectoryV1::DomainAlias::Representation
|
|
611
611
|
command.response_class = Google::Apis::AdminDirectoryV1::DomainAlias
|
|
612
612
|
command.params['customer'] = customer unless customer.nil?
|
|
@@ -641,7 +641,7 @@ module Google
|
|
|
641
641
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
642
642
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
643
643
|
def insert_domain_alias(customer, domain_alias_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
644
|
-
command =
|
|
644
|
+
command = make_simple_command(:post, 'customer/{customer}/domainaliases', options)
|
|
645
645
|
command.request_representation = Google::Apis::AdminDirectoryV1::DomainAlias::Representation
|
|
646
646
|
command.request_object = domain_alias_object
|
|
647
647
|
command.response_representation = Google::Apis::AdminDirectoryV1::DomainAlias::Representation
|
|
@@ -678,7 +678,7 @@ module Google
|
|
|
678
678
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
679
679
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
680
680
|
def list_domain_aliases(customer, parent_domain_name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
681
|
-
command =
|
|
681
|
+
command = make_simple_command(:get, 'customer/{customer}/domainaliases', options)
|
|
682
682
|
command.response_representation = Google::Apis::AdminDirectoryV1::DomainAliases::Representation
|
|
683
683
|
command.response_class = Google::Apis::AdminDirectoryV1::DomainAliases
|
|
684
684
|
command.params['customer'] = customer unless customer.nil?
|
|
@@ -714,7 +714,7 @@ module Google
|
|
|
714
714
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
715
715
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
716
716
|
def delete_domain(customer, domain_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
717
|
-
command =
|
|
717
|
+
command = make_simple_command(:delete, 'customer/{customer}/domains/{domainName}', options)
|
|
718
718
|
command.params['customer'] = customer unless customer.nil?
|
|
719
719
|
command.params['domainName'] = domain_name unless domain_name.nil?
|
|
720
720
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -748,7 +748,7 @@ module Google
|
|
|
748
748
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
749
749
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
750
750
|
def get_domain(customer, domain_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
751
|
-
command =
|
|
751
|
+
command = make_simple_command(:get, 'customer/{customer}/domains/{domainName}', options)
|
|
752
752
|
command.response_representation = Google::Apis::AdminDirectoryV1::Domains::Representation
|
|
753
753
|
command.response_class = Google::Apis::AdminDirectoryV1::Domains
|
|
754
754
|
command.params['customer'] = customer unless customer.nil?
|
|
@@ -783,7 +783,7 @@ module Google
|
|
|
783
783
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
784
784
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
785
785
|
def insert_domain(customer, domains_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
786
|
-
command =
|
|
786
|
+
command = make_simple_command(:post, 'customer/{customer}/domains', options)
|
|
787
787
|
command.request_representation = Google::Apis::AdminDirectoryV1::Domains::Representation
|
|
788
788
|
command.request_object = domains_object
|
|
789
789
|
command.response_representation = Google::Apis::AdminDirectoryV1::Domains::Representation
|
|
@@ -818,7 +818,7 @@ module Google
|
|
|
818
818
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
819
819
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
820
820
|
def list_domains(customer, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
821
|
-
command =
|
|
821
|
+
command = make_simple_command(:get, 'customer/{customer}/domains', options)
|
|
822
822
|
command.response_representation = Google::Apis::AdminDirectoryV1::Domains2::Representation
|
|
823
823
|
command.response_class = Google::Apis::AdminDirectoryV1::Domains2
|
|
824
824
|
command.params['customer'] = customer unless customer.nil?
|
|
@@ -851,7 +851,7 @@ module Google
|
|
|
851
851
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
852
852
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
853
853
|
def delete_group(group_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
854
|
-
command =
|
|
854
|
+
command = make_simple_command(:delete, 'groups/{groupKey}', options)
|
|
855
855
|
command.params['groupKey'] = group_key unless group_key.nil?
|
|
856
856
|
command.query['fields'] = fields unless fields.nil?
|
|
857
857
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -882,7 +882,7 @@ module Google
|
|
|
882
882
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
883
883
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
884
884
|
def get_group(group_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
885
|
-
command =
|
|
885
|
+
command = make_simple_command(:get, 'groups/{groupKey}', options)
|
|
886
886
|
command.response_representation = Google::Apis::AdminDirectoryV1::Group::Representation
|
|
887
887
|
command.response_class = Google::Apis::AdminDirectoryV1::Group
|
|
888
888
|
command.params['groupKey'] = group_key unless group_key.nil?
|
|
@@ -914,7 +914,7 @@ module Google
|
|
|
914
914
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
915
915
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
916
916
|
def insert_group(group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
917
|
-
command =
|
|
917
|
+
command = make_simple_command(:post, 'groups', options)
|
|
918
918
|
command.request_representation = Google::Apis::AdminDirectoryV1::Group::Representation
|
|
919
919
|
command.request_object = group_object
|
|
920
920
|
command.response_representation = Google::Apis::AdminDirectoryV1::Group::Representation
|
|
@@ -967,7 +967,7 @@ module Google
|
|
|
967
967
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
968
968
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
969
969
|
def list_groups(customer: nil, domain: nil, max_results: nil, order_by: nil, page_token: nil, query: nil, sort_order: nil, user_key: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
970
|
-
command =
|
|
970
|
+
command = make_simple_command(:get, 'groups', options)
|
|
971
971
|
command.response_representation = Google::Apis::AdminDirectoryV1::Groups::Representation
|
|
972
972
|
command.response_class = Google::Apis::AdminDirectoryV1::Groups
|
|
973
973
|
command.query['customer'] = customer unless customer.nil?
|
|
@@ -1009,7 +1009,7 @@ module Google
|
|
|
1009
1009
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1010
1010
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1011
1011
|
def patch_group(group_key, group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1012
|
-
command =
|
|
1012
|
+
command = make_simple_command(:patch, 'groups/{groupKey}', options)
|
|
1013
1013
|
command.request_representation = Google::Apis::AdminDirectoryV1::Group::Representation
|
|
1014
1014
|
command.request_object = group_object
|
|
1015
1015
|
command.response_representation = Google::Apis::AdminDirectoryV1::Group::Representation
|
|
@@ -1046,7 +1046,7 @@ module Google
|
|
|
1046
1046
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1047
1047
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1048
1048
|
def update_group(group_key, group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1049
|
-
command =
|
|
1049
|
+
command = make_simple_command(:put, 'groups/{groupKey}', options)
|
|
1050
1050
|
command.request_representation = Google::Apis::AdminDirectoryV1::Group::Representation
|
|
1051
1051
|
command.request_object = group_object
|
|
1052
1052
|
command.response_representation = Google::Apis::AdminDirectoryV1::Group::Representation
|
|
@@ -1083,7 +1083,7 @@ module Google
|
|
|
1083
1083
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1084
1084
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1085
1085
|
def delete_group_alias(group_key, group_alias, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1086
|
-
command =
|
|
1086
|
+
command = make_simple_command(:delete, 'groups/{groupKey}/aliases/{alias}', options)
|
|
1087
1087
|
command.params['groupKey'] = group_key unless group_key.nil?
|
|
1088
1088
|
command.params['alias'] = group_alias unless group_alias.nil?
|
|
1089
1089
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -1116,7 +1116,7 @@ module Google
|
|
|
1116
1116
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1117
1117
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1118
1118
|
def insert_group_alias(group_key, alias_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1119
|
-
command =
|
|
1119
|
+
command = make_simple_command(:post, 'groups/{groupKey}/aliases', options)
|
|
1120
1120
|
command.request_representation = Google::Apis::AdminDirectoryV1::Alias::Representation
|
|
1121
1121
|
command.request_object = alias_object
|
|
1122
1122
|
command.response_representation = Google::Apis::AdminDirectoryV1::Alias::Representation
|
|
@@ -1151,7 +1151,7 @@ module Google
|
|
|
1151
1151
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1152
1152
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1153
1153
|
def list_group_aliases(group_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1154
|
-
command =
|
|
1154
|
+
command = make_simple_command(:get, 'groups/{groupKey}/aliases', options)
|
|
1155
1155
|
command.response_representation = Google::Apis::AdminDirectoryV1::Aliases::Representation
|
|
1156
1156
|
command.response_class = Google::Apis::AdminDirectoryV1::Aliases
|
|
1157
1157
|
command.params['groupKey'] = group_key unless group_key.nil?
|
|
@@ -1186,7 +1186,7 @@ module Google
|
|
|
1186
1186
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1187
1187
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1188
1188
|
def delete_member(group_key, member_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1189
|
-
command =
|
|
1189
|
+
command = make_simple_command(:delete, 'groups/{groupKey}/members/{memberKey}', options)
|
|
1190
1190
|
command.params['groupKey'] = group_key unless group_key.nil?
|
|
1191
1191
|
command.params['memberKey'] = member_key unless member_key.nil?
|
|
1192
1192
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -1220,7 +1220,7 @@ module Google
|
|
|
1220
1220
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1221
1221
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1222
1222
|
def get_member(group_key, member_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1223
|
-
command =
|
|
1223
|
+
command = make_simple_command(:get, 'groups/{groupKey}/members/{memberKey}', options)
|
|
1224
1224
|
command.response_representation = Google::Apis::AdminDirectoryV1::Member::Representation
|
|
1225
1225
|
command.response_class = Google::Apis::AdminDirectoryV1::Member
|
|
1226
1226
|
command.params['groupKey'] = group_key unless group_key.nil?
|
|
@@ -1259,7 +1259,7 @@ module Google
|
|
|
1259
1259
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1260
1260
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1261
1261
|
def has_member_member(group_key, member_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1262
|
-
command =
|
|
1262
|
+
command = make_simple_command(:get, 'groups/{groupKey}/hasMember/{memberKey}', options)
|
|
1263
1263
|
command.response_representation = Google::Apis::AdminDirectoryV1::MembersHasMember::Representation
|
|
1264
1264
|
command.response_class = Google::Apis::AdminDirectoryV1::MembersHasMember
|
|
1265
1265
|
command.params['groupKey'] = group_key unless group_key.nil?
|
|
@@ -1294,7 +1294,7 @@ module Google
|
|
|
1294
1294
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1295
1295
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1296
1296
|
def insert_member(group_key, member_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1297
|
-
command =
|
|
1297
|
+
command = make_simple_command(:post, 'groups/{groupKey}/members', options)
|
|
1298
1298
|
command.request_representation = Google::Apis::AdminDirectoryV1::Member::Representation
|
|
1299
1299
|
command.request_object = member_object
|
|
1300
1300
|
command.response_representation = Google::Apis::AdminDirectoryV1::Member::Representation
|
|
@@ -1337,7 +1337,7 @@ module Google
|
|
|
1337
1337
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1338
1338
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1339
1339
|
def list_members(group_key, include_derived_membership: nil, max_results: nil, page_token: nil, roles: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1340
|
-
command =
|
|
1340
|
+
command = make_simple_command(:get, 'groups/{groupKey}/members', options)
|
|
1341
1341
|
command.response_representation = Google::Apis::AdminDirectoryV1::Members::Representation
|
|
1342
1342
|
command.response_class = Google::Apis::AdminDirectoryV1::Members
|
|
1343
1343
|
command.params['groupKey'] = group_key unless group_key.nil?
|
|
@@ -1380,7 +1380,7 @@ module Google
|
|
|
1380
1380
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1381
1381
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1382
1382
|
def patch_member(group_key, member_key, member_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1383
|
-
command =
|
|
1383
|
+
command = make_simple_command(:patch, 'groups/{groupKey}/members/{memberKey}', options)
|
|
1384
1384
|
command.request_representation = Google::Apis::AdminDirectoryV1::Member::Representation
|
|
1385
1385
|
command.request_object = member_object
|
|
1386
1386
|
command.response_representation = Google::Apis::AdminDirectoryV1::Member::Representation
|
|
@@ -1421,7 +1421,7 @@ module Google
|
|
|
1421
1421
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1422
1422
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1423
1423
|
def update_member(group_key, member_key, member_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1424
|
-
command =
|
|
1424
|
+
command = make_simple_command(:put, 'groups/{groupKey}/members/{memberKey}', options)
|
|
1425
1425
|
command.request_representation = Google::Apis::AdminDirectoryV1::Member::Representation
|
|
1426
1426
|
command.request_object = member_object
|
|
1427
1427
|
command.response_representation = Google::Apis::AdminDirectoryV1::Member::Representation
|
|
@@ -1460,7 +1460,7 @@ module Google
|
|
|
1460
1460
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1461
1461
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1462
1462
|
def action_mobile_device(customer_id, resource_id, mobile_device_action_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1463
|
-
command =
|
|
1463
|
+
command = make_simple_command(:post, 'customer/{customerId}/devices/mobile/{resourceId}/action', options)
|
|
1464
1464
|
command.request_representation = Google::Apis::AdminDirectoryV1::MobileDeviceAction::Representation
|
|
1465
1465
|
command.request_object = mobile_device_action_object
|
|
1466
1466
|
command.params['customerId'] = customer_id unless customer_id.nil?
|
|
@@ -1496,7 +1496,7 @@ module Google
|
|
|
1496
1496
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1497
1497
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1498
1498
|
def delete_mobile_device(customer_id, resource_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1499
|
-
command =
|
|
1499
|
+
command = make_simple_command(:delete, 'customer/{customerId}/devices/mobile/{resourceId}', options)
|
|
1500
1500
|
command.params['customerId'] = customer_id unless customer_id.nil?
|
|
1501
1501
|
command.params['resourceId'] = resource_id unless resource_id.nil?
|
|
1502
1502
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -1532,7 +1532,7 @@ module Google
|
|
|
1532
1532
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1533
1533
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1534
1534
|
def get_mobile_device(customer_id, resource_id, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1535
|
-
command =
|
|
1535
|
+
command = make_simple_command(:get, 'customer/{customerId}/devices/mobile/{resourceId}', options)
|
|
1536
1536
|
command.response_representation = Google::Apis::AdminDirectoryV1::MobileDevice::Representation
|
|
1537
1537
|
command.response_class = Google::Apis::AdminDirectoryV1::MobileDevice
|
|
1538
1538
|
command.params['customerId'] = customer_id unless customer_id.nil?
|
|
@@ -1581,7 +1581,7 @@ module Google
|
|
|
1581
1581
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1582
1582
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1583
1583
|
def list_mobile_devices(customer_id, max_results: nil, order_by: nil, page_token: nil, projection: nil, query: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1584
|
-
command =
|
|
1584
|
+
command = make_simple_command(:get, 'customer/{customerId}/devices/mobile', options)
|
|
1585
1585
|
command.response_representation = Google::Apis::AdminDirectoryV1::MobileDevices::Representation
|
|
1586
1586
|
command.response_class = Google::Apis::AdminDirectoryV1::MobileDevices
|
|
1587
1587
|
command.params['customerId'] = customer_id unless customer_id.nil?
|
|
@@ -1623,7 +1623,7 @@ module Google
|
|
|
1623
1623
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1624
1624
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1625
1625
|
def delete_notification(customer, notification_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1626
|
-
command =
|
|
1626
|
+
command = make_simple_command(:delete, 'customer/{customer}/notifications/{notificationId}', options)
|
|
1627
1627
|
command.params['customer'] = customer unless customer.nil?
|
|
1628
1628
|
command.params['notificationId'] = notification_id unless notification_id.nil?
|
|
1629
1629
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -1658,7 +1658,7 @@ module Google
|
|
|
1658
1658
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1659
1659
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1660
1660
|
def get_notification(customer, notification_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1661
|
-
command =
|
|
1661
|
+
command = make_simple_command(:get, 'customer/{customer}/notifications/{notificationId}', options)
|
|
1662
1662
|
command.response_representation = Google::Apis::AdminDirectoryV1::Notification::Representation
|
|
1663
1663
|
command.response_class = Google::Apis::AdminDirectoryV1::Notification
|
|
1664
1664
|
command.params['customer'] = customer unless customer.nil?
|
|
@@ -1699,7 +1699,7 @@ module Google
|
|
|
1699
1699
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1700
1700
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1701
1701
|
def list_notifications(customer, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1702
|
-
command =
|
|
1702
|
+
command = make_simple_command(:get, 'customer/{customer}/notifications', options)
|
|
1703
1703
|
command.response_representation = Google::Apis::AdminDirectoryV1::Notifications::Representation
|
|
1704
1704
|
command.response_class = Google::Apis::AdminDirectoryV1::Notifications
|
|
1705
1705
|
command.params['customer'] = customer unless customer.nil?
|
|
@@ -1738,7 +1738,7 @@ module Google
|
|
|
1738
1738
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1739
1739
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1740
1740
|
def patch_notification(customer, notification_id, notification_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1741
|
-
command =
|
|
1741
|
+
command = make_simple_command(:patch, 'customer/{customer}/notifications/{notificationId}', options)
|
|
1742
1742
|
command.request_representation = Google::Apis::AdminDirectoryV1::Notification::Representation
|
|
1743
1743
|
command.request_object = notification_object
|
|
1744
1744
|
command.response_representation = Google::Apis::AdminDirectoryV1::Notification::Representation
|
|
@@ -1777,7 +1777,7 @@ module Google
|
|
|
1777
1777
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1778
1778
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1779
1779
|
def update_notification(customer, notification_id, notification_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1780
|
-
command =
|
|
1780
|
+
command = make_simple_command(:put, 'customer/{customer}/notifications/{notificationId}', options)
|
|
1781
1781
|
command.request_representation = Google::Apis::AdminDirectoryV1::Notification::Representation
|
|
1782
1782
|
command.request_object = notification_object
|
|
1783
1783
|
command.response_representation = Google::Apis::AdminDirectoryV1::Notification::Representation
|
|
@@ -1815,7 +1815,7 @@ module Google
|
|
|
1815
1815
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1816
1816
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1817
1817
|
def delete_org_unit(customer_id, org_unit_path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1818
|
-
command =
|
|
1818
|
+
command = make_simple_command(:delete, 'customer/{customerId}/orgunits{/orgUnitPath*}', options)
|
|
1819
1819
|
command.params['customerId'] = customer_id unless customer_id.nil?
|
|
1820
1820
|
command.params['orgUnitPath'] = org_unit_path unless org_unit_path.nil?
|
|
1821
1821
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -1849,7 +1849,7 @@ module Google
|
|
|
1849
1849
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1850
1850
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1851
1851
|
def get_org_unit(customer_id, org_unit_path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1852
|
-
command =
|
|
1852
|
+
command = make_simple_command(:get, 'customer/{customerId}/orgunits{/orgUnitPath*}', options)
|
|
1853
1853
|
command.response_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
|
|
1854
1854
|
command.response_class = Google::Apis::AdminDirectoryV1::OrgUnit
|
|
1855
1855
|
command.params['customerId'] = customer_id unless customer_id.nil?
|
|
@@ -1884,7 +1884,7 @@ module Google
|
|
|
1884
1884
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1885
1885
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1886
1886
|
def insert_org_unit(customer_id, org_unit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1887
|
-
command =
|
|
1887
|
+
command = make_simple_command(:post, 'customer/{customerId}/orgunits', options)
|
|
1888
1888
|
command.request_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
|
|
1889
1889
|
command.request_object = org_unit_object
|
|
1890
1890
|
command.response_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
|
|
@@ -1923,7 +1923,7 @@ module Google
|
|
|
1923
1923
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1924
1924
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1925
1925
|
def list_org_units(customer_id, org_unit_path: nil, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1926
|
-
command =
|
|
1926
|
+
command = make_simple_command(:get, 'customer/{customerId}/orgunits', options)
|
|
1927
1927
|
command.response_representation = Google::Apis::AdminDirectoryV1::OrgUnits::Representation
|
|
1928
1928
|
command.response_class = Google::Apis::AdminDirectoryV1::OrgUnits
|
|
1929
1929
|
command.params['customerId'] = customer_id unless customer_id.nil?
|
|
@@ -1961,7 +1961,7 @@ module Google
|
|
|
1961
1961
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1962
1962
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1963
1963
|
def patch_org_unit(customer_id, org_unit_path, org_unit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1964
|
-
command =
|
|
1964
|
+
command = make_simple_command(:patch, 'customer/{customerId}/orgunits{/orgUnitPath*}', options)
|
|
1965
1965
|
command.request_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
|
|
1966
1966
|
command.request_object = org_unit_object
|
|
1967
1967
|
command.response_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
|
|
@@ -2000,7 +2000,7 @@ module Google
|
|
|
2000
2000
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2001
2001
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2002
2002
|
def update_org_unit(customer_id, org_unit_path, org_unit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2003
|
-
command =
|
|
2003
|
+
command = make_simple_command(:put, 'customer/{customerId}/orgunits{/orgUnitPath*}', options)
|
|
2004
2004
|
command.request_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
|
|
2005
2005
|
command.request_object = org_unit_object
|
|
2006
2006
|
command.response_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
|
|
@@ -2036,7 +2036,7 @@ module Google
|
|
|
2036
2036
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2037
2037
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2038
2038
|
def list_privileges(customer, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2039
|
-
command =
|
|
2039
|
+
command = make_simple_command(:get, 'customer/{customer}/roles/ALL/privileges', options)
|
|
2040
2040
|
command.response_representation = Google::Apis::AdminDirectoryV1::Privileges::Representation
|
|
2041
2041
|
command.response_class = Google::Apis::AdminDirectoryV1::Privileges
|
|
2042
2042
|
command.params['customer'] = customer unless customer.nil?
|
|
@@ -2067,7 +2067,7 @@ module Google
|
|
|
2067
2067
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2068
2068
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2069
2069
|
def get_resolved_app_access_setting_settings(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2070
|
-
command =
|
|
2070
|
+
command = make_simple_command(:get, 'resolvedappaccesssettings', options)
|
|
2071
2071
|
command.response_representation = Google::Apis::AdminDirectoryV1::AppAccessCollections::Representation
|
|
2072
2072
|
command.response_class = Google::Apis::AdminDirectoryV1::AppAccessCollections
|
|
2073
2073
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -2097,7 +2097,7 @@ module Google
|
|
|
2097
2097
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2098
2098
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2099
2099
|
def list_resolved_app_access_setting_trusted_apps(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2100
|
-
command =
|
|
2100
|
+
command = make_simple_command(:get, 'trustedapps', options)
|
|
2101
2101
|
command.response_representation = Google::Apis::AdminDirectoryV1::TrustedApps::Representation
|
|
2102
2102
|
command.response_class = Google::Apis::AdminDirectoryV1::TrustedApps
|
|
2103
2103
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -2132,7 +2132,7 @@ module Google
|
|
|
2132
2132
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2133
2133
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2134
2134
|
def delete_resource_building(customer, building_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2135
|
-
command =
|
|
2135
|
+
command = make_simple_command(:delete, 'customer/{customer}/resources/buildings/{buildingId}', options)
|
|
2136
2136
|
command.params['customer'] = customer unless customer.nil?
|
|
2137
2137
|
command.params['buildingId'] = building_id unless building_id.nil?
|
|
2138
2138
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -2167,7 +2167,7 @@ module Google
|
|
|
2167
2167
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2168
2168
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2169
2169
|
def get_resource_building(customer, building_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2170
|
-
command =
|
|
2170
|
+
command = make_simple_command(:get, 'customer/{customer}/resources/buildings/{buildingId}', options)
|
|
2171
2171
|
command.response_representation = Google::Apis::AdminDirectoryV1::Building::Representation
|
|
2172
2172
|
command.response_class = Google::Apis::AdminDirectoryV1::Building
|
|
2173
2173
|
command.params['customer'] = customer unless customer.nil?
|
|
@@ -2205,7 +2205,7 @@ module Google
|
|
|
2205
2205
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2206
2206
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2207
2207
|
def insert_resource_building(customer, building_object = nil, coordinates_source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2208
|
-
command =
|
|
2208
|
+
command = make_simple_command(:post, 'customer/{customer}/resources/buildings', options)
|
|
2209
2209
|
command.request_representation = Google::Apis::AdminDirectoryV1::Building::Representation
|
|
2210
2210
|
command.request_object = building_object
|
|
2211
2211
|
command.response_representation = Google::Apis::AdminDirectoryV1::Building::Representation
|
|
@@ -2246,7 +2246,7 @@ module Google
|
|
|
2246
2246
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2247
2247
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2248
2248
|
def list_resource_buildings(customer, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2249
|
-
command =
|
|
2249
|
+
command = make_simple_command(:get, 'customer/{customer}/resources/buildings', options)
|
|
2250
2250
|
command.response_representation = Google::Apis::AdminDirectoryV1::Buildings::Representation
|
|
2251
2251
|
command.response_class = Google::Apis::AdminDirectoryV1::Buildings
|
|
2252
2252
|
command.params['customer'] = customer unless customer.nil?
|
|
@@ -2287,7 +2287,7 @@ module Google
|
|
|
2287
2287
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2288
2288
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2289
2289
|
def patch_resource_building(customer, building_id, building_object = nil, coordinates_source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2290
|
-
command =
|
|
2290
|
+
command = make_simple_command(:patch, 'customer/{customer}/resources/buildings/{buildingId}', options)
|
|
2291
2291
|
command.request_representation = Google::Apis::AdminDirectoryV1::Building::Representation
|
|
2292
2292
|
command.request_object = building_object
|
|
2293
2293
|
command.response_representation = Google::Apis::AdminDirectoryV1::Building::Representation
|
|
@@ -2330,7 +2330,7 @@ module Google
|
|
|
2330
2330
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2331
2331
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2332
2332
|
def update_resource_building(customer, building_id, building_object = nil, coordinates_source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2333
|
-
command =
|
|
2333
|
+
command = make_simple_command(:put, 'customer/{customer}/resources/buildings/{buildingId}', options)
|
|
2334
2334
|
command.request_representation = Google::Apis::AdminDirectoryV1::Building::Representation
|
|
2335
2335
|
command.request_object = building_object
|
|
2336
2336
|
command.response_representation = Google::Apis::AdminDirectoryV1::Building::Representation
|
|
@@ -2370,7 +2370,7 @@ module Google
|
|
|
2370
2370
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2371
2371
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2372
2372
|
def delete_calendar_resource(customer, calendar_resource_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2373
|
-
command =
|
|
2373
|
+
command = make_simple_command(:delete, 'customer/{customer}/resources/calendars/{calendarResourceId}', options)
|
|
2374
2374
|
command.params['customer'] = customer unless customer.nil?
|
|
2375
2375
|
command.params['calendarResourceId'] = calendar_resource_id unless calendar_resource_id.nil?
|
|
2376
2376
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -2405,7 +2405,7 @@ module Google
|
|
|
2405
2405
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2406
2406
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2407
2407
|
def get_calendar_resource(customer, calendar_resource_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2408
|
-
command =
|
|
2408
|
+
command = make_simple_command(:get, 'customer/{customer}/resources/calendars/{calendarResourceId}', options)
|
|
2409
2409
|
command.response_representation = Google::Apis::AdminDirectoryV1::CalendarResource::Representation
|
|
2410
2410
|
command.response_class = Google::Apis::AdminDirectoryV1::CalendarResource
|
|
2411
2411
|
command.params['customer'] = customer unless customer.nil?
|
|
@@ -2441,7 +2441,7 @@ module Google
|
|
|
2441
2441
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2442
2442
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2443
2443
|
def calendar_resource(customer, calendar_resource_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2444
|
-
command =
|
|
2444
|
+
command = make_simple_command(:post, 'customer/{customer}/resources/calendars', options)
|
|
2445
2445
|
command.request_representation = Google::Apis::AdminDirectoryV1::CalendarResource::Representation
|
|
2446
2446
|
command.request_object = calendar_resource_object
|
|
2447
2447
|
command.response_representation = Google::Apis::AdminDirectoryV1::CalendarResource::Representation
|
|
@@ -2496,7 +2496,7 @@ module Google
|
|
|
2496
2496
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2497
2497
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2498
2498
|
def list_calendar_resources(customer, max_results: nil, order_by: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2499
|
-
command =
|
|
2499
|
+
command = make_simple_command(:get, 'customer/{customer}/resources/calendars', options)
|
|
2500
2500
|
command.response_representation = Google::Apis::AdminDirectoryV1::CalendarResources::Representation
|
|
2501
2501
|
command.response_class = Google::Apis::AdminDirectoryV1::CalendarResources
|
|
2502
2502
|
command.params['customer'] = customer unless customer.nil?
|
|
@@ -2540,7 +2540,7 @@ module Google
|
|
|
2540
2540
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2541
2541
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2542
2542
|
def patch_calendar_resource(customer, calendar_resource_id, calendar_resource_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2543
|
-
command =
|
|
2543
|
+
command = make_simple_command(:patch, 'customer/{customer}/resources/calendars/{calendarResourceId}', options)
|
|
2544
2544
|
command.request_representation = Google::Apis::AdminDirectoryV1::CalendarResource::Representation
|
|
2545
2545
|
command.request_object = calendar_resource_object
|
|
2546
2546
|
command.response_representation = Google::Apis::AdminDirectoryV1::CalendarResource::Representation
|
|
@@ -2583,7 +2583,7 @@ module Google
|
|
|
2583
2583
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2584
2584
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2585
2585
|
def update_calendar_resource(customer, calendar_resource_id, calendar_resource_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2586
|
-
command =
|
|
2586
|
+
command = make_simple_command(:put, 'customer/{customer}/resources/calendars/{calendarResourceId}', options)
|
|
2587
2587
|
command.request_representation = Google::Apis::AdminDirectoryV1::CalendarResource::Representation
|
|
2588
2588
|
command.request_object = calendar_resource_object
|
|
2589
2589
|
command.response_representation = Google::Apis::AdminDirectoryV1::CalendarResource::Representation
|
|
@@ -2622,7 +2622,7 @@ module Google
|
|
|
2622
2622
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2623
2623
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2624
2624
|
def delete_resource_feature(customer, feature_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2625
|
-
command =
|
|
2625
|
+
command = make_simple_command(:delete, 'customer/{customer}/resources/features/{featureKey}', options)
|
|
2626
2626
|
command.params['customer'] = customer unless customer.nil?
|
|
2627
2627
|
command.params['featureKey'] = feature_key unless feature_key.nil?
|
|
2628
2628
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -2657,7 +2657,7 @@ module Google
|
|
|
2657
2657
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2658
2658
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2659
2659
|
def get_resource_feature(customer, feature_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2660
|
-
command =
|
|
2660
|
+
command = make_simple_command(:get, 'customer/{customer}/resources/features/{featureKey}', options)
|
|
2661
2661
|
command.response_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
|
|
2662
2662
|
command.response_class = Google::Apis::AdminDirectoryV1::Feature
|
|
2663
2663
|
command.params['customer'] = customer unless customer.nil?
|
|
@@ -2693,7 +2693,7 @@ module Google
|
|
|
2693
2693
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2694
2694
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2695
2695
|
def insert_resource_feature(customer, feature_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2696
|
-
command =
|
|
2696
|
+
command = make_simple_command(:post, 'customer/{customer}/resources/features', options)
|
|
2697
2697
|
command.request_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
|
|
2698
2698
|
command.request_object = feature_object
|
|
2699
2699
|
command.response_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
|
|
@@ -2733,7 +2733,7 @@ module Google
|
|
|
2733
2733
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2734
2734
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2735
2735
|
def list_resource_features(customer, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2736
|
-
command =
|
|
2736
|
+
command = make_simple_command(:get, 'customer/{customer}/resources/features', options)
|
|
2737
2737
|
command.response_representation = Google::Apis::AdminDirectoryV1::Features::Representation
|
|
2738
2738
|
command.response_class = Google::Apis::AdminDirectoryV1::Features
|
|
2739
2739
|
command.params['customer'] = customer unless customer.nil?
|
|
@@ -2772,7 +2772,7 @@ module Google
|
|
|
2772
2772
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2773
2773
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2774
2774
|
def patch_resource_feature(customer, feature_key, feature_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2775
|
-
command =
|
|
2775
|
+
command = make_simple_command(:patch, 'customer/{customer}/resources/features/{featureKey}', options)
|
|
2776
2776
|
command.request_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
|
|
2777
2777
|
command.request_object = feature_object
|
|
2778
2778
|
command.response_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
|
|
@@ -2812,7 +2812,7 @@ module Google
|
|
|
2812
2812
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2813
2813
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2814
2814
|
def rename_resource_feature(customer, old_name, feature_rename_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2815
|
-
command =
|
|
2815
|
+
command = make_simple_command(:post, 'customer/{customer}/resources/features/{oldName}/rename', options)
|
|
2816
2816
|
command.request_representation = Google::Apis::AdminDirectoryV1::FeatureRename::Representation
|
|
2817
2817
|
command.request_object = feature_rename_object
|
|
2818
2818
|
command.params['customer'] = customer unless customer.nil?
|
|
@@ -2850,7 +2850,7 @@ module Google
|
|
|
2850
2850
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2851
2851
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2852
2852
|
def update_resource_feature(customer, feature_key, feature_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2853
|
-
command =
|
|
2853
|
+
command = make_simple_command(:put, 'customer/{customer}/resources/features/{featureKey}', options)
|
|
2854
2854
|
command.request_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
|
|
2855
2855
|
command.request_object = feature_object
|
|
2856
2856
|
command.response_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
|
|
@@ -2888,7 +2888,7 @@ module Google
|
|
|
2888
2888
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2889
2889
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2890
2890
|
def delete_role_assignment(customer, role_assignment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2891
|
-
command =
|
|
2891
|
+
command = make_simple_command(:delete, 'customer/{customer}/roleassignments/{roleAssignmentId}', options)
|
|
2892
2892
|
command.params['customer'] = customer unless customer.nil?
|
|
2893
2893
|
command.params['roleAssignmentId'] = role_assignment_id unless role_assignment_id.nil?
|
|
2894
2894
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -2922,7 +2922,7 @@ module Google
|
|
|
2922
2922
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2923
2923
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2924
2924
|
def get_role_assignment(customer, role_assignment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2925
|
-
command =
|
|
2925
|
+
command = make_simple_command(:get, 'customer/{customer}/roleassignments/{roleAssignmentId}', options)
|
|
2926
2926
|
command.response_representation = Google::Apis::AdminDirectoryV1::RoleAssignment::Representation
|
|
2927
2927
|
command.response_class = Google::Apis::AdminDirectoryV1::RoleAssignment
|
|
2928
2928
|
command.params['customer'] = customer unless customer.nil?
|
|
@@ -2957,7 +2957,7 @@ module Google
|
|
|
2957
2957
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2958
2958
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2959
2959
|
def insert_role_assignment(customer, role_assignment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2960
|
-
command =
|
|
2960
|
+
command = make_simple_command(:post, 'customer/{customer}/roleassignments', options)
|
|
2961
2961
|
command.request_representation = Google::Apis::AdminDirectoryV1::RoleAssignment::Representation
|
|
2962
2962
|
command.request_object = role_assignment_object
|
|
2963
2963
|
command.response_representation = Google::Apis::AdminDirectoryV1::RoleAssignment::Representation
|
|
@@ -3002,7 +3002,7 @@ module Google
|
|
|
3002
3002
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3003
3003
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3004
3004
|
def list_role_assignments(customer, max_results: nil, page_token: nil, role_id: nil, user_key: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3005
|
-
command =
|
|
3005
|
+
command = make_simple_command(:get, 'customer/{customer}/roleassignments', options)
|
|
3006
3006
|
command.response_representation = Google::Apis::AdminDirectoryV1::RoleAssignments::Representation
|
|
3007
3007
|
command.response_class = Google::Apis::AdminDirectoryV1::RoleAssignments
|
|
3008
3008
|
command.params['customer'] = customer unless customer.nil?
|
|
@@ -3041,7 +3041,7 @@ module Google
|
|
|
3041
3041
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3042
3042
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3043
3043
|
def delete_role(customer, role_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3044
|
-
command =
|
|
3044
|
+
command = make_simple_command(:delete, 'customer/{customer}/roles/{roleId}', options)
|
|
3045
3045
|
command.params['customer'] = customer unless customer.nil?
|
|
3046
3046
|
command.params['roleId'] = role_id unless role_id.nil?
|
|
3047
3047
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -3075,7 +3075,7 @@ module Google
|
|
|
3075
3075
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3076
3076
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3077
3077
|
def get_role(customer, role_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3078
|
-
command =
|
|
3078
|
+
command = make_simple_command(:get, 'customer/{customer}/roles/{roleId}', options)
|
|
3079
3079
|
command.response_representation = Google::Apis::AdminDirectoryV1::Role::Representation
|
|
3080
3080
|
command.response_class = Google::Apis::AdminDirectoryV1::Role
|
|
3081
3081
|
command.params['customer'] = customer unless customer.nil?
|
|
@@ -3110,7 +3110,7 @@ module Google
|
|
|
3110
3110
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3111
3111
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3112
3112
|
def insert_role(customer, role_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3113
|
-
command =
|
|
3113
|
+
command = make_simple_command(:post, 'customer/{customer}/roles', options)
|
|
3114
3114
|
command.request_representation = Google::Apis::AdminDirectoryV1::Role::Representation
|
|
3115
3115
|
command.request_object = role_object
|
|
3116
3116
|
command.response_representation = Google::Apis::AdminDirectoryV1::Role::Representation
|
|
@@ -3149,7 +3149,7 @@ module Google
|
|
|
3149
3149
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3150
3150
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3151
3151
|
def list_roles(customer, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3152
|
-
command =
|
|
3152
|
+
command = make_simple_command(:get, 'customer/{customer}/roles', options)
|
|
3153
3153
|
command.response_representation = Google::Apis::AdminDirectoryV1::Roles::Representation
|
|
3154
3154
|
command.response_class = Google::Apis::AdminDirectoryV1::Roles
|
|
3155
3155
|
command.params['customer'] = customer unless customer.nil?
|
|
@@ -3187,7 +3187,7 @@ module Google
|
|
|
3187
3187
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3188
3188
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3189
3189
|
def patch_role(customer, role_id, role_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3190
|
-
command =
|
|
3190
|
+
command = make_simple_command(:patch, 'customer/{customer}/roles/{roleId}', options)
|
|
3191
3191
|
command.request_representation = Google::Apis::AdminDirectoryV1::Role::Representation
|
|
3192
3192
|
command.request_object = role_object
|
|
3193
3193
|
command.response_representation = Google::Apis::AdminDirectoryV1::Role::Representation
|
|
@@ -3226,7 +3226,7 @@ module Google
|
|
|
3226
3226
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3227
3227
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3228
3228
|
def update_role(customer, role_id, role_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3229
|
-
command =
|
|
3229
|
+
command = make_simple_command(:put, 'customer/{customer}/roles/{roleId}', options)
|
|
3230
3230
|
command.request_representation = Google::Apis::AdminDirectoryV1::Role::Representation
|
|
3231
3231
|
command.request_object = role_object
|
|
3232
3232
|
command.response_representation = Google::Apis::AdminDirectoryV1::Role::Representation
|
|
@@ -3264,7 +3264,7 @@ module Google
|
|
|
3264
3264
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3265
3265
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3266
3266
|
def delete_schema(customer_id, schema_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3267
|
-
command =
|
|
3267
|
+
command = make_simple_command(:delete, 'customer/{customerId}/schemas/{schemaKey}', options)
|
|
3268
3268
|
command.params['customerId'] = customer_id unless customer_id.nil?
|
|
3269
3269
|
command.params['schemaKey'] = schema_key unless schema_key.nil?
|
|
3270
3270
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -3298,7 +3298,7 @@ module Google
|
|
|
3298
3298
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3299
3299
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3300
3300
|
def get_schema(customer_id, schema_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3301
|
-
command =
|
|
3301
|
+
command = make_simple_command(:get, 'customer/{customerId}/schemas/{schemaKey}', options)
|
|
3302
3302
|
command.response_representation = Google::Apis::AdminDirectoryV1::Schema::Representation
|
|
3303
3303
|
command.response_class = Google::Apis::AdminDirectoryV1::Schema
|
|
3304
3304
|
command.params['customerId'] = customer_id unless customer_id.nil?
|
|
@@ -3333,7 +3333,7 @@ module Google
|
|
|
3333
3333
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3334
3334
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3335
3335
|
def insert_schema(customer_id, schema_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3336
|
-
command =
|
|
3336
|
+
command = make_simple_command(:post, 'customer/{customerId}/schemas', options)
|
|
3337
3337
|
command.request_representation = Google::Apis::AdminDirectoryV1::Schema::Representation
|
|
3338
3338
|
command.request_object = schema_object
|
|
3339
3339
|
command.response_representation = Google::Apis::AdminDirectoryV1::Schema::Representation
|
|
@@ -3368,7 +3368,7 @@ module Google
|
|
|
3368
3368
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3369
3369
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3370
3370
|
def list_schemas(customer_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3371
|
-
command =
|
|
3371
|
+
command = make_simple_command(:get, 'customer/{customerId}/schemas', options)
|
|
3372
3372
|
command.response_representation = Google::Apis::AdminDirectoryV1::Schemas::Representation
|
|
3373
3373
|
command.response_class = Google::Apis::AdminDirectoryV1::Schemas
|
|
3374
3374
|
command.params['customerId'] = customer_id unless customer_id.nil?
|
|
@@ -3404,7 +3404,7 @@ module Google
|
|
|
3404
3404
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3405
3405
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3406
3406
|
def patch_schema(customer_id, schema_key, schema_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3407
|
-
command =
|
|
3407
|
+
command = make_simple_command(:patch, 'customer/{customerId}/schemas/{schemaKey}', options)
|
|
3408
3408
|
command.request_representation = Google::Apis::AdminDirectoryV1::Schema::Representation
|
|
3409
3409
|
command.request_object = schema_object
|
|
3410
3410
|
command.response_representation = Google::Apis::AdminDirectoryV1::Schema::Representation
|
|
@@ -3443,7 +3443,7 @@ module Google
|
|
|
3443
3443
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3444
3444
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3445
3445
|
def update_schema(customer_id, schema_key, schema_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3446
|
-
command =
|
|
3446
|
+
command = make_simple_command(:put, 'customer/{customerId}/schemas/{schemaKey}', options)
|
|
3447
3447
|
command.request_representation = Google::Apis::AdminDirectoryV1::Schema::Representation
|
|
3448
3448
|
command.request_object = schema_object
|
|
3449
3449
|
command.response_representation = Google::Apis::AdminDirectoryV1::Schema::Representation
|
|
@@ -3482,7 +3482,7 @@ module Google
|
|
|
3482
3482
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3483
3483
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3484
3484
|
def delete_token(user_key, client_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3485
|
-
command =
|
|
3485
|
+
command = make_simple_command(:delete, 'users/{userKey}/tokens/{clientId}', options)
|
|
3486
3486
|
command.params['userKey'] = user_key unless user_key.nil?
|
|
3487
3487
|
command.params['clientId'] = client_id unless client_id.nil?
|
|
3488
3488
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -3517,7 +3517,7 @@ module Google
|
|
|
3517
3517
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3518
3518
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3519
3519
|
def get_token(user_key, client_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3520
|
-
command =
|
|
3520
|
+
command = make_simple_command(:get, 'users/{userKey}/tokens/{clientId}', options)
|
|
3521
3521
|
command.response_representation = Google::Apis::AdminDirectoryV1::Token::Representation
|
|
3522
3522
|
command.response_class = Google::Apis::AdminDirectoryV1::Token
|
|
3523
3523
|
command.params['userKey'] = user_key unless user_key.nil?
|
|
@@ -3552,7 +3552,7 @@ module Google
|
|
|
3552
3552
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3553
3553
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3554
3554
|
def list_tokens(user_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3555
|
-
command =
|
|
3555
|
+
command = make_simple_command(:get, 'users/{userKey}/tokens', options)
|
|
3556
3556
|
command.response_representation = Google::Apis::AdminDirectoryV1::Tokens::Representation
|
|
3557
3557
|
command.response_class = Google::Apis::AdminDirectoryV1::Tokens
|
|
3558
3558
|
command.params['userKey'] = user_key unless user_key.nil?
|
|
@@ -3585,7 +3585,7 @@ module Google
|
|
|
3585
3585
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3586
3586
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3587
3587
|
def delete_user(user_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3588
|
-
command =
|
|
3588
|
+
command = make_simple_command(:delete, 'users/{userKey}', options)
|
|
3589
3589
|
command.params['userKey'] = user_key unless user_key.nil?
|
|
3590
3590
|
command.query['fields'] = fields unless fields.nil?
|
|
3591
3591
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -3623,7 +3623,7 @@ module Google
|
|
|
3623
3623
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3624
3624
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3625
3625
|
def get_user(user_key, custom_field_mask: nil, projection: nil, view_type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3626
|
-
command =
|
|
3626
|
+
command = make_simple_command(:get, 'users/{userKey}', options)
|
|
3627
3627
|
command.response_representation = Google::Apis::AdminDirectoryV1::User::Representation
|
|
3628
3628
|
command.response_class = Google::Apis::AdminDirectoryV1::User
|
|
3629
3629
|
command.params['userKey'] = user_key unless user_key.nil?
|
|
@@ -3658,7 +3658,7 @@ module Google
|
|
|
3658
3658
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3659
3659
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3660
3660
|
def insert_user(user_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3661
|
-
command =
|
|
3661
|
+
command = make_simple_command(:post, 'users', options)
|
|
3662
3662
|
command.request_representation = Google::Apis::AdminDirectoryV1::User::Representation
|
|
3663
3663
|
command.request_object = user_object
|
|
3664
3664
|
command.response_representation = Google::Apis::AdminDirectoryV1::User::Representation
|
|
@@ -3718,7 +3718,7 @@ module Google
|
|
|
3718
3718
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3719
3719
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3720
3720
|
def list_users(custom_field_mask: nil, customer: nil, domain: nil, event: nil, max_results: nil, order_by: nil, page_token: nil, projection: nil, query: nil, show_deleted: nil, sort_order: nil, view_type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3721
|
-
command =
|
|
3721
|
+
command = make_simple_command(:get, 'users', options)
|
|
3722
3722
|
command.response_representation = Google::Apis::AdminDirectoryV1::Users::Representation
|
|
3723
3723
|
command.response_class = Google::Apis::AdminDirectoryV1::Users
|
|
3724
3724
|
command.query['customFieldMask'] = custom_field_mask unless custom_field_mask.nil?
|
|
@@ -3763,7 +3763,7 @@ module Google
|
|
|
3763
3763
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3764
3764
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3765
3765
|
def make_user_admin(user_key, user_make_admin_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3766
|
-
command =
|
|
3766
|
+
command = make_simple_command(:post, 'users/{userKey}/makeAdmin', options)
|
|
3767
3767
|
command.request_representation = Google::Apis::AdminDirectoryV1::UserMakeAdmin::Representation
|
|
3768
3768
|
command.request_object = user_make_admin_object
|
|
3769
3769
|
command.params['userKey'] = user_key unless user_key.nil?
|
|
@@ -3798,7 +3798,7 @@ module Google
|
|
|
3798
3798
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3799
3799
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3800
3800
|
def patch_user(user_key, user_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3801
|
-
command =
|
|
3801
|
+
command = make_simple_command(:patch, 'users/{userKey}', options)
|
|
3802
3802
|
command.request_representation = Google::Apis::AdminDirectoryV1::User::Representation
|
|
3803
3803
|
command.request_object = user_object
|
|
3804
3804
|
command.response_representation = Google::Apis::AdminDirectoryV1::User::Representation
|
|
@@ -3834,7 +3834,7 @@ module Google
|
|
|
3834
3834
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3835
3835
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3836
3836
|
def undelete_user(user_key, user_undelete_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3837
|
-
command =
|
|
3837
|
+
command = make_simple_command(:post, 'users/{userKey}/undelete', options)
|
|
3838
3838
|
command.request_representation = Google::Apis::AdminDirectoryV1::UserUndelete::Representation
|
|
3839
3839
|
command.request_object = user_undelete_object
|
|
3840
3840
|
command.params['userKey'] = user_key unless user_key.nil?
|
|
@@ -3869,7 +3869,7 @@ module Google
|
|
|
3869
3869
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3870
3870
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3871
3871
|
def update_user(user_key, user_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3872
|
-
command =
|
|
3872
|
+
command = make_simple_command(:put, 'users/{userKey}', options)
|
|
3873
3873
|
command.request_representation = Google::Apis::AdminDirectoryV1::User::Representation
|
|
3874
3874
|
command.request_object = user_object
|
|
3875
3875
|
command.response_representation = Google::Apis::AdminDirectoryV1::User::Representation
|
|
@@ -3931,7 +3931,7 @@ module Google
|
|
|
3931
3931
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3932
3932
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3933
3933
|
def watch_user(channel_object = nil, custom_field_mask: nil, customer: nil, domain: nil, event: nil, max_results: nil, order_by: nil, page_token: nil, projection: nil, query: nil, show_deleted: nil, sort_order: nil, view_type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3934
|
-
command =
|
|
3934
|
+
command = make_simple_command(:post, 'users/watch', options)
|
|
3935
3935
|
command.request_representation = Google::Apis::AdminDirectoryV1::Channel::Representation
|
|
3936
3936
|
command.request_object = channel_object
|
|
3937
3937
|
command.response_representation = Google::Apis::AdminDirectoryV1::Channel::Representation
|
|
@@ -3979,7 +3979,7 @@ module Google
|
|
|
3979
3979
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3980
3980
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3981
3981
|
def delete_user_alias(user_key, user_alias, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3982
|
-
command =
|
|
3982
|
+
command = make_simple_command(:delete, 'users/{userKey}/aliases/{alias}', options)
|
|
3983
3983
|
command.params['userKey'] = user_key unless user_key.nil?
|
|
3984
3984
|
command.params['alias'] = user_alias unless user_alias.nil?
|
|
3985
3985
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -4012,7 +4012,7 @@ module Google
|
|
|
4012
4012
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4013
4013
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4014
4014
|
def insert_user_alias(user_key, alias_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4015
|
-
command =
|
|
4015
|
+
command = make_simple_command(:post, 'users/{userKey}/aliases', options)
|
|
4016
4016
|
command.request_representation = Google::Apis::AdminDirectoryV1::Alias::Representation
|
|
4017
4017
|
command.request_object = alias_object
|
|
4018
4018
|
command.response_representation = Google::Apis::AdminDirectoryV1::Alias::Representation
|
|
@@ -4049,7 +4049,7 @@ module Google
|
|
|
4049
4049
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4050
4050
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4051
4051
|
def list_user_aliases(user_key, event: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4052
|
-
command =
|
|
4052
|
+
command = make_simple_command(:get, 'users/{userKey}/aliases', options)
|
|
4053
4053
|
command.response_representation = Google::Apis::AdminDirectoryV1::Aliases::Representation
|
|
4054
4054
|
command.response_class = Google::Apis::AdminDirectoryV1::Aliases
|
|
4055
4055
|
command.params['userKey'] = user_key unless user_key.nil?
|
|
@@ -4086,7 +4086,7 @@ module Google
|
|
|
4086
4086
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4087
4087
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4088
4088
|
def watch_user_alias(user_key, channel_object = nil, event: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4089
|
-
command =
|
|
4089
|
+
command = make_simple_command(:post, 'users/{userKey}/aliases/watch', options)
|
|
4090
4090
|
command.request_representation = Google::Apis::AdminDirectoryV1::Channel::Representation
|
|
4091
4091
|
command.request_object = channel_object
|
|
4092
4092
|
command.response_representation = Google::Apis::AdminDirectoryV1::Channel::Representation
|
|
@@ -4122,7 +4122,7 @@ module Google
|
|
|
4122
4122
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4123
4123
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4124
4124
|
def delete_user_photo(user_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4125
|
-
command =
|
|
4125
|
+
command = make_simple_command(:delete, 'users/{userKey}/photos/thumbnail', options)
|
|
4126
4126
|
command.params['userKey'] = user_key unless user_key.nil?
|
|
4127
4127
|
command.query['fields'] = fields unless fields.nil?
|
|
4128
4128
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -4153,7 +4153,7 @@ module Google
|
|
|
4153
4153
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4154
4154
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4155
4155
|
def get_user_photo(user_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4156
|
-
command =
|
|
4156
|
+
command = make_simple_command(:get, 'users/{userKey}/photos/thumbnail', options)
|
|
4157
4157
|
command.response_representation = Google::Apis::AdminDirectoryV1::UserPhoto::Representation
|
|
4158
4158
|
command.response_class = Google::Apis::AdminDirectoryV1::UserPhoto
|
|
4159
4159
|
command.params['userKey'] = user_key unless user_key.nil?
|
|
@@ -4187,7 +4187,7 @@ module Google
|
|
|
4187
4187
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4188
4188
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4189
4189
|
def patch_user_photo(user_key, user_photo_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4190
|
-
command =
|
|
4190
|
+
command = make_simple_command(:patch, 'users/{userKey}/photos/thumbnail', options)
|
|
4191
4191
|
command.request_representation = Google::Apis::AdminDirectoryV1::UserPhoto::Representation
|
|
4192
4192
|
command.request_object = user_photo_object
|
|
4193
4193
|
command.response_representation = Google::Apis::AdminDirectoryV1::UserPhoto::Representation
|
|
@@ -4223,7 +4223,7 @@ module Google
|
|
|
4223
4223
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4224
4224
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4225
4225
|
def update_user_photo(user_key, user_photo_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4226
|
-
command =
|
|
4226
|
+
command = make_simple_command(:put, 'users/{userKey}/photos/thumbnail', options)
|
|
4227
4227
|
command.request_representation = Google::Apis::AdminDirectoryV1::UserPhoto::Representation
|
|
4228
4228
|
command.request_object = user_photo_object
|
|
4229
4229
|
command.response_representation = Google::Apis::AdminDirectoryV1::UserPhoto::Representation
|
|
@@ -4258,7 +4258,7 @@ module Google
|
|
|
4258
4258
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4259
4259
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4260
4260
|
def generate_verification_code(user_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4261
|
-
command =
|
|
4261
|
+
command = make_simple_command(:post, 'users/{userKey}/verificationCodes/generate', options)
|
|
4262
4262
|
command.params['userKey'] = user_key unless user_key.nil?
|
|
4263
4263
|
command.query['fields'] = fields unless fields.nil?
|
|
4264
4264
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -4289,7 +4289,7 @@ module Google
|
|
|
4289
4289
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4290
4290
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4291
4291
|
def invalidate_verification_code(user_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4292
|
-
command =
|
|
4292
|
+
command = make_simple_command(:post, 'users/{userKey}/verificationCodes/invalidate', options)
|
|
4293
4293
|
command.params['userKey'] = user_key unless user_key.nil?
|
|
4294
4294
|
command.query['fields'] = fields unless fields.nil?
|
|
4295
4295
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -4322,7 +4322,7 @@ module Google
|
|
|
4322
4322
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4323
4323
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4324
4324
|
def list_verification_codes(user_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4325
|
-
command =
|
|
4325
|
+
command = make_simple_command(:get, 'users/{userKey}/verificationCodes', options)
|
|
4326
4326
|
command.response_representation = Google::Apis::AdminDirectoryV1::VerificationCodes::Representation
|
|
4327
4327
|
command.response_class = Google::Apis::AdminDirectoryV1::VerificationCodes
|
|
4328
4328
|
command.params['userKey'] = user_key unless user_key.nil?
|