From bd88717a5526f0db721e8f4309ef06d142894844 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 8 Aug 2021 04:20:24 -0700 Subject: [PATCH] Autogenerated update (#435) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2021-08-08 04:14:22,701 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-php-client-services/synth.py. On branch autosynth-all nothing to commit, working tree clean 2021-08-08 04:14:22,761 synthtool [DEBUG] > Cloning https://github.com/googleapis/discovery-artifact-manager.git. DEBUG:synthtool:Cloning https://github.com/googleapis/discovery-artifact-manager.git. 2021-08-08 04:14:37,275 synthtool [DEBUG] > Cleaning output directory. DEBUG:synthtool:Cleaning output directory. 2021-08-08 04:14:37,277 synthtool [DEBUG] > Installing dependencies. DEBUG:synthtool:Installing dependencies. 2021-08-08 04:14:43,757 synthtool [INFO] > Generating abusiveexperiencereport v1 (default). INFO:synthtool:Generating abusiveexperiencereport v1 (default). 2021-08-08 04:14:44,143 synthtool [INFO] > Generating acceleratedmobilepageurl v1 (default). INFO:synthtool:Generating acceleratedmobilepageurl v1 (default). 2021-08-08 04:14:44,477 synthtool [INFO] > Generating accessapproval v1 (default). INFO:synthtool:Generating accessapproval v1 (default). 2021-08-08 04:14:44,920 synthtool [INFO] > Generating accesscontextmanager v1 (default). INFO:synthtool:Generating accesscontextmanager v1 (default). 2021-08-08 04:14:45,546 synthtool [INFO] > Generating adexchangebuyer v1.4 (default). INFO:synthtool:Generating adexchangebuyer v1.4 (default). 2021-08-08 04:14:46,562 synthtool [INFO] > Generating adexchangebuyer2 v2beta1 (default). INFO:synthtool:Generating adexchangebuyer2 v2beta1 (default). 2021-08-08 04:14:47,908 synthtool [INFO] > Generating adexperiencereport v1 (default). INFO:synthtool:Generating adexperiencereport v1 (default). 2021-08-08 04:14:48,243 synthtool [INFO] > Generating admin datatransfer_v1 (default). INFO:synthtool:Generating admin datatransfer_v1 (default). 2021-08-08 04:14:48,606 synthtool [INFO] > Generating admin directory_v1 (default). INFO:synthtool:Generating admin directory_v1 (default). 2021-08-08 04:14:50,069 synthtool [INFO] > Generating admin reports_v1 (default). INFO:synthtool:Generating admin reports_v1 (default). 2021-08-08 04:14:50,541 synthtool [INFO] > Generating admob v1 (default). INFO:synthtool:Generating admob v1 (default). 2021-08-08 04:14:51,043 synthtool [INFO] > Generating adsense v2 (default). INFO:synthtool:Generating adsense v2 (default). 2021-08-08 04:14:51,666 synthtool [INFO] > Generating adsensehost v4.1 (default). INFO:synthtool:Generating adsensehost v4.1 (default). 2021-08-08 04:14:52,208 synthtool [INFO] > Generating alertcenter v1beta1 (default). INFO:synthtool:Generating alertcenter v1beta1 (default). 2021-08-08 04:14:52,845 synthtool [INFO] > Generating analytics v3 (default). INFO:synthtool:Generating analytics v3 (default). 2021-08-08 04:14:54,415 synthtool [INFO] > Generating analyticsadmin v1alpha (default). INFO:synthtool:Generating analyticsadmin v1alpha (default). 2021-08-08 04:14:55,442 synthtool [INFO] > Generating analyticsdata v1beta (default). INFO:synthtool:Generating analyticsdata v1beta (default). 2021-08-08 04:14:56,071 synthtool [INFO] > Generating analyticsreporting v4 (default). INFO:synthtool:Generating analyticsreporting v4 (default). 2021-08-08 04:14:56,699 synthtool [INFO] > Generating androiddeviceprovisioning v1 (default). INFO:synthtool:Generating androiddeviceprovisioning v1 (default). 2021-08-08 04:14:57,338 synthtool [INFO] > Generating androidenterprise v1 (default). INFO:synthtool:Generating androidenterprise v1 (default). 2021-08-08 04:14:58,450 synthtool [INFO] > Generating androidmanagement v1 (default). INFO:synthtool:Generating androidmanagement v1 (default). 2021-08-08 04:14:59,450 synthtool [INFO] > Generating androidpublisher v3 (default). INFO:synthtool:Generating androidpublisher v3 (default). 2021-08-08 04:15:00,404 synthtool [INFO] > Generating apigateway v1 (default). INFO:synthtool:Generating apigateway v1 (default). 2021-08-08 04:15:00,985 synthtool [INFO] > Generating apigee v1 (default). INFO:synthtool:Generating apigee v1 (default). 2021-08-08 04:15:03,433 synthtool [INFO] > Generating apikeys v2 (default). INFO:synthtool:Generating apikeys v2 (default). 2021-08-08 04:15:03,863 synthtool [INFO] > Generating appengine v1 (default). INFO:synthtool:Generating appengine v1 (default). 2021-08-08 04:15:04,814 synthtool [INFO] > Generating area120tables v1alpha1 (default). INFO:synthtool:Generating area120tables v1alpha1 (default). 2021-08-08 04:15:05,265 synthtool [INFO] > Generating artifactregistry v1 (default). INFO:synthtool:Generating artifactregistry v1 (default). 2021-08-08 04:15:05,715 synthtool [INFO] > Generating assuredworkloads v1 (default). INFO:synthtool:Generating assuredworkloads v1 (default). 2021-08-08 04:15:06,178 synthtool [INFO] > Generating baremetalsolution v1 (default). INFO:synthtool:Generating baremetalsolution v1 (default). 2021-08-08 04:15:06,501 synthtool [INFO] > Generating bigquery v2 (default). INFO:synthtool:Generating bigquery v2 (default). 2021-08-08 04:15:08,055 synthtool [INFO] > Generating bigqueryconnection v1beta1 (default). INFO:synthtool:Generating bigqueryconnection v1beta1 (default). 2021-08-08 04:15:08,484 synthtool [INFO] > Generating bigquerydatatransfer v1 (default). INFO:synthtool:Generating bigquerydatatransfer v1 (default). 2021-08-08 04:15:09,077 synthtool [INFO] > Generating bigqueryreservation v1 (default). INFO:synthtool:Generating bigqueryreservation v1 (default). 2021-08-08 04:15:09,545 synthtool [INFO] > Generating bigtableadmin v2 (default). INFO:synthtool:Generating bigtableadmin v2 (default). 2021-08-08 04:15:10,387 synthtool [INFO] > Generating billingbudgets v1 (default). INFO:synthtool:Generating billingbudgets v1 (default). 2021-08-08 04:15:10,778 synthtool [INFO] > Generating binaryauthorization v1 (default). INFO:synthtool:Generating binaryauthorization v1 (default). 2021-08-08 04:15:11,268 synthtool [INFO] > Generating blogger v3 (default). INFO:synthtool:Generating blogger v3 (default). 2021-08-08 04:15:11,965 synthtool [INFO] > Generating books v1 (default). INFO:synthtool:Generating books v1 (default). 2021-08-08 04:15:13,322 synthtool [INFO] > Generating calendar v3 (default). INFO:synthtool:Generating calendar v3 (default). 2021-08-08 04:15:14,108 synthtool [INFO] > Generating chat v1 (default). INFO:synthtool:Generating chat v1 (default). 2021-08-08 04:15:14,906 synthtool [INFO] > Generating chromemanagement v1 (default). INFO:synthtool:Generating chromemanagement v1 (default). 2021-08-08 04:15:15,347 synthtool [INFO] > Generating chromepolicy v1 (default). INFO:synthtool:Generating chromepolicy v1 (default). 2021-08-08 04:15:15,820 synthtool [INFO] > Generating chromeuxreport v1 (default). INFO:synthtool:Generating chromeuxreport v1 (default). 2021-08-08 04:15:16,187 synthtool [INFO] > Generating civicinfo v2 (default). INFO:synthtool:Generating civicinfo v2 (default). 2021-08-08 04:15:16,675 synthtool [INFO] > Generating classroom v1 (default). INFO:synthtool:Generating classroom v1 (default). 2021-08-08 04:15:17,623 synthtool [INFO] > Generating cloudasset v1 (default). INFO:synthtool:Generating cloudasset v1 (default). 2021-08-08 04:15:18,613 synthtool [INFO] > Generating cloudbilling v1 (default). INFO:synthtool:Generating cloudbilling v1 (default). 2021-08-08 04:15:19,102 synthtool [INFO] > Generating cloudbuild v1 (default). INFO:synthtool:Generating cloudbuild v1 (default). 2021-08-08 04:15:20,038 synthtool [INFO] > Generating cloudchannel v1 (default). INFO:synthtool:Generating cloudchannel v1 (default). 2021-08-08 04:15:21,052 synthtool [INFO] > Generating clouddebugger v2 (default). INFO:synthtool:Generating clouddebugger v2 (default). 2021-08-08 04:15:21,566 synthtool [INFO] > Generating clouderrorreporting v1beta1 (default). INFO:synthtool:Generating clouderrorreporting v1beta1 (default). 2021-08-08 04:15:22,000 synthtool [INFO] > Generating cloudfunctions v1 (default). INFO:synthtool:Generating cloudfunctions v1 (default). 2021-08-08 04:15:22,539 synthtool [INFO] > Generating cloudidentity v1 (default). INFO:synthtool:Generating cloudidentity v1 (default). 2021-08-08 04:15:23,274 synthtool [INFO] > Generating cloudiot v1 (default). INFO:synthtool:Generating cloudiot v1 (default). 2021-08-08 04:15:23,882 synthtool [INFO] > Generating cloudkms v1 (default). INFO:synthtool:Generating cloudkms v1 (default). 2021-08-08 04:15:24,619 synthtool [INFO] > Generating cloudprofiler v2 (default). INFO:synthtool:Generating cloudprofiler v2 (default). 2021-08-08 04:15:24,962 synthtool [INFO] > Generating cloudresourcemanager v3 (default). INFO:synthtool:Generating cloudresourcemanager v3 (default). 2021-08-08 04:15:25,725 synthtool [INFO] > Generating cloudscheduler v1 (default). INFO:synthtool:Generating cloudscheduler v1 (default). 2021-08-08 04:15:26,174 synthtool [INFO] > Generating cloudsearch v1 (default). INFO:synthtool:Generating cloudsearch v1 (default). 2021-08-08 04:15:27,605 synthtool [INFO] > Generating cloudshell v1 (default). INFO:synthtool:Generating cloudshell v1 (default). 2021-08-08 04:15:28,039 synthtool [INFO] > Generating cloudtasks v2 (default). INFO:synthtool:Generating cloudtasks v2 (default). 2021-08-08 04:15:28,583 synthtool [INFO] > Generating cloudtrace v2 (default). INFO:synthtool:Generating cloudtrace v2 (default). 2021-08-08 04:15:29,008 synthtool [INFO] > Generating composer v1 (default). INFO:synthtool:Generating composer v1 (default). 2021-08-08 04:15:29,497 synthtool [INFO] > Generating compute v1 (default). INFO:synthtool:Generating compute v1 (default). 2021-08-08 04:15:39,177 synthtool [INFO] > Generating container v1 (default). INFO:synthtool:Generating container v1 (default). 2021-08-08 04:15:40,511 synthtool [INFO] > Generating containeranalysis v1beta1 (default). INFO:synthtool:Generating containeranalysis v1beta1 (default). 2021-08-08 04:15:41,472 synthtool [INFO] > Generating content v2.1 (default). INFO:synthtool:Generating content v2.1 (default). 2021-08-08 04:15:44,831 synthtool [INFO] > Generating customsearch v1 (default). INFO:synthtool:Generating customsearch v1 (default). 2021-08-08 04:15:45,359 synthtool [INFO] > Generating datacatalog v1 (default). INFO:synthtool:Generating datacatalog v1 (default). 2021-08-08 04:15:46,233 synthtool [INFO] > Generating dataflow v1b3 (default). INFO:synthtool:Generating dataflow v1b3 (default). 2021-08-08 04:15:47,838 synthtool [INFO] > Generating datafusion v1 (default). INFO:synthtool:Generating datafusion v1 (default). 2021-08-08 04:15:48,354 synthtool [INFO] > Generating datalabeling v1beta1 (default). INFO:synthtool:Generating datalabeling v1beta1 (default). 2021-08-08 04:15:49,994 synthtool [INFO] > Generating datamigration v1 (default). INFO:synthtool:Generating datamigration v1 (default). 2021-08-08 04:15:50,671 synthtool [INFO] > Generating dataproc v1 (default). INFO:synthtool:Generating dataproc v1 (default). 2021-08-08 04:15:51,793 synthtool [INFO] > Generating datastore v1 (default). INFO:synthtool:Generating datastore v1 (default). 2021-08-08 04:15:52,510 synthtool [INFO] > Generating deploymentmanager v2 (default). INFO:synthtool:Generating deploymentmanager v2 (default). 2021-08-08 04:15:53,148 synthtool [INFO] > Generating dfareporting v3.5 (default). INFO:synthtool:Generating dfareporting v3.5 (default). 2021-08-08 04:15:56,312 synthtool [INFO] > Generating dialogflow v3 (default). INFO:synthtool:Generating dialogflow v3 (default). 2021-08-08 04:15:59,380 synthtool [INFO] > Generating digitalassetlinks v1 (default). INFO:synthtool:Generating digitalassetlinks v1 (default). 2021-08-08 04:15:59,744 synthtool [INFO] > Generating displayvideo v1 (default). INFO:synthtool:Generating displayvideo v1 (default). 2021-08-08 04:16:02,421 synthtool [INFO] > Generating dlp v2 (default). INFO:synthtool:Generating dlp v2 (default). 2021-08-08 04:16:04,273 synthtool [INFO] > Generating dns v1 (default). INFO:synthtool:Generating dns v1 (default). 2021-08-08 04:16:04,920 synthtool [INFO] > Generating docs v1 (default). INFO:synthtool:Generating docs v1 (default). 2021-08-08 04:16:06,210 synthtool [INFO] > Generating documentai v1 (default). INFO:synthtool:Generating documentai v1 (default). 2021-08-08 04:16:07,712 synthtool [INFO] > Generating domains v1beta1 (default). INFO:synthtool:Generating domains v1beta1 (default). 2021-08-08 04:16:08,318 synthtool [INFO] > Generating domainsrdap v1 (default). INFO:synthtool:Generating domainsrdap v1 (default). 2021-08-08 04:16:08,681 synthtool [INFO] > Generating doubleclickbidmanager v1.1 (default). INFO:synthtool:Generating doubleclickbidmanager v1.1 (default). 2021-08-08 04:16:09,162 synthtool [INFO] > Generating doubleclicksearch v2 (default). INFO:synthtool:Generating doubleclicksearch v2 (default). 2021-08-08 04:16:09,626 synthtool [INFO] > Generating drive v3 (default). INFO:synthtool:Generating drive v3 (default). 2021-08-08 04:16:10,523 synthtool [INFO] > Generating driveactivity v2 (default). INFO:synthtool:Generating driveactivity v2 (default). 2021-08-08 04:16:11,126 synthtool [INFO] > Generating essentialcontacts v1 (default). INFO:synthtool:Generating essentialcontacts v1 (default). 2021-08-08 04:16:11,538 synthtool [INFO] > Generating eventarc v1 (default). INFO:synthtool:Generating eventarc v1 (default). 2021-08-08 04:16:12,038 synthtool [INFO] > Generating factchecktools v1alpha1 (default). INFO:synthtool:Generating factchecktools v1alpha1 (default). 2021-08-08 04:16:12,433 synthtool [INFO] > Generating fcm v1 (default). INFO:synthtool:Generating fcm v1 (default). 2021-08-08 04:16:12,838 synthtool [INFO] > Generating fcmdata v1beta1 (default). INFO:synthtool:Generating fcmdata v1beta1 (default). 2021-08-08 04:16:13,201 synthtool [INFO] > Generating file v1 (default). INFO:synthtool:Generating file v1 (default). 2021-08-08 04:16:13,805 synthtool [INFO] > Generating firebase v1beta1 (default). INFO:synthtool:Generating firebase v1beta1 (default). 2021-08-08 04:16:14,419 synthtool [INFO] > Generating firebaseappcheck v1beta (default). INFO:synthtool:Generating firebaseappcheck v1beta (default). 2021-08-08 04:16:14,980 synthtool [INFO] > Generating firebasedatabase v1beta (default). INFO:synthtool:Generating firebasedatabase v1beta (default). 2021-08-08 04:16:15,339 synthtool [INFO] > Generating firebasedynamiclinks v1 (default). INFO:synthtool:Generating firebasedynamiclinks v1 (default). 2021-08-08 04:16:15,810 synthtool [INFO] > Generating firebasehosting v1 (default). INFO:synthtool:Generating firebasehosting v1 (default). 2021-08-08 04:16:16,156 synthtool [INFO] > Generating firebaseml v1 (default). INFO:synthtool:Generating firebaseml v1 (default). 2021-08-08 04:16:16,504 synthtool [INFO] > Generating firebaserules v1 (default). INFO:synthtool:Generating firebaserules v1 (default). 2021-08-08 04:16:16,986 synthtool [INFO] > Generating firebasestorage v1beta (default). INFO:synthtool:Generating firebasestorage v1beta (default). 2021-08-08 04:16:17,342 synthtool [INFO] > Generating firestore v1 (default). INFO:synthtool:Generating firestore v1 (default). 2021-08-08 04:16:18,221 synthtool [INFO] > Generating fitness v1 (default). INFO:synthtool:Generating fitness v1 (default). 2021-08-08 04:16:18,735 synthtool [INFO] > Generating games v1 (default). INFO:synthtool:Generating games v1 (default). 2021-08-08 04:16:19,565 synthtool [INFO] > Generating gamesConfiguration v1configuration (default). INFO:synthtool:Generating gamesConfiguration v1configuration (default). 2021-08-08 04:16:19,979 synthtool [INFO] > Generating gamesManagement v1management (default). INFO:synthtool:Generating gamesManagement v1management (default). 2021-08-08 04:16:20,410 synthtool [INFO] > Generating gameservices v1 (default). INFO:synthtool:Generating gameservices v1 (default). 2021-08-08 04:16:21,226 synthtool [INFO] > Generating genomics v2alpha1 (default). INFO:synthtool:Generating genomics v2alpha1 (default). 2021-08-08 04:16:21,770 synthtool [INFO] > Generating gkehub v1 (default). INFO:synthtool:Generating gkehub v1 (default). 2021-08-08 04:16:22,503 synthtool [INFO] > Generating gmail v1 (default). INFO:synthtool:Generating gmail v1 (default). 2021-08-08 04:16:23,319 synthtool [INFO] > Generating gmailpostmastertools v1 (default). INFO:synthtool:Generating gmailpostmastertools v1 (default). 2021-08-08 04:16:23,686 synthtool [INFO] > Generating groupsmigration v1 (default). INFO:synthtool:Generating groupsmigration v1 (default). 2021-08-08 04:16:24,007 synthtool [INFO] > Generating groupssettings v1 (default). INFO:synthtool:Generating groupssettings v1 (default). 2021-08-08 04:16:24,361 synthtool [INFO] > Generating healthcare v1 (default). INFO:synthtool:Generating healthcare v1 (default). 2021-08-08 04:16:25,840 synthtool [INFO] > Generating homegraph v1 (default). INFO:synthtool:Generating homegraph v1 (default). 2021-08-08 04:16:26,267 synthtool [INFO] > Generating iam v1 (default). INFO:synthtool:Generating iam v1 (default). 2021-08-08 04:16:27,089 synthtool [INFO] > Generating iamcredentials v1 (default). INFO:synthtool:Generating iamcredentials v1 (default). 2021-08-08 04:16:27,452 synthtool [INFO] > Generating iap v1 (default). INFO:synthtool:Generating iap v1 (default). 2021-08-08 04:16:27,940 synthtool [INFO] > Generating ideahub v1alpha (default). INFO:synthtool:Generating ideahub v1alpha (default). 2021-08-08 04:16:28,338 synthtool [INFO] > Generating identitytoolkit v3 (default). INFO:synthtool:Generating identitytoolkit v3 (default). 2021-08-08 04:16:29,026 synthtool [INFO] > Generating indexing v3 (default). INFO:synthtool:Generating indexing v3 (default). 2021-08-08 04:16:29,356 synthtool [INFO] > Generating jobs v4 (default). INFO:synthtool:Generating jobs v4 (default). 2021-08-08 04:16:30,121 synthtool [INFO] > Generating keep v1 (default). INFO:synthtool:Generating keep v1 (default). 2021-08-08 04:16:30,536 synthtool [INFO] > Generating kgsearch v1 (default). INFO:synthtool:Generating kgsearch v1 (default). 2021-08-08 04:16:30,855 synthtool [INFO] > Generating language v1 (default). INFO:synthtool:Generating language v1 (default). 2021-08-08 04:16:31,323 synthtool [INFO] > Generating libraryagent v1 (default). INFO:synthtool:Generating libraryagent v1 (default). 2021-08-08 04:16:31,672 synthtool [INFO] > Generating licensing v1 (default). INFO:synthtool:Generating licensing v1 (default). 2021-08-08 04:16:32,032 synthtool [INFO] > Generating lifesciences v2beta (default). INFO:synthtool:Generating lifesciences v2beta (default). 2021-08-08 04:16:32,576 synthtool [INFO] > Generating localservices v1 (default). INFO:synthtool:Generating localservices v1 (default). 2021-08-08 04:16:32,961 synthtool [INFO] > Generating logging v2 (default). INFO:synthtool:Generating logging v2 (default). 2021-08-08 04:16:34,248 synthtool [INFO] > Generating managedidentities v1 (default). INFO:synthtool:Generating managedidentities v1 (default). 2021-08-08 04:16:34,967 synthtool [INFO] > Generating manufacturers v1 (default). INFO:synthtool:Generating manufacturers v1 (default). 2021-08-08 04:16:35,392 synthtool [INFO] > Generating memcache v1 (default). INFO:synthtool:Generating memcache v1 (default). 2021-08-08 04:16:36,043 synthtool [INFO] > Generating metastore v1beta (default). INFO:synthtool:Generating metastore v1beta (default). 2021-08-08 04:16:36,696 synthtool [INFO] > Generating ml v1 (default). INFO:synthtool:Generating ml v1 (default). 2021-08-08 04:16:37,708 synthtool [INFO] > Generating monitoring v3 (default). INFO:synthtool:Generating monitoring v3 (default). 2021-08-08 04:16:39,067 synthtool [INFO] > Generating mybusinessaccountmanagement v1 (default). INFO:synthtool:Generating mybusinessaccountmanagement v1 (default). 2021-08-08 04:16:39,511 synthtool [INFO] > Generating mybusinesslodging v1 (default). INFO:synthtool:Generating mybusinesslodging v1 (default). 2021-08-08 04:16:40,339 synthtool [INFO] > Generating mybusinessnotifications v1 (default). INFO:synthtool:Generating mybusinessnotifications v1 (default). 2021-08-08 04:16:40,661 synthtool [INFO] > Generating mybusinessplaceactions v1 (default). INFO:synthtool:Generating mybusinessplaceactions v1 (default). 2021-08-08 04:16:41,027 synthtool [INFO] > Generating networkconnectivity v1alpha1 (default). INFO:synthtool:Generating networkconnectivity v1alpha1 (default). 2021-08-08 04:16:41,580 synthtool [INFO] > Generating networkmanagement v1 (default). INFO:synthtool:Generating networkmanagement v1 (default). 2021-08-08 04:16:42,229 synthtool [INFO] > Generating networksecurity v1beta1 (default). INFO:synthtool:Generating networksecurity v1beta1 (default). 2021-08-08 04:16:42,834 synthtool [INFO] > Generating networkservices v1 (default). INFO:synthtool:Generating networkservices v1 (default). 2021-08-08 04:16:43,293 synthtool [INFO] > Generating notebooks v1 (default). INFO:synthtool:Generating notebooks v1 (default). 2021-08-08 04:16:44,206 synthtool [INFO] > Generating oauth2 v2 (default). INFO:synthtool:Generating oauth2 v2 (default). 2021-08-08 04:16:44,548 synthtool [INFO] > Generating ondemandscanning v1 (default). INFO:synthtool:Generating ondemandscanning v1 (default). 2021-08-08 04:16:45,251 synthtool [INFO] > Generating orgpolicy v2 (default). INFO:synthtool:Generating orgpolicy v2 (default). 2021-08-08 04:16:45,704 synthtool [INFO] > Generating osconfig v1 (default). INFO:synthtool:Generating osconfig v1 (default). 2021-08-08 04:16:46,434 synthtool [INFO] > Generating oslogin v1 (default). INFO:synthtool:Generating oslogin v1 (default). 2021-08-08 04:16:46,796 synthtool [INFO] > Generating pagespeedonline v5 (default). INFO:synthtool:Generating pagespeedonline v5 (default). 2021-08-08 04:16:47,262 synthtool [INFO] > Generating paymentsresellersubscription v1 (default). INFO:synthtool:Generating paymentsresellersubscription v1 (default). 2021-08-08 04:16:47,717 synthtool [INFO] > Generating people v1 (default). INFO:synthtool:Generating people v1 (default). 2021-08-08 04:16:48,593 synthtool [INFO] > Generating playablelocations v3 (default). INFO:synthtool:Generating playablelocations v3 (default). 2021-08-08 04:16:48,996 synthtool [INFO] > Generating playcustomapp v1 (default). INFO:synthtool:Generating playcustomapp v1 (default). 2021-08-08 04:16:49,318 synthtool [INFO] > Generating policyanalyzer v1 (default). INFO:synthtool:Generating policyanalyzer v1 (default). 2021-08-08 04:16:49,659 synthtool [INFO] > Generating policysimulator v1 (default). INFO:synthtool:Generating policysimulator v1 (default). 2021-08-08 04:16:50,190 synthtool [INFO] > Generating policytroubleshooter v1 (default). INFO:synthtool:Generating policytroubleshooter v1 (default). 2021-08-08 04:16:50,574 synthtool [INFO] > Generating poly v1 (default). INFO:synthtool:Generating poly v1 (default). 2021-08-08 04:16:51,008 synthtool [INFO] > Generating privateca v1 (default). INFO:synthtool:Generating privateca v1 (default). 2021-08-08 04:16:51,918 synthtool [INFO] > Generating prod_tt_sasportal v1alpha1 (default). INFO:synthtool:Generating prod_tt_sasportal v1alpha1 (default). 2021-08-08 04:16:52,716 synthtool [INFO] > Generating pubsub v1 (default). INFO:synthtool:Generating pubsub v1 (default). 2021-08-08 04:16:53,403 synthtool [INFO] > Generating pubsublite v1 (default). INFO:synthtool:Generating pubsublite v1 (default). 2021-08-08 04:16:53,976 synthtool [INFO] > Generating realtimebidding v1 (default). INFO:synthtool:Generating realtimebidding v1 (default). 2021-08-08 04:16:54,743 synthtool [INFO] > Generating recaptchaenterprise v1 (default). INFO:synthtool:Generating recaptchaenterprise v1 (default). 2021-08-08 04:16:55,190 synthtool [INFO] > Generating recommendationengine v1beta1 (default). INFO:synthtool:Generating recommendationengine v1beta1 (default). 2021-08-08 04:16:55,927 synthtool [INFO] > Generating recommender v1 (default). INFO:synthtool:Generating recommender v1 (default). 2021-08-08 04:16:56,532 synthtool [INFO] > Generating redis v1 (default). INFO:synthtool:Generating redis v1 (default). 2021-08-08 04:16:57,049 synthtool [INFO] > Generating reseller v1 (default). INFO:synthtool:Generating reseller v1 (default). 2021-08-08 04:16:57,505 synthtool [INFO] > Generating resourcesettings v1 (default). INFO:synthtool:Generating resourcesettings v1 (default). 2021-08-08 04:16:57,897 synthtool [INFO] > Generating retail v2 (default). INFO:synthtool:Generating retail v2 (default). 2021-08-08 04:16:58,999 synthtool [INFO] > Generating run v1 (default). INFO:synthtool:Generating run v1 (default). 2021-08-08 04:16:59,933 synthtool [INFO] > Generating runtimeconfig v1 (default). INFO:synthtool:Generating runtimeconfig v1 (default). 2021-08-08 04:17:00,277 synthtool [INFO] > Generating safebrowsing v4 (default). INFO:synthtool:Generating safebrowsing v4 (default). 2021-08-08 04:17:00,768 synthtool [INFO] > Generating sasportal v1alpha1 (default). INFO:synthtool:Generating sasportal v1alpha1 (default). 2021-08-08 04:17:01,563 synthtool [INFO] > Generating script v1 (default). INFO:synthtool:Generating script v1 (default). 2021-08-08 04:17:02,146 synthtool [INFO] > Generating searchconsole v1 (default). INFO:synthtool:Generating searchconsole v1 (default). 2021-08-08 04:17:02,582 synthtool [INFO] > Generating secretmanager v1 (default). INFO:synthtool:Generating secretmanager v1 (default). 2021-08-08 04:17:03,117 synthtool [INFO] > Generating securitycenter v1 (default). INFO:synthtool:Generating securitycenter v1 (default). 2021-08-08 04:17:03,951 synthtool [INFO] > Generating serviceconsumermanagement v1 (default). INFO:synthtool:Generating serviceconsumermanagement v1 (default). 2021-08-08 04:17:04,823 synthtool [INFO] > Generating servicecontrol v2 (default). INFO:synthtool:Generating servicecontrol v2 (default). 2021-08-08 04:17:05,285 synthtool [INFO] > Generating servicedirectory v1 (default). INFO:synthtool:Generating servicedirectory v1 (default). 2021-08-08 04:17:05,784 synthtool [INFO] > Generating servicemanagement v1 (default). INFO:synthtool:Generating servicemanagement v1 (default). 2021-08-08 04:17:06,687 synthtool [INFO] > Generating servicenetworking v1 (default). INFO:synthtool:Generating servicenetworking v1 (default). 2021-08-08 04:17:07,677 synthtool [INFO] > Generating serviceusage v1 (default). INFO:synthtool:Generating serviceusage v1 (default). 2021-08-08 04:17:08,517 synthtool [INFO] > Generating sheets v4 (default). INFO:synthtool:Generating sheets v4 (default). 2021-08-08 04:17:10,514 synthtool [INFO] > Generating siteVerification v1 (default). INFO:synthtool:Generating siteVerification v1 (default). 2021-08-08 04:17:10,867 synthtool [INFO] > Generating slides v1 (default). INFO:synthtool:Generating slides v1 (default). 2021-08-08 04:17:12,063 synthtool [INFO] > Generating smartdevicemanagement v1 (default). INFO:synthtool:Generating smartdevicemanagement v1 (default). 2021-08-08 04:17:12,449 synthtool [INFO] > Generating sourcerepo v1 (default). INFO:synthtool:Generating sourcerepo v1 (default). 2021-08-08 04:17:12,896 synthtool [INFO] > Generating spanner v1 (default). INFO:synthtool:Generating spanner v1 (default). 2021-08-08 04:17:14,049 synthtool [INFO] > Generating speech v1 (default). INFO:synthtool:Generating speech v1 (default). 2021-08-08 04:17:14,470 synthtool [INFO] > Generating sqladmin v1 (default). INFO:synthtool:Generating sqladmin v1 (default). 2021-08-08 04:17:15,497 synthtool [INFO] > Generating storage v1 (default). INFO:synthtool:Generating storage v1 (default). 2021-08-08 04:17:16,408 synthtool [INFO] > Generating storagetransfer v1 (default). INFO:synthtool:Generating storagetransfer v1 (default). 2021-08-08 04:17:16,942 synthtool [INFO] > Generating streetviewpublish v1 (default). INFO:synthtool:Generating streetviewpublish v1 (default). 2021-08-08 04:17:17,379 synthtool [INFO] > Generating sts v1 (default). INFO:synthtool:Generating sts v1 (default). 2021-08-08 04:17:17,726 synthtool [INFO] > Generating tagmanager v2 (default). INFO:synthtool:Generating tagmanager v2 (default). 2021-08-08 04:17:18,764 synthtool [INFO] > Generating tasks v1 (default). INFO:synthtool:Generating tasks v1 (default). 2021-08-08 04:17:19,159 synthtool [INFO] > Generating testing v1 (default). INFO:synthtool:Generating testing v1 (default). 2021-08-08 04:17:19,924 synthtool [INFO] > Generating texttospeech v1 (default). INFO:synthtool:Generating texttospeech v1 (default). 2021-08-08 04:17:20,287 synthtool [INFO] > Generating toolresults v1beta3 (default). INFO:synthtool:Generating toolresults v1beta3 (default). 2021-08-08 04:17:21,396 synthtool [INFO] > Generating tpu v1 (default). INFO:synthtool:Generating tpu v1 (default). 2021-08-08 04:17:21,884 synthtool [INFO] > Generating trafficdirector v2 (default). INFO:synthtool:Generating trafficdirector v2 (default). 2021-08-08 04:17:22,404 synthtool [INFO] > Generating transcoder v1beta1 (default). INFO:synthtool:Generating transcoder v1beta1 (default). 2021-08-08 04:17:23,033 synthtool [INFO] > Generating translate v3 (default). INFO:synthtool:Generating translate v3 (default). 2021-08-08 04:17:23,550 synthtool [INFO] > Generating vault v1 (default). INFO:synthtool:Generating vault v1 (default). 2021-08-08 04:17:24,319 synthtool [INFO] > Generating vectortile v1 (default). INFO:synthtool:Generating vectortile v1 (default). 2021-08-08 04:17:24,771 synthtool [INFO] > Generating verifiedaccess v1 (default). INFO:synthtool:Generating verifiedaccess v1 (default). 2021-08-08 04:17:25,114 synthtool [INFO] > Generating videointelligence v1 (default). INFO:synthtool:Generating videointelligence v1 (default). 2021-08-08 04:17:26,569 synthtool [INFO] > Generating vision v1 (default). INFO:synthtool:Generating vision v1 (default). 2021-08-08 04:17:28,784 synthtool [INFO] > Generating webfonts v1 (default). INFO:synthtool:Generating webfonts v1 (default). 2021-08-08 04:17:29,131 synthtool [INFO] > Generating webmasters v3 (default). INFO:synthtool:Generating webmasters v3 (default). 2021-08-08 04:17:29,576 synthtool [INFO] > Generating webrisk v1 (default). INFO:synthtool:Generating webrisk v1 (default). 2021-08-08 04:17:30,070 synthtool [INFO] > Generating workflowexecutions v1 (default). INFO:synthtool:Generating workflowexecutions v1 (default). 2021-08-08 04:17:30,483 synthtool [INFO] > Generating workflows v1 (default). INFO:synthtool:Generating workflows v1 (default). 2021-08-08 04:17:30,904 synthtool [INFO] > Generating youtube v3 (default). INFO:synthtool:Generating youtube v3 (default). 2021-08-08 04:17:33,082 synthtool [INFO] > Generating youtubeAnalytics v2 (default). INFO:synthtool:Generating youtubeAnalytics v2 (default). 2021-08-08 04:17:33,529 synthtool [INFO] > Generating youtubereporting v1 (default). INFO:synthtool:Generating youtubereporting v1 (default). 2021-08-08 04:17:34,037 synthtool [DEBUG] > Wrote metadata to synth.metadata. DEBUG:synthtool:Wrote metadata to synth.metadata. n v1 (default). 2021-08-08 04:17:28,784 synthtool [INFO] > Generating webfonts v1 (default). INFO:synthtool:Generating webfonts v1 (default). 2021-08-08 04:17:29,131 synthtool [INFO] > Generating webmasters v3 (default). INFO:synthtool:Generating webmasters v3 (default). 2021-08-08 04:17:29,576 synthtool [INFO] > Generating webrisk v1 (default). INFO:synthtool:Generating webrisk v1 (default). 2021-08-08 04:17:30,070 synthtool [INFO] > Generating workflowexecutions v1 (default). INFO:synthtool:Generating workflowexecutions v1 (default). 2021-08-08 04:17:30,483 synthtool [INFO] > Generating workflows v1 (default). INFO:synthtool:Generating workflows v1 (default). 2021-08-08 04:17:30,904 synthtool [INFO] > Generating youtube v3 (default). INFO:synthtool:Generating youtube v3 (default). 2021-08-08 04:17:33,082 synthtool [INFO] > Generating youtubeAnalytics v2 (default). INFO:synthtool:Generating youtubeAnalytics v2 (default). 2021-08-08 04:17:33,529 synthtool [INFO] > Generating youtubereporting v1 (default). INFO:synthtool:Generating youtubereporting v1 (default). 2021-08-08 04:17:34,037 synthtool [DEBUG] > Wrote metadata to synth.metadata. DEBUG:synthtool:Wrote metadata to synth.metadata. ```
Full log will be available here: https://source.cloud.google.com/results/invocations/1abbb1a3-2cfe-4db5-a311-0bc44074a022/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) --- src/CloudKMS.php | 12 +- src/CloudKMS/CryptoKey.php | 18 +++ src/CloudKMS/GenerateRandomBytesRequest.php | 44 ++++++ src/CloudKMS/GenerateRandomBytesResponse.php | 44 ++++++ src/CloudKMS/Resource/ProjectsLocations.php | 18 +++ src/OSConfig.php | 94 +++++++++++++ src/OSConfig/CVSSv3.php | 125 ++++++++++++++++++ src/OSConfig/Inventory.php | 18 +++ src/OSConfig/ListInventoriesResponse.php | 52 ++++++++ .../ListVulnerabilityReportsResponse.php | 52 ++++++++ src/OSConfig/Resource/ProjectsLocations.php | 33 +++++ .../Resource/ProjectsLocationsInstances.php | 33 +++++ .../ProjectsLocationsInstancesInventories.php | 84 ++++++++++++ ...LocationsInstancesVulnerabilityReports.php | 79 +++++++++++ src/OSConfig/VulnerabilityReport.php | 61 +++++++++ .../VulnerabilityReportVulnerability.php | 79 +++++++++++ ...ulnerabilityReportVulnerabilityDetails.php | 95 +++++++++++++ ...ityReportVulnerabilityDetailsReference.php | 44 ++++++ synth.metadata | 4 +- 19 files changed, 986 insertions(+), 3 deletions(-) create mode 100644 src/CloudKMS/GenerateRandomBytesRequest.php create mode 100644 src/CloudKMS/GenerateRandomBytesResponse.php create mode 100644 src/OSConfig/CVSSv3.php create mode 100644 src/OSConfig/ListInventoriesResponse.php create mode 100644 src/OSConfig/ListVulnerabilityReportsResponse.php create mode 100644 src/OSConfig/Resource/ProjectsLocations.php create mode 100644 src/OSConfig/Resource/ProjectsLocationsInstances.php create mode 100644 src/OSConfig/Resource/ProjectsLocationsInstancesInventories.php create mode 100644 src/OSConfig/Resource/ProjectsLocationsInstancesVulnerabilityReports.php create mode 100644 src/OSConfig/VulnerabilityReport.php create mode 100644 src/OSConfig/VulnerabilityReportVulnerability.php create mode 100644 src/OSConfig/VulnerabilityReportVulnerabilityDetails.php create mode 100644 src/OSConfig/VulnerabilityReportVulnerabilityDetailsReference.php diff --git a/src/CloudKMS.php b/src/CloudKMS.php index 84a053d05f..68ca634eb0 100644 --- a/src/CloudKMS.php +++ b/src/CloudKMS.php @@ -70,7 +70,17 @@ public function __construct($clientOrConfig = [], $rootUrl = null) 'locations', [ 'methods' => [ - 'get' => [ + 'generateRandomBytes' => [ + 'path' => 'v1/{+location}:generateRandomBytes', + 'httpMethod' => 'POST', + 'parameters' => [ + 'location' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'get' => [ 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => [ diff --git a/src/CloudKMS/CryptoKey.php b/src/CloudKMS/CryptoKey.php index c785820e59..3adeb76ea1 100644 --- a/src/CloudKMS/CryptoKey.php +++ b/src/CloudKMS/CryptoKey.php @@ -20,6 +20,8 @@ class CryptoKey extends \Google\Model { public $createTime; + public $destroyScheduledDuration; + public $importOnly; public $labels; public $name; public $nextRotationTime; @@ -38,6 +40,22 @@ public function getCreateTime() { return $this->createTime; } + public function setDestroyScheduledDuration($destroyScheduledDuration) + { + $this->destroyScheduledDuration = $destroyScheduledDuration; + } + public function getDestroyScheduledDuration() + { + return $this->destroyScheduledDuration; + } + public function setImportOnly($importOnly) + { + $this->importOnly = $importOnly; + } + public function getImportOnly() + { + return $this->importOnly; + } public function setLabels($labels) { $this->labels = $labels; diff --git a/src/CloudKMS/GenerateRandomBytesRequest.php b/src/CloudKMS/GenerateRandomBytesRequest.php new file mode 100644 index 0000000000..63996e36cc --- /dev/null +++ b/src/CloudKMS/GenerateRandomBytesRequest.php @@ -0,0 +1,44 @@ +lengthBytes = $lengthBytes; + } + public function getLengthBytes() + { + return $this->lengthBytes; + } + public function setProtectionLevel($protectionLevel) + { + $this->protectionLevel = $protectionLevel; + } + public function getProtectionLevel() + { + return $this->protectionLevel; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GenerateRandomBytesRequest::class, 'Google_Service_CloudKMS_GenerateRandomBytesRequest'); diff --git a/src/CloudKMS/GenerateRandomBytesResponse.php b/src/CloudKMS/GenerateRandomBytesResponse.php new file mode 100644 index 0000000000..40b31eb849 --- /dev/null +++ b/src/CloudKMS/GenerateRandomBytesResponse.php @@ -0,0 +1,44 @@ +data = $data; + } + public function getData() + { + return $this->data; + } + public function setDataCrc32c($dataCrc32c) + { + $this->dataCrc32c = $dataCrc32c; + } + public function getDataCrc32c() + { + return $this->dataCrc32c; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GenerateRandomBytesResponse::class, 'Google_Service_CloudKMS_GenerateRandomBytesResponse'); diff --git a/src/CloudKMS/Resource/ProjectsLocations.php b/src/CloudKMS/Resource/ProjectsLocations.php index ac0e97203e..13884c790a 100644 --- a/src/CloudKMS/Resource/ProjectsLocations.php +++ b/src/CloudKMS/Resource/ProjectsLocations.php @@ -17,6 +17,8 @@ namespace Google\Service\CloudKMS\Resource; +use Google\Service\CloudKMS\GenerateRandomBytesRequest; +use Google\Service\CloudKMS\GenerateRandomBytesResponse; use Google\Service\CloudKMS\ListLocationsResponse; use Google\Service\CloudKMS\Location; @@ -30,6 +32,22 @@ */ class ProjectsLocations extends \Google\Service\Resource { + /** + * Generate random bytes using the Cloud KMS randomness source in the provided + * location. (locations.generateRandomBytes) + * + * @param string $location The project-specific location in which to generate + * random bytes. For example, "projects/my-project/locations/us-central1". + * @param GenerateRandomBytesRequest $postBody + * @param array $optParams Optional parameters. + * @return GenerateRandomBytesResponse + */ + public function generateRandomBytes($location, GenerateRandomBytesRequest $postBody, $optParams = []) + { + $params = ['location' => $location, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('generateRandomBytes', [$params], GenerateRandomBytesResponse::class); + } /** * Gets information about a location. (locations.get) * diff --git a/src/OSConfig.php b/src/OSConfig.php index 2d0a1a7c00..feabe8dd73 100644 --- a/src/OSConfig.php +++ b/src/OSConfig.php @@ -40,6 +40,8 @@ class OSConfig extends \Google\Service "https://www.googleapis.com/auth/cloud-platform"; public $operations; + public $projects_locations_instances_inventories; + public $projects_locations_instances_vulnerabilityReports; public $projects_patchDeployments; public $projects_patchJobs; public $projects_patchJobs_instanceDetails; @@ -102,6 +104,98 @@ public function __construct($clientOrConfig = [], $rootUrl = null) ] ] ); + $this->projects_locations_instances_inventories = new OSConfig\Resource\ProjectsLocationsInstancesInventories( + $this, + $this->serviceName, + 'inventories', + [ + 'methods' => [ + 'get' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'view' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'list' => [ + 'path' => 'v1/{+parent}/inventories', + 'httpMethod' => 'GET', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'filter' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'view' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ], + ] + ] + ); + $this->projects_locations_instances_vulnerabilityReports = new OSConfig\Resource\ProjectsLocationsInstancesVulnerabilityReports( + $this, + $this->serviceName, + 'vulnerabilityReports', + [ + 'methods' => [ + 'get' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'list' => [ + 'path' => 'v1/{+parent}/vulnerabilityReports', + 'httpMethod' => 'GET', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'filter' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ], + ] + ] + ); $this->projects_patchDeployments = new OSConfig\Resource\ProjectsPatchDeployments( $this, $this->serviceName, diff --git a/src/OSConfig/CVSSv3.php b/src/OSConfig/CVSSv3.php new file mode 100644 index 0000000000..c8cb1f7840 --- /dev/null +++ b/src/OSConfig/CVSSv3.php @@ -0,0 +1,125 @@ +attackComplexity = $attackComplexity; + } + public function getAttackComplexity() + { + return $this->attackComplexity; + } + public function setAttackVector($attackVector) + { + $this->attackVector = $attackVector; + } + public function getAttackVector() + { + return $this->attackVector; + } + public function setAvailabilityImpact($availabilityImpact) + { + $this->availabilityImpact = $availabilityImpact; + } + public function getAvailabilityImpact() + { + return $this->availabilityImpact; + } + public function setBaseScore($baseScore) + { + $this->baseScore = $baseScore; + } + public function getBaseScore() + { + return $this->baseScore; + } + public function setConfidentialityImpact($confidentialityImpact) + { + $this->confidentialityImpact = $confidentialityImpact; + } + public function getConfidentialityImpact() + { + return $this->confidentialityImpact; + } + public function setExploitabilityScore($exploitabilityScore) + { + $this->exploitabilityScore = $exploitabilityScore; + } + public function getExploitabilityScore() + { + return $this->exploitabilityScore; + } + public function setImpactScore($impactScore) + { + $this->impactScore = $impactScore; + } + public function getImpactScore() + { + return $this->impactScore; + } + public function setIntegrityImpact($integrityImpact) + { + $this->integrityImpact = $integrityImpact; + } + public function getIntegrityImpact() + { + return $this->integrityImpact; + } + public function setPrivilegesRequired($privilegesRequired) + { + $this->privilegesRequired = $privilegesRequired; + } + public function getPrivilegesRequired() + { + return $this->privilegesRequired; + } + public function setScope($scope) + { + $this->scope = $scope; + } + public function getScope() + { + return $this->scope; + } + public function setUserInteraction($userInteraction) + { + $this->userInteraction = $userInteraction; + } + public function getUserInteraction() + { + return $this->userInteraction; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(CVSSv3::class, 'Google_Service_OSConfig_CVSSv3'); diff --git a/src/OSConfig/Inventory.php b/src/OSConfig/Inventory.php index 455e31f1ef..28187a4bee 100644 --- a/src/OSConfig/Inventory.php +++ b/src/OSConfig/Inventory.php @@ -21,8 +21,10 @@ class Inventory extends \Google\Model { protected $itemsType = InventoryItem::class; protected $itemsDataType = 'map'; + public $name; protected $osInfoType = InventoryOsInfo::class; protected $osInfoDataType = ''; + public $updateTime; /** * @param InventoryItem[] @@ -38,6 +40,14 @@ public function getItems() { return $this->items; } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } /** * @param InventoryOsInfo */ @@ -52,6 +62,14 @@ public function getOsInfo() { return $this->osInfo; } + public function setUpdateTime($updateTime) + { + $this->updateTime = $updateTime; + } + public function getUpdateTime() + { + return $this->updateTime; + } } // Adding a class alias for backwards compatibility with the previous class name. diff --git a/src/OSConfig/ListInventoriesResponse.php b/src/OSConfig/ListInventoriesResponse.php new file mode 100644 index 0000000000..659644db09 --- /dev/null +++ b/src/OSConfig/ListInventoriesResponse.php @@ -0,0 +1,52 @@ +inventories = $inventories; + } + /** + * @return Inventory[] + */ + public function getInventories() + { + return $this->inventories; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(ListInventoriesResponse::class, 'Google_Service_OSConfig_ListInventoriesResponse'); diff --git a/src/OSConfig/ListVulnerabilityReportsResponse.php b/src/OSConfig/ListVulnerabilityReportsResponse.php new file mode 100644 index 0000000000..4cb078d9d2 --- /dev/null +++ b/src/OSConfig/ListVulnerabilityReportsResponse.php @@ -0,0 +1,52 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + /** + * @param VulnerabilityReport[] + */ + public function setVulnerabilityReports($vulnerabilityReports) + { + $this->vulnerabilityReports = $vulnerabilityReports; + } + /** + * @return VulnerabilityReport[] + */ + public function getVulnerabilityReports() + { + return $this->vulnerabilityReports; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(ListVulnerabilityReportsResponse::class, 'Google_Service_OSConfig_ListVulnerabilityReportsResponse'); diff --git a/src/OSConfig/Resource/ProjectsLocations.php b/src/OSConfig/Resource/ProjectsLocations.php new file mode 100644 index 0000000000..9a41490167 --- /dev/null +++ b/src/OSConfig/Resource/ProjectsLocations.php @@ -0,0 +1,33 @@ + + * $osconfigService = new Google\Service\OSConfig(...); + * $locations = $osconfigService->locations; + * + */ +class ProjectsLocations extends \Google\Service\Resource +{ +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(ProjectsLocations::class, 'Google_Service_OSConfig_Resource_ProjectsLocations'); diff --git a/src/OSConfig/Resource/ProjectsLocationsInstances.php b/src/OSConfig/Resource/ProjectsLocationsInstances.php new file mode 100644 index 0000000000..3eb6b3ae20 --- /dev/null +++ b/src/OSConfig/Resource/ProjectsLocationsInstances.php @@ -0,0 +1,33 @@ + + * $osconfigService = new Google\Service\OSConfig(...); + * $instances = $osconfigService->instances; + * + */ +class ProjectsLocationsInstances extends \Google\Service\Resource +{ +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(ProjectsLocationsInstances::class, 'Google_Service_OSConfig_Resource_ProjectsLocationsInstances'); diff --git a/src/OSConfig/Resource/ProjectsLocationsInstancesInventories.php b/src/OSConfig/Resource/ProjectsLocationsInstancesInventories.php new file mode 100644 index 0000000000..99ddb686b4 --- /dev/null +++ b/src/OSConfig/Resource/ProjectsLocationsInstancesInventories.php @@ -0,0 +1,84 @@ + + * $osconfigService = new Google\Service\OSConfig(...); + * $inventories = $osconfigService->inventories; + * + */ +class ProjectsLocationsInstancesInventories extends \Google\Service\Resource +{ + /** + * Get inventory data for the specified VM instance. If the VM has no associated + * inventory, the message `NOT_FOUND` is returned. (inventories.get) + * + * @param string $name Required. API resource name for inventory resource. + * Format: + * `projects/{project}/locations/{location}/instances/{instance}/inventory` For + * `{project}`, either `project-number` or `project-id` can be provided. For + * `{instance}`, either Compute Engine `instance-id` or `instance-name` can be + * provided. + * @param array $optParams Optional parameters. + * + * @opt_param string view Inventory view indicating what information should be + * included in the inventory resource. If unspecified, the default view is + * BASIC. + * @return Inventory + */ + public function get($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('get', [$params], Inventory::class); + } + /** + * List inventory data for all VM instances in the specified zone. + * (inventories.listProjectsLocationsInstancesInventories) + * + * @param string $parent Required. The parent resource name. Format: + * `projects/{project}/locations/{location}/instances/-` For `{project}`, either + * `project-number` or `project-id` can be provided. + * @param array $optParams Optional parameters. + * + * @opt_param string filter If provided, this field specifies the criteria that + * must be met by a `Inventory` API resource to be included in the response. + * @opt_param int pageSize The maximum number of results to return. + * @opt_param string pageToken A pagination token returned from a previous call + * to `ListInventories` that indicates where this listing should continue from. + * @opt_param string view Inventory view indicating what information should be + * included in the inventory resource. If unspecified, the default view is + * BASIC. + * @return ListInventoriesResponse + */ + public function listProjectsLocationsInstancesInventories($parent, $optParams = []) + { + $params = ['parent' => $parent]; + $params = array_merge($params, $optParams); + return $this->call('list', [$params], ListInventoriesResponse::class); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(ProjectsLocationsInstancesInventories::class, 'Google_Service_OSConfig_Resource_ProjectsLocationsInstancesInventories'); diff --git a/src/OSConfig/Resource/ProjectsLocationsInstancesVulnerabilityReports.php b/src/OSConfig/Resource/ProjectsLocationsInstancesVulnerabilityReports.php new file mode 100644 index 0000000000..2acd21ae86 --- /dev/null +++ b/src/OSConfig/Resource/ProjectsLocationsInstancesVulnerabilityReports.php @@ -0,0 +1,79 @@ + + * $osconfigService = new Google\Service\OSConfig(...); + * $vulnerabilityReports = $osconfigService->vulnerabilityReports; + * + */ +class ProjectsLocationsInstancesVulnerabilityReports extends \Google\Service\Resource +{ + /** + * Gets the vulnerability report for the specified VM instance. Only VMs with + * inventory data have vulnerability reports associated with them. + * (vulnerabilityReports.get) + * + * @param string $name Required. API resource name for vulnerability resource. + * Format: `projects/{project}/locations/{location}/instances/{instance}/vulnera + * bilityReport` For `{project}`, either `project-number` or `project-id` can be + * provided. For `{instance}`, either Compute Engine `instance-id` or `instance- + * name` can be provided. + * @param array $optParams Optional parameters. + * @return VulnerabilityReport + */ + public function get($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('get', [$params], VulnerabilityReport::class); + } + /** + * List vulnerability reports for all VM instances in the specified zone. + * (vulnerabilityReports.listProjectsLocationsInstancesVulnerabilityReports) + * + * @param string $parent Required. The parent resource name. Format: + * `projects/{project}/locations/{location}/instances/-` For `{project}`, either + * `project-number` or `project-id` can be provided. + * @param array $optParams Optional parameters. + * + * @opt_param string filter If provided, this field specifies the criteria that + * must be met by a `vulnerabilityReport` API resource to be included in the + * response. + * @opt_param int pageSize The maximum number of results to return. + * @opt_param string pageToken A pagination token returned from a previous call + * to `ListVulnerabilityReports` that indicates where this listing should + * continue from. + * @return ListVulnerabilityReportsResponse + */ + public function listProjectsLocationsInstancesVulnerabilityReports($parent, $optParams = []) + { + $params = ['parent' => $parent]; + $params = array_merge($params, $optParams); + return $this->call('list', [$params], ListVulnerabilityReportsResponse::class); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(ProjectsLocationsInstancesVulnerabilityReports::class, 'Google_Service_OSConfig_Resource_ProjectsLocationsInstancesVulnerabilityReports'); diff --git a/src/OSConfig/VulnerabilityReport.php b/src/OSConfig/VulnerabilityReport.php new file mode 100644 index 0000000000..cad4470632 --- /dev/null +++ b/src/OSConfig/VulnerabilityReport.php @@ -0,0 +1,61 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setUpdateTime($updateTime) + { + $this->updateTime = $updateTime; + } + public function getUpdateTime() + { + return $this->updateTime; + } + /** + * @param VulnerabilityReportVulnerability[] + */ + public function setVulnerabilities($vulnerabilities) + { + $this->vulnerabilities = $vulnerabilities; + } + /** + * @return VulnerabilityReportVulnerability[] + */ + public function getVulnerabilities() + { + return $this->vulnerabilities; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(VulnerabilityReport::class, 'Google_Service_OSConfig_VulnerabilityReport'); diff --git a/src/OSConfig/VulnerabilityReportVulnerability.php b/src/OSConfig/VulnerabilityReportVulnerability.php new file mode 100644 index 0000000000..53e01bf83b --- /dev/null +++ b/src/OSConfig/VulnerabilityReportVulnerability.php @@ -0,0 +1,79 @@ +availableInventoryItemIds = $availableInventoryItemIds; + } + public function getAvailableInventoryItemIds() + { + return $this->availableInventoryItemIds; + } + public function setCreateTime($createTime) + { + $this->createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + /** + * @param VulnerabilityReportVulnerabilityDetails + */ + public function setDetails(VulnerabilityReportVulnerabilityDetails $details) + { + $this->details = $details; + } + /** + * @return VulnerabilityReportVulnerabilityDetails + */ + public function getDetails() + { + return $this->details; + } + public function setInstalledInventoryItemIds($installedInventoryItemIds) + { + $this->installedInventoryItemIds = $installedInventoryItemIds; + } + public function getInstalledInventoryItemIds() + { + return $this->installedInventoryItemIds; + } + public function setUpdateTime($updateTime) + { + $this->updateTime = $updateTime; + } + public function getUpdateTime() + { + return $this->updateTime; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(VulnerabilityReportVulnerability::class, 'Google_Service_OSConfig_VulnerabilityReportVulnerability'); diff --git a/src/OSConfig/VulnerabilityReportVulnerabilityDetails.php b/src/OSConfig/VulnerabilityReportVulnerabilityDetails.php new file mode 100644 index 0000000000..171d279b67 --- /dev/null +++ b/src/OSConfig/VulnerabilityReportVulnerabilityDetails.php @@ -0,0 +1,95 @@ +cve = $cve; + } + public function getCve() + { + return $this->cve; + } + public function setCvssV2Score($cvssV2Score) + { + $this->cvssV2Score = $cvssV2Score; + } + public function getCvssV2Score() + { + return $this->cvssV2Score; + } + /** + * @param CVSSv3 + */ + public function setCvssV3(CVSSv3 $cvssV3) + { + $this->cvssV3 = $cvssV3; + } + /** + * @return CVSSv3 + */ + public function getCvssV3() + { + return $this->cvssV3; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + /** + * @param VulnerabilityReportVulnerabilityDetailsReference[] + */ + public function setReferences($references) + { + $this->references = $references; + } + /** + * @return VulnerabilityReportVulnerabilityDetailsReference[] + */ + public function getReferences() + { + return $this->references; + } + public function setSeverity($severity) + { + $this->severity = $severity; + } + public function getSeverity() + { + return $this->severity; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(VulnerabilityReportVulnerabilityDetails::class, 'Google_Service_OSConfig_VulnerabilityReportVulnerabilityDetails'); diff --git a/src/OSConfig/VulnerabilityReportVulnerabilityDetailsReference.php b/src/OSConfig/VulnerabilityReportVulnerabilityDetailsReference.php new file mode 100644 index 0000000000..d8127304c7 --- /dev/null +++ b/src/OSConfig/VulnerabilityReportVulnerabilityDetailsReference.php @@ -0,0 +1,44 @@ +source = $source; + } + public function getSource() + { + return $this->source; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(VulnerabilityReportVulnerabilityDetailsReference::class, 'Google_Service_OSConfig_VulnerabilityReportVulnerabilityDetailsReference'); diff --git a/synth.metadata b/synth.metadata index 344595a4b9..6e3a597202 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-php-client-services.git", - "sha": "63b0ac92d9091dc54b2c4c74fc388171674e8064" + "sha": "b03655385f0752502d5e6d5a745a1c010411bdd4" } }, { "git": { "name": "discovery-artifact-manager", "remote": "https://github.com/googleapis/discovery-artifact-manager.git", - "sha": "9dc7495247fd22af680444403f8419e26c5cdfe4" + "sha": "3c082abf6b1cd81a24665a9175de6f25c2bd461b" } } ]